You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthias Bauer <ma...@livinglogic.de> on 2003/09/25 17:26:04 UTC

Re: [struts workflow extension] design question

Shirish,

why do you want to change the workflow extension for doing this? Maybe 
you want to have a look at the demo application. If I am getting you 
right, I suppose I am doing exactly what you want to do: Just let the 
action that handles the workflow violation put the application specific 
warning in the session. With this mechanism you cannot only make this 
warning application specific but even specific to the workflow that is 
violated.

--- Matthias

shirishchandra.sakhare@ubs.com wrote:

>Hi ,
>I need to extend the functionality of struts workflow extension provided by Mr. Matthias Bauer( http://www.livinglogic.de/Struts/index.html ).
>
>I want to add some Warning messages when the workflow exception occurs.For the same, I need to Extend the WorkflowRequestProcessorLogic class and override the processCheckWorkflows method so that the ApplicationSpecific Warning can be added in the session.
>
>The method is protected but the class has no public constructor which is preventing me from extending the same.
>
>Can anybody from the committers of the project team me why is this so?Was it a conscious design decision?
>
>TIA.
>
>Shirish
>
>-----Original Message-----
>From: Adolfo Miguelez [mailto:pelly69@hotmail.com]
>Sent: Thursday, September 25, 2003 12:08 PM
>To: struts-user@jakarta.apache.org
>Subject: Re: Value assignment to html:hidden field...
>
>
>What about this?
>
><bean:define id="date" name="BussinessDate" scope="session"/>
><html:hidden value = <%=date %> property="txtBusidate" width="15" size="25" 
>maxlength="25"/>
>
>Adolfo.
>
>
>
>
>  
>
>>From: "Abhijeet Mahalkar" <Ab...@indussoft.com>
>>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>>Subject: Value assignment to html:hidden field...
>>Date: Thu, 25 Sep 2003 15:09:16 +0530
>>
>>how can we assign the JSP value to the hidden field
>>code is as follows
>>String date = session.getValue("BussinessDate");
>>this date variable i want to assign to following field...
>>    <html:hidden property="txtBusidate" width="15" size="25" 
>>maxlength="25" />
>>
>>will this work ?
>>
>><html:hidden value = <%=date %> property="txtBusidate" width="15" size="25" 
>>maxlength="25"/>
>>
>>please suggest
>>abbey
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>    
>>
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*. 
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org