Rahul Agarwal wrote:
> 1. Orbeon example shows method="post" in rendered HTML form although not > specifically written in its XHTML. But this was not generated for my > application. Why the code generated for examples and for my custom > application differ ?
I assume you are not running your test app in the example portal, like the other examples. The submit method is automatically set to "post" within the example portal.
But the solution is simple: in your XForms model, just specify the following:
<xforms:submission method="post"/>
This can be put for example just after the XForms instance declaration.
> 2. When the final HTML is produced and given to browser, what is the > Context path for the various directory paths given within HTML code? > In other words, if I want to save that HTML to open > directly in browser (without using Tomcat), which directory I must place > that HTML file so that it can find the referenced files from correct path?
Presentation Server generates paths relative to the host, i.e. paths like "/orbeon/my/url". To achieve what you want to do, I would recommened using the "Save Web Page, complete" of Internet Explorer or Mozilla. This way, the browser will rewrite the URLs to be relative, and store the referenced files in a separate directory.
-Erik
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user
