Re: [T5.3-beta-19] JS bug in Tapestry.ajaxRequest()

2011-10-17 Thread Lenny Primak
I second that. I got a slightly different message (something that has to do with undefined). But the result is the same. If the server is down, Ajax calls aren't handled very gracefully. On Oct 17, 2011, at 11:59 PM, Steve Eynon wrote: > Using the ZoneRefresh mixin (on Firefox 5.0.1) I tr

[T5.3-beta-19] JS bug in Tapestry.ajaxRequest()

2011-10-17 Thread Steve Eynon
Using the ZoneRefresh mixin (on Firefox 5.0.1) I tried bringing down the server to see how the Ajax call would cope with nothing to connect to. I got nice messages on the screen, which is good, but they read, "Communication with the server failed: finalOptions.onFailure does not exist" which

Re: [T5.3.x] One Small Thing...

2011-10-17 Thread Steve Eynon
https://issues.apache.org/jira/browse/TAP5-1702 Done. -- Steve Eynon --- "If at first you don't succeed,    so much for skydiving!" On 17 October 2011 19:36, Thiago H. de Paula Figueiredo wrote: > On Sat, 15 Oct 2011 01:47:53 -0300, Steve Eynon > wrote: > >> ...co

Re: [ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-17 Thread Yohan Yudanara
Jumpstart is awesome. Thank you very much for providing your time to develop jumpstart. I think it's the most useful guide to Tapestry users. On Mon, Oct 17, 2011 at 4:19 PM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Hi all, > > JumpStart's been updated to get rid of @Persis

Re: PeriodicExecutor: services and Hibernate

2011-10-17 Thread Howard Lewis Ship
The PeriodExecutor uses the PerThreadManager to execute your runnables. Translation: the normal end-of-request processing (closing of connections, etc.) applies here as well. On Mon, Oct 17, 2011 at 10:43 AM, Tony Nelson wrote: > Using tapestry-hibernate mine seemed to just work.  I have a job t

RE: Practical jQuery Integration

2011-10-17 Thread Wechsung, Wulf
Hi Janko, 1) there should be a line where jquery assigns to $ (not _$) or window.$. This one needs uncommenting. 2) it should be possible to set break points in the JS via firebugs. If it's still not working, try setting breakpoints to see if the right stuff is called and everything has the valu

RE: Practical jQuery Integration

2011-10-17 Thread joch40
Hi , thank you all for your support. Great community. but I installed Firebug and you are right I think I will need it. First I fund an error in my method javaScriptSupport.addScript(scriptstring, "a", "Test Alarm"); with String scriptstring = "jQ

Re: An Appeal To Use the Latest Betas

2011-10-17 Thread Geoff Callender
chenille-kit is a blocker for me, too. On 17/10/2011, at 9:56 PM, antalk wrote: > http://www.localhost.nu/java/tapestry-spring-security/index.html Im using > > nu.localhost.tapestry > tapestry-spring-security > 3.0.0 > > > And > > http://www.chenillekit.org/ > > org.chenillekit > chenille

Re: Problems using JPA with 5.3

2011-10-17 Thread Igor Drobiazko
There must be something wrong either with your configuration or your environment. You need to provide more details in order to get help. On Sun, Oct 16, 2011 at 9:54 PM, jesse wrote: > Hi, I've run in to a couple of JPA related issues that are keeping me from > moving to 5.3. My app previously

Re: tapestry5-beta22 html5 doctype

2011-10-17 Thread Thiago H. de Paula Figueiredo
On Mon, 17 Oct 2011 16:34:53 -0200, Howard Lewis Ship wrote: I'm considering what it would take to allow HTML5 to be the default on any template that does not define its own DOCTYPE. That might be a breaking change for the (very rare case) of a page that does not render HTML (for instance, a

Re: tapestry5-beta22 html5 doctype

2011-10-17 Thread Howard Lewis Ship
This is true. You need to use on any component that references a named HTML entity. I'm considering what it would take to allow HTML5 to be the default on any template that does not define its own DOCTYPE. That might be a breaking change for the (very rare case) of a page that does not render H

Re: tapestry5-beta22 html5 doctype

2011-10-17 Thread Lenny Primak
I believe that the way html5 doctype is implemented in tapestry this is correct behavior. You must declare html5 doctype on every page. On Oct 17, 2011, at 2:12 PM, Tony Nelson wrote: > I have added the html5 doctype to my base layout. In the base layout, I can > use html entities as expec

tapestry5-beta22 html5 doctype

2011-10-17 Thread Tony Nelson
I have added the html5 doctype to my base layout. In the base layout, I can use html entities as expected. Any page that I create that uses the layout, throw an exception that I haven't declared the entity unless I explicitly add the html5 doctype to the page. Is this the expected behavoir o

Re: PeriodicExecutor: services and Hibernate

