myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bansi <mail2ba...@yahoo.com>
Subject Re: h:commandButton/a4j:commandButton does Page Refresh ???
Date Fri, 06 Jul 2007 20:53:29 GMT

Thanks Andrew for the catch it works like charm now. I will appreciate your
time in taking a look at my other post :
http://www.nabble.com/Performance-issue-%3A-Setting-Dropdown-value-from-onblur-event-tf4037597.html.




Andrew Robinson-5 wrote:
> 
> Make sure you have the list boxes in the reRender property of the a4j
> command button
> 
> On 7/6/07, bansi <mail2bansi@yahoo.com> wrote:
>>
>> I have observed a4j:commandButton works only on Page Refresh
>>
>> Here is the situation
>>
>> I am using two h:selectManyListbox to moves Roles i.e. All Roles to
>> selected
>> Roles using <h:commandButton value="-->" />
>>
>> h:commandButton works perfectly fine , the only limitation is after
>> moving
>> the value from left to right Listbox, whole page is automatically
>> refreshed
>> & the cursor moves to the top of the page
>>
>> This is where we thought ajax4jsf would come in handy & started using
>> a4j:commandButton instead of h:commandButton.
>> The result is when we click the a4j:commandButton it doesnt moves the
>> value
>> from left to right Listbox. Then we did page refreshed then only the
>> value
>> moved from left to right ListBox. Quite Amazing !!!. This is totally
>> opposite to behaviour of ajax
>>
>> We want a4j:commandButton to move the values from left to right ListBox
>> without page refresh . Any pointers/suggestions will be highly
>> appreciated
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/h%3AcommandButton-a4j%3AcommandButton-does-Page-Refresh-----tf4037659.html#a11471154
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/h%3AcommandButton-a4j%3AcommandButton-does-Page-Refresh-----tf4037659.html#a11472288
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message