Hi, I don't want to extend Java Code. Isn't there any possibility to do this on the sitemap? How would the example in this Email for xsp look like on the sitemap? Best regards, Mat
> Von: Tony Collen <[EMAIL PROTECTED]> > Antworten an: [EMAIL PROTECTED] > Datum: Thu, 23 Oct 2003 10:25:19 -0500 > An: [EMAIL PROTECTED] > Betreff: Re: Default value for input modules? > > [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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]