Re: [T5] Using a Mixin on a Label component

2008-06-17 Thread Kristian Marinkovic
AFAIK this is not possible see also https://issues.apache.org/jira/browse/TAPESTRY-1764... vote for it :) g, kris SergeEby <[EMAIL PROTECTED]> 17.06.2008 21:23 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: [T5] Using a Mixin on a Label component

Re: Issue with Grid component

2008-06-17 Thread Kristian Marinkovic
Hi ravindra, configuring your Hibernate (DB) with Spring is fine. tapestry-hibernate is an alternative way to use hibernate in your tapestry 5 application directly without needing spring. it adds some convenience functions that otherwise have to be coded manually (nice integration with the We

Re: T 5.0 - class style actionlink

2008-06-17 Thread Joost Schouten (ml)
If I understand you correctly you can achieve your goal without any tapestry code. The following conventional css will do it. Have a look at: http://www.w3schools.com/CSS/css_pseudo_classes.asp in your css: a.linkClass{ color:black; } a.linkClass:visited, a.linkClass:active{ color:blue; }

Re: Issue with Grid component

2008-06-17 Thread raveendra
Thanks Kristian, That solved my problem.I have removed tapestry-hibernate.jar from my class path and it isn't asking for hibernate.hbm.xml. But i have a question.We have connected to DB by configuring the tapestry-spring module. Now we don't have tapestry-hibernate.jar in our class p

T5.0.11 deadlock (resend including stacktrace :-)

2008-06-17 Thread mailinglist
Hi All! (resend because of missing/forgotten stacktrace which made the original mail a bit useless. sorry for this and thanks to Josh for the hint) We encountered a deadlock situation using T5.0.11 under heavy load. Unfortunately we do not have the detailed knowledge about all T5/javassist

configuring a service for shutdown notification

2008-06-17 Thread eduardo cavalcanti
Hi, I have defined a service in AppModule: public static void bind(ServiceBinder binder) { binder.bind(DataService.class, DataServiceImpl.class); ... It it uses db4o. The db file is open, assigned to a façade object, and by the end a close() method must be issued, in order to restart

Re: T 5.0 - format grid column

2008-06-17 Thread Marcus
Hi Mdmota, http://code.google.com/p/myt5lib/ Marcus

T 5.0 - class style actionlink

2008-06-17 Thread mdmota
I create a actionlink, how i do for alter style class when i click on actionlink? -- View this message in context: http://www.nabble.com/T-5.0---class-style-actionlink-tp17958195p17958195.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

T 5.0 - format grid column

2008-06-17 Thread mdmota
I need format parameter for component grid with mask ###.###.###-##. In the moment display values in format number ex: 06574185224, but i need display 065.741.185-24. What i can use for that? thanks -- View this message in context: http://www.nabble.com/T-5.0---format-grid-column-tp17958099p17

tapestry5-coponent 5.0.13 With tapestry 5.0.11

2008-06-17 Thread 滕训华
tapestry5-coponent 5.0.13 does not work with tapestry 5.0.11,does’t it? I copy the t5c-commons-0.5.13.jar and t5c-contrib-0.5.13.jar into my lib directory, and my tapestry version is t5.0.11,when I start my tomcat server it gives me a error: 2008-6-18 9:07:17 org.apache.coyote.http11.Http1

Re: Tapestry 5- the Sagrada Familia church building?

2008-06-17 Thread Howard Lewis Ship
Two years ago, Tapestry had some dependencies on AspectJ but those are long gone. We just had a .13 release yesterday, and a .14 release is likely soon, and will probably be the release candidate. Tapestry is designed to be an integration platform as well as a web framework; that's just the natur

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
Do the t5Components 5.0.13 really can work with t5.0.11? But I found that org.apache.tapestry5. is used as the importing package names of the t5components 5.0.13 source. tapestry 5.0.11 's package name is org.apache.tapestry,while only tapestry 5.0.13 's package name is org.apache.ta

Re: Id not generated for actionlinks in grid ...

2008-06-17 Thread Joost Schouten (ml)
I believe this is intended and I personally like it. Frameworks tend to hijack the DOM id too often. I ran into the same problem though and found the following Mixin: public class DomIdPrinter { @Parameter(value = "prop:componentResources.id", defaultPrefix = "literal") private Stri

JettyRunner's contextpath in Tap5's AbstractIntegrationTestSuite

2008-06-17 Thread Jim Tomlinson
Any thought to allowing the test auther to set the desired webapp context-path in AbstractIntegrationTestSuite's JettyRunner member? We're having a bit of trouble because we can't (it's currently hardcoded to "/"), as our authorization scheme looks at the context path (we'll have multiple appli

t5-components ratingField validation

2008-06-17 Thread Toby Hobson
I am trying to add validation to a ratingField, I was assuming it bahaved similar to a radioGroup but I can't seem to add validation to the field. I have a property on my page with getters and setters: private Integer rating; @validate("required") public Integer getRating() { } ... my templat

Re: [T5] Using a Mixin on a Label component

2008-06-17 Thread SergeEby
Yeah, but I don't really need a new one, I just wanted to reuse the parameter passed to the label :( /Serge Lance Java wrote: > > If you read the next sentence: > "Alternately, you may prefix the name of the parameter with the > *unqualified > * name of the Mixin class; this eliminates the am

Id not generated for actionlinks in grid ...

2008-06-17 Thread Glenn Sudduth
I upgraded my project to T5 v5.0.13 from .11 this morning. This was a very smooth upgrade except for one issue which has caused some breakage in my integration tests. This (slightly simplified) code in .11 Edit ... generates HTML anchor which includes an id ... Edit E

Re: Strange behavior when instantiating properties directly in the page

2008-06-17 Thread Dave Dombrosky
I also came across this issue. It was very tricky to troubleshoot. I have added a documentation bug to JIRA so that other people can avoid this problem. Here is the link to the issue: https://issues.apache.org/jira/browse/TAPESTRY-2463 -Dave On Tue, Jun 17, 2008 at 1:16 AM, Dmitry Shyshkin <[E

T5: Getting a List from a component

2008-06-17 Thread Brendan McNichols
Hi All, I have a element set up as follows: In my User entity, I have the following code: ... @DataType(value = "com.uievolution.blender.serviceinterface.entities.Company") public Company getCompany() {

Re: [ANN] JumpStart 3.7: for Tapestry 5.0.13

2008-06-17 Thread maxthesecond
That's attitude man! I'm allways amazed by your readines and the quality of your guidance, you are a headlight for the poor average "let's try tapestry once more again" programmer. Best wishes and thanks! Well, you, and many others Geoff Callender-2 wrote: > > > As always, comments and s

[T5] Link generation with alternative views (Rest API)

2008-06-17 Thread Axel Mannhardt
Parallel to a Tapestry view we provide a Rest API (Jersey) interface, that needs links referencing pages of the Tapestry view as well. What would be the appropriate way to generate links to Tapestry pages? At the moment we think about using the ComponentClassResolver (and maybe even ComponentReso

RE: T5: "No root element has been defined."

2008-06-17 Thread Brendan McNichols
I fixed the problem. For the record, to help someone else making the same upgrade, I needed to update the package name for the TapestryFilter in the web.xml -Original Message- From: Brendan McNichols [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 6:45 PM To: users@tapestry.apache.

Re: [T5] @CommitAfter is missing

2008-06-17 Thread Grigoris Ioannou
Ok, solved, I upgraded to T5.0.13 and it seems to be working for now. Grigoris On Fri, Jun 13, 2008 at 1:25 PM, Grigoris Ioannou <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to add a DAO layer in my application, using the sample code > provided at: > > > http://tapestry.formos.com/nightl

Re: [T5] Using a Mixin on a Label component

2008-06-17 Thread Lance Java
If you read the next sentence: "Alternately, you may prefix the name of the parameter with the *unqualified * name of the Mixin class; this eliminates the ambiguity." So you can use I haven't tried this tho :) On 17/06/2008, SergeEby <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am trying to use a

Re: T5 firefox IE7

2008-06-17 Thread Fernando Padilla
actually, with any luck stripped down versions might also be useful within FBJS (facebook javascript). It's worth a try. Steven Woolley wrote: I'd love to have this stripped prototype when you getba chance. Steve On Jun 15, 2008, at 10:13 AM, "Davor Hrg" <[EMAIL PROTECTED]> wrote: actualy

Re: Tapestry5 and new Window

2008-06-17 Thread Sven Homburg
t5components 5.0.13 cant used with tapestry 5.0.11 2008/6/17 滕训华 <[EMAIL PROTECTED]>: > From the processing can not find any exception. > > > My enviroment is :spring+spring-acegi+hibernate+tapestry. > > and I found that the t.5.011(now i am using) package name is > org.apache.tapestry > > but th

[T5] Using a Mixin on a Label component

2008-06-17 Thread SergeEby
Hi, I am trying to use a mixin to decorate the label component based on the embedded Field component. Since that field is not accessible, I thought I could use a parameter (like in the Label component) after reading the following: "If the component and a mixin both define a parameter with the sa

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
From the processing can not find any exception. My enviroment is :spring+spring-acegi+hibernate+tapestry. and I found that the t.5.011(now i am using) package name is org.apache.tapestry but the t.5.0.14 is org.apache.tapestry5,is this error related with this point? The console info

orbeon xform

2008-06-17 Thread t
anyone of you using orbeon xform with tapestry together in any of your project? can share some of experience of integrating both together. what area of widget that do you think very feasible to use xform inside tapestry? - To

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
My enviroment is :spring+spring-acegi+hibernate+tapestry. It can not clear exception ,but i found that the t.5.011(now i am using) package name is org.apache.tapestry but the t.5.0.14 is org.apache.tapestry5,is this error related with this point? The console information when start the

Re: Tapestry5 and new Window

2008-06-17 Thread Sven Homburg
send us the thrown exception 2008/6/17 滕训华 <[EMAIL PROTECTED]>: > I made some test,perhaps because of my new tapestry 5.0.13 jars ,I made > several times from the source,but it still had the problem. > > Do yo have the compiled jar files,can you send it to me.My email > is:[EMAIL PROTECTED] <[EMA

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
I made some test,perhaps because of my new tapestry 5.0.13 jars ,I made several times from the source,but it still had the problem. Do yo have the compiled jar files,can you send it to me.My email is:[EMAIL PROTECTED],I am very appreciate to you. - Original Message - From: "滕训华" <[EMA

Re: T5.0.13 Available

2008-06-17 Thread maxthesecond
It was not so hard I change the poum Tapestry version II change imports by adding a 5 before tapestry III change the log4j references of tapestry packages acordingly. IV--->latest but not list change the web.xml to contain tapestry5.TapestryFilter and thats it -- View this message in context:

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
Yes,i have put the t5c-contrib-0.5.13 into to lib directory,It still give me the same error. - Original Message - From: "Sven Homburg" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Tuesday, June 17, 2008 10:41 PM Subject: Re: Tapestry5 and new Window > have you included the t5c-contri

Tapestry client side validation customization

2008-06-17 Thread Ciaran Wood
I¹ve been looking into customization of the Tapestry client side validation (those funky little error bubbles) and have a few questions! So far, I¹ve been able to override the graphic for the bubbles, modify the css and positioning of the bubbles. I¹m looking for ways to override what events the v

Re: Tapestry5 and new Window

2008-06-17 Thread Sven Homburg
have you included the t5c-contrib-0.5.13.jar into your classpath too? 2008/6/17 滕训华 <[EMAIL PROTECTED]>: > Hi,Sven, >It's so awful,when i copy the t5c-commons-0.5.13.jar into /WEB-INF/lib > directory,when i start the tomcat server in elipse,it will give me an error: > >2008-06-17 22:27:42

Re: Tapestry5 and new Window

2008-06-17 Thread 滕训华
Hi,Sven, It's so awful,when i copy the t5c-commons-0.5.13.jar into /WEB-INF/lib directory,when i start the tomcat server in elipse,it will give me an error: 2008-06-17 22:27:42,742 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization complete

Re: What's new with 5.0.13 and Groovy

2008-06-17 Thread Hugo Palma
You're right, i read the issue as if it was fixed so that Groovy classes could not be used as components and not the other way around. And issue 2425 looks good also for Groovy support. Thanks. Tobias Wehrum wrote: Why should fixing the bug "Groovy classes can no longer be used as component cl

[ANN] JumpStart 3.7: for Tapestry 5.0.13

2008-06-17 Thread Geoff Callender
Hi all, JumpStart 3.7 is now available. It's for Tapestry 5.0.13. New in this release: * Custom Javascript Mixin - an example that tackles the problem of duplicate submits. You'll find it at: http://files.doublenegative.com.au/jumpstart As always, comments and suggestions are

Re: What's new with 5.0.13 and Groovy

2008-06-17 Thread Tobias Wehrum
Why should fixing the bug "Groovy classes can no longer be used as component classes because of the public metaClass field" make it harder to work with Groovy and Tapestry? Anyway... maybe https://issues.apache.org/jira/browse/TAPESTRY-2425 ? Hugo Palma schrieb: The news item for 5.0.13 state

Re: Tapestry 5- the Sagrada Familia church building?

2008-06-17 Thread Thiago H. de Paula Figueiredo
Em Tue, 17 Jun 2008 10:40:26 -0300, Menno Kok <[EMAIL PROTECTED]> escreveu: It is true that Tapestry 5 final never will release? No. It look like always there is some new thing. New good things. :) Yesterday it was building inside aspectJ, i see from the post. It was a great improvem

Tapestry 5- the Sagrada Familia church building?

2008-06-17 Thread Menno Kok
People, It is true that Tapestry 5 final never will release? It look like always there is some new thing. Yesterday it was building inside aspectJ, i see from the post. Today it is building inside Groovy, I read from the net. Tomorrow it is building inside .NET? And it goes on? That is bad. Th

Re: T5 firefox IE7

2008-06-17 Thread Steven Woolley
I'd love to have this stripped prototype when you getba chance. Steve On Jun 15, 2008, at 10:13 AM, "Davor Hrg" <[EMAIL PROTECTED]> wrote: actualy ff is sluggish also, I way annoyed with it some time ago until FF3 ff3 is blazing fast with js.. but this no excuse to ignore this. ff2 was quick t

What's new with 5.0.13 and Groovy

2008-06-17 Thread Hugo Palma
The news item for 5.0.13 states: "It also makes it easier to use Tapestry with Groovy" Can someone detail this a little more ? What changed to make it easier ? I can only find one bug in the release notes related to Groovy(https://issues.apache.org/jira/browse/TAPESTRY-2240) but this seems to

Re: Google API && Tapestry

2008-06-17 Thread Hugo Palma
You can use GoogleAPI from Tapestry using the Java examples provided by Google. There's nothing specific to Tapestry for using that API. IT.Adviser wrote: Is there are any examples with GoogleAPI usage throught Tapestry? Can you gice me such examples, or link?

Google API && Tapestry

2008-06-17 Thread IT.Adviser
Is there are any examples with GoogleAPI usage throught Tapestry? Can you gice me such examples, or link? -- View this message in context: http://www.nabble.com/Google-APITapestry-tp17898838p17898838.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

[T5] multiple applications sharing one registry

2008-06-17 Thread Harald Geritzer
hi all, i wonder, if this is possible. i am working on some sort of portal-application which should be able to host different subportals. each portal should have its own startpage but i would like to have one shared tapestry registry. any ideas? ty harald ---

Re: [T5] Cleaning page's persistent field

2008-06-17 Thread Marcelo Lotif
Nice! Works perfectly! I got it all with one single line(i.e. way better than my last solution...) Thanks! 2008/6/16 Howard Lewis Ship <[EMAIL PROTECTED]>: > You can cheat by taking a page instance, casting it to Component (or > to ComponentResourcesAware) and getting it's ComponentResources tha

Re: [T5] How to get the enclosing page from a component ?

2008-06-17 Thread José Paumard
Many thanks for your answers. J. Cordenier Christophe a écrit : Hello Inject a 'ComponentResources' in your component, and call getPage() on it to obtain a reference to the enclosing page. Christophe. -Message d'origine- De : José Paumard [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 j

RE: [T5] How to get the enclosing page from a component ?

2008-06-17 Thread Cordenier Christophe
Hello Inject a 'ComponentResources' in your component, and call getPage() on it to obtain a reference to the enclosing page. Christophe. -Message d'origine- De : José Paumard [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 juin 2008 13:09 À : users@tapestry.apache.org Objet : [T5] How to ge

Re: [T5] How to get the enclosing page from a component ?

2008-06-17 Thread Sven Homburg
@Inject private ComponentResources resources; 2008/6/17 José Paumard <[EMAIL PROTECTED]>: > Hello all, > > Sorry for asking such a question, that looks like a FAQ, but I couldnt find > the answer. > Is there a way for a component to get a reference of its enclosing page ? > > Thank you,

[T5] How to get the enclosing page from a component ?

2008-06-17 Thread José Paumard
Hello all, Sorry for asking such a question, that looks like a FAQ, but I couldnt find the answer. Is there a way for a component to get a reference of its enclosing page ? Thank you, José - To unsubscribe, e-mail: [EMAIL P

T5.0.13 Available

2008-06-17 Thread maxthesecond
I expected the upgrade to be done merely by changing my version of tapestry in the pom.xml file. I'm I right or wrong? The pom generated when runing tutorial1 with maven I've noticed in the past that the source files get not downloaded So wich is the standard way to proceed? Thanks -- View this

Re: Issue with Grid component

2008-06-17 Thread Kristian Marinkovic
no. but if you use tapestry-hibernate you have to have a hibernate.cfg.xml (hibernate.jar) file somewhere more details: if you use tapestry-hibernate it will contribute ValueEncoder for your entities. this allows you to use entities in SelectModels and in templates (forms) more easily and more e

Issue with Grid component

2008-06-17 Thread raveendra
Hi T5 guys, We have chosen T5 for our new project.I am trying to develop a screen using Grid component.I am not connecting to database just displaying the list of callSummaryBean' s (just creating the beans with some data in my page class) using below tag. My question is why is it asking for

Re: Tapestry 5.0.11 - Selecting elements causes Exception in ValueEncoderSource

2008-06-17 Thread Sven Homburg
if you inject tapestry's hibernate jar, you MUST add a hibernate distribution also because tapestry found the tapestry5-hibernate.jar and want to create a hibernate sessionfactory but found no hibernate3.jar in classpath. if you dont work with hibernate,remove the tapestry5-hibernate.jar from your

Re: Tapestry5 and new Window

2008-06-17 Thread Sven Homburg
the window component based on http://prototype-window.xilinus.com/ 2008/6/17 Partogi, Joshua <[EMAIL PROTECTED]>: > Hi Sven, > > That looks so cool. Did you use ext-js for this? > > best regards, > > -Original Message- > From: Sven Homburg [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16

Re: Tapestry 5.0.11 - Selecting elements causes Exception in ValueEncoderSource

2008-06-17 Thread Tommyboy66
Thanks for your reply Kristian, the problem is that most of the other components in this aplication works well with this settings (with the tapestry-hibernate in classpath) but the dropdown works only without it. I think this is really curious, because the dependencies (hibernate) should be conta