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
- :
- How can I call / open another visualforce page. Op...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How can I call / open another visualforc e page. Open in the same Frame
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2012 01:05 AM
Hello,
I want to open another visualforce page ("test") with the following tag.
How can I call that?
<li><a href="test"style="font-size: 18px;">Text</a></li>
Solved! Go to Solution.
Re: How can I call / open another visualforc e page. Open in the same Frame
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2012 01:48 AM
Hi,
As far as I understand, you might want to try something like this:
In VF Page:
<apex:commandLink value'"Text" action="{!testing} />
In the controller:
public pagereference testing() {
Page.test; //Call the 'test' page you already have in your org.
OR
PageReference testpage = new PageReference('/' + page.id);
testpage.setRedirect(true);
return testpage;
}
Hope this helps.
Re: How can I call / open another visualforc e page. Open in the same Frame
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2012 05:42 AM
But it possible that it looks like the normal Button with the apex commandlink?
<a href="#" data-role="button"><apex:form><apex:commandLink value="Textsdads" action="{!testing}"/>
</apex:form>
</a>
It looks different to the normal button. Any suggestion?

