Null is not equal to a validation failure.   It means that the view
doesn't need to be recreated from the navigation rules, just reuse the
old one.

No idea what you're detecting for validation failure, but you could
always set a create a FacesMessage from your action if you needed to
do so.   I can't think of what else you'd be using to detect
validation failures.

On 3/30/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote:
Hi,

I thought that if I return null from button's action method, this
would be equal to validation faild, and would prevent the popup from
opening. Unfortunately, it doesn't work this way. Is the only way to
achieve this behavior to use the rendered attribute od popup?

regards,
michael

--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
GG: 3691111
JID: [EMAIL PROTECTED]

Reply via email to