Drop down values Loading Time

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Drop down values Loading Time

Reddy, Gopikrishna
Hi ,
Can anybody help me out in this .
I have a dropdown with 200 values and in repeat loop iam getting 20 records,
 in repeat nodeset for each row its loading the 200 values it is taking lot of time to load ,can anybody suggest how can i reduce the loading time for dropdown values.
 
Please find the code below
 
<xforms:send ev:event="xforms-model-construct-done" submission="get-options-submission"/>
<xforms:submission action="http://localhost:10007/orbeon/getoptions/" method="get" id="get-options-submission" serialization="none"
                               replace="instance" instance="options"
                               xxforms:readonly="true" xxforms:shared="application"/>
 

                       <td width="2%" nowrap="true">
                       <xforms:select1 ref="test" xxforms:refresh-items="true">
    <xforms:item>
    <xforms:label>SELECT</xforms:label>
    <xforms:value></xforms:value>
    </xforms:item>
        <xforms:itemset nodeset="instance('options')/frmnm_options">
    <xforms:label ref="frm_label"/>
    <xforms:value ref="frm_value"/>
     </xforms:itemset>
     <xforms:action ev:event="xforms-value-changed">
              <xforms:rebuild/>
      </xforms:action>
      <xforms:alert></xforms:alert>
</xforms:select1>
                          </td>
 
 
Thanks ,
 
Gopikrishna Reddy.K
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Drop down values Loading Time

Erik Bruchez
Administrator
If the items are the same in every repeat, try xxforms:refresh-
items="false":

http://www.orbeon.com/ops/doc/reference-xforms-2#xxforms-refresh-items

-Erik

On Dec 5, 2008, at 6:34 PM, Reddy, Gopikrishna wrote:

> Hi ,
> Can anybody help me out in this .
> I have a dropdown with 200 values and in repeat loop iam getting 20  
> records,
>  in repeat nodeset for each row its loading the 200 values it is  
> taking lot of time to load ,can anybody suggest how can i reduce the  
> loading time for dropdown values.
>
> Please find the code below
>
> <xforms:send ev:event="xforms-model-construct-done" submission="get-
> options-submission"/>
> <xforms:submission action="http://localhost:10007/orbeon/ 
> getoptions/" method="get" id="get-options-submission"  
> serialization="none"
>                                replace="instance" instance="options"
>                                xxforms:readonly="true"  
> xxforms:shared="application"/>
>
>
>                        <td width="2%" nowrap="true">
>                        <xforms:select1 ref="test" xxforms:refresh-
> items="true">
>     <xforms:item>
>     <xforms:label>SELECT</xforms:label>
>     <xforms:value></xforms:value>
>     </xforms:item>
>         <xforms:itemset nodeset="instance('options')/frmnm_options">
>     <xforms:label ref="frm_label"/>
>     <xforms:value ref="frm_value"/>
>      </xforms:itemset>
>      <xforms:action ev:event="xforms-value-changed">
>               <xforms:rebuild/>
>       </xforms:action>
>       <xforms:alert></xforms:alert>
> </xforms:select1>
>                           </td>
>
>
> Thanks ,
>
> Gopikrishna Reddy.K
> This e-mail (and any attachments), is confidential and may be  
> privileged. It may be read, copied and used only
> by intended recipients. Unauthorized access to this e-mail (or  
> attachments) and disclosure or copying of its
> contents or any action taken in reliance on it is unlawful.  
> Unintended recipients must notify the sender immediately
> by e-mail/phone & delete it from their system without making any  
> copies or disclosing it to a third person.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Drop down values Loading Time

Reddy, Gopikrishna
Hi Erik,
Thanks for ur response ihave tried with xxforms:refresh-
items="false" but the loading time is same as before Please suggest .
 
Thanks and Regards,
K Gopikrishna Reddy

________________________________

From: Erik Bruchez [mailto:[hidden email]]
Sent: Sun 12/7/2008 10:56 PM
To: [hidden email]
Subject: [ops-users] Re: Drop down values Loading Time



If the items are the same in every repeat, try xxforms:refresh-
items="false":

http://www.orbeon.com/ops/doc/reference-xforms-2#xxforms-refresh-items

-Erik

On Dec 5, 2008, at 6:34 PM, Reddy, Gopikrishna wrote:

