Tapestry 5.3.6 JSONObject No null checking leads to NPE in Palette component

2013-09-16 Thread Michael
*java.lang.NullPointerException* : * at org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:887) * at org.apache.tapestry5.json.JSONArray.print(JSONArray.java:436) * at org.apache.tapestry5.json.JSONCollection.toString(JSONCollection.java:47) * at org.apach

Re: Connection problem (On the Server)

2013-09-16 Thread Thiago H de Paula Figueiredo
On Mon, 16 Sep 2013 13:03:03 -0300, Will N. wrote: Hi, Hi! This is a question completely unrelated to Tapestry, so it shouldn't be posted. In addition, the error is very easy to spot from reading the end of the stack trace: Caused by: org.dom4j.DocumentException: Error on line 98 of d

Re: [T5.4] JQuery / Bootstrap etc. from CDN by default?

2013-09-16 Thread Lenny Primak
JQuery has its own well-established CDN: jQuery's CDN provided by MaxCDN --- To use the jQuery CDN, just reference the file directly from http://code.jquery.com in the script tag: http://code.jquery.com/jquery-1.10.1.min.js";> http://code.jquery.com/jquery-migrate-1.2.1.min.js";> -- Boot

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Howard Lewis Ship
This is part of using Boostrap; which is mobile-first and therefore likes everything stacked vertically and full width. Add "form-horizontal" to the [BeanEdit]Form and the layout will look nicer. You have to wrap the form-control elements in .col-md-N (md for medium device size) to keep them from

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Barry Books
For BeanEditor you would have to do this with a mixin. The mixin might take some work but it could then be added go all the BeanEditors On Monday, September 16, 2013, Lenny Primak wrote: > I think this should be the default, at least for compatibility's sake. > Sounds like a lot of custom styling

[T5.3.6] AjaxFormLoop not populating values after submission

2013-09-16 Thread TNO
Hi, I'm trying to use AjaxFormLoop inspired from * http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloop1 * http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/AjaxFormLoop.html but I have a big problem. My new pojos are not populated with t

Re: [T5.4] BeanEditor and Friends don't look as good as in Tap 5.3

2013-09-16 Thread Lenny Primak
I think this should be the default, at least for compatibility's sake. Sounds like a lot of custom styling just to make it look like it used to in T5.3 On Sep 16, 2013, at 11:35 AM, Howard Lewis Ship wrote: > This is part of using Boostrap; which is mobile-first and therefore likes > everything s

Re: [T5.4] JQuery / Bootstrap etc. from CDN by default?

2013-09-16 Thread Thiago H de Paula Figueiredo
On Mon, 16 Sep 2013 09:52:59 -0300, Johan Stuyts wrote: 3) The CDN would be able to track your website users, and there's already too many organizations doing that (NSA included). Not only that, they would be able to take control of all of your pages:

Re: [T5.4] JQuery / Bootstrap etc. from CDN by default?

2013-09-16 Thread Johan Stuyts
3) The CDN would be able to track your website users, and there's already too many organizations doing that (NSA included). Not only that, they would be able to take control of all of your pages: To be safe all JavaScript mu

Re: [T5.4] JQuery / Bootstrap etc. from CDN by default?

2013-09-16 Thread Thiago H de Paula Figueiredo
On Sun, 15 Sep 2013 20:14:55 -0300, Lenny Primak wrote: I think there are lots of advantages and few downsides of doing this. It can, of course (optionally) can be turned off, but, in this day and age, I think Tapestry should consider it. A huge -1 to that. 1) Which CDN? 2) If the CDN go

Re: Eclipse Tapestry5 Plugin update

2013-09-16 Thread Dmitry Gusev
Thank you Bob! On Mon, Sep 16, 2013 at 2:31 PM, Bob Harner wrote: > I just tried this plugin for the first time. Very nice! I could really get > addicted to having the Tapestry Context view on the screen. > > I like Tapestry Context view also, but I usually work in full-screen (maximized) mode s

Re: Eclipse Tapestry5 Plugin update

2013-09-16 Thread Bob Harner
I just tried this plugin for the first time. Very nice! I could really get addicted to having the Tapestry Context view on the screen. Also, I noticed that in my component classes the properties that I have annotated with @Property or @Parameter no longer show the yellow underline "value not used"