Antwort: Re: [Taspetry IoC] Using Tapestry IoC with JavaFX

2010-05-26 Thread Kristian Marinkovic
hi, there was a issue that already has been fixed: https://issues.apache.org/jira/browse/TAP5-839 g, kris Von:"Thiago H. de Paula Figueiredo" An: "Tapestry users" Datum: 25.05.2010 15:06 Betreff:Re: [Taspetry IoC] Using Tapestry IoC with JavaFX On Tue, 25 May 2010 08:50:

Invalid length 112 in LocalVariableTable

2010-05-26 Thread Paul Stanton
I recently made some changes to my pom.xml (added hibernatespatial) and have noticed that I can no longer load my page which contains the Autocomplete mixin. Instead I get the following: Invalid length 112 in LocalVariableTable in class file org/apache/tapestry5/corelib/mixins/Autocomplete St

Re: Asset service issues in GAE

2010-05-26 Thread Dmitry Gusev
I think have some progress in this. After upgrade to latest T5.2.0-SNAPSHOT resource links like href="/assets/anjlab/cubics/css/cube.css" /> > not working anymore. So I desided to switch to Assets. Now the same CSS referenced like this: Note its located in another jar. To make this

Re: Asset service issues in GAE

2010-05-26 Thread Alex Kotchnev
Dmitry, very nice analysis. Before explicitly setting the application version, did you observe the issues w/ the assets loading intermittently ? Regards, Alex K On Wed, May 26, 2010 at 5:55 AM, Dmitry Gusev wrote: > I think have some progress in this. > > After upgrade to latest T5.2.0-SNAPS

Re: Asset service issues in GAE

2010-05-26 Thread Dmitry Gusev
On Wed, May 26, 2010 at 14:08, Alex Kotchnev wrote: > Dmitry, > very nice analysis. Before explicitly setting the application version, > did you observe the issues w/ the assets loading intermittently ? > > Yes I had problems with this. Instead of returning CSS/JS contents T5 rendered index pag

Re: Invalid length 112 in LocalVariableTable

2010-05-26 Thread Andreas Andreou
it should be the javassist version - try finding out which version was being used before you introduces the dependency to hibernatespatial On Wed, May 26, 2010 at 12:53, Paul Stanton wrote: > I recently made some changes to my pom.xml (added hibernatespatial) and have > noticed that I can no long

Re: Invalid length 112 in LocalVariableTable

2010-05-26 Thread Paul Stanton
Andreas that is exactly the problem thank you! I have changed my hibernatespatial dependency to: org.hibernatespatial hibernate-spatial-postgis 1.0 javassist javassist

Updating a Zone with just form fields (not the form itself)

2010-05-26 Thread lebenski
I'll start by giving this problem a bit of background. I've been charged with adding 'Postcode Lookup' functionality to the registration form on our site. When a user enters a postcode, it calls off to a third party service, and we provide a set of possible addresses in a drop down box. The use

Tap 5.2.0-SNAPSHOT Javascript file inclusion order

2010-05-26 Thread Jim O'Callaghan
I'm working through an upgrade to Tap 5.2.0-SNAPSHOT at the moment and having some issues would really appreciate any pointers on. Prototype 1.6.1 (supplied with Tap 5.2.0-SNAPSHOT) doesn't appear to play nice with jQuery (IE 8 only), effectively breaking client-side validation - I'm thinking it d

Display time of client side validation

2010-05-26 Thread Dominik Gätjens
Hello List, how can I set the time the client-side-validation-error-bubbles are visible? Regards Dominik

Re: Updating a Zone with just form fields (not the form itself)

2010-05-26 Thread Christophe Cordenier
Hi I think FormInjector will better suits to your needs. Regards, Christophe Cordenier. 2010/5/26 lebenski > > I'll start by giving this problem a bit of background. I've been charged > with adding 'Postcode Lookup' functionality to the registration form on our > site. When a user enters a p

Re: Display time of client side validation