> Hi ,
> Can anybody help me out in this .
> I have a dropdown with 200 values and in repeat loop iam getting 20
> records,
>  in repeat nodeset for each row its loading the 200 values it is
> taking lot of time to load ,can anybody suggest how can i reduce the
> loading time for dropdown values.
>
> Please find the code below
>
> <xforms:send ev:event="xforms-model-construct-done" submission="get-
> options-submission"/>
> <xforms:submission action="http://localhost:10007/orbeon/
> getoptions/" method="get" id="get-options-submission"
> serialization="none"
>                                replace="instance" instance="options"
>                                xxforms:readonly="true"
> xxforms:shared="application"/>
>
>
>                        <td width="2%" nowrap="true">
>                        <xforms:select1 ref="test" xxforms:refresh-
> items="true">
>     <xforms:item>
>     <xforms:label>SELECT</xforms:label>
>     <xforms:value></xforms:value>
>     </xforms:item>
>         <xforms:itemset nodeset="instance('options')/frmnm_options">
>     <xforms:label ref="frm_label"/>
>     <xforms:value ref="frm_value"/>
>      </xforms:itemset>
>      <xforms:action ev:event="xforms-value-changed">
>               <xforms:rebuild/>
>       </xforms:action>
>       <xforms:alert></xforms:alert>
> </xforms:select1>
>                           </td>
>
>
> Thanks ,
>
> Gopikrishna Reddy.K
> This e-mail (and any attachments), is confidential and may be
> privileged. It may be read, copied and used only
> by intended recipients. Unauthorized access to this e-mail (or
> attachments) and disclosure or copying of its
> contents or any action taken in reliance on it is unlawful.
> Unintended recipients must notify the sender immediately
> by e-mail/phone & delete it from their system without making any
> copies or disclosing it to a third person.
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

winmail.dat (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Drop down values Loading Time

>
>
> Thanks ,
>
> Gopikrishna Reddy.K
> This e-mail (and any attachments), is confidential and may be
> privileged. It may be read, copied and used only
> by intended recipients. Unauthorized access to this e-mail (or
> attachments) and disclosure or copying of its
> contents or any action taken in reliance on it is unlawful.
> Unintended recipients must notify the sender immediately
> by e-mail/phone & delete it from their system without making any
> copies or disclosing it to a third person.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.

 

--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
venkata subrahmanyam
Hi GopiKrishna Reddy,
If you feel performance should be implemented in any way, you can keep the dropdown values out of the repeate and when selected you can set to the corresponding repeatid index nodes.
or
When user focuses on the required field popup a dialogbox  which will display the dropdown values, once selected set its value to the required field and close the dialogbox automatically.

In this approach you have to load the dropdown values only once even you have 100 records in repeat.

(making the options instance readonly and shared increases little performance using services.)



Reddy, Gopikrishna wrote
Hi Erik,
Thanks for ur response ihave tried with xxforms:refresh-
items="false" but the loading time is same as before Please suggest .
 
Thanks and Regards,
K Gopikrishna Reddy

________________________________

From: Erik Bruchez [mailto:ebruchez@orbeon.com]
Sent: Sun 12/7/2008 10:56 PM
To: ops-users@ow2.org
Subject: [ops-users] Re: Drop down values Loading Time



If the items are the same in every repeat, try xxforms:refresh-
items="false":

http://www.orbeon.com/ops/doc/reference-xforms-2#xxforms-refresh-items

-Erik

On Dec 5, 2008, at 6:34 PM, Reddy, Gopikrishna wrote:

> Hi ,
> Can anybody help me out in this .
> I have a dropdown with 200 values and in repeat loop iam getting 20
> records,
>  in repeat nodeset for each row its loading the 200 values it is
> taking lot of time to load ,can anybody suggest how can i reduce the
> loading time for dropdown values.
>
> Please find the code below
>
> <xforms:send ev:event="xforms-model-construct-done" submission="get-
> options-submission"/>
> <xforms:submission action="http://localhost:10007/orbeon/
> getoptions/" method="get" id="get-options-submission"
> serialization="none"
>                                replace="instance" instance="options"
>                                xxforms:readonly="true"
> xxforms:shared="application"/>
>
>
>                        
>                        <xforms:select1 ref="test" xxforms:refresh-
> items="true">
>     <xforms:item>
>     <xforms:label>SELECT</xforms:label>
>     <xforms:value></xforms:value>
>     </xforms:item>
>         <xforms:itemset nodeset="instance('options')/frmnm_options">
>     <xforms:label ref="frm_label"/>
>     <xforms:value ref="frm_value"/>
>      </xforms:itemset>
>      <xforms:action ev:event="xforms-value-changed">
>               <xforms:rebuild/>
>       </xforms:action>
>       <xforms:alert></xforms:alert>
> </xforms:select1>
>