Sean Legassick wrote:
> Actually I've just committed some changes to RunData/ServerData that make
> this even cleaner (IMO). Now RunDataFactory seeds a contextPath field in
> ServerData (using the reflection trick that has it compile on JSDK2.0 as
> well). So replace ImageURI with:
> 
> <img src="$data.getContextPath()/images/logo.gif">
> 
> I reckon this renders both ImageURI and the StaticURI/Link class that we
> discussed a while ago unnecessary...

Not really, you forgot about URL rewriting for cookie-less session
mainteance.
On the other hand, sessions should not be critical for accessing static
content. I'd prefer to send the session information in either case,
because
the app server could use the session information internally.

I still think that either a method should be added to the TemplateLink
class, or a StaticLink class should be created.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


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