Tooltip Position

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

Tooltip Position

Gavin Mabie
Hi

 

Using the Ofbiz Form Definition, tooltips always appear to the right after
the input field.  Is there anyway to control where the tooltip is displayed?
I would like my tooltip to appear on the next <tr> as opposed to on the same
<tr> as the label and input fields.

 

Thanks

 

Gavin

Reply | Threaded
Open this post in threaded view
|

Re: Tooltip Position

Bilgin Ibryam-2
Hi Gavin,

On Wed, Sep 7, 2011 at 9:42 AM, Gavin Mabie <[hidden email]> wrote:
> Hi
>
>
>
> Using the Ofbiz Form Definition, tooltips always appear to the right after
> the input field.  Is there anyway to control where the tooltip is displayed?
> I would like my tooltip to appear on the next <tr> as opposed to on the same
> <tr> as the label and input fields.

It is not possible to achieve that only with a configuration. If it is
only one complex form I'd suggest you to replace it with FTL and
create the form manually.
On the other hand, if you want to change the rendering of all the
forms in the project, you can do that by modifying the following file:

framework/widget/templates/htmlFormMacroLibrary.ftl


HTH
BIlgin

>
>
>
> Thanks
>
>
>
> Gavin
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Tooltip Position

Gavin Mabie
Thanks for that!

-----Original Message-----
From: Bilgin Ibryam [mailto:[hidden email]]
Sent: 08 September 2011 12:21 PM
To: [hidden email]
Subject: Re: Tooltip Position

Hi Gavin,

On Wed, Sep 7, 2011 at 9:42 AM, Gavin Mabie <[hidden email]>
wrote:
> Hi
>
>
>
> Using the Ofbiz Form Definition, tooltips always appear to the right after
> the input field.  Is there anyway to control where the tooltip is
displayed?
> I would like my tooltip to appear on the next <tr> as opposed to on the
same
> <tr> as the label and input fields.

It is not possible to achieve that only with a configuration. If it is
only one complex form I'd suggest you to replace it with FTL and
create the form manually.
On the other hand, if you want to change the rendering of all the
forms in the project, you can do that by modifying the following file:

framework/widget/templates/htmlFormMacroLibrary.ftl


HTH
BIlgin

>
>
>
> Thanks
>
>
>
> Gavin
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Tooltip Position

Adrian Crum-3
In reply to this post by Bilgin Ibryam-2
It would be nice if we had a layout manager to handle things like this.

-Adrian

On 9/8/2011 11:20 AM, Bilgin Ibryam wrote:

> Hi Gavin,
>
> On Wed, Sep 7, 2011 at 9:42 AM, Gavin Mabie<[hidden email]>  wrote:
>> Hi
>>
>>
>>
>> Using the Ofbiz Form Definition, tooltips always appear to the right after
>> the input field.  Is there anyway to control where the tooltip is displayed?
>> I would like my tooltip to appear on the next<tr>  as opposed to on the same
>> <tr>  as the label and input fields.
> It is not possible to achieve that only with a configuration. If it is
> only one complex form I'd suggest you to replace it with FTL and
> create the form manually.
> On the other hand, if you want to change the rendering of all the
> forms in the project, you can do that by modifying the following file:
>
> framework/widget/templates/htmlFormMacroLibrary.ftl
>
>
> HTH
> BIlgin
>
>>
>>
>> Thanks
>>
>>
>>
>> Gavin
>>
>>