Please enlighten me :-)
I would like to specify some additional configuration
parameters for my maverick commands in maverick.xml.
Something like this is what I came up with:
<command name="orgunit">
<controller class="ee.tvi.eris.ctl.orgunit.Orgunit">
<param name="required-roles" value="role1"/>
</controller>
...
</command>
This "required-roles" specifies that user must be
authenticated and have role1 assigned to his/her
account.
Now this works but if I use views of type="redirect"
then this required-roles becomes an url parameter.
Ie. if I define input view for this command like this:
<view name="input" type="redirect" path="orgunit-search.m"/>
then request to orgunit.m is redirected to:
orgunit-search.m?required-roles=role1
I do not need this required-roles to go along with
the redirect. Is there a better way to specify
configuration parameters for a command. I do not
want to have any additional config files, etc.
with best wishes,
Taavi
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
[INVALID FOOTER]