Tapestry grid not working with JPA.

2011-11-23 Thread saurabh . jain
Hello, While I am trying to display tapestry grid it throws following exception. Render queue error in SetupRender[Displayperson:grid]: Failure reading parameter 'source' of component Displayperson:grid: Failed to create EntityManagerFactory for persistence unit 'JPATESTDB' My

Re: Tapestry grid not working with JPA.

2011-11-23 Thread Chris Mylonas
hello back! try property name=toplink.weaving value=false/ that's usually the source of crazy persistence errors with glassfish (eclipselink.weaving) HTH, Chris On 23/11/2011, at 8:02 PM, saurabh.jain wrote: Hello, While I am trying to display tapestry

Re: [T5.3]Minifying CSS assets problem

2011-11-23 Thread Steve Eynon
No probs... (I think my reply may have come across harsh - that was not the intent!) 2011/11/23 Ivan Liu javaca...@gmail.com: Thank Your reply。 I expect to resolve combine CSS files this issue. I just know this is clearly stated in the Open and Unresolved Jira TAP5-1377. Ivan Liu Best

Re: Print functionality in tapestry 4.1.6

2011-11-23 Thread NewUser
Hi, I want to add on that I am using a 'Print' button on my page that uses PopupLinkRenderer to display a popup window containing the page I want to print. Can someone provide me some code to print the page within the popup window ?? Thanks in advance -- View this message in context:

[TYNAMO] Exception Handling

