cancel
Showing results for 
Search instead for 
Did you mean: 

Visualize tab with an automation chain

Alice_
Star Contributor
Star Contributor

Is there an operation that allow to visualize a page or a tab? I would like to create a chain that first acquires a lock (Document.Lock) and then visualizes the edit tab for the document.

1 ACCEPTED ANSWER

Alain_ESCAFFRE
Star Contributor
Star Contributor

Hi, that's a smart idea. But you will also have to unlock automatically after having clicked on a customized "save" button, won't you ?

To do what you aim at:

  • Document.lock
  • Seam.ChangeTab with value TAB_EDIT for the parameter tab

Of course, you need to be in a Seam context, that means that this chain will work if you bind it to a user action, and won't work if you bind it to an event listener (whose context has no notion of current tab in the interface).

To add a new button in the "edit" screen for saving, you can follow this how-to

View answer in original post

2 REPLIES 2

Alain_ESCAFFRE
Star Contributor
Star Contributor

Hi, that's a smart idea. But you will also have to unlock automatically after having clicked on a customized "save" button, won't you ?

To do what you aim at:

  • Document.lock
  • Seam.ChangeTab with value TAB_EDIT for the parameter tab

Of course, you need to be in a Seam context, that means that this chain will work if you bind it to a user action, and won't work if you bind it to an event listener (whose context has no notion of current tab in the interface).

To add a new button in the "edit" screen for saving, you can follow this how-to

Thank you very much (yes, I was also wondering about the unlock action