RE: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread nhhockeyplayer nashua
If someone could explain what this means... I would be greatful... All I am doin is customizing a simple edit page for a pojo the stuff was coming up now its all comin down... just from tweeking the edit page onActivate handler I am not sure of the documented faq for beaneditform is in line wi

RE: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread nhhockeyplayer nashua
87.10% unrealized services (216/248) Application 'app' (version 1.0-SNAPSHOT-1356444220013) startup time: 299 ms to build IoC Registry, 2,625 ms overall. __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_-http://tapestry.apache.org/b

RE: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread nhhockeyplayer nashua
Thanks Lance, I am just getting an eery feeling... I know under the hood alot of this stuff is performed using AOP... I am getting a feeling I cannot modify method signatures anymore... i get different results everytime... And chasing down tons of runtime errors intermittent and when once som

Re: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread Lance Java
Tapestry is using type coercion to coerce from the String in the URL to the int (or class) activation request parameters. Take a look at the diagram here tapestry.apache.org/typecoercer-service html and you can see that tapestry will use String --> Long --> Integer -- View this message in conte

Re: [T5.3] How to stop ZoneRefresh mixins

2012-12-25 Thread Muhammad Gelbana
Here is how one can solve this On Tue, Dec 25, 2012 at 6:32 PM, Lenny Primak wrote: > There are plenty of examples on the Internet on how to do this if you look > around. It's not trivial but it's easily done with some t

Re: Tapestry-jquery ajax validation

2012-12-25 Thread rosecorp
Sure. Js function shoul look like: (function($) { $.fn.configureValidators = function(callbackUrl) { $(this.selector).blur(function() { var field = $(this); if (field && field.val() != "") { $.ajax(

Re: [T5.3] How to stop ZoneRefresh mixins

2012-12-25 Thread Lenny Primak
There are plenty of examples on the Internet on how to do this if you look around. It's not trivial but it's easily done with some time investment. On Dec 25, 2012, at 9:38 AM, Muhammad Gelbana wrote: > I'm willing to do it that way but I don't know how. > > On Tue, Dec 25, 2012 at 5:22 PM,

Re: [T5.3] How to stop ZoneRefresh mixins

2012-12-25 Thread Muhammad Gelbana
I'm willing to do it that way but I don't know how. On Tue, Dec 25, 2012 at 5:22 PM, Lenny Primak wrote: > I can't think of a reason why it can't be done with custom JavaScript. > > On Dec 25, 2012, at 9:12 AM, Muhammad Gelbana wrote: > > > Isn't there a way to workaround this in the meantime ?

Re: [T5.3] How to stop ZoneRefresh mixins

2012-12-25 Thread Lenny Primak
I can't think of a reason why it can't be done with custom JavaScript. On Dec 25, 2012, at 9:12 AM, Muhammad Gelbana wrote: > Isn't there a way to workaround this in the meantime ? > > On Thu, Jan 12, 2012 at 9:07 AM, Yohan Yudanara > wrote: > >> Thanks for your suggestion. But I'm looking t

Re: [T5.3] How to stop ZoneRefresh mixins

2012-12-25 Thread Muhammad Gelbana
Isn't there a way to workaround this in the meantime ? On Thu, Jan 12, 2012 at 9:07 AM, Yohan Yudanara wrote: > Thanks for your suggestion. But I'm looking to stop periodical refresh > after some condition is met. > I've file a JIRA about it. > > On Thu, Jan 12, 2012 at 12:33 PM, Lenny Primak >w

RE: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread nhhockeyplayer nashua
Well another scary symptom... When I add Class clazz as the first formal parameter... the custom bindings go south public Object onActivate(Class clazz, String id) { if (beanType == null) return Utils.new404(messages); An unexpected application exception has occu

Re: t:grid: action on select row

2012-12-25 Thread Lance Java
You could use my GridDecorator mixin Code Here: https://github.com/uklance/tapestry-stitch/blob/master/src/main/java/org/lazan/t5/stitch/mixins/GridDecorator.java https://github.com/uklance/tapestry-stitch/blob/master/src/main/java/org/lazan/t5/stitch/model/CellDecorator.java https://github.com/u

Re: tapestry form validation: email bug?

2012-12-25 Thread sommeralex
ok thx -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-form-validation-email-bug-tp5718950p5718973.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

RE: NumberFormatException iocservices coercian flip flopping

2012-12-25 Thread nhhockeyplayer nashua
Here is more clarity on the context of the problem... public Object onActivate(Class clazz, Integer id) { if (beanType == null) return Utils.new404(messages); this.bean = contextValueEncoder.toValue(beanType, id.toString()); if (bean == null)

t:grid: action on select row

2012-12-25 Thread sommeralex
Hello! i would like to implement a pageLink for the whole row instead for each cell in the row. What i know so far is that i can overwrite the cell with ${curGroup.name} but then, the user has to select this item. instead, if he is jus

Re: tapestry form validation: email bug?

2012-12-25 Thread Bob Harner
I think this may be fixed in 5.4 -- see the regex changes from https://issues.apache.org/jira/browse/TAP5-1933 -- but I haven't tested it. On Dec 25, 2012 6:11 AM, "Muhammad Gelbana" wrote: > Sounds like a very reasonable JIRA issue > > On Tue, Dec 25, 2012 at 11:18 AM, sommeralex >wrote: > > >

RE: how does tapestry know what model for parameter during onActivate event

2012-12-25 Thread nhhockeyplayer nashua
I had a fourth question... 4. how can a developer configure and specify a formal parameter to reliably come in during the onActivate event? Thanks merry christmas

Re: tapestry form validation: email bug?

2012-12-25 Thread Muhammad Gelbana
Sounds like a very reasonable JIRA issue On Tue, Dec 25, 2012 at 11:18 AM, sommeralex wrote: > No, it should not but does! > > Am 25.12.2012 um 09:43 schrieb "Muhammad Gelbana [via Tapestry]" < > ml-node+s1045711n5718963...@n5.nabble.com>: > > > Are you saying it should accept "alexander.sommer@g

Re: tapestry form validation: email bug?

2012-12-25 Thread sommeralex
No, it should not but does! Am 25.12.2012 um 09:43 schrieb "Muhammad Gelbana [via Tapestry]" : > Are you saying it should accept "alexander.sommer@gmail" without the ".com" > part ? > > On Mon, Dec 24, 2012 at 3:02 PM, sommeralex <[hidden email]>wrote: > > > alexander.sommer@gmail > > >

Re: File Upload via Tomcat

2012-12-25 Thread Muhammad Gelbana
By tomcat directory, is it the "temp" dir ? If yes, tomcat's tesmp dir is configurable through the JVM option "-Djava.io.tmpdir". On Sat, Dec 22, 2012 at 10:48 PM, dodjavola wrote: > I have problems with file uploading on Tapestry 5.3.6. I am using this as a > reference http://tapestry.apache.org

Re: tapestry form validation: email bug?

2012-12-25 Thread Muhammad Gelbana
Are you saying it should accept "alexander.sommer@gmail" without the ".com" part ? On Mon, Dec 24, 2012 at 3:02 PM, sommeralex wrote: > alexander.sommer@gmail