Re: How to use bootstrap dropdown. 5.4

2013-11-08 Thread thegreatmewel
Hi George, I had the same problem today and my solution was to add this: private @Environmental JavaScriptSupport js; private void setupRender() { js.require("bootstrap/dropdown"); } to your Layout.java class. On 11/08/13 17:12, George Christman wrote: Hi everyone, I'm

Re: POJO's in Forms

2013-11-08 Thread thegreatmewel
uses me. Anyway, thanks Thiago for your support :). On 11/08/13 02:25, Thiago H de Paula Figueiredo wrote: On Thu, 07 Nov 2013 18:17:10 -0200, thegreatmewel wrote: I'm not sure what do you mean with a getter for passwordRequest? I have a passwordRepeat field and a getter getPasswordRepea

Re: POJO's in Forms

2013-11-07 Thread thegreatmewel
3 17:27:52 -0200, thegreatmewel wrote: Yep, im using 5.4-alpha-24 and with bootstrap it looks a lot nicer. Now I have a strange problem with my password repeat field. I always get the error: org.apache.tapestry5.ioc.internal.OperationException Render queue error in BeginRender[user/Register:pass

Re: POJO's in Forms

2013-11-07 Thread thegreatmewel
H de Paula Figueiredo wrote: On Wed, 06 Nov 2013 18:21:04 -0200, thegreatmewel wrote: Hi Thiago, im overwhelmed, it works like a charm :). I just had to add 'class="form-horizontal"' to my form. Thanks a lot! Are you using 5.4-alpha-24? Nice to know so

Re: POJO's in Forms

2013-11-06 Thread thegreatmewel
Hi Thiago, im overwhelmed, it works like a charm :). I just had to add 'class="form-horizontal"' to my form. Thanks a lot! On 11/06/13 13:26, Thiago H de Paula Figueiredo wrote: On Wed, 06 Nov 2013 09:36:58 -0200, Thiago H de Paula Figueiredo wrote: Since 5.4-alpha-24 you can actually have B

POJO's in Forms

2013-11-06 Thread thegreatmewel
Hi, I'm new to Tapestry and have some problems using forms. I have the following simple setup: // my entity class @Entity public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @NonVisual public Long id; @Validate("required") public String firstName