Hi all,

For some reason a cmd btn of mine isn't calling its actionListener
method when it is clicked.

Here is the situation.  I have a pull down at the top of my page which
chooses the item that I want to edit below.  I hit the submit button
next to the pulldown, and the second half of the page is rendered.  I
used the rendered attribute on the table containing the rest of the
form.

So when I change a few items in the second half, I hit an update
submit button to save the changes and POOF... nothing - the page just
refreshes.  the actionListener is never called.  Infact no action or
action listener.

Why isn't the action listener called?

I've also tried having two forms on the page, where the second form
had a hidden field of the selected item of the first form.  This would
help the situation where the user changes the selected item in the
filter form, but also has made changes to the previously viewed item. 
I'd want to make sure the changes goto the right item.  When I tried
this, for some reason the getter methods to retrieve the items data
was called before the set method for the hidden field was called which
gave me NPE's since the item to get the data from hadn't been loaded
yet - which is what the set method of the hidden field would have
done.

Is there a way to control the ordering of which UI objects are
processed first?  I tried the immediate attribute of the hidden field
to get that to go first, but it did nothing.

BTW, for the 2 form scenario, when I got the NPE's I would hit the
back button to go back to the form, it is then that I would notice
that it would call my update Information eventListener method.  arg.

What is going on here?

Thanks,
Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to