[jboss-user] [JBoss Seam] - Simple examples needed
mortena
do-not-reply at jboss.com
Tue Oct 30 05:21:16 EDT 2007
I need to do the following:
Create a form, where I can edit the Credentials of a User and the user.
User.java has properties:
| String firstName,
| String surName
| Credential credential
|
| Credential.java has properties:
|
| | username,
| | password.
| |
|
| Now I'm creating a form where I can edit the firstName and surName of the user and the users credentials.
|
| How can I create an input field where i can edit the credentials of the user?
|
| I've tried:
|
| <h:inputText required="true"
| value="#{userHome.instance.credential.username}"/>
|
| But it gives an error saying that the credentials are null:
|
| Target Unreachable, 'credential' returned null on 'com.tmn.smile.model.User'".
|
| Any hints on where I can find simple examples showing how these things should be done?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100119#4100119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100119
More information about the jboss-user
mailing list