Slightly More Advanced Layouts with XML

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Slightly More Advanced Layouts with XML

Christopher Vollick
Hello.

I've looked into laying out forms using the XML and Form Widget.
For simple forms it definitely looks like the way to go.

The limitation comes with forms that are a little more advanced than  
simple, but still seem suited to the automatic laying out out fields.

I think I would need three things to facilitate this.

To be able to hide labels
This would have the field take up the space the label usually would in  
addition to its own, rather than just having an empty string displayed.

To be able to set the "colspan"(positionSpan) of fields, such that  
they spanned other fields

To have a form of Space field, which just took up a column. This one's  
easiest.


If any of these already exist, I'd love to be pointed at them.
If they don't, I'd be willing to take a shot at it.
If it's a terrible idea, I'd like to know that as well.

Thanks,
Christopher Vollick
Reply | Threaded
Open this post in threaded view
|

Re: Slightly More Advanced Layouts with XML

BJ Freeman
part of that is being addressed in jira
https://issues.apache.org/jira/browse/OFBIZ-2021

Christopher Vollick sent the following on 11/20/2008 2:02 PM:

> Hello.
>
> I've looked into laying out forms using the XML and Form Widget.
> For simple forms it definitely looks like the way to go.
>
> The limitation comes with forms that are a little more advanced than
> simple, but still seem suited to the automatic laying out out fields.
>
> I think I would need three things to facilitate this.
>
> To be able to hide labels
> This would have the field take up the space the label usually would in
> addition to its own, rather than just having an empty string displayed.
>
> To be able to set the "colspan"(positionSpan) of fields, such that they
> spanned other fields
>
> To have a form of Space field, which just took up a column. This one's
> easiest.
>
>
> If any of these already exist, I'd love to be pointed at them.
> If they don't, I'd be willing to take a shot at it.
> If it's a terrible idea, I'd like to know that as well.
>
> Thanks,
> Christopher Vollick
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Slightly More Advanced Layouts with XML

Pierre Smits
Christohper,

Are looking into XFORMS?

Pierre


On Thu, Nov 20, 2008 at 11:47 PM, BJ Freeman <[hidden email]> wrote:

> part of that is being addressed in jira
> https://issues.apache.org/jira/browse/OFBIZ-2021
>
> Christopher Vollick sent the following on 11/20/2008 2:02 PM:
> > Hello.
> >
> > I've looked into laying out forms using the XML and Form Widget.
> > For simple forms it definitely looks like the way to go.
> >
> > The limitation comes with forms that are a little more advanced than
> > simple, but still seem suited to the automatic laying out out fields.
> >
> > I think I would need three things to facilitate this.
> >
> > To be able to hide labels
> > This would have the field take up the space the label usually would in
> > addition to its own, rather than just having an empty string displayed.
> >
> > To be able to set the "colspan"(positionSpan) of fields, such that they
> > spanned other fields
> >
> > To have a form of Space field, which just took up a column. This one's
> > easiest.
> >
> >
> > If any of these already exist, I'd love to be pointed at them.
> > If they don't, I'd be willing to take a shot at it.
> > If it's a terrible idea, I'd like to know that as well.
> >
> > Thanks,
> > Christopher Vollick
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Slightly More Advanced Layouts with XML

Christopher Vollick
I've decided that FreeMarker is probably more suited than the XML, and  
not really any harder.