Hi,

Yes they are in the same view, but since the submitted parameters contain different keys, checking out the request param map for the client id of the button may help.

Also before executing a phase, isRendered() control is done on each component. If not rendered, it just returns and stop executing.

Cagatay

On 5/29/06, Anthony Hong <[EMAIL PROTECTED]> wrote:
I saw many myfaces component with role check. I have a question.
If a page need to distinct read and write permission. They are the same page.
For read operation, I can set action button (Add, submit) to rendered=false;
Is it possible, that some one send a quest via some tool as write
permission(a user with read permission send update command ).
As there are the same view id, how can I distrinct what action it is
request. Can I know the action for a view when submmiting?


--

Anthony Hong

Reply via email to