On Thu, 09 Oct 2014 12:19:17 -0300, akshay <akshayestat...@gmail.com> wrote:

Hi Thiago,

Hi!


Well, I was trying the implement the solution given by you, but I see a
problem.

i) my lessToCSS page is located at the package:-
  abc.wp.pages.config.

ii) First I tried doing this in Tapestry 5.4 way:-
@Import(stylesheet="//:config/lessToCss")
    It doesn't work.

Please don't say it doesn't work, as it's almost no information.

@Import with "//:" will only work on 5.4, not on 5.3, which you said you're using.

 iii) But when I try achieving the same doing this way:-
 javaScriptSupport.importStylesheet(new
StylesheetLink("../config/lessToCss"));

It should have been "/config/lessToCss", which is absolute, without the "../", which is relative. Tapestry will take care of adjusting the path if needed.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to