t5: java 6 and 5

2008-12-20 Thread Angelo Chen
Hi, I use Mac with java 5 to compile the T5 program, can the war file run in a server using java 6? thanks. Angelo -- View this message in context: http://www.nabble.com/t5%3A-java-6-and-5-tp21102868p21102868.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: t5: java 6 and 5

2008-12-20 Thread Howard Lewis Ship
I can't think of a reason why not. On Sat, Dec 20, 2008 at 12:28 AM, Angelo Chen angelochen...@yahoo.com.hk wrote: Hi, I use Mac with java 5 to compile the T5 program, can the war file run in a server using java 6? thanks. Angelo -- View this message in context:

Q : Select using value encoder ?

2008-12-20 Thread dwi ardi irawan
hi alli got a little problem here i want to make this into a select component : if the label is user then the value would be : 0(Integer) if the label is administrator then the value would be : 1(Integer) i did that in this way : *User.java* private String username; private String password

Re: Q : Select using value encoder ?

2008-12-20 Thread Olle Hallin
Why not use an enum and BeanEditForm? Olle 2008/12/20 dwi ardi irawan penyihirke...@gmail.com hi alli got a little problem here i want to make this into a select component : if the label is user then the value would be : 0(Integer) if the label is administrator then the value would be

Loop dynamic input field: How to read data after submission?

2008-12-20 Thread superoverdrive
On: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Loop.html there is an example how to render dynamic input fields using a Loop component. But how do you process the data after form submission? How can you get a list of all objects back?

Re: Loop dynamic input field: How to read data after submission?

2008-12-20 Thread Ulrich Stärk
You have been asked *several* times now to not hijack other people's threads. Instead of hitting reply on the next best message just compose a new one to us...@tapestry.apache.org. It's not that hard and boosts your chances of someone replying to your questions. Uli superoverdr...@gmx.de

Error in Tapestry 5 Tutorial

2008-12-20 Thread John Aronson
on the page http://tapestry.apache.org/tapestry5/tutorial1/hilo.html Let's start with the code, and break it down: src/main/java/org/apache/tapestry5/tutorial/pages/Index.java package org.apache.tapestry5.tutorial.pages; import java.util.Random; import

Re: Error in Tapestry 5 Tutorial

2008-12-20 Thread Ulrich Stärk
John Aronson schrieb: on the page http://tapestry.apache.org/tapestry5/tutorial1/hilo.html Let's start with the code, and break it down: src/main/java/org/apache/tapestry5/tutorial/pages/Index.java package org.apache.tapestry5.tutorial.pages; import java.util.Random; import

Javascript DOM and tapestry5

2008-12-20 Thread cuartz
Hello everybody!! im new on tapestry and i have a little question, how can i get the value of an input that was dynamically added into the form with javascript, i know that is easy to add inputs whit ajax but i realy think that its faster and better specially for tapestry type apps, so this is

Loop object question.

2008-12-20 Thread Tan cyb...@n
hi all, i'm newbie on java and tapestry ,i have problem on my loop 's data example t:loop source=prop:Datalist value=prop:colvalue tr t:loop source=*(i wan to get the array of colvalue here )* value=prop:value td ${value}

Reloading component templates from Maven's jetty plugin

2008-12-20 Thread Josh Long
Hi, I have a maven project generated usig the stock mvn archetype for tapestry 5. According to the docs, component templates should be in src/main/resources/. I can't seem to get those to 'reload' correctly, forcing me to ctrl + c the maven jetty plug in and re run. Any input on how to change