You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Trica Laurentiu <tr...@gmail.com> on 2006/08/07 14:28:00 UTC

h:graphicImage ID problem

Hi anyone

I'm a newbie in here.
My problemis that h:graphicImage does not render the default ID on the HTML
output.
Can I force it to? I need the ID for getElementById javascript function.

Thanks.

Re: h:graphicImage ID problem

Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Use the tomahawk one - all tomahawk components can have the attribute
forceId, which does what you want.

http://myfaces.apache.org/tomahawk/forceId.html

kind regards


Am Montag, den 07.08.2006, 15:28 +0300 schrieb Trica Laurentiu:
> Hi anyone
> 
> I'm a newbie in here.
> My problemis that h:graphicImage does not render the default ID on the
> HTML output.
> Can I force it to? I need the ID for getElementById javascript
> function.
> 
> Thanks.