Re: Replicating t:id into component html id

2010-02-20 Thread Andreas Andreou
there's a mixin for this purpose (RenderClientId), so, just use it in your pagelink On Sat, Feb 20, 2010 at 16:47, Martin Strand wrote: > Tapestry will generate an id automatically and render it as an 'id' > attribute if you invoke getClientId() on the PageLink in question. > This is the typical

Intellij reloading page and components templates not working

2010-02-20 Thread Raul Raja Martinez
Hi, We're a team of 5 devs using tapestry 5 and developing with Intellij. When developing components and pages we have to keep restarting the server to see changes because hot swapping is not working, not even for method bodies. I understand tapestry uses a different classloader for those. Are the

t5: Easy template layout

2010-02-20 Thread Angelo Chen
Hi, I have been using Intellij for layout tml files, all are just typing, it works quite well, I'm looking for an easier way, no need to be completely wyswig, but at least a little faster than completely typing, I'd like to know how other developers design their templates, care to share? Thanks,

Re: [T5] Missing dependency "tapestry360-project"

2010-02-20 Thread Howard Lewis Ship
I'll look into this. On Sat, Feb 20, 2010 at 8:34 AM, Felix Gonschorek wrote: > Hi, > > i am trying to build tapestry on a fresh system setup (empty local maven > repository) and maven is complaining about a missing dependency: > > tapestry360-project > > Output: > "Reason: Cannot find parent: co

Re: sql update of existing table

2010-02-20 Thread toejoe
Thank You for quick reply. I followed Your advice and added annotation @CommitAfter. It is working now. Shing Hing Man wrote: > > > After the update, try calling commit. If you are using > > HibernateSessionManager from > http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/ > > call

[T5] Missing dependency "tapestry360-project"

2010-02-20 Thread Felix Gonschorek
Hi, i am trying to build tapestry on a fresh system setup (empty local maven repository) and maven is complaining about a missing dependency: tapestry360-project Output: "Reason: Cannot find parent: com.formos.tapestry:tapestry360-project for project: com.howardlewisship:tapx-project:pom:1.0

Re: sql update of existing table

2010-02-20 Thread Shing Hing Man
After the update, try calling commit. If you are using HibernateSessionManager from http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/ call HibernateSessionManager.commit(). Shing Home page : http://www.lombok.demon.co.uk/ --- On Sun, 21/2/10, toejoe wrote: > From: toejoe >

sql update of existing table

2010-02-20 Thread toejoe
Hello. I am using Tapestry 5.0.18 framework with Netbeans 6.8, MS Sqlexpress 2005 and using hibernate support for accessing database. One page is crated for data input. Other one will display data from table. Input is performed using t:beaneditform and display via t:grid. Whatever data I enter,

Accessing array in tml

2010-02-20 Thread Mite
I have this List of arrays: public List getCourses(){ courseWithSubject = ...; return courseWithSubject; } and the arrays have two elements. In the tml: i want to display the name of the subject in the dropdown but when the user selects, the selected

Re: Replicating t:id into component html id

2010-02-20 Thread Martin Strand
Tapestry will generate an id automatically and render it as an 'id' attribute if you invoke getClientId() on the PageLink in question. This is the typical use case where you would run a short script to manipulate the element, something like this: Hello document.getElementById("${myPageLink.cl

Replicating t:id into component html id

2010-02-20 Thread Lionel Touati
Hi List, I may have missed something, but it seems that t:Id is not transformed into a html ID at least for the pagelink component. It seems quite odd to me, as you then need to add the id field manually in the TML file. Also it does not seem to be consistent with the form fields for example