- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
11-15-2012 11:50 AM
I have 2 Visualforce Pages.
My First visual force Page is called "ContactIntegration" and the page displays a list of documents from a website.
Lets say I have 3 documents A,B,C.
I have a custom button on this page called Customize Email Text which invokes another VF Page ContactEmail which has a field called "Subject".
If "A" doc is selected I want to pass title of "A" in the subject.
If A , B and C are selected My subject should Say title of "A"+ 2others selected.
11-16-2012 12:52 AM
If the data (titles) that you want to transfer to the other page isn't too long, one way to do this is using url parameters.
A has title 'titleA', you can add this as a parameter :
and then fetch this value using ApexPages.currentPage().getParameters().get('selec
Kudos a post if it helps, mark it as solution if it solves.