You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Skip <sk...@thedevers.org> on 2013/06/22 03:18:36 UTC

radio widgets in 12.o4

It used to be that <radio widget fields were displayed with each <option
displayed in its own <tr> with the label and button in <td>s

Now, all the radio buttons and their labels are in the same <tr>.

Is there some way I can force the renderer to display them vertically
instead of horizontally?

Thanks
Skip


RE: radio widgets in 12.o4

Posted by Varun Bhansaly <vb...@gmail.com>.
You can as well try managing the orientation using CSS.
On 22 Jun 2013 07:12, "Skip" <sk...@thedevers.org> wrote:

> My mistake, these radio buttons were not displayed in their own <tr>, they
> were displayed in a <div>.
>
> They are now displayed in a <span>
>
> I have modified the code in HtmlFormRenderer to use <div instead of <span
> like it used to be.  This works for me, but I am thinking that others might
> like them horizontally, so it might be a nice addition to have an
> "orientation" keyword in the <radio> xsd.
>
> Skip
>
> -----Original Message-----
> From: Skip [mailto:skip@thedevers.org]
> Sent: Friday, June 21, 2013 6:19 PM
> To: OfbizUser
> Subject: radio widgets in 12.o4
>
>
> It used to be that <radio widget fields were displayed with each <option
> displayed in its own <tr> with the label and button in <td>s
>
> Now, all the radio buttons and their labels are in the same <tr>.
>
> Is there some way I can force the renderer to display them vertically
> instead of horizontally?
>
> Thanks
> Skip
>
>
>

RE: radio widgets in 12.o4

Posted by Skip <sk...@thedevers.org>.
My mistake, these radio buttons were not displayed in their own <tr>, they
were displayed in a <div>.

They are now displayed in a <span>

I have modified the code in HtmlFormRenderer to use <div instead of <span
like it used to be.  This works for me, but I am thinking that others might
like them horizontally, so it might be a nice addition to have an
"orientation" keyword in the <radio> xsd.

Skip

-----Original Message-----
From: Skip [mailto:skip@thedevers.org]
Sent: Friday, June 21, 2013 6:19 PM
To: OfbizUser
Subject: radio widgets in 12.o4


It used to be that <radio widget fields were displayed with each <option
displayed in its own <tr> with the label and button in <td>s

Now, all the radio buttons and their labels are in the same <tr>.

Is there some way I can force the renderer to display them vertically
instead of horizontally?

Thanks
Skip