User development,

A new message was posted in the thread "How to start a task from UI?":

http://community.jboss.org/message/519022#519022

Author  : Sergio Figueras
Profile : http://community.jboss.org/people/SergioFigueras

Message:
--------------------------------------------------------------
Hi everyone,
 
I've decided that I need every time when user see the Examine (task.jsf) form, 
if the task that user is wanting to see isn't started, the task should be 
started. If it is suspended, the task should be active. So, I've done a little 
modification at task.xhtml form. Wich is:
 
<ga:responseActions>
                <ga:parameter name="id" target="#{id}"/>
                <j4j:loadTask id="#{id}" target="#{task}"/>
                
                <c:if test="#{task.start == null}">
                    
                   <j4j:startTask task="#{task}"/>
                    <n:nav outcome="success" redirect="true" 
storeMessages="true"/>
                    <n:nav outcome="error" redirect="true" 
storeMessages="true"/>
                </c:if>
 
But, when the condition of c:if is running, there's no task at all. It always 
run the if statement and executes the statement.
 
I know that the ga:responseActions is a component that execute commands when 
the response is being made.
 
What I need to do? Can somebody help me? Where can I get the actual task?
 
Thanks!

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/519022#519022


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to