Complex Layouting

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

Complex Layouting

Baschir Jaghoori
Hello,

I am currently learning Orbeon and XForms in general. I am trying to building a quite complex form with two columns and a "table like" layout inside each column - usually implemented with nested tables in the HTML world.

Is there a simple way to achieve this with Orbeon without too much inline HTML?

I found out that Chiba offers special appearance attributes for this, which are recognized by the Chiba Engine and transformed to nested HTML tables.

Columns:
<xf:group appearance="ca:verticalTable">
        <xf:group>column</xf:group>
        ...
</xf:group>

Table-Layout for labels and inputs:
<xf:group appearance="ca:verticalTable">
        <xf:input><xf:label/></xf:input>
        ...
</xf:group>


Many thanks in advance,
 
Baschir Jaghoori
 
mgm technology partners GmbH
Frankfurter Ring 105a
80807 München
 
Tel. +49 (89) 35 86 80-255
Fax +49 (89) 35 86 80-288

E-Mail [hidden email]
 
Innovation Implemented.
 
Sitz der Gesellschaft: München
Geschäftsführer: Hamarz Mehmanesh
Handelsregister: AG München HRB 105068
 
_________________________________________________________________________________________
ACHTUNG: Die Information in dieser E-Mail ist vertraulich und unterliegt zusätzlich gesetzlichen Schutzrechten. Sie ist nur für die genannten Empfänger bestimmt. Wenn Sie diese Nachricht irrtümlich erhalten haben, benachrichtigen Sie uns bitte unverzüglich durch Antwort auf diese E-Mail oder durch Anruf unter der obigen Nummer und löschen Sie die E-Mail samt aller Anlagen. Beachten Sie bitte, dass jede nicht genehmigte Kenntnisnahme, Kopie, Weiterverbreitung oder anderweitige Verwendung der Information verboten ist. Vielen Dank.
NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments. Please note that any unauthorized review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you.



--
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: Complex Layouting

Erik Bruchez
Administrator
Baschir,

Orbeon Forms doesn't have something like this built-in, but I assume
that with Chiba, this is done with XSLT. You could probably write an
XSLT transformation (i.e. your own "theme") which does something
similar. Instead of using appearance attributes, which will not be
propagated, you could match on class names, e.g.:

<xforms:group class="verticalTable">

-Erik

On Tue, Jul 28, 2009 at 4:50 AM, Baschir
Jaghoori<[hidden email]> wrote:

> Hello,
>
> I am currently learning Orbeon and XForms in general. I am trying to building a quite complex form with two columns and a "table like" layout inside each column - usually implemented with nested tables in the HTML world.
>
> Is there a simple way to achieve this with Orbeon without too much inline HTML?
>
> I found out that Chiba offers special appearance attributes for this, which are recognized by the Chiba Engine and transformed to nested HTML tables.
>
> Columns:
> <xf:group appearance="ca:verticalTable">
>        <xf:group>column</xf:group>
>        ...
> </xf:group>
>
> Table-Layout for labels and inputs:
> <xf:group appearance="ca:verticalTable">
>        <xf:input><xf:label/></xf:input>
>        ...
> </xf:group>
>
>
> Many thanks in advance,
>
> Baschir Jaghoori
>
> mgm technology partners GmbH
> Frankfurter Ring 105a
> 80807 München
>
> Tel. +49 (89) 35 86 80-255
> Fax +49 (89) 35 86 80-288
>
> E-Mail [hidden email]
>
> Innovation Implemented.
>
> Sitz der Gesellschaft: München
> Geschäftsführer: Hamarz Mehmanesh
> Handelsregister: AG München HRB 105068
>
> _________________________________________________________________________________________
> ACHTUNG: Die Information in dieser E-Mail ist vertraulich und unterliegt zusätzlich gesetzlichen Schutzrechten. Sie ist nur für die genannten Empfänger bestimmt. Wenn Sie diese Nachricht irrtümlich erhalten haben, benachrichtigen Sie uns bitte unverzüglich durch Antwort auf diese E-Mail oder durch Anruf unter der obigen Nummer und löschen Sie die E-Mail samt aller Anlagen. Beachten Sie bitte, dass jede nicht genehmigte Kenntnisnahme, Kopie, Weiterverbreitung oder anderweitige Verwendung der Information verboten ist. Vielen Dank.
> NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments. Please note that any unauthorized review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you.
>
>
>
> --
> 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
>
>


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