I did what you suggest, but <a:support> doesn't resolve my problem.
first off, after calling the loadUser() by a:support nothing will be displayed on page
second, apart from that, when the user clicks on the Save button, the form is submitting
but the thing is that (it seems) Seam doesn't populate an object inside a SB from the
request, does it?
after form submission, an exception is thrown that says the tempUser resolves to null, one
way is to define instance variables in a SB instead of defining an object of type User but
this makes your bean very untidy.
maybe I am mistaken but I'd like to know your idea.
| class MySessionBean {
| private User tempUser;
| // rest of the codes...
| }
|
|
and
| class MySessionBean {
| private String username;
| private String password;
| private String userAddress;
| private String name;
| private String family;
| ...
| // rest of the codes...
| }
|
|
|
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095467#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...