Users - location parameter on the request-map in the controller.xml file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - location parameter on the request-map in the controller.xml file

Hans Bakker
Good morning,

currently i am struggling with a lot of redundant information in the
controller.xml files.

For example, i have built the opentravel system on top of a number of ofbiz
components. For this i had to merge the required component controller files
and put them all together in a big controller.xml file.

Now i am building a customized opentravelsystem on top of the existing
opentravelsystem and have to copy the whole controller.xml of the opentravel
system again.

If a requestname is added to ofbiz and i want to use this in the customized
opentravelsystem i first have to add it to the opentravelsystem controller
file and then to the customized opentravelsystem controller file......

wouldn't it be nice if:

<request-map uri="*"
location="component://party/webapp/partymgr/WEB-INF/controller.xml"/>

would be possible? Then if a requestMap is added to the party manager it would
be instantly available in the opentravelsystem too...Obviously this is only
executed if the request could not be found in the current controller file...

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Users - location parameter on the request-map in the controller.xml file

Andrew Sykes
Hans,

This sounds like a good idea.

Perhaps it would be better if the resource could be renamed in the new
context i.e.

<request-map uri="newname"
location="component://party/webapp/partymgr/WEB-
INF/controller.xml#oldname"/>

Kind Regards
--
Andrew Sykes <[hidden email]>
Sykes Development Ltd

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users