2010-05-26 Thread Christophe Cordenier
Hi Maybe you can set a new default value for scriptaculous DefaultOptions.duration ? Regards Christophe Cordenier. 2010/5/26 Dominik Gätjens > Hello List, > > > > how can I set the time the client-side-validation-error-bubbles are > visible? > > > > > > Regards > > > > Dominik > > -- Regard

Re: Updating a Zone with just form fields (not the form itself)

2010-05-26 Thread lebenski
Thanks Christophe, I wasn't aware of this component. A quick google around hasn't yielded very much, are you able to point me in the direction of a solid example, or maybe provide some sample code here? Christophe Cordenier wrote: > > Hi > > I think FormInjector will better suits to your need

Re: Updating a Zone with just form fields (not the form itself)

2010-05-26 Thread Christophe Cordenier
Hi This component is used by AjaxFormLoop component. This latter is a great exemple. It is used in conjunction with AddRow component that triggers the form injection by calling a method in Javascript. Also have a look at FormFragment. 2010/5/26 lebenski > > Thanks Christophe, I wasn't aware of

Re: page render without

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Tue, 25 May 2010 23:30:05 -0300, Paul Stanton wrote: Hi All, Hi! Is there a way to have a page render a response without the wrapping HTML elements and just print whatever is provided in the body of the tml or alternatively whatever is set in MarkupWriter.write during @BeginRender

Re: [T5] debugging in eclipse

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 26 May 2010 02:31:34 -0300, Dmitry Gusev wrote: May be during transformation in non-production mode T5 should assign value to corresponding field also, not just to conduit? No, because there's no field to be set. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5

[T5.1]generated Event Links and zone

2010-05-26 Thread blueboy6
Hello ppl, Long time since I needed to post a question here, but this is really making me crazy... I have event links generated with component resources, lots of them... 200-300 of them. and I have zone that all of them should update... problem, event links that are generated with componentReso

Re: Re: [Taspetry IoC] Using Tapestry IoC with JavaFX

2010-05-26 Thread Antoine Mischler
Hi, Thanks for your answers. I tried with Taspestry 5.2.0 but I still get the problem. After some investigations it looks like that the unrecognized methods are not synthetic. Actually, every JavaFX object extends the com.sun.javafx.runtime.FXBase class bringing those unrecognized methods. So the

Re: [T5.1]generated Event Links and zone

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 26 May 2010 09:27:31 -0300, blueboy6 wrote: Hello ppl, Hi! I have event links generated with component resources, lots of them... 200-300 of them. and I have zone that all of them should update... Why exactly don't you create this links in the template? An EventLink needs some J

Re: [T5.1]generated Event Links and zone

2010-05-26 Thread blueboy6
Tnx for link, I'm not creating them in template because I'm sending them to google maps to populate info windows, and I'm not sure how could I generate that many links at template... I will try to hook link to zone... I'm gonna inform you about my progress... Tnx Thiago H. de Paula Figueiredo

Re: [T5.1]generated Event Links and zone

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 26 May 2010 11:11:29 -0300, blueboy6 wrote: I'm not creating them in template because I'm sending them to google maps to populate info windows, and I'm not sure how could I generate that many links at template... Loop component? -- Thiago H. de Paula Figueiredo Independent Java, A

Res: [T5] debugging in eclipse

2010-05-26 Thread Everton Agner
What about Inspection Expressions? Do they work? I haven't tried yet (and can't try it now). - Everton Agner Ramos De: Thiago H. de Paula Figueiredo Para: Tapestry users Enviadas: Quarta-feira, 26 de Maio de 2010 9:10:04 Assunto: Re: [T5] debugging in ecli

Re: Res: [T5] debugging in eclipse

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 26 May 2010 11:21:40 -0300, Everton Agner wrote: What about Inspection Expressions? Do they work? I haven't tried yet (and can't try it now). No, because the field isn't there, being replaced by method invocations. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry

