Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- 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
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Adding Data of One Visual force Page to other
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Adding Data of One Visual force Page to other
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-15-2012 11:50 AM
Hi All
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.
Please help.
Re: Adding Data of One Visual force Page to other
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-16-2012 12:52 AM
Hi,
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.
For example:
A has title 'titleA', you can add this as a parameter :
'apex/yourPageName?selectedTitle=titleA';
and then fetch this value using ApexPages.currentPage().getParameters().get('selec
Kudos a post if it helps, mark it as solution if it solves.
http://exploretheforce.blogspot.in

