Re:Error while closing or hiding the dialog box using level="modal"

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

Re:Error while closing or hiding the dialog box using level="modal"

Reddy, Gopikrishna
Re:Error while closing or hiding the dialog box using level="modal"

Hi ,
I have a Problem with dialog box ,when iam trying to hide(on submit) or close the dialog box iam getting this popup error message.

A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.

Do you want to abort the script?
here iam using  level="modal"  if i use level="modeless" iam not getting this error ,but when dialogbox is opened idont want user to perform any more actions on the page.

Iam not using any javascript in my xhtml code

Please help me out in this.
Thanks and Regards,
K Gopikrishna Reddy

Iam sending my xhtml code here
<xxforms:dialog id="holdDialog" level="modal" close="true" draggable="true" style="width: 45em;height: 8em ">
                <xforms:group ref=".[instance('main-instance')//holdlistsize &gt;= instance('main-instance')//page-size]">             

                You can not hold more than <xforms:output ref="instance('main-instance')//holdlistsize"/>item at a time
                </xforms:group>
<xforms:group ref=".[instance('main-instance')//holdlistsize &lt;instance('main-instance')//page-size]">
                                        Please give a Reason                   
                        <xforms:select1 ref="instance('main-instance')//holdreason" >
                                         <xforms:item>
                                                <xforms:label>Select</xforms:label>
                                                <xforms:value></xforms:value>
                                        </xforms:item>
                                        <xforms:itemset nodeset="//acceptrequest/holdreasons">
                                                <xforms:label ref="reason"/>
                                                <xforms:value ref="reason"/>
                                        </xforms:itemset>
                                </xforms:select1>      

                <xhtml:p>
                        <table align="center">         
                        <tr><td>
                        <xforms:trigger>
                            <xforms:label>Hold Task</xforms:label>
                            <xforms:action ev:event="DOMActivate">
                           
                        <xforms:send submission="hold-submission"/>
                <xxforms:hide dialog="holdDialog" ev:event="DOMActivate"/>
                             </xforms:action>
                        </xforms:trigger>
                        </td>          
                        </tr>
                        </table>
                        </xhtml:p>
</xforms:group>
                </xxforms:dialog>

               
                <!-- hold dialog-->


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: Re:Error while closing or hiding the dialog box using level="modal"

Erik Bruchez
Administrator
This is an issue with an older version of YUI. We fixed it locally,  
and then upgraded to a recent YUI. So if you use 3.7 beta 1 or a  
recent nightly this issue should go away.

-Erik

On Aug 28, 2008, at 3:33 AM, Reddy, Gopikrishna wrote:

> Hi ,
> I have a Problem with dialog box ,when iam trying to hide(on submit)  
> or close the dialog box iam getting this popup error message.
>
> A script on this page is causing Internet Explorer to run slowly. If  
> it continues to run, your computer may become unresponsive.
>
> Do you want to abort the script?
> here iam using  level="modal"  if i use level="modeless" iam not  
> getting this error ,but when dialogbox is opened idont want user to  
> perform any more actions on the page.
>
> Iam not using any javascript in my xhtml code
>
> Please help me out in this.
> Thanks and Regards,
> K Gopikrishna Reddy
>
> Iam sending my xhtml code here
> <xxforms:dialog id="holdDialog" level="modal" close="true"  
> draggable="true" style="width: 45em;height: 8em ">
>                 <xforms:group ref=".[instance('main-instance')//
> holdlistsize &gt;= instance('main-instance')//page-size]">
>
>                 You can not hold more than <xforms:output  
> ref="instance('main-instance')//holdlistsize"/>item at a time
>                 </xforms:group>
> <xforms:group ref=".[instance('main-instance')//holdlistsize  
> &lt;instance('main-instance')//page-size]">
>                                         Please give a Reason
>                         <xforms:select1 ref="instance('main-
> instance')//holdreason" >
>                                          <xforms:item>
>                                                  
> <xforms:label>Select</xforms:label>
>                                                 <xforms:value></
> xforms:value>
>                                         </xforms:item>
>                                         <xforms:itemset nodeset="//
> acceptrequest/holdreasons">
>                                                 <xforms:label  
> ref="reason"/>
>                                                 <xforms:value  
> ref="reason"/>
>                                         </xforms:itemset>
>                                 </xforms:select1>
>
>                 <xhtml:p>
>                         <table align="center">
>                         <tr><td>
>                         <xforms:trigger>
>                             <xforms:label>Hold Task</xforms:label>
>                             <xforms:action ev:event="DOMActivate">
>
>                         <xforms:send submission="hold-submission"/>
>                 <xxforms:hide dialog="holdDialog"  
> ev:event="DOMActivate"/>
>                              </xforms:action>
>                         </xforms:trigger>
>                         </td>
>                         </tr>
>                         </table>
>                         </xhtml:p>
> </xforms:group>
>                 </xxforms:dialog>
>
>
>                 <!-- hold dialog-->
>
--
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:how to make particular field required inside repeat nodeset

Reddy, Gopikrishna
In reply to this post by Reddy, Gopikrishna
Re:how to make particular field required inside repeat nodeset

Hi,
Can anybody help me out in this,
As iam getting multiple records from this repeat nodeset,iwant to make the particular field as required which i work on
For this iam giving the code like this.
<xforms:bind nodeset="instance('main-instance)/records/record2/pageto"  required="true()"/>

The Problem is if igive the above code all the nodes coming from result set
are becoming required ones, but iwant to make particualr field required which iwork on.

Here is my code .


<xforms:repeat nodeset="instance('main-instance')//records/record2" id="repeat">

         <tr>
                 
                  
                    </td>
                    <td>
                    <xforms:output ref="pageto"/>
                    </td>
                   
         </tr>
</xforms:repeat>



Thanks and Regards,
K Gopikrishna Reddy.


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: Re:how to make particular field required inside repeat nodeset

Erik Bruchez
Administrator
First question to answer is: what sets that particular field apart  
from the others?

-Erik

On Aug 31, 2008, at 10:27 PM, Reddy, Gopikrishna wrote:

> Hi,
> Can anybody help me out in this,
> As iam getting multiple records from this repeat nodeset,iwant to  
> make the particular field as required which i work on
> For this iam giving the code like this.
> <xforms:bind nodeset="instance('main-instance)/records/record2/
> pageto"  required="true()"/>
>
> The Problem is if igive the above code all the nodes coming from  
> result set
> are becoming required ones, but iwant to make particualr field  
> required which iwork on.
>
> Here is my code .
>
>
> <xforms:repeat nodeset="instance('main-instance')//records/record2"  
> id="repeat">
>
>          <tr>
>
>
>                     </td>
>                     <td>
>                     <xforms:output ref="pageto"/>
>                     </td>
>
>          </tr>
> </xforms:repeat>
>
>
>
> Thanks and Regards,
> K Gopikrishna Reddy.
>
>
> 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