RE: Tap 5.2.0-SNAPSHOT Javascript file inclusion order - solved

2010-05-26 Thread Jim O'Callaghan
In case it's of use to someone at some stage, the reason my decorateClientInfrastructure method wasn't being called as it was trying to decorate an already decorated service (due to testing tapestry5-jquery), as suggested in http://tapestry.markmail.org/message/a3ocq7gmu4iirg22?q=decorate - hard to

Re: [T5.1]generated Event Links and zone

2010-05-26 Thread blueboy6
I'm using this links inside JavaScript(as URL's) so I can't render components there!? Is it possible to create eventLinks at template and to send their URL's to JavaScript somehow? Thiago H. de Paula Figueiredo wrote: > > On Wed, 26 May 2010 09:27:31 -0300, blueboy6 wrote: > >> Hello ppl, >

Saving state when changing grid pages

2010-05-26 Thread des999
TLDR: When I change pages of a grid, it doesn't update the object with changes to the page (I select a bunch of rows, and then go to page 2, it doesn't remember those checks) More details: I have a GridDataSource that simply contains a persisted list. I have a checkbox bound to a boolean variabl

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

2010-05-26 Thread Nikola Milikic
Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog window(or maybe lightbox style dialog)? I can't make it working. Thanks! Regard

Re: [T5] debugging in eclipse

2010-05-26 Thread Dmitry Gusev
On Wed, May 26, 2010 at 16:10, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 26 May 2010 02:31:34 -0300, Dmitry Gusev > wrote: > > May be during transformation in non-production mode T5 should assign value >> to corresponding field also, not just to conduit? >> > > No, bec

Re: T5: ProgressiveDisplay - Possibly not reloading properly on Safari when user uses browser 'Back' Button

2010-05-26 Thread Chris Darlaston
Using cmd-R, I get the right page shown again. If this is a browser related problem does anyone have any ideas how to get Safari to reload the page or not to cache the radio button information? thanks Chris Howard Lewis Ship wrote: > > It can be hard to say; too often, the browser

Re: Tap 5.2.0-SNAPSHOT Javascript file inclusion order

2010-05-26 Thread Howard Lewis Ship
On Wed, May 26, 2010 at 4:01 AM, Jim O'Callaghan wrote: > I'm working through an upgrade to Tap 5.2.0-SNAPSHOT at the moment and > having some issues would really appreciate any pointers on.  Prototype 1.6.1 > (supplied with Tap 5.2.0-SNAPSHOT) doesn't appear to play nice with jQuery > (IE 8 only)

Configuring the Tapestry Eclipse environment for use with external Tomcat

2010-05-26 Thread Tim Koop
Hi everyone. I'm trying to get my instance of Tomcat to serve out an application that I'm working on in Eclipse. But it looks like there is a problem. I think Tomcat expects a WEB-INF folder and inside that folder to have a folder called "classes", which keeps the .class files and the Tapest

Re: Tapx-Datefield under 5.2 (was Re: Tapestry Hibernate dependency)

2010-05-26 Thread Howard Lewis Ship
That 1.1-SNAPSHOT is a bit out of date I suspect; I've been actively working on the tapx 1.1-SNAPSHOT libraries, keeping them in sync with the latest & greatest Tapestry 5.2-SNAPSHOT. However it looks like the nightly builds for tapx on tapestry.formos.com are not running. You can get the source f

Re: TSS with T5 5.2.0-SNAPSHOT

2010-05-26 Thread Pierce Wetter
On May 24, 2010, at 10:14 AM, Jim O'Callaghan wrote: > Thanks for the information Pierce - do you happen to have the url for the > trunk? All I can see is 2.1.0 at > http://www.localhost.nu/java/mvn/nu/localhost/tapestry/tapestry-spring-secur > ity/ - thanks. http://www.localhost.nu/svn/publi

Re: Asset service issues in GAE