2011-10-17 Thread Tony Nelson
Using tapestry-hibernate mine seemed to just work. I have a job that runs every 5 minutes that simply inserts a new row into a table. I inject the service, which in turn uses an injected DAO. No fussing w/ sessions as far as I can tell. Tony On Oct 17, 2011, at 12:45 PM, 9902468 wrote: > H

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Jesse i am using tapestry-jpa with hibernate and it works great except the problem of value encoder.Maybe you did something wrong in the persistence.xml or you didn't place it in the correct location. On Mon, Oct 17, 2011 at 8:07 PM, jesse wrote: > Thanks Thiago, > > I have read the documentation

afterRender AjaxFormLoop

2011-10-17 Thread George Christman
Does anybody know of a way to listen to the AjaxFormLoop event similar to how you do it using Tapestry.ZONE_UPDATED_EVENT with zones in the afterRender? -- View this message in context: http://tapestry.1045711.n5.nabble.com/afterRender-AjaxFormLoop-tp4910720p4910720.html Sent from the Tapestry -

Re: An Appeal To Use the Latest Betas

2011-10-17 Thread jesse
I would love to be using the latest version of tapestry, but sadly can't due to the jpa issue I'm having with it, described here: http://tapestry-users.832.n2.nabble.com/Problems-using-JPA-with-5-3-td6898469.html -- View this message in context: http://tapestry-users.832.n2.nabble.com/An-Appeal-

Re: Page is getting cached in Tapestry 5.0.18

2011-10-17 Thread ManuPK
Thanks Thiago and Wulf's for helping. I don't get this issue every time but happens too-often in some machines and pages. Is there any settings possible in browser? If I use the "no-cache" attributes even t he images will not be cached? Will it create any performance issue? - Thanks, Manu

Re: Problems using JPA with 5.3

2011-10-17 Thread jesse
Thanks Thiago, I have read the documentation on the new JPA stuff in Tapestry. I'm pretty sure I have it set up correctly. I did everything the documentation suggests and I'm still having the issue. The only reason I mentioned tynamo was just to make it clear that I did at one point have JPA wo

PeriodicExecutor: services and Hibernate

2011-10-17 Thread 9902468
Hi, I can inject services to the job that is going to be periodically executed. Do I have to manage my own transactions (using HibernateSessionManager) and clean up after each execution using PerthreadManager? If so, are you going to provide support for those in the future? Additionally, is it g

Re: T3.5 datepicker problem

2011-10-17 Thread Robert Zeigler
Hopefully you meant T5.3, not T3.5? :) You'll need to be a bit more specific about which version you downloaded... but probably you downloaded 5.3.0, which was more of a milestone build than a "stable" release. Please try the most recent beta and report back if you're still having issues. Robe

Re: Locale + in tapestry 5.3

2011-10-17 Thread Robert Zeigler
Please file a JIRA for localizing the "Today" and "None" labels in the core datefield component. Robert On Oct 17, 2011, at 10/179:05 AM , parranz wrote: > Hi, > > I'd like to insert some date fields in my application. I started using the > dateField component from Tapestry (I'm using tapestry

Re: Registry Shutdown - beta-21

2011-10-17 Thread Tony Nelson
Your implementation was simple to understand, simple to implement, and it seems to just work. Thanks Tony On Oct 14, 2011, at 5:51 PM, Howard Lewis Ship wrote: > I'm about to commit changes to allow for registry "will" shutdown > notifications. > > On Fri, Oct 14, 2011 at 1:20 PM, Tony Nelson

T3.5 datepicker problem

2011-10-17 Thread captain_rhino
I've download T3.5 using maven and have just added a few datepicker to my simple pages, but none of the javascript datepickers actually work - they display but no interactivity. I've noticed that none of the js libraries are present in my project such as /assets/1.0-SNAPSHOT/stack/en/core-datefie

Locale + in tapestry 5.3

2011-10-17 Thread parranz
Hi, I'd like to insert some date fields in my application. I started using the dateField component from Tapestry (I'm using tapestry 5.3) which works perfect, but I have the problem that the buttons "Today" and "None" don´t get translated to spanish. I've seen the javascript code deployed on the s

Re: Tapestry-JPA 5.3 beta22 Problem

2011-10-17 Thread Dimitris Zenios
OK i think i found it. The constructor gets called but propertyAdapter is null.In order to fix it had to change idAttribute.getJavaMember().getName(); to idAttribute.getName(). I dont know if it matters but the annotations in my entity are placed on the methods and not on the properties. On Mon

RE: [ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-17 Thread Wechsung, Wulf
Thanks Geoff! The jumpstart is a terrific resource and has been a life saver on occasion. Thanks for all your efforts! -Original Message- From: Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com] Sent: Montag, 17. Oktober 2011 11:19 To: Tapestry users Subject: [ANN] JumpStart dr

RE: Practical jQuery Integration

2011-10-17 Thread Wechsung, Wulf
Hello Janko, I think it's possible that noConflict doesn’t work. To make sure, simply delete the lines in jQuery.js that assign to $ or window.$. Regarding the rest of your example, it's really hard to diagnose but I would just bet that if you open your example with firebugs or the Chrome javas

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Sorry wrong reply :).I though it was for a previous mail On Mon, Oct 17, 2011 at 2:38 PM, Dimitris Zenios wrote: > Thiago i am using tapestry-jpa.I haven’t tested tynamo-jpa.From what i > can see at the source code of JpaModule.java there is a method > > >    @Contribute(ValueEncoderSource.class)

