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 11:27:35 UTC
Re: [struts workflow extension and tiles]Problem with configuring
the request processor
Glad to hear that,
--- Matthias
shirishchandra.sakhare@ubs.com wrote:
>Hi Matthias,
>It was my fault.The configuration entry I had done to register the controller was wrong.
>I had written <controller><processorClass>com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor</processorClass></controller>
>when it should have been <controller processorClass="com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor"/>.
>
>BTW, I am using struts 1.1 official release.
>
>Thanks for the help.The requestProcessor configuration is working now.
>
>Regards,
>Shirish.
>
>-----Original Message-----
>From: Matthias Bauer [mailto:matthias.bauer@livinglogic.de]
>Sent: Thursday, September 25, 2003 10:22 AM
>To: Struts Users Mailing List
>Subject: Re: [struts workflow extension and tiles]Problem with
>configuring the request processor
>
>
>Shirish,
>
>what Struts version are you using? I certainly tested the
>TilesWorkflowRequestProcessor together with the Tile plugin and it
>worked fine in my setup. Has the Tiles initialization code changed lately?
>
>--- Matthias
>
>shirishchandra.sakhare@ubs.com wrote:
>
>
>
>>Hi All,
>>I am evaluating the struts workflow extension written by Mr. Matthias Bauer( http://www.livinglogic.de/Struts/index.html ) And I have found it to be extremely useful.But I am facing some problems in configuring it to work with my application.
>>
>>Right now we are just using tiles, so the struts-config.xml had following entry.
>>
>><plug-in className="org.apache.struts.tiles.TilesPlugin">
>> <set-property property="definitions-config" value="/WEB-INF/config/tiles-defs.xml"/>
>> <set-property property="definitions-parser-validate" value="false"/>
>> <set-property property="moduleAware" value="false"/>
>></plug-in>
>>
>>
>>Now with the workflow extenuation, I want to use the Request processor for workflow, so I have added following entry to the struts-config.xml at the very end.
>>
>> <controller>
>> <processorClass>com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor</processorClass>
>> </controller>
>>
>>But when I run the application, What is happening is the request processor being used is still TilesRequestProcessor and not TilesWorkflowRequestProcessor.
>>
>>The problem seems to be that the tiles plugin changes the ModukleCOnfig with the controller config entry as Tiles request Processor.SO somehow my entry in struts-config for controller class(<controller><processorClass>com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor</processorClass></controller>),
>>is being ignored.
>>
>>As I want to use tiles as well as the workflow extension, I need a way to initialize tiles environment(tell tiles the def files) and also change the RequestProcessor to com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor.
>>
>>Has anybody used tiles along with this workflow extension?
>>
>>Any help will be appreciated.
>>
>>regards,
>>Shirish
>>
>>
>>---------------------------------------------------------------------
>>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
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org