On 2000.11.29 16:38:18 +0000 Rafal Krzewski wrote:
> The error in ImageURI is easy to fix (see DynamicURI class), but 
> I don't like the idea of ImageURI at all. It has static path 
> stuck in the code. Bad idea. I believe that it should be replaced
> with StaticLink class that was discussed on the list a few times.

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

-- 
Sean Legassick
[EMAIL PROTECTED]
                                  homo sum: humani nihil a me alienum puto


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