IE client side issue - form submit using go uri

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

IE client side issue - form submit using go uri

Hithesh
In a fresh IE 6, 7 or 8(deleting browser history, cache) , if form is submitted, i am getting

Exception in client-side code.
Message: Object required

Debugging in further its showing error in xforms-dialog-yuicalendar-min.js at line 89 char 1380443. This issue occurs only first time, on same browser submitting the same form second, third..... has no issues.It will pop up with a dialog "your information has been submitted, thank you" with ok link to go to uri xpath url


Following are the properties
     <property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*" value="go"/>
     <property as="xs:string" name="oxf.fr.detail.submit.go.uri-xpath.*.*" value="//gourl"/> 


Can anyone give some direction on how to fix this IE issue. Firefox works fine all the time.
Reply | Threaded
Open this post in threaded view
|

Re: IE client side issue - form submit using go uri

Alessandro Vernet
Administrator
On Wed, Oct 7, 2009 at 2:57 PM, hithesh gazzala
<[hidden email]> wrote:
> In a fresh IE 6, 7 or 8(deleting browser history, cache) , if form is
> submitted, i am getting
>
> Exception in client-side code.
> Message: Object required

First, could you check if the problem persists with a new nightly build?

If it does, could you post here a simple/minimal test case that runs
in the XForms sandbox and that reproduces this?

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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: IE client side issue - form submit using go uri

Einar Moos
Alex,

this problem appeared in recent builds, however, it seems to have disappeared with the latest Orbeon Forms dev-post-3.7.1.200910090100

Cheers

-- einar



>
> Exception in client-side code.
> Message: Object required

First, could you check if the problem persists with a new nightly build?

If it does, could you post here a simple/minimal test case that runs
in the XForms sandbox and that reproduces this?

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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




--
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: IE client side issue - form submit using go uri

Hithesh
I have tested this on recent nightly build Orbeon Forms dev-post-3.7.1.200910140016. Problem seem to be there only on IE when I use the form page as IFRAME inside another web page and submit the form. . This Client Side issue occurs only first time, further refreshing and submitting again works good. It also works good without as IFRAME.

I am including both html and xhtml code.

Properties in properties-local.xml
     <property as="xs:string"  name="oxf.fr.detail.buttons.GoToTest.*"  value="save clear submit"/>
     <property as="xs:string" name="oxf.fr.detail.submit.buttons.GoToTest.*" value="go"/>
     <property as="xs:string" name="oxf.fr.detail.submit.go.uri-xpath.GoToTest.*" value="//gourl"/>


HTML WEBPAGE

<div id="test" align="left">
<iframe id="form" src="https://xxxxxxx/orbeon/fr/GoToTest/sample/new"  scrolling="no" FRAMEBORDER="0" style="overflow:auto;" width="100%" height="500px" border="none" marginheight="0" />
</div>

FORM XHTML CODE(This can copied in edit source in form builder)
<xhtml:html xmlns:exforms="http://www.exforms.org/exf/1-0"
            xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
            xmlns:ev="http://www.w3.org/2001/xml-events"
            xmlns:saxon="http://saxon.sf.net/"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:sql="http://orbeon.org/oxf/xml/sql"
            xmlns:xhtml="http://www.w3.org/1999/xhtml"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:xi="http://www.w3.org/2001/XInclude"
            xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
            xmlns:xforms="http://www.w3.org/2002/xforms"
            xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">
    <xhtml:head>
        <xhtml:title>GO TO TEST PAGE</xhtml:title>
        <xforms:model id="fr-form-model">
            <xforms:instance id="fr-form-instance">
                <form>
                    <section-1>
                        <gourl>http://www.google.com</gourl>
                        <control-1/>
                    </section-1>
                </form>
            </xforms:instance>           
            <xforms:bind id="fr-form-binds" nodeset="instance('fr-form-instance')">
                <xforms:bind id="section-1-bind" nodeset="section-1">
                    <xforms:bind id="control-1-bind" name="control-1" nodeset="control-1"/>
                </xforms:bind>
            </xforms:bind>

           
            <xforms:instance id="fr-form-metadata" xxforms:readonly="true">
                <metadata>
                    <application-name>GoToTest</application-name>
                    <form-name>sample</form-name>
                    <title xml:lang="en">GO TO TEST PAGE</title>
                    <description xml:lang="en"/>
                    <author/>
                    <logo mediatype="" filename="" size=""/>
                </metadata>
            </xforms:instance>           
            <xforms:instance id="fr-form-attachments">
                <attachments>
                    <css mediatype="text/css" filename="" size=""/>
                    <pdf mediatype="application/pdf" filename="" size=""/>
                </attachments>
            </xforms:instance>           
            <xforms:instance id="fr-form-resources" xxforms:readonly="true">
                <resources>
                    <resource xml:lang="en">
                        <section-1>
                            <label>section1</label>
                            <help/>
                        </section-1>
                        <control-1>
                            <label>Enter name</label>
                            <hint/>
                            <help/>
                            <alert/>
                        </control-1>
                    </resource>
                </resources>
            </xforms:instance>           
            <xforms:instance id="fr-service-request-instance" xxforms:exclude-result-prefixes="#all">
                <request/>
            </xforms:instance>
            <xforms:instance id="fr-service-response-instance" xxforms:exclude-result-prefixes="#all">
                <response/>
            </xforms:instance>
        </xforms:model>
    </xhtml:head>
    <xhtml:body>
        <fr:view>
            <xforms:label ref="instance('fr-form-metadata')/title"/>
            <fr:body>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xforms:label ref="$form-resources/section-1/label"/>
                    <xforms:help ref="$form-resources/section-1/help"/>
                    <fr:grid columns="2">
                        <xhtml:tr>
                            <xhtml:td>
                                <xforms:input id="control-1-control" bind="control-1-bind">
                                    <xforms:label ref="$form-resources/control-1/label"/>
                                    <xforms:hint ref="$form-resources/control-1/hint"/>
                                    <xforms:help ref="$form-resources/control-1/help"/>
                                    <xforms:alert ref="$fr-resources/detail/labels/alert"/>
                                </xforms:input>
                            </xhtml:td>
                            <xhtml:td/>
                        </xhtml:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xhtml:body>
