JavaScriptSupport.addInitializerCall not executing

2011-02-10 Thread Daniel Henze
}, { label : Week 3, value : 24000 }, { label : Week 4, value : 15700 } ] }); myChart.render(chartContainer); } -- Mit freundlichen Grüßen Daniel Henze +49.177.7427002 Geraer Str. 22 15366 Neuenhagen

Re: JavaScriptSupport.addInitializerCall not executing [SOLVED]

2011-02-10 Thread Daniel Henze
Ok, setting the InitializationPriority did solve the issue for me: jsSupport.addScript(InitializationPriority.IMMEDIATE, bmiChart();, new JSONObject()); regards Daniel Am 10.02.2011 13:11, schrieb Thiago H. de Paula Figueiredo: On Thu, 10 Feb 2011 09:52:49 -0200, Daniel Henze daniel.he

Any known workarounds to support HTML5

2011-02-04 Thread Daniel Henze
There have been some discussions regarding the support of HTML5 in future versions of Tapestry, but so far I am only aware of a latest thread stating that HTML5 is not a standard yet and therefore won't be supported just yet. As I understand the Parser needs a DTD to be able to work and since

Re: Any known workarounds to support HTML5

2011-02-04 Thread Daniel Henze
entities (e.g. for internationalisation, special characters) is the following: https://issues.apache.org/jira/browse/TAP5-840 Cheers Daniel Am 04.02.2011 13:09, schrieb Thiago H. de Paula Figueiredo: On Fri, 04 Feb 2011 09:57:38 -0200, Daniel Henze dhe...@googlemail.com wrote: There have

Re: [T5.2] Grid component manipulation

2010-11-02 Thread Daniel Henze
Hi Mohammad, I did something similar as I needed paging and most of the Grid functionality without showing a grid. My approach was to extend the Grid, GridRows and GridColumns components. Most java code did stay the same, but the regarding templates got updated to my clients requirements. A

T5.1 How to prevent uniquifying client ID

2010-10-27 Thread Daniel Henze
Hi there, I have two actionlinks with different t:id, but still Tapestry sets a unique id at the end and therefore caters the actionlink useless: instead of a id=addToFavorites zone=messageOutput href=... I do get a id=addToFavorites-12befc24b12 zone=messageOutput href= It's worth

How to customize GridPager component

2010-09-03 Thread Daniel Henze
Dear community, I have some particular requirements for displaying data and did already extend the Grid to provide some custom template. Now I have the need to customize the grid pager as well, but am failing so far. I started off with duplicating the code and then changed beginRender method

Re: T5 Dispatcher: How to correctly order the Pipeline

2010-07-31 Thread Daniel Henze
Thanks Kalle and Pierce for your feedback, it's interesting to read a little more about other experiences. I can completely understand the login form issue, something I stopped considering after a short period of time. The tynamo project has some really interesting projects and it seems

T5 Dispatcher: How to correctly order the Pipeline

2010-07-30 Thread Daniel Henze
Hi everyone, I created a Service, contributeded it as Dispatcher to check on request of secured pages (using tapestry-spring-security with @Secured annotation) whether the user profile has all required fields filled out. In case, information is missing, the user is forwarded to his profile

Re: T5 Dispatcher: How to correctly order the Pipeline

2010-07-30 Thread Daniel Henze
Hi Christophe, yes, I have read that article before, but admit that I could not grasp all the details by that time and therefore decided to go with tapestry-spring-security. A lot of knowledge has been gained in between though, so I will re-read and think about option 3 (re-implementing

Re: T5 Dispatcher: How to correctly order the Pipeline

2010-07-30 Thread Daniel Henze
Well, I did have a glance at it the time I was looking for a security solution. But to me it appeared the easiest to go with tapestry-spring-security, mainly due to the ease of initial integration. The documentation of tynamos tapestry-seems to be quite good as well. From looking at the

Quartz Job setup with JobDetails requires parameter free constructor - how to inject Service bindings

2010-07-12 Thread Daniel Henze
Hi there, I am using chenillekit-quartz integration and followed the example setup on the module homepage (http://chenillekit.codehaus.org/chenillekit-quartz/index.html). All good so far, got things up and running. But now I want to run a job that has other services (DAO, MailService) as

Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
Hi there, I installed Tapestry-Spring-Security and followed the installation and configuration advise. But I have no luck as the login does not work for me and always returns Username and/or password was wrong!. There was a recent post about the Bad credentials and it was the wrong

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
Thanks for your reply. Yes, I did check that. And it's ok, lovely long and encrypted passwords. Daniel Am 10.06.2010 09:51, schrieb Christophe Cordenier: Hi I guess you already did it but have you checked if the password is stored in SHA1 ? 2010/6/10 Daniel Henzedhe...@googlemail.com

Re: Authentication error with Tapestry-Spring-Security

2010-06-10 Thread Daniel Henze
The way I encode the password is using the following create method in UserServiceImpl: ... public UserServiceImpl(PasswordEncoder encoder, SaltSource salt, UserDAO userDao, Logger logger, IRoleService roleService) { this.encoder = encoder; this.salt = salt; this.userDao

Re: Authentication error with Tapestry-Spring-Security [SOLVED]

2010-06-10 Thread Daniel Henze
Well, that did help. Somehow, as it left me even more confused at the beginning. Debugging activated, I came to realize, that the loadByUsername method in the UserDetailsServiceImpl never even is called on Login. So, knowing that I started to mock around in the AppModule and pushed things

Coercion error in onActivate

2010-05-29 Thread Daniel Henze
Dear Tapestry Users, I hope someone can help me with that issue, it's bugging me for a while now and I may not be able to see the obvious. In an edit page I am taking the user id as argument, but when calling the url with proper value /user/edit/2 I am getting an exception: Caused by:

Coercion error in onActivate

2010-05-29 Thread Daniel Henze
Dear Tapestry Users, I hope someone can help me with that issue, it's bugging me for a while now and I may not be able to see the obvious. In an edit page I am taking the user id as argument, but when calling the url with proper value /user/edit/2 I am getting an exception: Caused by:

Re: Coercion error in onActivate

2010-05-29 Thread Daniel Henze
:58:55 -0300, Daniel Henze dhe...@googlemail.com wrote: Dear Tapestry Users, Hi! I found a mail from Uli Staerk (http://osdir.com/ml/users-tapestry-apache/2009-01/msg00170.html) where he figured it was due to a hardcoded CSS file, but that's not the case here (using @IncludeStylesheet

Re: Asset service issues in GAE

2010-04-13 Thread Daniel Henze
Hi Alex, thanks for that follow-up post. Since I'm going to develop with T5 on GAE as well, this will be in the back of my head as a potential cave-at. I'll be interested in any further findings regarding GAE since it seems that Tapestry is better tailored towards this particular platform

VerificatonError in Tapestry 5.1.0.5: method: mDECIMAL signature: ()V) Stack size too large

2010-04-07 Thread Daniel Henze
Hi everyone, I'd love to make a contribution to Tapestry with my first mailing to the list, but it's yet another newbie issue. The above issue has apparentely been solved (according to this jira issue: http://issues.apache.org/jira/browse/TAP5-913), but yet no new stable release has been

Failure writing parameter 'value' of component core/PropertyEditBlocks:textfield

2010-03-22 Thread Daniel Henze
Hi there, I am a newbie with Tapestry (and JAVA) and maybe missing something obvious while trying to save the value of an embedded class. Scenario is as follows. User class has embedded property ContactInfo that stores address, email, website and so on. I managed to embed the email field into