T5.3.6 AfterRenderTemplate getElement returns element of parent component

2012-12-05 Thread Azudio Developer
Hi, I'm seeing something that doesn't look right - possibly user error. I have a component structure like this: MyPage ->TopBar (c) -> NavItem (c) In the NavItem.java I have an render phase method: @AfterRenderTemplate void afterRender(MarkupWriter writer

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Thiago H de Paula Figueiredo
On Wed, 05 Dec 2012 19:01:11 -0200, Michael Prescott wrote: If you've used maven for that much, you're nearly there. All you have to do is declare the jars you need as in the pom.xml, and then 'mvn install' will produce you a .war file with all the jars in it. Yep! You can use command '

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Howard Lewis Ship
Also, use Gradle, not Maven. It will save you incredible amounts of grief. On Wed, Dec 5, 2012 at 1:01 PM, Michael Prescott < michael.r.presc...@gmail.com> wrote: > If you've used maven for that much, you're nearly there. All you have to > do is declare the jars you need as in the pom.xml, and

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Michael Prescott
If you've used maven for that much, you're nearly there. All you have to do is declare the jars you need as in the pom.xml, and then 'mvn install' will produce you a .war file with all the jars in it. You can use command 'mvn eclipse:eclipse' to create the project's .classpath file, so you don't

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Muhammad Gelbana
I'm not good with maven so I'd like to be more independent of it whenever I can. I practically use it only for creating a tapestry project (quickstart) and packaging war files. I'm not saying maven is not good at what it does, I guess it is but I'm just not good with it. On Wed, Dec 5, 2012 at 10

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Thiago H de Paula Figueiredo
On Wed, 05 Dec 2012 18:40:40 -0200, Muhammad Gelbana wrote: I'm trying to package my application (war) and deploy it into tomcat. I don't know how to do that while my app depends on many other jar files that are not included using maven but only through the regular eclipse build-path confi

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Muhammad Gelbana
I'm trying to package my application (war) and deploy it into tomcat. I don't know how to do that while my app depends on many other jar files that are not included using maven but only through the regular eclipse build-path configuration. On Wed, Dec 5, 2012 at 9:03 PM, Thiago H de Paula Figueire

Re: Zone inside loop problem

2012-12-05 Thread Geoff Callender
When activated during an AJAX request, the component has no state. In onSuccessFromKomentar(int materijalID) you should probably set this.materijalID. On 05/12/2012, at 8:39 PM, dodjavola wrote: > Hey folks :) > I have another big issue. I have component, with zone, and form that > refreshes the

Re: Tapestry + Hibernate optimistic locking

2012-12-05 Thread Geoff Callender
So your situation is that you are updating non-detached entities and usually (but possibly not always) want optimistic locking. This can be handled on a case-by-case basis without altering Hibernate's internals. Look for "bulkEditPersonsByDTOs" in: http://jumpstart.doublenegative.com.au

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Thiago H de Paula Figueiredo
On Wed, 05 Dec 2012 16:23:28 -0200, Muhammad Gelbana wrote: Thanks a lot that helped a lot. I believe the error message could be a bit more explanatory ? Nope. That exception is thrown by code deep inside the JVM, in a package that we shouldn't use. And don't you agree that tapestry's

Re: [5.3.6] Tapestry's minimal dependencies

2012-12-05 Thread Muhammad Gelbana
Thanks a lot that helped a lot. I believe the error message could be a bit more explanatory ? And don't you agree that tapestry's download should only contain minimal dependencies ? Or at least locate extra dependencies within a separate folder ? Thanks again. On Wed, Dec 5, 2012 at 2:29 AM, Thi

Re: Tapestry + Hibernate optimistic locking

2012-12-05 Thread nquirynen
Just for the interested: After some more research I found that setting the version manually (which is not recommended by Hibernate) didn't work because of what is described here: https://forum.hibernate.org/viewtopic.php?p=2293177&sid=2969aa867c7086b4a3c7a68bda853690#p2293177 It's a really old p

Re: Zone inside loop problem

2012-12-05 Thread Thiago H de Paula Figueiredo
On Wed, 05 Dec 2012 08:40:42 -0200, Cezary Biernacki wrote: You need to use Tapestry's t:submit component, not plain HTML input tag. Actually, you only need to use the Submit component when you have more than one submit button and you need to know which one was clicked. Otherwise, a ca

Re: Does Tapestry implements this ${id} by default ?

2012-12-05 Thread Thiago H de Paula Figueiredo
On Tue, 04 Dec 2012 22:35:57 -0200, bhorvat wrote: Hm That might be possible I do have filtering set in maven like this src/main/resources true and the component tml is under that folder. I am impressive that yo

Zone inside loop problem

2012-12-05 Thread dodjavola
Hey folks :) I have another big issue. I have component, with zone, and form that refreshes the zone. When I put component inside loop, it shows only last zone. I generated unique ID for every zone. In page source, I can see that every zone get's right ID, but it doesn't return right on submit. Is

Re: Get selected item from loop

2012-12-05 Thread dodjavola
Tnx, I solved the problem :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Get-selected-item-from-loop-tp5718460p5718496.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsu