a component defined in a client page?
Eg, When a user successfully logs in via an ajax process, i want to update the username section but its defined in the template. is this possible?
I have tried this code below but it doesn't work
in the template, i have
Code: Select all
<h:commandLink id="profileLink" action="/users/view" actionListener="#{userAccountManager.viewUser}" >
<h:outputText value="#{userAccountManager.loggedInUser.name}"></h:outputText>
</h:commandLink>
Code: Select all
<p:inplace editor="true" onEditUpdate="msgs panel profileLink" saveListener="#{userAccountManager.saveUserAccountEdit}">
<h:inputText styleClass="hs-form-fld" id="name" value="#{userAccountManager.loggedInUser.name}"/>
</p:inplace>
Any ideas?
Thanks