-
1. Re: <Rich:listShuttle> redirects page with
ilya_shaikovsky Oct 29, 2009 5:51 AM (in response to karthicprabhu)if any ajax requests called for the movement event? Then you should probably try queue, because it could be caused by concurrent requests.
-
2. <rich:listShuttle> redirects page with
karthicprabhu Oct 29, 2009 5:58 AM (in response to karthicprabhu)Issue Header:
<rich:listShuttle> redirects page with "null" string when controls in listshuttle clicked continiously. -
3. Re: <Rich:listShuttle> redirects page with
karthicprabhu Oct 29, 2009 6:05 AM (in response to karthicprabhu)Hi ilya_shaikovsky,
I too tried with queue, but tht is not as much as efficient. where i have a doubleclick event to copy value from source to target. if i continiously click i have to alert with a message when i opt to fix with queue. Each time i have to wait, and notice queue message.
But in browser IE and Firefox, the click events r more fast and i doesnt results with wrong page.
Can u help me out with any other solution?
My sample code:<rich:listShuttle sourceValue="#{listexporter.aAttributes}" targetValue="#{listexporter.sAttributes}" var="available" listHeight="300" listWidth="300" sourceCaptionLabel="A Attributes" targetCaptionLabel="S Attributes" sourceListWidth="200" targetListWidth="200"> <rich:column> <h:outputText value="#{listexporter.attrLabel[available]}" styleClass="small2"/> </rich:column> <a4j:support event="onlistchanged" reRender="button" limitToList="true" timeout="#{email['timeout']}"/> </rich:listShuttle>
-
4. Re: <Rich:listShuttle> redirects page with
ilya_shaikovsky Oct 29, 2009 6:08 AM (in response to karthicprabhu)I tried richfaces-demo page in Opera and unfortunatelly can't see it now even without queue.
How have you defined queue?
Do you see anything in server log after the problem appears? -
5. Re: <Rich:listShuttle> redirects page with
karthicprabhu Oct 29, 2009 6:18 AM (in response to karthicprabhu)Hi ilya_shaikovsky,
<h:form> <a4j:queue name="importqueue" requestDelay="#{email['timeout']}" ignoreDupResponses="true" disabled="false" size="1"/> ----- ------- <h:panelGroup> <rich:listShuttle sourceValue="#{listexporter.aAttributes}" targetValue="#{listexporter.sAttributes}" var="available" listHeight="300" listWidth="300" sourceCaptionLabel="Available Attributes" targetCaptionLabel="Selected Attributes" sourceListWidth="200" targetListWidth="200"> <rich:column> <h:outputText value="#{listexporter.attrLabel[available]}" styleClass="small2"/> </rich:column> <a4j:support event="onlistchanged" reRender="button" limitToList="true" timeout="#{email['timeout']}" eventsQueue="importqueue"/> </rich:listShuttle> </h:panelGroup> </h:form>
-
6. Re: <Rich:listShuttle> redirects page with
karthicprabhu Oct 29, 2009 6:57 AM (in response to karthicprabhu)Hi ilya_shaikovsky,
Thanks for ur suggestion and i can able to fix the issue now. I used the same queue concept on ajax request and now it works fine.
Thanks a lot.
Karthic Prabhu