%URLPARAM{}%:
It supports now a default="..." argument, e.g. %URLPARAM{ "description" default="(not specified)" }%
This is useful if you need a default value in case the URL parameter is empty or missing. See also recently added UrlParamWithNewlineArg.
Enhancement is in TWikiAlphaRelease (for CairoRelease) and TWiki.org. Docs in TWikiVariables are updated.
Feedback and ideas for enhancements is appreciated.
-- PeterThoeny - 29 Aug 2003
"" (e.g. searching for forms with some field undefined) but also want to provide fallback when the parameter is missing? Can you add a missing attribute to carry the alternative string for a parameter that is missing. This attribute should override the default attribute.
-- WilliamHuang - 31 Dec 2004| WebForm | |
|---|---|
| TopicClassification | PatchProposal |
| TopicSummary |
URLPARAM now has a default="..." argument, for when no value has been given.
|
| InterestedParties | |
| AssignedTo | |
| AssignedToCore | PeterThoeny |
| ScheduledFor | CairoRelease |
| RelatedTopics | |
| SpecProgress | 100% |
| ImplProgress | 100% |
| DocProgress | 100% |