I solved it by using t:updateActionListener to pass the id to the
backing bean when the user selected to view the entry and by using
t:saveState in the entry to save the id if validation failed.

t:updateActionListener and f:param are totally different.

Yes I can see that now, thanks for clearing it out for me. But as
said, I had to use t:saveState as the action listener of the form
isn't called (as far as I know) when validation fails.

Thanks everyone for helping me, especially you Simon!

/Olof

On 1/11/07, Roman Rezac <[EMAIL PROTECTED]> wrote:
Olof Næssén <olof.naessen <at> gmail.com> writes:

>
> Hello!
>
> I have a jsp page which is reached by using a commandLink with a
> parameter. In the page I have a form with validation. If validation
> fails, and the user is redirected back to the page, the parameter is
> lost. Is this expected behavior? Is there a way around this?
>
> /Olof
>
>


Hi there.
I am facing the same issue. Did you find a solution for this? Thanks in advance.




Reply via email to