Sean Legassick wrote:

 > On Mon, Feb 12, 2001 at 01:28:35PM +0100, Santiago Gala wrote:
 >
 >> Can the keywords for screen, template, action, ... be customized?
 >>
 >> I'm thinking about the heavy size limitations in wml. if we could say
 >> /j/pl/t/Login/a/Test instead of
 >> /jetspeed/portal/template/Login/action/Test it would be great for 
saving
 >> space.
 >>
 >> I think that they are not customizable, as I have seen literals in
 >> Turbine.java. It should be easy to add this behaviour (just scan 
turbine
 >> and jetspeed code for "template", "screen", "action", ...  and
 >> substitute by a static variable, read during initialization,...) But it
 >> should be changed by any code using them ot make it effectively usable
 >>
 >> Looks like a good idea? Is anybody already doing this?
 >
 >
 > This has been discussed before, and is definitely a good idea. Just
 > no-one's itched hard enough to scratch - please submit patches :-)


Sorry, I sent the message both to jetspeed and turbine, and most of the
answers came into jetspeed. FYI, I paste the relevant fragment of a post
by Raphaël Lutta there:

 > Yes, me [:)]
 >
 > Currently Turbine URI mapping is controlled by several components
 > among which you can
 > find RunData (Turbine components), DynamicURI (paremeters -> URI) and
 > ParameterParser
 > (URI -> parameters)
 > as well as some other hard-coded values in some classes.
 > All these components must follow the same URI models in order to work
 > correctly so I'm
 > writing a RequestMapper for Turbine which is kind of a factory for all
 > these components.
 > This way, if you want to implement a new URI mapping mechanism, you
 > just have to
 > write a new Mapper implementation.
 > Jetspeed will probably need this in order to namespace protect the
 > Jetspeed action and
 > template parameters form an embedded Turbine-based portlet parameters
 > and as you said
 > it may be useful in WML.
 >
 > I'm quite advanced on this but I need to adapt to the new RunData
 > factory which is way better
 > than the one I wrote...

So, Raphaël will commit here when it is finished. :)



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to