Hi
The documentation on the Orbeon Site mentions the following: "A server-side implementation of XForms translates your forms described in terms of the XForms specification into HTML, CSS and JavaScript code understood by your web browser. " "The XForms engine translates your XForms pages to HTML, CSS and JavaScript that your browser understands." Now does this mean that I can pull up a HTML version of my XForm in a browser? So far I have been testing in the sandbox or by making a separate war and deploying in Tomcat and Geronimo. I don't think I have seen a HTML page. Maybe this is not an intelligent question or it is just that I do not understand fully how Orbeon Forms can be used to full advantage, but could someone explain what I may be missing. Would I be able to see an HTML or XHTML interface on the browser? If so, how? |
There are two points where one can read xhtml. To see the html as your browser sees it use the view tab on your browser. What you will uncover is unintelligible to humans as it is the downstream effluvium of a very complex process. No worries though because it seems quite palatable to browsers of all persuasions. At the headwaters of the process is a file called view.xhtml. (Ok, sometimes it is called view.xsl, but only because on those occasions it has a little tiny bit of xslt in the mix. It still is basically a human readable html file.) By convention each application is a subdirectory of apps/. So in a standard install TOMCAT_HOME/webapps/orbeon/WEB-INF/resources/apps/xforms-hello/view.xhtml can be opened with your favorite editor to see the source for the product displayed when your browser is pointed to http://localhost:8080/orbeon/xforms-hello/.
Let me know if this answers your question. |
Administrator
|
In reply to this post by ilango_g
On Dec 17, 2007, at 7:02 AM, XGuy wrote:
> The documentation on the Orbeon Site mentions the following: > > "A server-side implementation of XForms translates your forms > described in > terms of the XForms specification into HTML, CSS and JavaScript code > understood by your web browser. " > > "The XForms engine translates your XForms pages to HTML, CSS and > JavaScript > that your browser understands." > > Now does this mean that I can pull up a HTML version of my XForm in a > browser? So far I have been testing in the sandbox or by making a > separate > war and deploying in Tomcat and Geronimo. I don't think I have seen > a HTML > page. this terminology? Or what you would like to achieve? With Orbeon Forms, what your web browser displays is always HTML + CSS + JavaScript. That's because that's pretty much all your web browser is able to understand (if one except things like Flash, Java applets, or other plugins, which Orbeon Forms doesn't use at all). When you use the XForms Sandbox, you send Orbeon Forms a document or page containing XHTML and XForms. What the sandbox returns to your browser is HTML + CSS + JavaScript. > Would I be able to see an HTML or XHTML interface on the browser? If > so, > how? What you see in your web browser is rendered HTML + CSS, possibly scripted with JavaScript. So in that sense, what you see with Orbeon Forms is always HTML or XHTML. Now if you are asking how to see the *source* HTML, that is the HTML as your web browser sees it before rendering it, just use your web browser's "View Source" functionality. -Erik -- 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 |
In reply to this post by Colin Berry
Yes, it answers my question.
|
In reply to this post by Erik Bruchez
In regards to what I would like to achieve, let me clarify further, after some thought.
I need to build a demonstration environment for my XForms that will showcase Orbeon XForms (that I have developed) on the web for two audiences -1) my professor in California 2) my brother in Singapore. I do not want to be tied to a development environment in Eclipse or my localhost Tomcat Orbeon Web App or the Orbeon Sandbox just to pull up an XForm and show them how it works. For such a demo setup, I can come up with keywords like Struts, Tomcat, Apache WebServer and a JSP or html frontend. I would like to have some links on this opening page that has the user opening up my XForm and then test it. Any suggestion or tips to get me going would be fine. I just want to know from your experience what a demo environment can be like.
|
Try this: Do a default install of orbeon3.6 to a server accessible to
both members of your audience. Create your own apps by mimicking x-forms-hello or some of the other apps. For example cd TOMCAT_HOME/webapps/orbeon/WEB-INF/resources/apps/ mkdir my-hello cp xforms-hello/* my-hello/ Spruce up apps/welcome/view.xhtml to personalize the welcome for your audience. Open WEB-INF/resources/apps-list.xml with your favorite xml editor (mine is oXygen). Add your own section element and some application children. Don't forget to include a widget:xforms-instance-inspector in all of your pages until they are stable. Then comment it out. Now when your brother points his browser to http://www.why-mom-likes-me-best.com:8080/orbeon/ he will see a welcome page with both links to your apps and all the orbeon stuff. There will also be a little bit of explanation from you. When he opens the links you added to apps-list.xml he will be able to review their source code with the orbeon provided widgets just like you can with the orbeon examples. If he wants to try a few things or read up, the sandboxes and documentation will be right there for him. Let me know how it goes. -- 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 ilango_g
In other words, what you need is a publicly visible server with Orbeon
Forms installed on it. You may be able to install this on a home computer accessible through your DSL or cable internet access, provided you have a fixed IP address. Something like this would be quite sufficient for a demo. -Erik On Dec 19, 2007, at 6:03 PM, XGuy wrote: > > In regards to what I would like to achieve, let me clarify further, > after > some thought. > I need to build a demonstration environment for my XForms that will > showcase > Orbeon XForms (that I have developed) on the web for two audiences > -1) my > professor in California 2) my brother in Singapore. > > I do not want to be tied to a development environment in Eclipse or my > localhost Tomcat Orbeon Web App or the Orbeon Sandbox just to pull > up an > XForm and show them how it works. > > For such a demo setup, I can come up with keywords like Struts, > Tomcat, > Apache WebServer and a JSP or html frontend. I would like to have > some links > on this opening page that has the user opening up my XForm and then > test it. > > Any suggestion or tips to get me going would be fine. I just want to > know > from your experience what a demo environment can be like. > > > > Erik Bruchez wrote: >> >> On Dec 17, 2007, at 7:02 AM, XGuy wrote: >> >>> The documentation on the Orbeon Site mentions the following: >>> >>> "A server-side implementation of XForms translates your forms >>> described in >>> terms of the XForms specification into HTML, CSS and JavaScript code >>> understood by your web browser. " >>> >>> "The XForms engine translates your XForms pages to HTML, CSS and >>> JavaScript >>> that your browser understands." >>> >>> Now does this mean that I can pull up a HTML version of my XForm >>> in a >>> browser? So far I have been testing in the sandbox or by making a >>> separate >>> war and deploying in Tomcat and Geronimo. I don't think I have seen >>> a HTML >>> page. >> >> I am not sure what you mean by "pull up"? Could you please precise >> this terminology? Or what you would like to achieve? >> >> With Orbeon Forms, what your web browser displays is always HTML + >> CSS >> + JavaScript. That's because that's pretty much all your web browser >> is able to understand (if one except things like Flash, Java applets, >> or other plugins, which Orbeon Forms doesn't use at all). >> >> When you use the XForms Sandbox, you send Orbeon Forms a document or >> page containing XHTML and XForms. What the sandbox returns to your >> browser is HTML + CSS + JavaScript. >> >>> Would I be able to see an HTML or XHTML interface on the browser? If >>> so, >>> how? >> >> What you see in your web browser is rendered HTML + CSS, possibly >> scripted with JavaScript. So in that sense, what you see with Orbeon >> Forms is always HTML or XHTML. >> >> Now if you are asking how to see the *source* HTML, that is the HTML >> as your web browser sees it before rendering it, just use your web >> browser's "View Source" functionality. >> >> -Erik >> >> -- >> 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 >> >> > > -- > View this message in context: http://www.nabble.com/how-are-xforms-rendered-as-html-in-browser-tp14372280p14429353.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 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 |
In reply to this post by Colin Berry
The instructions are great. I will try them and let you know how it goes.
|
In reply to this post by Erik Bruchez
You are right. This is just what I might need.
|
Free forum by Nabble | Edit this page |