Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable auto generated id ? #2

Open
jsmadja opened this issue Aug 8, 2010 · 1 comment
Open

How to disable auto generated id ? #2

jsmadja opened this issue Aug 8, 2010 · 1 comment
Labels

Comments

@jsmadja
Copy link
Owner

jsmadja commented Aug 8, 2010

Just add an id in component.

For example :

<h:form id="completion">
<h:inputText onfocus="clearText(this)" onblur="clearText(this)" id="myInput" value="#{editAggregatedFeed.filter}" maxlength="20" size="20" style="width:200px">ex: people/h:inputText
<h:commandButton style="margin-left: 210px;" id="submit" value="${msgs.form_button_filter}" action="#{editAggregatedFeed.filter}"/>
/h:form

Now, the id of "myInput" is "completion:myInput"

@jsmadja
Copy link
Owner Author

jsmadja commented Aug 13, 2010

Now, the id of "myInput" is "completion:myInput"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant