simple local test

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

simple local test

Hamilton Lima (athanazio)
I want to make a simple local test,
run a main program, with an Xform fragment in a file as input parameter,
and show the output String.

I downloaded the last version from the CVS, but its been an chalenge to do this
Any help ? tips ? code ? anything ....

thanks
Hamilton Lima

--
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
Reply | Threaded
Open this post in threaded view
|

Re: simple local test

Erik Bruchez
Administrator
Hamilton,

Could you give us more precisions by what you mean with "show the output
string"?

In general with OPS you typically add pages to a Page Flow file (usually
called page-flow.xml, such as the one under the /resources directory in
your WAR file). There you can put something like:

<page id="hamilton-page-1" path-info="/hamilton1" view="myview.xhtml"/>

Then create an XHTML+XForms page called myview.xhtml in the same
directory as page-flow.xml.

Accessing /[context]/hamilton1 from your web browser ([context] being
replaced with the path where you mounted your WAR file in your Servlet
container, for example "ops") will display the XForms page in your web
browser.

You also have a truckload of examples that come with OPS, and it is of
course a good idea to look at them. All the examples are also online,
including source code. Start at:

   http://www.orbeon.com/ops/

You can see the source code online by going to the "View Source" tab for
each example.

-Erik

Hamilton Lima Jr wrote:

> I want to make a simple local test,
> run a main program, with an Xform fragment in a file as input parameter,
> and show the output String.
>
> I downloaded the last version from the CVS, but its been an chalenge to
> do this
> Any help ? tips ? code ? anything ....
>
> thanks
> Hamilton Lima
--
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
Reply | Threaded
Open this post in threaded view
|

Re: simple local test

Hamilton Lima (athanazio)
Erik,

What I'm planning to do is use the Orberon engine to translate pieces of Xforms definitions that will be stored in a server, in pieces of HTML to be used in portlets.

That's Why I only need the pieces, cause the result will be add into an regions of an page, by one portlet.

thanks !
Hamilton


On 6/1/06, Erik Bruchez <ebruchez@xxxxxxxx> wrote:
Hamilton,

Could you give us more precisions by what you mean with "show the output
string"?

In general with OPS you typically add pages to a Page Flow file (usually
called page-flow.xml, such as the one under the /resources directory in
your WAR file). There you can put something like:

<page id="hamilton-page-1" path-info="/hamilton1" view="myview.xhtml"/>

Then create an XHTML+XForms page called myview.xhtml in the same
directory as page-flow.xml.

Accessing /[context]/hamilton1 from your web browser ([context] being
replaced with the path where you mounted your WAR file in your Servlet
container, for example "ops") will display the XForms page in your web
browser.

You also have a truckload of examples that come with OPS, and it is of
course a good idea to look at them. All the examples are also online,
including source code. Start at:

   http://www.orbeon.com/ops/

You can see the source code online by going to the "View Source" tab for
each example.

-Erik

Hamilton Lima Jr wrote:

> I want to make a simple local test,
> run a main program, with an Xform fragment in a file as input parameter,
> and show the output String.
>
> I downloaded the last version from the CVS, but its been an chalenge to
> do this
> Any help ? tips ? code ? anything ....
>
> thanks
> Hamilton Lima

--
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





--
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