cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Nested input module support in sitemap
Date Fri, 26 Mar 2004 16:19:40 GMT
Geoff Howard wrote:

> Nicola Ken Barozzi wrote:
>
>> Upayavira wrote:
>>
>>> Guys,
>>>
>>> Is anyone interested in nested input module support in the sitemap? 
>>
>>
>>
>> I am (as a user :-)
>
>
> Me too (though I didn't understand the example below).

Try a rather hacky example of {request-parameter:{1}}. But I didn't use 
that one because that's exactly the sort of thing that'll get this 
functionality banned!

>>> I want to be able to say:
>>>
>>> {i18n:{1}.{locale}.xml} and have my i18n input module go and look to 
>>> see if the related file exists. [NB. There's subtleties I haven't 
>>> thought through yet in this example - but I'm not worrying about 
>>> those for now - just working on the nested functionality first]
>>>
>>> The current parser in the PreparedVariableResolver doesn't handle 
>>> nesting, but I've got a design that has worked on paper, which I'm 
>>> now coding up to handle everything that the existing 
>>> PreparedVariableResolver does.
>>>
>>> What should I do with this new code? Swap out the 
>>> PreparedVariableResolver, replacing it with my code? Add a new 
>>> version to run alongside for a while???
>>
>>
>> I'd put the new code in, as it should be backward compatible. MHO
>
>
> I agree.

Okay. Mildly frightened that I'll horribly break something though.

Upayavira

>
> Geoff
>



Mime
View raw message