Help with actionlink and hibernate

2011-11-27 Thread SeleniuM
I am doing some project, and I got stuck on very irritating issue that is " I want to make an actionlink, which will process user to another page and retrieve some data from database ( using hibernate for that purpose ). " So far, I haven't find possibility to do so, expect to make @CommitAfte

Radio button inside ajaxformloop

2011-11-27 Thread Nefron
Hi guys, I'm trying to use a radio component inside a ajaxformloop. My template looks like this: Now, when I add another row to the form it fails with "No object of type org.apache.tapestry5.Radio

Re: Gave up on T5.3 for now ...

2011-11-27 Thread Thiago H. de Paula Figueiredo
On Sun, 27 Nov 2011 19:46:18 -0200, Gunnar Eketrapp wrote: Hi! Hi! The two major concerns where 1) My user types didn't work in forms. Could you please be more specific? :) 2) Disabled field did not work in forms. (The value was not passed back) This is expected and documented beha

Re: Gave up on T5.3 for now ...

2011-11-27 Thread Martin Strand
On Sun, 27 Nov 2011 22:46:18 +0100, Gunnar Eketrapp wrote: T5.3 looks promising and it felt quite faster. The two major concerns where 1) My user types didn't work in forms. 2) Disabled field did not work in forms. (The value was not passed back) Of course I must have missed something obvio

Gave up on T5.3 for now ...

2011-11-27 Thread Gunnar Eketrapp
Hi! I encountered problems with my forms in T5.3 so I will wait with the upgrade. I'm in the phase of releasing my site and will do so with T5.2.6 T5.3 looks promising and it felt quite faster. The two major concerns where 1) My user types didn't work in forms. 2) Disabled field did not work i

Re: Moving to T5.3 / Problem with textfield and translate ...

2011-11-27 Thread Gunnar Eketrapp
When looking at the 5.3 component reference for textfield the component parameters are all gone ... 2011/11/27 Gunnar Eketrapp > Has disabled been removed as component parameter to textfield ? > > 2011/11/27 Chris Poulsen > >> It sounds like you are using the "disabled" attribute instead of the

Re: Moving to T5.3 / Problem with textfield and translate ...

2011-11-27 Thread Gunnar Eketrapp
Has disabled been removed as component parameter to textfield ? 2011/11/27 Chris Poulsen > It sounds like you are using the "disabled" attribute instead of the > "readonly" attribute - but it is hard to tell without seeing the code. > > Some random google result on the difference between the two

Re: Moving to T5.3 / Problem with textfield and translate ...

2011-11-27 Thread Chris Poulsen
It sounds like you are using the "disabled" attribute instead of the "readonly" attribute - but it is hard to tell without seeing the code. Some random google result on the difference between the two: http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html -- Chris On Sun, Nov 27, 2011 at 2:

Re: fault found

2011-11-27 Thread Christian Riedel
Should be called only once if you have this code in a fresh project. Are you sure there are no such things like custom filters that might process things more than once? Am 27.11.2011 um 12:53 schrieb csckid: > Smaller sample: > > *Contact.tml* > xmlns:t="http://tapestry.apache.org/schem

Re: Moving to T5.3 / Problem with textfield and translate ...

2011-11-27 Thread Gunnar Eketrapp
Hi! Now I also noticed that my contact form does not work with 5.3. It is a really simple page with a form containing an email textfield, a title textfield plus a message textarea. When a user is logged in I disable editing of the email textfield but still uses the value when the mail is sent.

Re: fault found

2011-11-27 Thread csckid
Smaller sample: *Contact.tml* http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> Contact com.kids.crm ... *Contact.java* package com.kids.crm.pages; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; impor

Moving to T5.3 / Problem with textfield and translate ...

2011-11-27 Thread Gunnar Eketrapp
Hi! This morning i decided to step up to 5.3. I noticed that 5.3 is stricter and some of my pages did not work due to the fact that there where event methods with no corresponding template component. So I had to do some cleanup but that I like ! I was also one of the few that had used @PageDetach

Re: Form that replaces itself with another via Ajax

2011-11-27 Thread Greg Pagendam-Turner
Hi, Seems like I forgot about a form in a nested component. I can now move forward. Great also to see 5.3 now released. Regards, Greg On 27/11/2011, at 10:50 AM, Robert Zeigler wrote: > Or, in newer Tap5 (5.3 for sure; I'm pretty sure this works in 5.2, too): > > > >... > > > >

Re: fault found

2011-11-27 Thread csckid
*Contact.java* import java.io.InputStream; import org.apache.tapestry5.StreamResponse; import com.kids.crm.reports.pdf.PDFGenerator; import com.kids.crm.reports.pdf.PDFStreamResponse; public class Contact { public StreamResponse onSubmit() { // Create PDF InputStream i

Re: fault found

2011-11-27 Thread Christian Riedel
Show us your code and we can tell you what's wrong! Am 27.11.2011 um 08:41 schrieb csckid: > I tried the following example to generate pdf file and return to user > browser. > http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF > > The problem I found is method public StreamResponse