2011-11-23 Thread Nicolas Barrera
Hi all, (sorry I 'm asking about tynamo on Tapestry's user list but I tried to use us...@tynamo.codehaus.org but mailer said it wasn't working) Here goes a newbie question runner up...: I got a tynamo app working using the archetype and then modifying it, I got two model classes - Person -

Re: [T5.3] Change asseth path prefix

2011-11-23 Thread Ville
Hi, added: https://issues.apache.org/jira/browse/TAP5-1756 - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Change-asseth-path-prefix-tp5012745p5016475.html Sent from the Tapestry - User mailing list archive at Nabble.com.

[ANN] exanpe-t5-lib 1.1.0

2011-11-23 Thread Guerin Laurent
Hi all, We are pleased to announce the release 1.1.0 of exanpe-t5-lib. This new version includes : - Full compatibility between Tapestry 5.2.6 and 5.3 - Some new components : - MenuBar and Menu components : Add one basic Menu bar or one multi level Horizontal Menu to your website

Re: [TYNAMO] Exception Handling

2011-11-23 Thread Nicolas Barrera
Hi, I went for customizing the Location page, generated a pages/show/LocalityShow.java and .tml the tml I copied it from the Show.tml file and the .java I overrided the following methods: public ClassSucursal getType() { public Link onActionFromDelete() { public boolean

Re: [ANN] exanpe-t5-lib 1.1.0

2011-11-23 Thread Pablo Borges
would be interesting you put a tutorial to install this library on the project page. I had to flip the github to add this line @Submodule (ExanpeLibraryModule.class) the library to work on my project. 2011/11/23 Guerin Laurent lgue...@sopragroup.com Hi all, We are pleased to announce the

RE: [ANN] exanpe-t5-lib 1.1.0

2011-11-23 Thread Guerin Laurent
Hi Pablo, The tutorial exists and the @Submodule is documented here : http://exanpe.github.com/exanpe-t5-lib/getting_started.html Cheers, Laurent -Message d'origine- De : Pablo Borges [mailto:pablosbor...@gmail.com] Envoyé : mercredi 23 novembre 2011 16:53 À : Tapestry users Objet :

Dynamic Form Validation

2011-11-23 Thread George Christman
Hello, I'm building an app that has an extensive workflow process which requires dynamic validation. Everything works perfectly with the exception of the red x and red field outline. I'm wondering if there is a way to control that from the backend dynamically without the use of a component id.

tld tapestry 5.3

2011-11-23 Thread Pablo Borges
how to generate the 5.3 tld tapestry? I'm using the maven plugin: tapestry-tldgen with eclipse 3.7 follows the settings of my pom.xml plugin groupId fr.exanpe / groupId artifactId-tldgen tapestry / artifactId VERSION 1.1.0 / version executions execution goals goal tld-generate / goal / goals

[T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, we have grid inside form and we get this error: Caused by: java.lang.IllegalStateException: The rendered content did not include any elements that allow for the positioning of the hidden form field's element. at

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Lenny Primak
I believe there is already an answer to this in the earlier threads in the forum. You can search for this. On Nov 23, 2011, at 12:19 PM, Ville ville.virta...@cerion.fi wrote: Hi, we have grid inside form and we get this error: Caused by: java.lang.IllegalStateException: The rendered

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, I tried to search but I couldn't find a post that explains why the setup render event is stored to form if the grid is volatile? If it is obvious please explain it like to a child so that I can comprehend the design decision :) - Ville -- View this message in context:

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Lenny Primak
I don't know the details. I am suggesting a course of action to fix your error. If you search for the error message you will dine what you are looking for I believe. If not there is the source code to look at. On Nov 23, 2011, at 12:41 PM, Ville ville.virta...@cerion.fi wrote: Hi, I tried

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, yes, I did read the source code, and I even tested a fix that I wrote. Now the question is: is this a bug? If it is, I'll open JIRA If it is not, I'd like to hear why it is implemented the way it is. I have a patch waiting here, if this is something the T5 team want's to fix as proposed in

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Lenny Primak
If you have a patch especially with tests, and if the issue isn't a duplicate, there is no reason not to open a JIRA. On Nov 23, 2011, at 12:47 PM, Ville ville.virta...@cerion.fi wrote: Hi, yes, I did read the source code, and I even tested a fix that I wrote. Now the question is: is

Re: tld tapestry 5.3

2011-11-23 Thread Christian Riedel
Look, someone generated one for 5.3 already: http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse Am 23.11.2011 um 18:03 schrieb Pablo Borges: how to generate the 5.3 tld tapestry? I'm using the maven plugin: tapestry-tldgen with eclipse 3.7 follows the settings of my pom.xml

Re: TAP5-746: Zone Refresher

2011-11-23 Thread bogdan_cm
Hi Taha, Now that the ZoneRefresh component is included in Tap-core, is there a working example anywhere? I have this in my .tml: div t:type='zone' t:mixins='tawus/zonerefresh' t:period='10' My test: ${text} /div and when I run it i get: Failure creating embedded component 'zone' of

Re: TAP5-746: Zone Refresher

2011-11-23 Thread Lenny Primak
If you remove the tawus/ prefix from the mixin it should work. On Nov 23, 2011, at 1:06 PM, bogdan_cm bogdan.iva...@rbccm.com wrote: Hi Taha, Now that the ZoneRefresh component is included in Tap-core, is there a working example anywhere? I have this in my .tml: div t:type='zone'

Re: Code Coverage link on Tap homepage doesn't work anymore

2011-11-23 Thread Howard Lewis Ship
Actually, the cobertura link was part of the Maven build, something we lost in the switch to Gradle. We can update the link to point to 5.2, where the report was still active. On Mon, Nov 21, 2011 at 11:42 AM, derkoe tapestry.christian.koeb...@gmail.com wrote: Link See Tapestry's code coverage

Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez
Hi everyone ! I've been using T5 since 5.0, and now, being eager to get my hands on the final 5.3 release, am facing some concepts doubts , that i'd like you to sort me out. Currently, i have a T5.2.6 App, working perfectly, but as i have been asked to perform a change, and it's not working

Re: Default values for a grid : concept erroneus ?

2011-11-23 Thread Thiago H. de Paula Figueiredo
Hi! Template and code please. :) Either way, instead of persisting search results, I just fetch them in getTransactions(). -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação

Re: Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez
El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió: Hi! Template and code please. :) Either way, instead of persisting search results, I just fetch them in getTransactions(). Well, this is the page .. no special about it t:form t:id=searchTransactions t:errors/ table tr tdt:label

Re: TAP5-746: Zone Refresher

2011-11-23 Thread bogdan_cm
Sadly no, div t:type='zone' t:mixins='zonerefresh' t:period='10' My test: ${text} /div Failure creating embedded component 'zone' of com.example.tutorial.pages.Page: Unable to resolve 'zonerefresh' to a mixin class name. -- View this message in context:

Re: TAP5-746: Zone Refresher

2011-11-23 Thread Dragan Sahpaski
Which version of tapestry are you using. Should be 5.3 Cheers, Dragan Sahpaski On Wed, Nov 23, 2011 at 8:39 PM, bogdan_cm bogdan.iva...@rbccm.com wrote: Sadly no, div t:type='zone' t:mixins='zonerefresh' t:period='10' My test: ${text} /div Failure creating embedded component 'zone'

Re: TAP5-746: Zone Refresher

2011-11-23 Thread bogdan_cm
Yes, I'm using 5.3: tapestry-core-5.3.0.jar http://tapestry.1045711.n5.nabble.com/file/n5017803/1.jpg -- View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017803.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: TAP5-746: Zone Refresher

2011-11-23 Thread Lenny Primak
That's a very old version of Tapestry. You need to be using rc_3 or later. On Nov 23, 2011, at 2:47 PM, bogdan_cm wrote: Yes, I'm using 5.3: tapestry-core-5.3.0.jar http://tapestry.1045711.n5.nabble.com/file/n5017803/1.jpg -- View this message in context:

Re: TAP5-746: Zone Refresher

2011-11-23 Thread bogdan_cm
Ha, one of the issues that come with not using Maven to refresh your repository :). Thanks very much for the reply's. -- View this message in context: http://tapestry.1045711.n5.nabble.com/TAP5-746-Zone-Refresher-tp4529253p5017815.html Sent from the Tapestry - User mailing list archive at

Re: TAP5-746: Zone Refresher

2011-11-23 Thread Dragan Sahpaski
Actually, tapestry-core-5.3.0.jar is a pretty old library. This is confusing because this library was created before tapestry had the alpha/beta/rc releases when the numbering then was done sequentially so it got to 5.3.x something before it chaged to alpha-x beta-x rc-x. I think now 5.3 is

Fwd: Default values for a grid : concept erroneus ?

2011-11-23 Thread jose luis sanchez
El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió: Hi! Template and code please. :) Either way, instead of persisting search results, I just fetch them in getTransactions(). Well, this is the page .. no special about it t:form t:id=searchTransactions t:errors/ table

Re: Fwd: Default values for a grid : concept erroneus ?

2011-11-23 Thread Thiago H. de Paula Figueiredo
Hi! Never persist search results: persist the parameters. ;) Besides that, I'd remove the transactions field and make the getTransactions() method look like this: public ListTransaction getTransactions() { return (ListTransaction) theSession.createCriteria(Transaction.class)

Re: [T5.3] Volatile grid inside form

2011-11-23 Thread Ville
Hi, I added https://issues.apache.org/jira/browse/TAP5-1757, but with tests I need help, as I dont know how I should write them. Any pointers? - Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-Volatile-grid-inside-form-tp5017357p5017983.html Sent from the

DateField Usability - Can't fix bad date input with the Popup Calendar

2011-11-23 Thread Lenny Primak
Hi guys, there is a long-standing JIRA about this: https://issues.apache.org/jira/browse/TAP5-805 My users are complaining about this. Any chance to fix it anytime soon? The issue got 3 votes now :) This should be a trivial fix in the JS code, as far as I can see... Thanks!