Re: [Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-24 Thread Dmitry Gusev
This is cool. Is it possible to make query parameter name not the same as java field name? URLs parameters usualy have different naming sceme (using dashes and underscores)... On Fri, Jun 25, 2010 at 06:00, Howard wrote: > I just checked in some very nice changes for Tapestry 5.2; you can now

Re: BeanDisplay customisation (long lines wrapping)

2010-06-24 Thread peter ricke
Hi Jim, I had the same problem, following css solved it DL.t-beandisplay DD { display: table-cell; } thanks Peter There's probably some CSS that would do it, but I spent an hour or so playing with the CSS and gave up. Maybe some combination of float / width / overflow / display would do

[Tapestry Central] Tapestry 5.2: Improved Query Parameter Support

2010-06-24 Thread Howard
I just checked in some very nice changes for Tapestry 5.2; you can now easily store data about a page in the URL as query parameters: @QueryParameterMapped private String name; By annotating a page (not a component!) field this way, the field will be mapped to the query parameter "name". When a pa

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-06-24 Thread SakshiAgarwal
Thanks a lot..now this works for me...I am so happy about it as I have been struggling through it since many days... my another doubt is - if i replace submit component with linksubmit; my javascript method onclick is not getting invoked... Whereas, if i use JSON or mixin my script is invoked

Re: Accessing tapestry's hibernate instance from a quartz job

2010-06-24 Thread Kalle Korhonen
Chenillekit provides Quartz integration module - http://chenillekit.codehaus.org/chenillekit-quartz/index.html. Been using it for more than a year now. Kalle On Thu, Jun 24, 2010 at 7:32 PM, Howard Lewis Ship wrote: > Well, within a single JVM, Tapestry IoC service proxies will serialize > and

Re: Accessing tapestry's hibernate instance from a quartz job

2010-06-24 Thread Howard Lewis Ship
Well, within a single JVM, Tapestry IoC service proxies will serialize and de-serialize correctly. So, you can inject the Session into some code that creates a Quartz job, storing the Session in an instance variable. However, you'll miss out on a few things; you need a wrapper around executing Qua

Accessing tapestry's hibernate instance from a quartz job

2010-06-24 Thread Stephen Hogarth
I have a T5 application connected to a database using hibernate working fine. To perform background operations on the database, I have a quartz scheduler servlet included in the same project that calls the background job as expected. I would like to get an instance of tapestry's hibernate sessio

Re: T5: Dashboard Application

2010-06-24 Thread Scyta1e
Thanks for the feedback - I believe I have immplemented the strategy described using the ComponentSource method (as opposed to using blocks) in the previous thread. The problem I'm seeing is that I have a component that is rendered 3 times on a page with a different panel context An example of on

Re: Updating a Zone with Actionlink doesn't work (Return type can not be handled)

2010-06-24 Thread Jonathan Barker
You need to make sure that the form's zone parameter is set to the id and not just the t:id of the Zone. I started generating my own xml id's from a root name and the actual database id of the object I was about to use. I can't speak to mixing in the custom javascript, except that when the Ajax s

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Howard Lewis Ship
Actually, decorators are used when you know, and compile time, what interface the service implements and you want to provide a specific object, implementing that interface, as the interceptor (the wrapper around the core service implementation). Advice is used when you want to dynamically analyze

Layout Component

2010-06-24 Thread tux4ever
Dear listeners! I have a module with pages and components which is used by some other applications. Every application has its own style, defined in a layout component. Is there a possibility that this module can use the layout component of every other application at runtime? For better understan

BeanEditor Listener

2010-06-24 Thread Eldred Mullany
Hi Everyone I want to know if there is a way that I can take an original bean object i.e. User which gets passed to component BeanEditForm, then when certain values are changed in the bean, the on Validate method will ONLY call the applicable validation methods for the fields values that have

Logging to file problem

2010-06-24 Thread LiborGMC
Hi there, I'm struggling with logging in my appl. I'm able log my messages to Console but not able to write my messages to file. Strange is that messages are logged to file from Tapestry and Spring but my own messages are missing there. So in log file are only internal messages from Tapestry, Spri

decorateClientInfrastructure not called anymore

2010-06-24 Thread Christian Koller
Hi 14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding module definition for class net.netm.portals.tapestry.example.services.TapestryExampleModule 14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding coercion thats what I see in the stack on startup. No errors

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
Hi Are your services loaded ? Is your module class correctly loaded (see stack on startup) 2010/6/24 Christian Koller > Hi > > I tried to decorate ClientInfrastructure. With the old tapestry version it > was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT > afterwards the met

decorateClientInfrastructure not called anymore

2010-06-24 Thread Christian Koller
Hi I tried to decorate ClientInfrastructure. With the old tapestry version it was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT afterwards the method wasn't called anymore. Also i tried with the PageTemplateLocator public PageTemplateLocator decoratePageTemplateLocator(final

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
oups i should read the title :) 2010/6/24 Christophe Cordenier > Hi > > Which service are you trying to decorate ? > > 2010/6/24 Christian Koller > > Hi kris >> >> Thank you for your response. >> I'll try out Advisors now. Still decoration isn't working for me. >> Has someone faced the same pro

