Chaps,
At long last the end is in sight for my 1st ops apps, and I'm fairly pleased that everything looks as if its working. One small problem however is that everything basically works fine in Firefox 1.5.0.7 and doesn't in IE6 or IE7. In Firefox the only thing that seems to be wrong is that when selecting items in an xforms:select statement you appear to have to click on the box twice to select it. In IE6, after the 1st page of the questionnaire you get a "Cannot find server or DNS server error" message. And I don't know where to look to resolve it. If I do a <shift> reload at this point, I get an ops "string index out of range:2 error message (see below) The app is based on the wizard with PFC example and is a questionnaire with multiple pages to complete. Along the way it requires the user to authenticate prior to completing the questionnaire ( via a RADIUS based authenticator) and checks a back end database to see if the logged on person has already completed the questionnaire in the current month. Based upon this, the input instance has a <user> object with some user related info in it. A user can either step through and complete the questionnaire or exit it at any time (destroys the current session requiring the use to log back on again if they want to start again). The only thing to do now is to add some CSS formatting to tidy up what the end user sees. Attached are the files associated with the application. In generate-input-instnce.xpl you can either have a test-user.xml file used to build the instance passed on via the page-flow.xml file or use the output from a pipeline process #userInfo to build the <user/>....</user> object. i.e. <p:input name="data" href="aggregate('survey',action.xml,#userInfo,title.xml,questionnaire-mo del.xml)"/> Or <p:input name="data" href="aggregate('survey',action.xml,test-user.xml,title.xml,questionnair e-model.xml)"/> The former relies on some java code to build the user object. I'm running ops 3.5M1 from 13/10/06 I'd really like to know why IE6 is complaining alex 1). Error page from ops String index out of range: 2 OPS Call Stack The OPS Call Stack helps you determine what sequence of OPS operations have caused the error. Resource URL Line Column Description XML Element oxf:/ops/xforms/xforms-server-submit.xpl 55 43 executing processor (name='{http://www.orbeon.com/oxf/processors}xforms-server') <p:processor name="oxf:xforms-server">...</p:processor> Java Exceptions (5 total) Java Exceptions are the native mechanism by which OPS reports errors. More than one exception may be provided below but usually the first exception along with the OPS Stack Trace above provide enough information to track down an issue. java.lang.StringIndexOutOfBoundsException Exception Class java.lang.StringIndexOutOfBoundsException Message String index out of range: 2 Servlet Stack Trace (32 method calls) Class Name Method Name File Name Line Number java.lang.String substring N/A org.orbeon.oxf.xforms.XFormsUtils decodeXML XFormsUtils.java 702 org.orbeon.oxf.xforms.XFormsUtils decodeXML XFormsUtils.java 694 org.orbeon.oxf.xforms.processor.XFormsServer createXFormsContainingDocument XFormsServer.java 1054 org.orbeon.oxf.xforms.processor.XFormsServer createXFormsContainingDocument XFormsServer.java 1035 org.orbeon.oxf.xforms.XFormsServerDocumentCache find XFormsServerDocumentCache.java 112 org.orbeon.oxf.xforms.processor.XFormsServer doIt XFormsServer.java 172 org.orbeon.oxf.xforms.processor.XFormsServer start XFormsServer.java 88 org.orbeon.oxf.processor.pipeline.PipelineProcessor$11 run PipelineProcessor.java 652 org.orbeon.oxf.processor.ProcessorImpl executeChildren ProcessorImpl.java 536 generate-input-instance.xpl (3K) Download Attachment page-flow.xpl (1K) Download Attachment questionnaire-model.xml (1K) Download Attachment title.xml (84 bytes) Download Attachment action.xml (18 bytes) Download Attachment UserInfo.java (6K) Download Attachment alreadyanswered.xsl (2K) Download Attachment logout.xpl (1K) Download Attachment add-action.xpl (4K) Download Attachment header.xml (894 bytes) Download Attachment page-flow.xml (21K) Download Attachment exitapp.xsl (1K) Download Attachment intro-view.xsl (5K) Download Attachment question1.xsl (4K) Download Attachment |
Administrator
|
Alex,
Would you be able to either: a) Create stand-alone example that we can run in the sandbox to reproduce the problem (if possible this is best way). b) Zip the content of your resources directory and resend it here. This way we'll spend less time setting up files in the right directory and dealing with missing files, if any. Thanks! Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi,
I've been running the example in examples-standalone directory anyway. Zipping up the files was what I was going to do this morning when I get into work :)) I'll set one up so that you're not expecting to access the mysql database at this end. Alex -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: 24 October 2006 03:29 To: OPS Users Subject: [ops-users] Re: problem with ops application and ie6 Alex, Would you be able to either: a) Create stand-alone example that we can run in the sandbox to reproduce the problem (if possible this is best way). b) Zip the content of your resources directory and resend it here. This way we'll spend less time setting up files in the right directory and dealing with missing files, if any. Thanks! Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Alessandro Vernet
Hi,
Attached is zurvey3.zip, which contains folder survey3. survey3 lived in the examples-standalone directory. I've removed the hull specific stuff. Also in the folder is a copy of the web.xml file I've been using. Basically it's enabled your auth example, specified a Radius authenticator to use configurd things so that accessing /examples-standalone/survey3 requires authentication. Alex -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Tuesday, October 24, 2006 3:29 AM To: OPS Users Subject: [ops-users] Re: problem with ops application and ie6 Alex, Would you be able to either: a) Create stand-alone example that we can run in the sandbox to reproduce the problem (if possible this is best way). b) Zip the content of your resources directory and resend it here. This way we'll spend less time setting up files in the right directory and dealing with missing files, if any. Thanks! Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws survey3.zip (36K) Download Attachment |
Administrator
|
Hi Alex,
Alright, after adding the declaration for the static files to your page-flow.xml, I got to run your stand-alone application and reproduce the problem. I should have thought about this right away when you described the symptom, as this is is not the first time we see this :). I added an entry in the FAQ for this, which you can find here: http://www.orbeon.com/ops/doc/home-faq#ie-cannot-find-server I hope this will help, Alex On 10/24/06, Alex Sharaz <[hidden email]> wrote: > Hi, > Attached is zurvey3.zip, which contains folder survey3. survey3 lived in > the examples-standalone directory. > > I've removed the hull specific stuff. > > Also in the folder is a copy of the web.xml file I've been using. > Basically it's enabled your auth example, specified a Radius > authenticator to use configurd things so that accessing > /examples-standalone/survey3 requires authentication. > > Alex > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of > Alessandro Vernet > Sent: Tuesday, October 24, 2006 3:29 AM > To: OPS Users > Subject: [ops-users] Re: problem with ops application and ie6 > > Alex, > > Would you be able to either: > > a) Create stand-alone example that we can run in the sandbox to > reproduce the problem (if possible this is best way). > b) Zip the content of your resources directory and resend it here. > > This way we'll spend less time setting up files in the right directory > and dealing with missing files, if any. Thanks! > > Alex > -- > Blog (XML, Web apps, Open Source): > http://www.orbeon.com/blog/ > > > > ***************************************************************************************** > To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html > ***************************************************************************************** > > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Magic works a treat
Thanks Alex -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Wednesday, October 25, 2006 3:47 AM To: [hidden email] Subject: Re: [ops-users] Re: problem with ops application and ie6 Hi Alex, Alright, after adding the declaration for the static files to your page-flow.xml, I got to run your stand-alone application and reproduce the problem. I should have thought about this right away when you described the symptom, as this is is not the first time we see this :). I added an entry in the FAQ for this, which you can find here: http://www.orbeon.com/ops/doc/home-faq#ie-cannot-find-server I hope this will help, Alex On 10/24/06, Alex Sharaz <[hidden email]> wrote: > Hi, > Attached is zurvey3.zip, which contains folder survey3. survey3 lived in > the examples-standalone directory. > > I've removed the hull specific stuff. > > Also in the folder is a copy of the web.xml file I've been using. > Basically it's enabled your auth example, specified a Radius > authenticator to use configurd things so that accessing > /examples-standalone/survey3 requires authentication. > > Alex > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of > Alessandro Vernet > Sent: Tuesday, October 24, 2006 3:29 AM > To: OPS Users > Subject: [ops-users] Re: problem with ops application and ie6 > > Alex, > > Would you be able to either: > > a) Create stand-alone example that we can run in the sandbox to > reproduce the problem (if possible this is best way). > b) Zip the content of your resources directory and resend it here. > > This way we'll spend less time setting up files in the right directory > and dealing with missing files, if any. Thanks! > > Alex > -- > Blog (XML, Web apps, Open Source): > http://www.orbeon.com/blog/ > > > > > To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html > ************************************************************************ ***************** > > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ ***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |