Can you send your jspx page? Are you using PPR at all?

-Richard




On 4/10/08, wjones14 <[EMAIL PROTECTED]> wrote:
>
>
> We have a screen with a datatable, a Command Button and a SelectOneMenu
> drop-down list.  The user chooses an item from the drop-down, presses the
> button to add this item to the datatable, and when the page re-displays
> the
> datatable should have one more item, and the drop-down list should have
> one
> less item.
>
> However, what is happening is that the drop-down list is not refreshing on
> the first button press, so the previously selected item is still there,
> while the datatable is refreshing, showing the added item.
>
> The command button action is datatable.addItem.
>
> So I ran this in a debugger with breakpoints in the addItem method, and in
> the drop-down list load method.  When the command button is pressed,
> instead
> of going right into the addItem method, the execution first goes to the
> drop-down list load method - so the same list is displayed again.  Then
> the
> execution goes into the datatable bean's addItem method, and the datatable
> is properly refreshed.
>
> Is there a way to get the addItem method to be invoked before the
> SelectOneMenu's load method?
>
>
> Thanks,
>
> Bill
> --
> View this message in context:
> http://www.nabble.com/Component-rendering-order-issue--tp16609078p16609078.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to