David,

>I see what you mean. My problem is about the way your standard 
>Context reference works: Jetspeed's Navigation classes directly 
>use DynamicURI without any VelocityScreen I could extend.

I am not familiar with JetSpeed, but I think you are looking in the wrong
area. If Jetspeed isnt supplying the functionality you want, then maybe you
should, extend or modify Jetspeeds implementation of Navigation so that it
uses or has a convenience method from DynamicURI that takes advantage of
partial URL's. The partial URL is easily achieved in Turbine by either
building a URL from the RunData reference in Context or by extending
DynamicURI and added the extended Object to the Context and making it
available to all screens through the Screen Object. It doesnt have to be the
full URL unless you want it to be. 


>Besides that, the main issue is the HTML style: If this class produces 
>the URIs for $link it is simply bad style to always return absolute URLs. 

Create a new Object that has a method so the full URL isnt produced. It is
your choice with Turbine, it is quite easy to define a new Object to the
Context other than $link, that will achieve what you wish. $link is there as
convenience, it doesnt have to be used.


>The portal with its HTML code is not flexible enough to be used in more 
>complex environments as we use it.

Personally I like the full URL, I dont think it is bad practise at all. I
also like that DynamicURI, RunData and ServerData all have rich API's that
openly exposed and available. For unique situations such as yours,
DynamicURI can be extended to provide the funtionality needed. 

If I were you I would look to proposing to the JetSpeed Project differant
ways to use Turbine's DynamicURI so that there is a choice or a convenience
method for partial URL's in JetSpeed. The functionality is there in Turbine,
it is probably just a simple case of adding some more functionality to
Jetspeed, so Jetspeed Navigations can take advantage of it. 




Cameron Riley


------------------------------------------------------------
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