- fail to send parameter to a function in xhtml 2007-07-15 - By handsomeli
Back I can modify the properties of task and let it saved in database , the same as the sample jboss-seam-todo does: | <h:inputText value="#{task.description}" size="16" /> |
However, I fail to save variables of a task in database(I can only modify it in memory, next time the user login , he can not see the modification anymore!)
| <h:inputText value="#{task.variables['event'].desc}" size="16" />
where 'event' come from Code:
| @(protected) | @(protected)("eventmake") | public class MakeAction implements Make, Serializable { | | @(protected)(scope=ScopeType.BUSINESS_PROCESS, required=false) | Event event = new Event(); | | @(protected)(definition = "itsm") | public String make() { | return "login"; | } | | public Event getEvent() { | return event; | } | | public void setEvent(Event event) { | this.event = event; | } | | } |
What should i do? I have asked this question in 'Jboss seam' , but they tell me to ask it here. Thanks !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4064399#4064399
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4064399 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|