• blackG
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello

 

I have just created a new page (in visualforce version 26.0) and on the view page I have a set of buttons (which I have set to appear in "both" locations.

 

However with the location="both" set, the edit button (defined below - which returns to the edit page with the saved data for further changes) only works when you select the edit button at the bottom of the page.  Clicking the edit button at the top does nothing and leaves me on the view page.

 

<apex:commandButton styleclass="screenonly buttonform button edit"action="{!edit}"value=""rendered="{!isEditable}"/>

 

However if I set location to "top", then the only edit button at the top of the page works correctly.

 

It would seem that setting the page back to be a version 24.0 implementation fixes this and with location set to "both", either of the edit buttons work.  Frustratingly, all my other pages were created with version 24.0 so they all work correctly.

 

Its seems only a problem if I use version 25.0 (or 26.0).  Does anyone know what could cause this difference between version 24.0 and 25.0?

 

Many thanks in advance,
mark

  • December 17, 2012
  • Like
  • 0