You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Boris Kovalenko <bo...@tagnet.ru> on 2005/08/05 06:48:58 UTC

inputText with tooltip?

Hello!

	Are there plans to to tooltip support for inputText (like ADF)? Because 
I'm newbe in JSF & MyFaces I can not quickly implement this simple 
solution.

As I see it:
   we need two attributes, tooltip (the text that will be shown) and 
tooltipStyleClass.

Logic of the renderer:
	If tooltip is null - render as standard, else render as
<table cellpadding='0' cellspacing='2' border='0'>
	<tr><td> <input element> </td></tr>
	<tr><td> <tooltip text> </td></tr>
</table>

Bruno, may be You have time to implement this?

With respect,
	Boris

Re: inputText with tooltip?

Posted by Bruno Aranda <br...@gmail.com>.
Well, I would begin with a brand new component (that extends the
inputText), because, IMO the rendering behaviour you are trying to
achieve is too different to the current inputText (renders a table,
etc...). Once was that one, it would be possible to evaluate if a
merge with the tomahawk inputText is appropiate or not...

I do not know which is the ADF timeplan, but don't expect it to be soon...

Regards,

Bruno

2005/8/5, Boris Kovalenko <bo...@tagnet.ru>:
> Hello!
> 
> Bruno Aranda wrote:
> > Well... I am leaving on monday on vacation for three weeks so I am
> > sorry... And, I am not the only developer here :D. Other might have
> Ok, I will try it myself
> > more time, and everybody can create a component and provide a patch to
> > the sandbox, where the componentn will be tested and evaluated...
> Hmmm.... but I really see no reason to create addition inputTextTooltip
> component. IMHO more simple is just to extend existing one. Or there are
> some design restrictions?
> > Moreover, Oracle is in talks with Myfaces and they have officially
> > anounced that they are going to contribute their ADF components to the
> > Myfaces project and join as commiters, so stay connected ;-)
> Ough? Very very good news... Is timeplan known?
> >
> > Regards,
> >
> > Bruno
> >
> > 2005/8/5, Boris Kovalenko <bo...@tagnet.ru>:
> >
> >>Hello!
> >>
> >>        Are there plans to to tooltip support for inputText (like ADF)? Because
> >>I'm newbe in JSF & MyFaces I can not quickly implement this simple
> >>solution.
> >>
> >>As I see it:
> >>   we need two attributes, tooltip (the text that will be shown) and
> >>tooltipStyleClass.
> >>
> >>Logic of the renderer:
> >>        If tooltip is null - render as standard, else render as
> >><table cellpadding='0' cellspacing='2' border='0'>
> >>        <tr><td> <input element> </td></tr>
> >>        <tr><td> <tooltip text> </td></tr>
> >></table>
> >>
> >>Bruno, may be You have time to implement this?
> >>
> >>With respect,
> >>        Boris
> >>
> >
> >
> 
> With respect,
>         Boris
>

Re: inputText with tooltip?

Posted by Boris Kovalenko <bo...@tagnet.ru>.
Hello!

Bruno Aranda wrote:
> Well... I am leaving on monday on vacation for three weeks so I am
> sorry... And, I am not the only developer here :D. Other might have
Ok, I will try it myself
> more time, and everybody can create a component and provide a patch to
> the sandbox, where the componentn will be tested and evaluated...
Hmmm.... but I really see no reason to create addition inputTextTooltip 
component. IMHO more simple is just to extend existing one. Or there are 
some design restrictions?
> Moreover, Oracle is in talks with Myfaces and they have officially
> anounced that they are going to contribute their ADF components to the
> Myfaces project and join as commiters, so stay connected ;-)
Ough? Very very good news... Is timeplan known?
> 
> Regards,
> 
> Bruno
> 
> 2005/8/5, Boris Kovalenko <bo...@tagnet.ru>:
> 
>>Hello!
>>
>>        Are there plans to to tooltip support for inputText (like ADF)? Because
>>I'm newbe in JSF & MyFaces I can not quickly implement this simple
>>solution.
>>
>>As I see it:
>>   we need two attributes, tooltip (the text that will be shown) and
>>tooltipStyleClass.
>>
>>Logic of the renderer:
>>        If tooltip is null - render as standard, else render as
>><table cellpadding='0' cellspacing='2' border='0'>
>>        <tr><td> <input element> </td></tr>
>>        <tr><td> <tooltip text> </td></tr>
>></table>
>>
>>Bruno, may be You have time to implement this?
>>
>>With respect,
>>        Boris
>>
> 
> 

With respect,
	Boris

Re: inputText with tooltip?

Posted by Bruno Aranda <br...@gmail.com>.
Well... I am leaving on monday on vacation for three weeks so I am
sorry... And, I am not the only developer here :D. Other might have
more time, and everybody can create a component and provide a patch to
the sandbox, where the componentn will be tested and evaluated...
Moreover, Oracle is in talks with Myfaces and they have officially
anounced that they are going to contribute their ADF components to the
Myfaces project and join as commiters, so stay connected ;-)

Regards,

Bruno

2005/8/5, Boris Kovalenko <bo...@tagnet.ru>:
> Hello!
> 
>         Are there plans to to tooltip support for inputText (like ADF)? Because
> I'm newbe in JSF & MyFaces I can not quickly implement this simple
> solution.
> 
> As I see it:
>    we need two attributes, tooltip (the text that will be shown) and
> tooltipStyleClass.
> 
> Logic of the renderer:
>         If tooltip is null - render as standard, else render as
> <table cellpadding='0' cellspacing='2' border='0'>
>         <tr><td> <input element> </td></tr>
>         <tr><td> <tooltip text> </td></tr>
> </table>
> 
> Bruno, may be You have time to implement this?
> 
> With respect,
>         Boris
>