[EMAIL PROTECTED] wrote:

Hi,
I want to use the "request-param" input module on the sitemap to define a parameter's value. My question is: is it possible to "initialize" this parameter with an default value? I saw something in the documentation under "modules" for xsp but not for the sitemap:
...
<input:get-attribute module="request-param" as="string" name="module" default="John Doe"/>
...


Mathias,

You might want to check out the DefaultsModule, as well as the ChainMetaModule. They will allow you to setup a default values to "Fall back" to in case the main module (in this case request-param) can't get a value.


Regards,


Tony


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to