Re: Problems using JPA with 5.3

2011-10-17 Thread Dimitris Zenios
Thiago i am using tapestry-jpa.I haven’t tested tynamo-jpa.From what i can see at the source code of JpaModule.java there is a method @Contribute(ValueEncoderSource.class) public static void provideValueEncoders(final MappedConfiguration configuration, @Symbol(JpaSymbols.PROVIDE_ENTITY_V

Re: [T5.3.x] One Small Thing...

2011-10-17 Thread Thiago H. de Paula Figueiredo
On Sat, 15 Oct 2011 01:47:53 -0300, Steve Eynon wrote: ...could we please have a warning message logged when the default application module is not found on startup? Something like, "Could not find the application module 'com.mycompany.project.WoteverModule'" Because everytime (and it doe

Re: Problems using JPA with 5.3

2011-10-17 Thread Thiago H. de Paula Figueiredo
On Sun, 16 Oct 2011 17:54:29 -0200, jesse wrote: My app works great with tynamo JPA, tynamo resteasy, eclipselink (2.2.1), and Tapestry 5.2.6. I had to do one small hack due to the fact that the tynamo code relies on Defense. No big deal though, and it's all working. I've tried to switch to

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-17 Thread Thiago H. de Paula Figueiredo
On Sun, 16 Oct 2011 17:46:17 -0200, Julien Martin wrote: Hello, Hi! public class PostcodeTranslator implements Translator { @Inject BignibouService service; Try making the field private. And don't forget that Tapestry-IoC just injects dependencies in objects instatiated by it.

Re: Page is getting cached in Tapestry 5.0.18

2011-10-17 Thread Thiago H. de Paula Figueiredo
On Sat, 15 Oct 2011 07:54:18 -0300, ManuPK wrote: I am using tapestry version 5.0.18. In my application the tapestry pages are getting cached. ie, when I hit the URL to load the page the request is not reaching the server. I need to press ctrl+F5 to get the valid page. Is it because of t

Browser Back Button

2011-10-17 Thread Olga
Hi all. I have this question. I use this annotation for create session: @SessionState(create = false) private User user; and if loggin pass i do this: public Object onSubmitFromLoginForm() throws SQLException { user = userService.getUser(username, password); if (user != null)

Re: An Appeal To Use the Latest Betas

2011-10-17 Thread antalk
http://www.localhost.nu/java/tapestry-spring-security/index.html Im using nu.localhost.tapestry tapestry-spring-security 3.0.0 And http://www.chenillekit.org/ org.chenillekit chenillekit-tapestry 1.3.2 Altough the later could already have a snapshot available ? Oh.. actually there are 3

Tapestry-JPA 5.3 beta22 Problem

2011-10-17 Thread Dimitris Zenios
It seems there is a problem with Tapestry JPA.From what i can tell, value encoder does not work.I am using tapestry 5.3 beta 22.toClient of value encoder is not called and if i go to the page by hand in order to force toValue method then i get this exception org.apache.tapestry5.runtime.Componen

Re: An Appeal To Use the Latest Betas

2011-10-17 Thread Bob Harner
Which 2 libraries? On Oct 17, 2011 3:33 AM, "antalk" wrote: > I would love too, but our 2 Tapestry applications are heavily dependent on > 2 > extra libraries that are not in sync with Tap5.3 and thus fail to > start/run. > > Without these libraries our application is pretty much useless so i'll

Re: [ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-17 Thread Muhammad Gelbana
Great stuff. Thanks a lot :) On Mon, Oct 17, 2011 at 11:19 AM, Geoff Callender < geoff.callender.jumpst...@gmail.com> wrote: > Hi all, > > JumpStart's been updated to get rid of @Persist from these examples: > >- Editable Grid >- Editable Loop >- Grid with Delete Column >

[ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-17 Thread Geoff Callender
Hi all, JumpStart's been updated to get rid of @Persist from these examples: - Editable Grid - Editable Loop - Grid with Delete Column - Loop with Delete Column - AjaxFormLoop Tailored and @Persist has almost been removed from this example: - Ajax

Re: An Appeal To Use the Latest Betas

2011-10-17 Thread antalk
I would love too, but our 2 Tapestry applications are heavily dependent on 2 extra libraries that are not in sync with Tap5.3 and thus fail to start/run. Without these libraries our application is pretty much useless so i'll have to wait for the final version or update these libraries myself (but

Re: The difference between "ValueEncoder" and "Translator"

2011-10-17 Thread derkoe
dick_hu wrote: > > Now I use the FCKeditor, because of it often has many html tags,so the > value's length often over the db's words limit.So I want to transform the > html tags to short string. > I want to use the "Translator",But I find "ValueEncoder" seems has the > same feature. > Which one c