Re: asset expansion question

2011-03-16 Thread based2
http://tapestry.apache.org/assets.html http://tapestry.1045711.n5.nabble.com/T5-Assets-resources-and-file-path-td2416655.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/asset-expansion-question-tp3697610p3834582.html Sent from the Tapestry - User mailing list archive

Re: asset expansion question

2011-03-15 Thread jqzone
Here is my code. TemplateResource.java public class TemplateResource implements Resource{ private URI uri; public TemplateResource(String uri) { try { this.uri = new URI(uri); } catch (URISyntaxException e) { throw new RuntimeException(e); } } public TemplateResource(URI uri) throws MalformedUR

Re: asset expansion question

2011-03-15 Thread Josh Canfield
> I want the server root path http://people.apache.org/~uli/ to > be configurable ,so it can be configured using tapestry symbols.I tried > this > > using AssetFactory,URIResource,and symbols,but failed > >  Can anyone help me? Please define failed? What is the error, or what does the generated HT

asset expansion question

2011-03-15 Thread jqzone
Hallo,I have a new question! I'm writing a asset expansion like this http://people.apache.org/~uli/images/tapestry.png} /> I implememt a Resource using URI, and add a asset configure,It works well Now I want to change it like this I want the server root path http://people.apache.org/~uli/ to