Hello, Can we make the xform controls work from xforms-jsp. I am not able to get it work.I can show the controls without any error
but no event is getting raised. Following link also did not help me. http://codesnippets.joyent.com/posts/show/1152#related am I doing anything wrong?. I saw some example in xforms jsp like ‘guess the number.
I used the same code in my portlet also. but it did not work. What could be the
problem? Thanks, Prameela. -- 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 |
It
works well in my project (Orbeon 3.6). However, we do have problems in Firefox
3. Have you tried in different browsers?
Frank
From: Prameela R [mailto:[hidden email]] Sent: 18 May 2009 13:28 To: [hidden email] Subject: [ops-users] xform in xforms-jsp Hello, Can we make the xform controls work from
xforms-jsp. I am not able to get it work.I can show the controls
without any error but no event is getting raised. Following link also did not help
me. http://codesnippets.joyent.com/posts/show/1152#related am I doing anything wrong?.
I saw some example in xforms jsp
like ‘guess the number. I used the same code in my portlet also. but it did not
work. What could be the problem? Thanks,
Prameela. -- 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 |
Administrator
|
In reply to this post by Prameela R
Prameela,
Is the "guess the number" example working for you? If that example works, but your code doesn't, we won't be able to help you here unless you tell us a bit more about your code ;). The best is to create a minimal JSP that we can drop in xforms-jsp and that shows the issue you are describing. Alex |
Alex,
I just copied the code of 'guess the number', still it did not work. Then I tried to set value to an instance with single button and tried to display the value. And am sure that there is no mistake in the code for single trigger. Do I have to change anything in web.xml to make the xforms work in jsp? Thanks, Prameela. -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Tuesday, May 19, 2009 6:53 AM To: [hidden email] Subject: [ops-users] Re: xform in xforms-jsp Prameela, Prameela R wrote: > > I saw some example in xforms jsp like 'guess the number. I used the same > code in my portlet also. but it did not work. What could be the problem? > Is the "guess the number" example working for you? If that example works, but your code doesn't, we won't be able to help you here unless you tell us a bit more about your code ;). The best is to create a minimal JSP that we can drop in xforms-jsp and that shows the issue you are describing. Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://www.nabble.com/xform-in-xforms-jsp-tp23596779p23608091.html Sent from the ObjectWeb 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 |
Administrator
|
Prameela,
Yes, you need to make sure you have filter-mapping defined, such as: <filter-mapping> <filter-name>orbeon-xforms-filter</filter-name> <url-pattern>/xforms-jsp/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> You can also find this in the web.xml that comes in the orbeon.war, and in the documentation at: http://www.orbeon.com/ops/doc/reference-xforms-java Alex |
Thanks Alex,
It did work. But one more problem is javascript is not working. Do we have to include anything again in web.xml to make javascript work in xforms-jsp? Yet, script is displaying as a normal text. How do we make javascript enable in xforms-jsp? Thanks, Prameela -----Original Message----- From: Alessandro Vernet [mailto:[hidden email]] Sent: Tuesday, May 19, 2009 1:44 PM To: [hidden email] Subject: [ops-users] RE: Re: xform in xforms-jsp Prameela, Prameela R wrote: > > I just copied the code of 'guess the number', still it did not work. > Then I tried to set value to an instance with single button and tried to > display the value. And am sure that there is no mistake in the code for > single trigger. > > Do I have to change anything in web.xml to make the xforms work in jsp? > Yes, you need to make sure you have filter-mapping defined, such as: <filter-mapping> <filter-name>orbeon-xforms-filter</filter-name> <url-pattern>/xforms-jsp/*</url-pattern> <!--Servlet 2.4 configuration allowing the filter to run upon forward in addition to request--> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> You can also find this in the web.xml that comes in the orbeon.war, and in the documentation at: http://www.orbeon.com/ops/doc/reference-xforms-java Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://www.nabble.com/xform-in-xforms-jsp-tp23596779p23611713.html Sent from the ObjectWeb 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 |
Administrator
|
Prameela,
I am not sure what you mean by "JavaScript is no working" and "script is displaying as a normal text". What is it you see on the script? What is the symptom? Alex |
Free forum by Nabble | Edit this page |