function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dntfeedthemikeydntfeedthemikey 

Reusing the Component Detail

We've started using the visualforce jQuery mobile template pages with the computers new mobile app, it will save a lot time on list and detail layout pages. We just have a couple of basic questions on some of the components.

 

Does anyone know how to make the nextPage attribute on the List component a resource to a visualforce page?

 

Ex:

<c:List sobject="Account"
             labelField="Name"
             subLabelField="Phone"
             sortByField="Name"
             filter="owner"
             listFilter="true"
             nextPage="{!Page.AccountDetails}" />

 

Or does anyone know away to have the Detail Component read from the URL? Or jQuery document ready function?

 

Ex: /apex/MobileAccountDetail?Id=012040000000144

 

The reason we are looking for this functionally is because we are going be doing some drilling down on the sObject along with some additional @remoteaccces in the details page. 



 

Gaurav KheterpalGaurav Kheterpal

Have you looked at this link - http://wiki.developerforce.com/page/Creating_a_Mobile_Component_for_Visualforce

 

 

<apex:attribute name="nextPage" type="String" assignTo="{!config.nextPage}" description=""/>

 

 

...

public String nextPage { get; set; }

 I hope this helps.

 

Regards,
Gaurav