Sylvain Wallez wrote:
>>> You may puke (if you still can ;-), but what about considering
>>> sitemap-defined namespaces as internal to the sitemap, and thus
>>> prefix them with a "#", that we all know as being used for internal
>>> links in web pages ?
>>>
>>> This would lead to (adapted from Ilya's proposal) :
>>>
>>> <map:match pattern="*-*" name="mtch1">
>>> <map:act type="my-action" name="act1">
>>> <map:generate type="serverpages" src="{#mtch:1}.xsp">
>>> <map:parameter name="display" value="{#mtch:2}"/>
>>> <map:parameter name="param1" value="{#act1:1}"/>
>>> <map:parameter name="param2" value="{#act1:2}"/>
>>> <map:parameter name="param3" value="{request:1}"/>
>>> <map:parameter name="param4" value="{1}"/>
>>> </map:generate>
>>> </map:act>
>>> </map:match>
>>>
>>> Explanation :
>>> - {#mtch1:xxx} come from statement named "mtch1"
>>> - {#act1:xxx} come from statement named "act1"
>>> - {request:xxx} come from input-module "request"
>>> - {xxx} works as usual and gets its value from the enclosing statement.
>>>
>>> I changed "param-prefix" proposed by Ilya to "name" since this is
>>> actually what it is : a name given to a sitemap statement.
>>>
>>> Thoughts ?
>>
>>
>>
>> know what? I like it. It seems a pretty nice solution and the use of
>> anchor-like syntax is simple and understandable.
>>
>> So you get my +1 on this.
>
>
>
> Aaah ! Finally, someone agrees with someone else's proposal in this
> thread ! Are we going to reach a consensus ?
>
> What do others think ?
>
> Sylvain
Yes, naming the components and using the names as prefixes looks ok.
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de
VIRBUS hat jetzt als erster deutscher Softwarehersteller die Zertifizierung
f�r den 3D Secure-Authentifizierungsstandard "Verified by Visa" erhalten.
Details unter
http://www.virbus.de/de/press/pressemitteilung/20020828_verified_by_VISA.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]