2010-05-26 Thread Howard Lewis Ship
The likely cause is that you are not setting an explicit application version number, so Tapestry supplies a random hex string. http://zadachite-dev.appspot.com/assets/ctx/91328db67ddf7725/images/layout_v2/footer.jpg 91328db67ddf7725 is the application version number. Each instance of you app in

ClassTransformation API change for 5.2.0

2010-05-26 Thread Jim O'Callaghan
Can anyone point to an online example (or post a brief example) of migrating from the 5.1.0.5 ClassTransformation API to the 5.2.0 one? I'm specifically talking about ClassTransformation.addMethod(TransformMethodSignature,String) - thanks.

RE: TSS with T5 5.2.0-SNAPSHOT

2010-05-26 Thread Jim O'Callaghan
Thanks Pierce I got it. I ended up getting the trunk and just doing some search & replace to get Spring Security 3 working in my app. Will look at Shiro when I have time - for now everything is working as required. Cheers. -Original Message- From: Pierce Wetter [mailto:pie...@paceap.com

RE: Tap 5.2.0-SNAPSHOT Javascript file inclusion order

2010-05-26 Thread Jim O'Callaghan
Thanks for the reply Howard - must have crossed you in my previous the email - I got to the bottom of this. Regards, Jim. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 26 May 2010 17:11 To: Tapestry users Subject: Re: Tap 5.2.0-SNAPSHOT Javascript file inclu

Re: ClassTransformation API change for 5.2.0

2010-05-26 Thread Howard Lewis Ship
You now getOrCreateMethod() to create an empty placeholder (that calls the super implementation, if there is one). You then use the TransformMethod to addAdvice() to get it to do what you want. It seems more complicated, but it has the advantage of being in purely Java code ... no Javassist psued

Re: [T5] debugging in eclipse

2010-05-26 Thread Thiago H. de Paula Figueiredo
On Wed, 26 May 2010 12:40:34 -0300, Dmitry Gusev wrote: No, because there's no field to be set. Not true. If there was no field eclipse wouldn't show it in debugger. I stand corrected. Please file a JIRA about it if you haven't done it yet. It seems like a nice addition to me. -- Thiag

Re: [T5.1]generated Event Links and zone

2010-05-26 Thread Josh Canfield
> problem, event links that are generated with > componentResources.createEventLink("eventName", context); dont have zone > parameter set... and I'm getting absoluteURI from them and using them in my > page... The zone information isn't attached to the Link (or URL) that you generate but to the el

Re: Saving state when changing grid pages

2010-05-26 Thread Josh Canfield
I don't use a grid so I could be way off, but a quick look at the GridPager component tells me that it generates links. Since it's a link your form isn't getting submitted it's just getting the next page. I imagine there must be a way to make the pager submit your form. I don't see a direct way to

Re: T5: ProgressiveDisplay - Possibly not reloading properly on Safari when user uses browser 'Back' Button

2010-05-26 Thread Josh Canfield
Try adding autocomplete="off" on your radio button element. I haven't tried it, but it works for input fields. On Wed, May 26, 2010 at 9:09 AM, Chris Darlaston wrote: > > Using cmd-R, I get the right page shown again. If this is a browser related > problem does anyone have any ideas how to get Sa

Re: Configuring the Tapestry Eclipse environment for use with external Tomcat

2010-05-26 Thread Josh Canfield
Generally you do not want to put your generated files in your source tree because it gets messy with version control, etc. If you are using Tomcat from inside eclipse then it should be taking care of getting things configured to run properly. This might help: http://wiki.eclipse.org/WTP_Tomcat_FAQ

500 error with a brand new Tapestry project

2010-05-26 Thread Tim Koop
I just created a new Tapestry archetype from Maven, then imported it into a brand new Eclipse using m2eclipse, then I ran it with Run Jetty Run. The result is that I got a 500 error. Am I doing something wrong, or is there something wrong? Thank you. HTTP ERROR: 500 org/apache/tapestry

Re: Saving state when changing grid pages

2010-05-26 Thread des999
Thanks a lot for the help Josh, I'm still having trouble though. I've spent hours now and I think I know what I need to do, I just don't know how to do it: I need to have the page links Submit my form and then change the page. Looking at the generated html, it's just a simple anchor tag directly

Re: TSS with T5 5.2.0-SNAPSHOT

2010-05-26 Thread Alex Kotchnev
Robin (one of the other TSS maintainers) mentioned that he might do a T-S-S release that is compatible w/ S-S 3.0 and T5.2 in the near future. Considering that we have a few successful deployments from the trunk version of T-S-S we might as well do a release. Regards, Alex Kotchnev On Wed, May 2

Ajax working in noConflict() mode for jquery, but not jquery itself and vice versa

2010-05-26 Thread Nikola Milikic
Hi everyone, I'm using jquery for displaying fancybox dialog on my pages. It is working well when I add it like @IncludeJavaScriptLibrary({ > "context:js/jquery.min.js", > "context:js/jquery.fancybox-1.3.0.js", > }) (and not when just add it to the head of the pag

Re: Saving state when changing grid pages

2010-05-26 Thread des999
I've found a solution (that I feel is horribly inefficient, but is the best I've got): I simply put onclick="$('bookDetailForm').submit()" on my checkbox, and that way each item that's checked results in a hit back to the server to update the bean. That way, the form is already updated when you

