Hi I've solved the described problem using the asset' full path:

<asset name="defaultcss" path="/org/jfly/.../css/default.css"/>

My problem now is the following:
Is there a way to use friendly url when using assets into libraries ? (I need 
to access application /image folder and I'd like to have friendly url eve for 
pages described into libraries)

Thanks in advance,
kiuma

>----- ------- Original Message ------- -----
>From: =?iso-8859-2?Q?Schabek_=A3ukasz?=
><[EMAIL PROTECTED]>
>To: Tapestry users
><[email protected]>
>Sent: Tue, 27 Dec 2005 14:16:33
>
>Hi!
>My css is placed in
>C:\project_workspace\project_name\context\default.c
>ss
>Locating path as: "./default.css" works fine
>
>
>-----Original Message-----
>From: kiuma [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, December 27, 2005 2:08 PM
>To: [email protected]
>Subject: library and assets
>
>Hi all and Merry Xmas,
>
>I've a small problem with a library.
>I've put into /org/jfly/components a css file and
>now i'd like to access it
>from /org/jfly/components/views/Border.jwc
>component so i've added the
>following line:
><asset name="defaultcss" path="css/default.css"/>
>
>but tapestry complains that it's unable to locate
>the resource.
>
>I've tryed the following too:
>
><asset name="defaultcss"
>path="../css/default.css"/> but I obtained the same
>
>result.
>
>How could i do ?
>
>Thanks in advance,
>kiuma
>
>---------------------------------------------------
>------------------
>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