You need to sign in to do that
Don't have an account?
VF Page Transition Problem
I have created a site, and in one of the VF page i have link like this
<a class="title" href="/apex/newBlogEdit?id={!post.Id}" target="_top">This link takes the user to edit page.
{!post.Name}</a>
But when the link is clicked it shows the message
http://xxxxxx-developer-edition.na6.force.com/xxxxx/ is under construction
Stay tuned. Please email us if you need to get in touch.
I have observed that, when page transition is done through
controller using PageReference, the page transits correctly
but if we call the page directly without using controller
method, then native page is getting displayed saying
"under construction".
1. What will the possible cause?
2. Is a page never meant to call another page directly without controller?
This could better be answered in the Sites forum:http://community.salesforce.com/sforce/board?board.id=sites
Does your site have a prefixed path? That's "abc" part of this url: http://xxxxxx-developer-edition.na6.force.com/abc/
Sounds like you could be linking to http://xxxxxx-developer-edition.na6.force.com/apex/newBlogEdit when you really want to link to http://xxxxxx-developer-edition.na6.force.com/abc/apex/newBlogEdit
Let us know if this works or not.
All Answers
This could better be answered in the Sites forum:http://community.salesforce.com/sforce/board?board.id=sites
Does your site have a prefixed path? That's "abc" part of this url: http://xxxxxx-developer-edition.na6.force.com/abc/
Sounds like you could be linking to http://xxxxxx-developer-edition.na6.force.com/apex/newBlogEdit when you really want to link to http://xxxxxx-developer-edition.na6.force.com/abc/apex/newBlogEdit
Let us know if this works or not.
Thanks a lot, Its exactly the URL problem.
Between checking the syntax i actually missed out the
url part.
Its working fine now. Thanks once again.