Re: Ajax working in noConflict() mode for jquery, but not jquery itself and vice versa

2010-05-26 Thread Nikola Milikic
To add: I just noticed that when adding jquery like this, I can't even submit a form :( Regards, Nikola On Wed, May 26, 2010 at 9:54 PM, Nikola Milikic wrote: > Hi everyone, > > I'm using jquery for displaying fancybox dialog on > my pages. It is working well when I add i

Re: Ajax working in noConflict() mode for jquery, but not jquery itself and vice versa

2010-05-26 Thread Robin Komiwes
If you use noConflict, you've got to stop using $ when trying to access jQuery. Fore more information, check : http://docs.jquery.com/Using_jQuery_with_Other_Libraries It's also possible that the fancybox jQuery plugin is not coded properly

RE: TSS with T5 5.2.0-SNAPSHOT

2010-05-26 Thread Jim O'Callaghan
Alex, One thing I did need to change in my local copy of the trunk was to put in : filter.setPostOnly(false); ... at line 235 nu\localhost\tapestry5\springsecurity\services\SecurityModule.java Otherwise the redirect approach given in the TSS integration example on the Tapestry site didn't work.

Re: page render without

2010-05-26 Thread Paul Stanton
thanks Thiago, that's a much tidier solution. Thiago H. de Paula Figueiredo wrote: On Tue, 25 May 2010 23:30:05 -0300, Paul Stanton wrote: Hi All, Hi! Is there a way to have a page render a response without the wrapping HTML elements and just print whatever is provided in the body of the

Re: Saving state when changing grid pages

2010-05-26 Thread Josh Canfield
I whipped something up that will allow you to only submit the form when the link is clicked. Add this to your form containing the grid to keep track of the page Add this to your page: @Property private int _page; @Component private Grid _grid; void onSuccess() { _grid.setCurrentPa

Re: ClassTransformation API change for 5.2.0

2010-05-26 Thread Pierce Wetter
On May 26, 2010, at 10:13 AM, Howard Lewis Ship wrote: > You now getOrCreateMethod() to create an empty placeholder (that > calls the super implementation, if there is one). You then use the > TransformMethod to addAdvice() to get it to do what you want. It > seems more complicated, but it has

Re: Re: [Taspetry IoC] Using Tapestry IoC with JavaFX

2010-05-26 Thread Antoine Mischler
The link to the corresponding JIRA entry: https://issues.apache.org/jira/browse/TAP5-1171 (which I created by cloning the groovy issue, sorry about that, apparently it was not the best way to do it, but it should be correctly filled now) Antoine On Wed, May 26, 2010 at 2:28 PM, Antoine Mischler w