JSP Generation

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

JSP Generation

Vijay, Anish

Hello

 

I am evaluating Orbeon Forms and had a couple of queries.

 

1)       Now, when a form is created, it generates an XHTML document. Is there any way to generate a JSP such that it can be reused in Java code ?

2)       Can one create entities and re-use the entities created? For example. Let’s say I create an entity called Employee and another called Department. Can I reuse these two entities in another form called COMPANY DETAILS (where both Employee and Department are present) ?

 

 

Regards,

Anish Vijay

 

 

 

*******************************************************************************************************

 

This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.

 

 

Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system. Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.

 

*******************************************************************************************************

 



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

Re: JSP Generation

Erik Bruchez
Administrator
Anish,

> 1)       Now, when a form is created, it generates an XHTML document. Is
> there any way to generate a JSP such that it can be reused in Java code ?

No, the XHTML (or HTML) document is not something static that you can
reuse: it needs the XForms engine doing its magic. So this wouldn't
work to generate a JSP either. See also:

http://wiki.orbeon.com/forms/doc/developer-guide/how-orbeon-forms-works-part-i

But you can do the oposite: use JSP to produce XForms+XHTML, and feed
that to the XForms engine:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-separate-deployment-with-portlets

> 2)       Can one create entities and re-use the entities created? For
> example. Let’s say I create an entity called Employee and another called
> Department. Can I reuse these two entities in another form called COMPANY
> DETAILS (where both Employee and Department are present) ?

I am not sure what an entity is. I assume it's more than an XML fragment?

Along those lines, things that come to mind:

* Form Builder allows you to create reusable section templates.
* the XBL component system in Orbeon allows you to create and reuse UI controls

-Erik


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

RE: Re: JSP Generation

Vijay, Anish
Hi Erik

By Entity I mean a form itself. Let's say there are an Employee form and a Department form. Can I drag and drop both the forms into a new form and thus, get both the forms there? I know I can do it with one form. Wondering if I can do it with both.

Thanks in advance.
 
Regards,
Anish Vijay
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: Thursday, December 16, 2010 11:12 AM
To: [hidden email]
Subject: [ops-users] Re: JSP Generation

Anish,

> 1)       Now, when a form is created, it generates an XHTML document. Is
> there any way to generate a JSP such that it can be reused in Java code ?

No, the XHTML (or HTML) document is not something static that you can
reuse: it needs the XForms engine doing its magic. So this wouldn't
work to generate a JSP either. See also:

http://wiki.orbeon.com/forms/doc/developer-guide/how-orbeon-forms-works-part-i

But you can do the oposite: use JSP to produce XForms+XHTML, and feed
that to the XForms engine:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-separate-deployment-with-portlets

> 2)       Can one create entities and re-use the entities created? For
> example. Let's say I create an entity called Employee and another called
> Department. Can I reuse these two entities in another form called COMPANY
> DETAILS (where both Employee and Department are present) ?

I am not sure what an entity is. I assume it's more than an XML fragment?

Along those lines, things that come to mind:

* Form Builder allows you to create reusable section templates.
* the XBL component system in Orbeon allows you to create and reuse UI controls

-Erik



*******************************************************************************************************

This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.


Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system.  Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.

*******************************************************************************************************



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