It is extremely hard to comment on that post, as performance issues
can be anywhere in the code, especially since you are hitting the
database. What I like to do, is create a debugging phase listener that
prints out the current phase and then times the phase by adding the
start time in the start of the phase into the request map and then
performing a time difference in the end phase method. That way you can
see what phase is slowing you down.

Also, I have witnessed IE6 extremely slow to re-render SELECT boxes
for some unknown reason. It may be because of the fact that IE6 uses
an MFC control, but not sure. Your best bet is to use the above
technique, a debugger and step through the code, an client side
debugger (like firebug for firefox) to time the javascript or use a
performance tool.

On 7/6/07, bansi <[EMAIL PROTECTED]> wrote:

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 <[EMAIL PROTECTED]> 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.


Reply via email to