Garima,
> Can anyone let me know , how can I call a java file from an xhtml
> file ?
Technically, you can't: XHTML is not a programing language.
But you can probably call server-side Java from client-side JavaScript
running within an (X)HTML page. There are frameworks that allow you to
do that, but this would be out of the scope of OPS.
Another way is to use XForms: you can perform XForms submissions to
server-side services that can run Java code. You can also use the
extension function xxforms:call-xpl() funtion to run server-side
pipelines, which again run Java code.
> Actually , i want to use X-FORMS for my web application creation ,
> and ECHO2 tool for getting an attractive interface for my web
> application. I have created an xhtml file on OPS and a separate java
> file on ECHO2, but i am not able to integrate the both .
Aren't Echo and XForms two different ways of doing the same thing,
i.e. nice, Ajax-based web apps? If I understand well:
o Echo says: you don't need HTML, JavaScript, etc. to build a web app:
you use good old Java and OO programming.
o OPS and XForms say: you don't need Java and OO programming to build
a web app: you use good old HTML and XForms.
:-)
-Erik
--
Orbeon - XForms Everywhere:
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