At 13:28 12/02/2001 +0100, you wrote:
>Raphaël Luta wrote:
>
>>At 15:38 11/02/2001 -0800, you wrote:
>>
>>>on 2/11/01 2:54 PM, "Java Apache CVS Development" <[EMAIL PROTECTED]> wrote:
>>> > <input name="$jlink.ActionKey" type="hidden"
>>> value="CreateNewUserAndConfirm"
>>> > />
>>>Looks good.
>>>Question: How come you aren't using ActionEvent?
>>>http://java.apache.org/turbine/action-event.html
>>
>>Because I just converted the JSP screens and did not rewrite the Actions.
>>The events would provide no benefits if the Action code is all in
>>doPerform().
>>I'll do this in the next iteration. :)
>Just a question about turbine/templates:
>
>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?
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...
--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]