</xhtml:html>


Thanks
Hithesh

GoTotest.html
GoToTest.xhtml




Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: IE client side issue - form submit using go uri

Alessandro  Vernet
Administrator
Hithesh,

On Mon, Oct 19, 2009 at 1:36 PM, Hithesh <[hidden email]> wrote:
> I have tested this on recent nightly build Orbeon Forms
> dev-post-3.7.1.200910140016. Problem seem to be there only on IE when I use
> the form page as IFRAME inside another web page and submit the form. . This
> Client Side issue occurs only first time, further refreshing and submitting
> again works good. It also works good without as IFRAME.

I don't see any obvious reason why this wouldn't work in an iframe on
IE. Unfortunately, this is a situation that is too specific to be
considered as a priority, and I think it would be better handled
either through a development support plan
(http://www.orbeon.com/support-services/development), or by someone
contributing a solution for this.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: IE client side issue - form submit using go uri

Hithesh
Srry this issue still seems to be there in IE7. Clear the history,eveything in IE7, and i tested in orbeon 3.8 stable and nightly build on june 7 2010.

Exception in client-side code
You may want to try one of the following:

Close this dialog and continue to use this page.
Reload this page. Note that you will lose any unsaved changes.
If the above does not work, try reloading the page yourself. Note that you will lose any unsaved changes:

With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
With Safari and Chrome: click the Reload button in your browser toolbar.
With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
Return home.
 Show details

 Hide details

Exception in client-side code.
Message: Object required


Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: IE client side issue - form submit using go uri

Erik Bruchez
Administrator
Cool, thanks for sharing.

-Erik

On Wed, Jun 9, 2010 at 1:31 PM, Hithesh <[hidden email]> wrote:

>
> This issue seems to be fixed in 3.8 release (not the stable one) on nightly
> builds. I tested on nightly Build on June 8th 2010.
>
> Thanks to Orbeon team.
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/IE-client-side-issue-form-submit-using-go-uri-tp45332p2249495.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>
>


--
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: Re: Re: IE client side issue - form submit using go uri

Hithesh
I am sorry this issue is still present in IE and inside IFRAME. 

On Thu, Jun 10, 2010 at 5:37 PM, Erik Bruchez [via Orbeon Forms (ops-users)] <[hidden email]> wrote:
Cool, thanks for sharing.

-Erik

On Wed, Jun 9, 2010 at 1:31 PM, Hithesh <[hidden email]> wrote:

>
> This issue seems to be fixed in 3.8 release (not the stable one) on nightly
> builds. I tested on nightly Build on June 8th 2010.
>
> Thanks to Orbeon team.
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/IE-client-side-issue-form-submit-using-go-uri-tp45332p2249495.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>
>


--
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



View message @ http://orbeon-forms-ops-users.24843.n4.nabble.com/IE-client-side-issue-form-submit-using-go-uri-tp45332p2251085.html
To unsubscribe from Re: Re: Re: IE client side issue - form submit using go uri, click here.


Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: IE client side issue - form submit using go uri

amit bhosale
Hello Hitesh,

I am sorry this issue is still present in IE and inside IFRAME.

To resolve this issue we have added orbeon server as trusted site (*.abc.org) in IE (i am using IE8)







Thanks & Regards,
-Amit