myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murat Hazer" <muratha...@gmail.com>
Subject Re: Using components ID in javascript
Date Sun, 27 Aug 2006 12:10:03 GMT
you can use forceId

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

regards...

On 8/27/06, Igor Laberov <igorya@gmail.com> wrote:
>
> Hi all,
> I tried to make the following:
> "Click" event on cell in the table (plain html table), should update
> value of hidden input (which is defined as <h:inputHidden
> id="component_id" value="#{component.name}" />) using written JS
> function.
> When I see in generated html code, I find that id of this hidden input
> has prefix "_id7:"
>
> The question is: how components IDs may be used inside of JS?
>
> Thank you.
> Igor Laberov.
>



-- 
Murat HAZER
http://www.projedunyasi.org

Mime
View raw message