Re: Referencing files from a jar

2012-11-28 Thread Thiago H de Paula Figueiredo
On Wed, 28 Nov 2012 15:05:55 -0200, mwrohde wrote: Ok, thanks for the replies so far. In the tml I've got: <${classpath:/com/navicure/ui/components/images/exit2.png}> It should have been src="${classpath:/com/navicure/ui/components/images/exit2.png}"/>. You still need to use proper HTML ta

Re: Referencing files from a jar

2012-11-28 Thread mwrohde
mages/exit2.png}> For reasons that I don't completely understand /com/navicure/ui/components was already assumed by Tapestry. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Referencing-files-from-a-jar-tp5718355p5718361.html Sent from the Tapestry - User mai

Re: Referencing files from a jar

2012-11-28 Thread mailingl...@j-b-s.de
er binding: Error parsing property expression > 'classpath:/com/navicure/ui/components/images/exit2.png': Unable to parse > input at character position 11. > > What have I got wrong? > > > > -- > View this message in context: > http://tapestry.1045711.n5.

Re: Referencing files from a jar

2012-11-28 Thread mwrohde
ameter binding: Error parsing property expression 'classpath:/com/navicure/ui/components/images/exit2.png': Unable to parse input at character position 11. What have I got wrong? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Referencing-files-from-a-jar-tp571

Re: Referencing files from a jar

2012-11-28 Thread Lance Java
Images, css and js etc are known in tapestry as assets. You can reference assets by "classpath:" or "context:". http://tapestry.apache.org/assets.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Referencing-files-from-a-jar-tp5718355p571835

Re: Referencing files from a jar

2012-11-28 Thread Thiago H de Paula Figueiredo
On Wed, 28 Nov 2012 13:26:34 -0200, mwrohde wrote: All - Hi! We have not been successful in getting image files loaded from the component jar, however. We have tried referencing images through relative path from both tml and css, both to no avail. In templates and classes, use the Tap

Referencing files from a jar

2012-11-28 Thread mwrohde
ges through relative path from both tml and css, both to no avail. What is the generally accepted way to do this sort of packaging and referencing? Thanks, Matt -- View this message in context: http://tapestry.1045711.n5.nabble.com/Referencing-files-from-a-jar-tp5718355.html Sent from the Tap