So now things are actually working as they should. Forget this thread, I am an idiot.

Thanks and keep up the good work.

- Juha

Juha Alatalo wrote:
Now browser does never find my css-file. What is the "trick" to make things work again?

James Carman wrote:
This is not a bug.  The $up$ stuff was put in there to "trick" the
browser into not trying to automatically resolve the ".." for you.
This is necessary for resources.

On Mon, Jun 16, 2008 at 7:02 AM, Juha Alatalo
<[EMAIL PROTECTED]> wrote:
Hi,

We started to use 1.3.X because
https://issues.apache.org/jira/browse/WICKET-1667 will be probably fixed
soon in 1.3.X.

There seems to be some changes in
public static String resourceKey(final String path, final Locale locale,
final String style) in SharedResources.
We have been using following reference to a css-file

public static final CompressedResourceReference MES_CSS = new
CompressedResourceReference(MesFunc.class, "../../../somePath/main.css");

public MeasurementDataPage()
{
       super();
       add(HeaderContributor.forCss( MES_CSS ));
}

In 1.3.3 source looked like this:
<link rel="stylesheet" type="text/css"
href="resources/syncrontech.paroc.mes.common.MesFunc/../../../syncrontech/paroc/mes/themes/main.css"
/>

Now in 1.3.X it looks like this:
<link rel="stylesheet" type="text/css"
href="resources/syncrontech.paroc.mes.common.MesFunc/$up$/$up$/$up$/syncrontech/paroc/mes/themes/main.css"
/>

Is this a bug or do I have to move all my css files to a such location where
.. is not needed?

- Juha



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to