Re: decorateClientInfrastructure not called anymore

2010-06-24 Thread Christophe Cordenier
Hi Which service are you trying to decorate ? 2010/6/24 Christian Koller > Hi kris > > Thank you for your response. > I'll try out Advisors now. Still decoration isn't working for me. > Has someone faced the same problem? > > thx > chris > > > On 24.06.2010, at 12:24, Kristian Marinkovic wrote:

decorateClientInfrastructure not called anymore

2010-06-24 Thread Christian Koller
Hi kris Thank you for your response. I'll try out Advisors now. Still decoration isn't working for me. Has someone faced the same problem? thx chris On 24.06.2010, at 12:24, Kristian Marinkovic wrote: > Hi Christian, > > Advices have been introduced in 5.1 to replace decorators. > please see:

RE: decorateClientInfrastructure not called anymore

2010-06-24 Thread Kristian Marinkovic
Hi Christian, Advices have been introduced in 5.1 to replace decorators. please see: http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html the 5.2-SNAPSHOT documentation does not state that decorators are not supported anymore. the last time i was playing with 5.2 (some weeks ago) my

Calling all Tapestry Developers

2010-06-24 Thread Gamesys Jobs
Hi all, I would just like to get the message out to all Tapestry developers and fans that we are recruiting for Java / Tapestry people to join our ever growing technical development team based in central London (Piccadilly Circus). We are Gamesys Ltd, an award winning online gaming company of wh

Re: Wanted: example of AJAX in a client-side validator

2010-06-24 Thread Geoff Callender
I've knocked up a solution, a reusable mixin called AjaxValidate. It's loosely based on Inge's ZoneUpdater and OnEvent (many thanks, Inge). Please post suggestions on how to improve it! Example of usage: ...and in your page or component: Object onAjaxValidateFromFirstName() {

Re: Wanted: example of AJAX in a client-side validator

2010-06-24 Thread Geoff Callender
That's a shame. See what you think of the solution I will post shortly. Similar, or a different tack? On 24/06/2010, at 3:08 AM, Howard Lewis Ship wrote: > I have some examples of fields that check that a user name or email > address is unique, but its too tied into the rest of my apps code to >

Re: Form and session

2010-06-24 Thread Ɓukasz Jazgar
2010/6/24 Josh Canfield > Yes, this is a problem. I believe there is already a jira filed but can't > search right now. > > I had a workaround for 5.1.18 but doesn't work in current > versions... > Yes, I found it: https://issues.apache.org/jira/browse/TAP5-979 Fixed in 5.2. I hope it will be re