Re: [T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread xfile80303
Words of wisdom, Thiago. Thank you very much. Levi Thiago H. de Paula Figueiredo wrote: > > Em Fri, 10 Jul 2009 16:47:27 -0300, xfile80303 > escreveu: > >> Hello all, > > Hi! > >> Could not find a coercion from type >> com.java.dse.cwp.eos.components.webdesign.objects.Tab to type >> com.j

How to set a meta header tag in template?

2009-07-10 Thread learningtapestry
I am using tapestry version 5.1.0.3. I have a basic SiteLayout defined http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ...some css styles... ...some html goes here... Now as someone navigates my site, there is a particular pag

Re: T5 IOC Questions

2009-07-10 Thread Norman Franke
On Jul 10, 2009, at 7:08 PM, Norman Franke wrote: On Jul 10, 2009, at 6:55 PM, Howard Lewis Ship wrote: On Fri, Jul 10, 2009 at 3:27 PM, Norman Franke wrote: First, I have a ton of DAOs that I need to bind the interface to the implementation. I'd like to do this automatically, so I don't hav

Re: T5 IOC Questions

2009-07-10 Thread Norman Franke
On Jul 10, 2009, at 6:55 PM, Howard Lewis Ship wrote: On Fri, Jul 10, 2009 at 3:27 PM, Norman Franke wrote: First, I have a ton of DAOs that I need to bind the interface to the implementation. I'd like to do this automatically, so I don't have to keep modifying my AppModule for each DAO I cr

Re: T5 IOC Questions

2009-07-10 Thread Howard Lewis Ship
On Fri, Jul 10, 2009 at 3:27 PM, Norman Franke wrote: > First, I have a ton of DAOs that I need to bind the interface to the > implementation. I'd like to do this automatically, so I don't have to keep > modifying my AppModule for each DAO I create. What's the best way to go > about this? I figure

Re: [T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread Howard Lewis Ship
Any top-level class under components is considered to be a component and will be loaded in a special class loader. This causes a problem when an instance is created by the normal class loader and passed into a comopnent, which has a distinct Class instance. Create a different package for objects o

Re: [T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread Juan E. Maya
Levi, did u try to do what Thiago suggested? The class Tab is not a component therefore it shouldn't be inside the component packet. On Sat, Jul 11, 2009 at 12:16 AM, xfile80303 wrote: > > The more I look at this the more it looks like a classloader issue.  As in, > my classes are being loaded by

T5 IOC Questions

2009-07-10 Thread Norman Franke
First, I have a ton of DAOs that I need to bind the interface to the implementation. I'd like to do this automatically, so I don't have to keep modifying my AppModule for each DAO I create. What's the best way to go about this? I figure if I can somehow get a ClassNameLocator instance, I co

Re: [T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread xfile80303
The more I look at this the more it looks like a classloader issue. As in, my classes are being loaded by two different classloaders which do not inherit from one-another. Any bells ring for folks? Levi -- View this message in context: http://n2.nabble.com/-T5.1--Coercion-Class-mismatch-error-

Re: [T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread Thiago H. de Paula Figueiredo
Em Fri, 10 Jul 2009 16:47:27 -0300, xfile80303 escreveu: Hello all, Hi! Could not find a coercion from type com.java.dse.cwp.eos.components.webdesign.objects.Tab to type com.java.dse.cwp.eos.components.webdesign.objects.Tab. Classes that are under the components, pages, or mixins package

Re: T5 : Dependant dropdown boxes

2009-07-10 Thread newtonik
I am also about to try to implement it. Has anyone out there done this. If you have, please share tips and samples. Javascript in Tapestry is not as simple as we would like. Thanks. -- View this message in context: http://www.nabble.com/T5-%3A-Dependant-dropdown-boxes-tp15760811p24433504.html Se

[T5.1] Coercion/Class mismatch error (a real headbanger)

2009-07-10 Thread xfile80303
Hello all, I'm seeing a very odd behavior I could really use some assistance with. The base error I'm getting is: Could not find a coercion from type com.java.dse.cwp.eos.components.webdesign.objects.Tab to type com.java.dse.cwp.eos.components.webdesign.objects.Tab. Which is pretty odd, especi

Re: how does PageElementFactory, ComponentPageElement/instantiatorSource etc.. work?

2009-07-10 Thread hari ks
Hi Thiago, I didn't go through that link. That seems sufficient. Yes, rest all can be debugged from tapestry source.. Thank you, Hari --- On Sat, 7/11/09, Thiago H. de Paula Figueiredo wrote: > From: Thiago H. de Paula Figueiredo > Subject: Re: how does PageElementFactory, > ComponentPa

Re: Generating graphs with dynamic datasource

2009-07-10 Thread Thiago H. de Paula Figueiredo
Em Fri, 10 Jul 2009 15:23:13 -0300, Ignacio González Arboleya escreveu: Hello everybody, Hi! Me again . . . What kind of library should I use to do this?? I've thought about BIRT but I don't know how to integrate it with Tapestry and .tml files... I have also read about FLOT and

Re: how does PageElementFactory, ComponentPageElement/instantiatorSource etc.. work?

2009-07-10 Thread Thiago H. de Paula Figueiredo
Em Fri, 10 Jul 2009 15:57:34 -0300, hari ks escreveu: hi, Hi! What is the sequence of flow between PageElementFactory, ComponentPageElement/ComponentinstantiatorSource etc.. and other important classes to understand the render phase.. You can download the Tapestry source, put some b

Re: Generating graphs with dynamic datasource

2009-07-10 Thread Thiago H. de Paula Figueiredo
Em Fri, 10 Jul 2009 15:45:42 -0300, Juan E. Maya escreveu: Hi Ignacio, u may want to check chenille's kit chart component: http://www.chenillekit.org/demo/tapcomp/chartdemo or a more manual approach in the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage I would li

how does PageElementFactory, ComponentPageElement/instantiatorSource etc.. work?

2009-07-10 Thread hari ks
hi, What is the sequence of flow between PageElementFactory, ComponentPageElement/ComponentinstantiatorSource etc.. and other important classes to understand the render phase.. Is the render phase alone responsible for all rendering (JSF seems to put everything in one object and loop throug

Re: Generating graphs with dynamic datasource

2009-07-10 Thread Juan E. Maya
Hi Ignacio, u may want to check chenille's kit chart component: http://www.chenillekit.org/demo/tapcomp/chartdemo or a more manual approach in the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreatePieChartsInAPage 2009/7/10 Ignacio González Arboleya : > Hello everybody, > >        My name

Generating graphs with dynamic datasource

2009-07-10 Thread Ignacio González Arboleya
Hello everybody, My name is Nacho and I am making a project since I am finishing studying Computer Sciences Engineering. I am making a web application with JAVA POJO TECHNOLOGIES (tapestry 5 + hibernate), and now I find myself in the following situation: In my code (.java file) I

Stale sessions and recovering from same in T4.1.6

2009-07-10 Thread Tony Giaccone
Hi,I'm looking for a little guidance on how to solve the following problem. *First the description:* The first thing to note, is that our apps all live behind SiteMinder, so that when a users arrives at our application they have already been through the credential validation process and the remo

t:errors renders although...

2009-07-10 Thread Borut Bolčina
Hi, logger.debug("errors:{}",form.getHasErrors()); says "false", but the is still displayed (just the default-banner). Why? Using T5.0.18 Cheers, Borut

Re: Is tapestry the right for me?

2009-07-10 Thread Thiago H. de Paula Figueiredo
On Fri, Jul 10, 2009 at 7:02 AM, Stefan wrote: > That sounds fine. :) > After some further reading i will try something around with the grid > component. Is it (again) possible without JSF-like terror to combine grid and > form? I've done a form that edit a list of objects displayed in a Grid wit

Injecting Tapestry services into Spring beans

2009-07-10 Thread Henning Petersen
Hi everybody, I'm trying to inject two services from Tapestry-Spring-Security into a Spring bean, using Tapestry 5.1.0.5 and Spring 2.5.6-SEC01. The way I think this should work is this: public class PasswordChangeServiceImpl implements PasswordChangeService { @Inject pr

Re: [T5.0.18] Bug? : Null property problem with the custom component inside a grid

2009-07-10 Thread Marcus Veloso
Hi Howard, > "In fact, if you look at the rendered URL you'll see that every time > the Image component rendered, it rendered the same URL." Yes, it's always the same image (the last one) in grid component. > "The solution is to use event context to identify the book, or in some > other way, iden

Testify + Testng

2009-07-10 Thread Juan E. Maya
I have been playing with Testng and the Testify library but i am having a small issue. It seems that the injection of services occurs after the @BeforeSuite. For example in the following code, defaultDataCommandManager is null when the test enters the BeforeSuite method. However the property is in

Re: Re: ActionLink in bundle message

2009-07-10 Thread nille hammer
Hi Kai, instead of ActionLink use EventLink, if you can. The tml would look like: more more I´d use a more "eventish" name for the event. How about "detailClicked"? Regards, nillehammer == http://www.winfonet.eu - original Nachricht Betreff: Re: ActionLink in bundle message Gesende

Re: Is tapestry the right for me?

2009-07-10 Thread Stefan
That sounds fine. :) After some further reading i will try something around with the grid component. Is it (again) possible without JSF-like terror to combine grid and form? What i need to have is the possibility to setup a grid with e.g. components in the cells. (first column labels, 2..n

Re: Tapestry5 and SEO

2009-07-10 Thread Andy Pahne
Howard Lewis Ship schrieb: Good points. There are two conflicting demands from the community: First, that everything should work, and work well (and fast) out of the box. Second, that everything be customizable. When resolving such conflicts, I will tend to favor the first (work and work well w