• shail@trekking
  • NEWBIE
  • 30 Points
  • Member since 2014
  • Technical Lead
  • Trekbin

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
Sorry for this simplistic question, but I have a custom button on 2 different pages which calls the same Visualforce page.  How can I redirect the user back to the correct page when they hit "back" on my custom page?

NOTE:  One of the pages with the button that calls the VF page is the standard list page...

Thanks
Sorry for this simplistic question, but I have a custom button on 2 different pages which calls the same Visualforce page.  How can I redirect the user back to the correct page when they hit "back" on my custom page?

NOTE:  One of the pages with the button that calls the VF page is the standard list page...

Thanks
User-added image

first page
<apex:page controller="SaveInvoice">
<apex:commandbutton action={!calculate_n_refer_2_another_page}/>

that  contain command button and controller class conCls ( that class have a mehod for creating data tabel and return new page reference of second apex class )

second page
<apex:page controller="SaveInvoice" renderas="pdf">
<apex:datatabel>


so when command button refer control to the second vf page in new tab , all things working but that Save button is not working .Why ?
Thanks in advance .
Hi,
     Actually i displayed all fields dynamically in an visualforce page.I want In my fields Multipicklist fields are there .How to display Multipicklist fields as Checkboxes Dynamically?

help me.........

The new communities has mostly the same functionality as a Force.com Site + Customer Portal. One of the things that's missing though is the ability to set a custom change password page. This is critical for customers who want full control of the branding of their site, and while salesforce's new login looks nice, it does not fit with the design vision of many customers and being able to select a logo and change the background color is not an acceptable level of control for enterprises. 

 

i've tried a few avenues to try and get a custom change password page when a new user is signed up, or their password is reset:

 

1. Use the url rewritter to intercept /_ui/system/security/ChangePassword. Sadly this doesn't work as the url rewritter doesn't run for this target

2. Use the footer to add some javascript redirect to the page. Unfortunately the change password page doesn't take the footer defined in the login configuration for communities.

 

Does anyone have any clever ideas on how we can use a custom change password page in these scenarios? It used to be really simple in customer portal, you just selected the desired change password visualforce page. It's no fun when "new" products take funtionality away. 

 

Thanks in advance for any help and ideas! :)