[T5] Tomcat and source path

2007-09-10 Thread Hibowl
Hi, i'm new to T5, and I would like to have such a source path : src/myapp instead of src/main/java/myapp. I built my project with Maven and quickstart. I managed to run it on Jetty, but can't find a way to do this with Tomcat. When I deploy the war created by maven on Tomcat, it don't find my a

Re: Antwort: [T5] Tomcat and source path

2007-09-11 Thread Hibowl
ve a look at http://tapestry.apache.org/tapestry5/tomcat.html. Perhaps > it helps. > > Marcus. > > > > >

Re: Antwort: [T5] Tomcat and source path

2007-09-11 Thread Hibowl
OpenQA Maven Repository http://maven.openqa.org/ 5.0.5 Marcus-11 wrote: > > Hi Hibowl, > > I think you have to modify pom.xml. > If you post your pom.xml maybe we can help. > > Marcus > > -- View this mes

[T5] Access table values from html

2007-10-02 Thread Hibowl
Hi, I'd like to access the values of a List from my html page, but I don't know how to do that... Start.java : private ArrayList listeFichiers; (getter/setter). Start.html : I want to display a field from Fichier (type String). But how can I access to it ? Is there a way to use such a ${list

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
a getter for your list, and both a getter and a > setter for fichier. > > In your template you can now: > > > ${fichier.field} > > > Note that ${fichier.field} will result in a call to the method > Fichier#getField. > > Hibowl wrote: >> Hi, &g

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
> I'm sorry I'm afraid I don't understand your situation. If you could > explain what exactly you are trying to do, maybe I can help. > > chris > > Hibowl wrote: >> Hi, >> thanks for your answer. I tried with the loop, but I need to display only >

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
u only > want one of them from the List, so you won't need to Loop. If that's > right then you need only to provide a getter for your object (this > assumes your page knows which specific object is desired). > > Hibowl wrote: >> I'm maybe not very clear, I wi

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
You are welcome for the help :-). T5 is great but still young and a bit > weak in documentation, so the community has to make up for that. I've > received much help from this list. > > chris > > Hibowl wrote: >> Ok, in fact I want all the objects from the list, b

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
in the template > or the .page file. This is not possible with T5s prop binding (eventually > will provide this functionality -> see JIRA). > > so if you know beforehand what object you need to can provide a > getter method for it > > g > kris > >

Re: [T5] Access table values from html

2007-10-02 Thread Hibowl
is is what you want. If you want only one, then you > should know which before hand and make it available to the template via > a getter. > > Hibowl wrote: >> Yes, it's quite ridiculous :) But I needed to test... >> >> My page should display all the objects