Re: Component parameter

2007-03-12 Thread Urban Sombrero
How about: "ognl:{'item1','item2','item3'}" You can use single quotes for strings in ognl. On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote: What I wanted is to pass a list of strings - To unsubscribe, e-mail: [EMAIL PROT

Re: Component parameter

2007-03-12 Thread Tomić Mirko
What I wanted is to pass a list of strings - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Component parameter

2007-03-12 Thread Tomić Mirko
Sorry for posting twice :( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Component parameter

2007-03-12 Thread Urban Sombrero
How about this: See http://www.ognl.org/basicExpressions.html, under "List Construction". Travis On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote: How I can pass a list, as a parameter to component, directly from page file, with ognl expression, without using java co

Component parameter

2007-03-12 Thread Tomić Mirko
How I can pass a list, as a parameter to component, directly from page file, with ognl expression, without using java code. Something like Item1, Item2, Item3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Component parameter question

2007-03-12 Thread Tomic Mirko
How to pass a list directly to a component as a parameter with ognl expression from page file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [WARNING] [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
Thanks Howard, that works. Howard Lewis Ship wrote: > > Sorry, that was SVN trunk code (i.e., 5.0.3-SNAPSHOT), for 5.0.2 the > service id is "tapestry.ioc.ThreadCleanupHub". > > On 3/12/07, Weisu <[EMAIL PROTECTED]> wrote: >> >> Thanks Howard, but I got this msg: Error invoking service builder

ForBean: 4.1 to 4.1.1

2007-03-12 Thread Robert J. Walker
I just upgraded from Tapestry 4.1 to 4.1.1. Now I'm having some problems with the For component. It seems that it was changed so that it stores the source list in hidden fields in the page and uses the stored version on rewind. I can understand why this might be useful, since it could be problem

Re: [WARNING] [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Howard Lewis Ship
Sorry, that was SVN trunk code (i.e., 5.0.3-SNAPSHOT), for 5.0.2 the service id is "tapestry.ioc.ThreadCleanupHub". On 3/12/07, Weisu <[EMAIL PROTECTED]> wrote: Thanks Howard, but I got this msg: Error invoking service builder method com.mainco.ellipse.services.AppModule.buildEllipseSession(Thr

Re: [WARNING] [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
Thanks Howard, but I got this msg: Error invoking service builder method com.mainco.ellipse.services.AppModule.buildEllipseSession(ThreadCleanupHub) (for service 'app.EllipseSession'): Service 'app.ThreadCleanupHub' does not exist. This is my code: @Lifecycle("perthread") public static EllipseSess

Re: [T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Howard Lewis Ship
It tends to look like this: @Lifecycle("perthread") public static HibernateSessionManager build(@InjectService("HibernateSessionSource") HibernateSessionSource sessionSource, @InjectService("ThreadCleanupHub") ThreadCleanupHub threadCleanupHub) { HibernateSessionManagerImp

[T5]Ioc-Perthread service lifecycle

2007-03-12 Thread Weisu
Hi, I am try to create a perthread service, the following lines are in the module builder class, how and where can I define cleanupThread() method? @Lifecycle("perthread") public static EllipseSession buildEllipseSession() { return new EllipseSessionImpl(); } Thanks. -- View this message in con

Re: serve html from packaged component?

2007-03-12 Thread Julian Wood
Thanks Andy, That worked perfectly. J On 10-Mar-07, at 12:29 PM, andyhot wrote: Express the folder you're interested in as an IAsset... Then do .buildURL() on it and somehow pass the result to your javascript... That's how AjaxShellDelegate includes dojo and its root folder ... BUT since

Re: T5 - Context parameters and style sheets links

2007-03-12 Thread Howard Lewis Ship
This is a conscious decision, that you will know early on what the context path will be. The effort to avoid this in T4, using a tag, caused far more problems than it solved. A solution using query parameters is likewise: it makes your site off-limits to any kind of search engine, and it tends

Re: T5 - Context parameters and style sheets links

2007-03-12 Thread D&J Gredler
I've never had to operate out of a context other than root, so I've just hardcoded it to "/mystyle.css" or whatever... On 3/12/07, Bogdan Calmac <[EMAIL PROTECTED]> wrote: Consider a UserDetail page that has an URL like "http://server/context/UserDetail/jdoe";. Here I'm using the tapestry styl

Re: T5 Upload component?

2007-03-12 Thread D&J Gredler
I'm going to need it soon as well, but haven't looked into it at all. Go for it! On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: Does anyone implemented this Upload component ? I need it, so if nobody has gone there yet, i'll give it a try. On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]>

T5 - Context parameters and style sheets links

2007-03-12 Thread Bogdan Calmac
Consider a UserDetail page that has an URL like "http://server/context/UserDetail/jdoe";. Here I'm using the tapestry style of passing parameters, as part of the context. The problem here is that if you have a styleset link to "mystyle.css", it will try to look for "http"://server/context/userdeta

RE: 4.1.1

2007-03-12 Thread Damian Sobieralski
Great Scott, that fixed it! Thank you very very much Justin! > -Original Message- > From: Justin Walsh [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 2:29 PM > To: Tapestry users > Subject: Re: 4.1.1 > > Put the backport-util-concurrent jar (for jdk 5) on your classpath (in >

Re: 4.1.1

2007-03-12 Thread Justin Walsh
Put the backport-util-concurrent jar (for jdk 5) on your classpath (in WEB-INF/lib) http://dcl.mathcs.emory.edu/util/backport-util-concurrent/dist/ Damian Sobieralski wrote: > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) > > >> -Original Message- >> From: Justi

RE: 4.1.1

2007-03-12 Thread Damian Sobieralski
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) > -Original Message- > From: Justin Walsh [mailto:[EMAIL PROTECTED] > Sent: Monday, March 12, 2007 2:06 PM > To: Tapestry users > Subject: Re: 4.1.1 > > What version of the jdk are you using? > > Damian Sobieralski wro

Re: [WARNING] 4.1.2 try to access hidden class java.util.HashMap$Entry

2007-03-12 Thread maksymg
Do you know timetable when the issue will fixed? Should I registered in JIRA? -- View this message in context: http://www.nabble.com/4.1.2-try-to-access-hidden-class-java.util.HashMap%24Entry-tf3390928.html#a9443605 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: 4.1.1

2007-03-12 Thread Justin Walsh
What version of the jdk are you using? Damian Sobieralski wrote: > Correction - I WAS running successfully 4.0.1 from the Maven2 repo (not > 4.0.2 like I was saying). > > >> -Original Message- >> From: Damian Sobieralski >> Sent: Monday, March 12, 2007 1:12 PM >> To: 'Tapestry users' >>

Windows + Eclipse + WTP + Tapestry 4.0.2 + Jetty - Maven

2007-03-12 Thread Bruno Mignoni
It´s possible to work Windows + Eclipse + WTP + Tapestry 4.0.2 + Jettywithout Maven? How does it? Doesn´t Maven leave my project slow? -- __ Bruno Mignoni [EMAIL PROTECTED]

RE: 4.1.1

2007-03-12 Thread Damian Sobieralski
Correction - I WAS running successfully 4.0.1 from the Maven2 repo (not 4.0.2 like I was saying). > -Original Message- > From: Damian Sobieralski > Sent: Monday, March 12, 2007 1:12 PM > To: 'Tapestry users' > Subject: 4.1.1 > > I'm hoping someone can assist me. Okay, I'm doing more than

4.1.1

2007-03-12 Thread Damian Sobieralski
I'm hoping someone can assist me. Okay, I'm doing more than hoping as I'm yanking big chunks of hair trying to get this figured out. I have been happily working with Tapestry 4.0.2 in Eclipse using the Maven plugin. I'm not a Maven expert but I found out enough to get it going within Eclipse via

Re: T5 Upload component?

2007-03-12 Thread Pablo Ruggia
Does anyone implemented this Upload component ? I need it, so if nobody has gone there yet, i'll give it a try. On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Yep, not yet implemented. On 3/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote: > I can't see any upload component here > http://ta

SeparatedDate component

2007-03-12 Thread Charles-André Martin
Hi, I would like to have a component who implements the rewind method and who renders from a HTML template. I need this in order to show a date using 3 textfields and to render the date into the rewind method using a translator. The textfields are for day, month and year. I tried many things,

Re: 4.1.2 try to access hidden class java.util.HashMap$Entry

2007-03-12 Thread andyhot
They look like issues caused by the (new and still in progress version of) ognl ... http://jira.opensymphony.com/browse/OGNL maksymg wrote: Hi, I'm trying to switch my working code from 4.1.1 to 4.1.2-SNAPSHOT, but get an OGNL error. It seems that the Tapestry tries to get list of properties

Re: separate mailing lists

2007-03-12 Thread David Avenante
I'm aggree with you Norbert, It's not the same framework. Actually I play with T5 and everyday I need to remove all mails from others versions, it's pain ;) Regards. On 3/12/07, Norbert Sándor <[EMAIL PROTECTED]> wrote: Wouldn't it be good to separate the t4 and t5 lists somehow? Like differ

4.1.2 try to access hidden class java.util.HashMap$Entry

2007-03-12 Thread maksymg
Hi, I'm trying to switch my working code from 4.1.1 to 4.1.2-SNAPSHOT, but get an OGNL error. It seems that the Tapestry tries to get list of properties based on the actual class not interface of the object even if class is not public. page class: abstract public Map getProcessMap(); abstract

4.1.2-SNAPSHOT upgrade issue/bug from 4.1.1

2007-03-12 Thread maksymg
Hi, I have a border component that access to a meta tag defined on the parent page. The code works fine in 4.1.1, but stops working in 4.1.2-SNAPSHOT. Is it a bug? The component definition: The parent page definition: Error message: Unable to parse OGNL expression 'page.specific

separate mailing lists

2007-03-12 Thread Norbert Sándor
Wouldn't it be good to separate the t4 and t5 lists somehow? Like different addresses, subject prefixes, I don't know... The two frameworks seem so different... Of course I may be wrong... Regards: Norbi - To unsubscribe, e-mai

Re: t5, 5.0.3 SNAPSHOT +tapestry-hibernate

2007-03-12 Thread Howard Lewis Ship
I've barely started development of the hibernate module, so I can't even say what's going on here. Ooops; yes I can, but that's OK, it just isn't ready for use yet. On 3/12/07, Davor Hrg <[EMAIL PROTECTED]> wrote: I just started changing hilo application example to use hibernate, I get followi

t5, 5.0.3 SNAPSHOT +tapestry-hibernate

2007-03-12 Thread Davor Hrg
I just started changing hilo application example to use hibernate, I get following error: Error invoking service builder method org.apache.tapestry.hibernate.HibernateModule.build(HibernateSessionSource, ThreadCleanupHub) (for service 'HibernateSessionManager'): Error invoking service builder me

Re: Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Kristian Marinkovic
hls wrote a good tutorial in his T5 tutorial: http://tapestry.apache.org/tapestry5/t5-tutorial.pdf jetty setup is not different for T4 g, kris "Bruno Mignoni" <[EMAIL PROTECTED]> 12.03.2007 14:25 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: Eclipse is very Sl

Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Bruno Mignoni
Already did this. On 3/12/07, Kolesnikov, Alexander GNI <[EMAIL PROTECTED]> wrote: You don't need to restart Tomcat every time. See the book by Kent Tong (http://www.agileskills2.org/), chapter 1, for explanations. With WTP changes in Java code should cause application reload by default, so you

Re: Why is IE6 freezing? [Solution!]

2007-03-12 Thread Andreas Pardeike
Thanks Martin, Yes, I was using this for testing. I have now switched back to my defaults and the problem persists. UPDATE: after E-N-D-L-E-S-S testing, I found the problem: dojo + tomcat + compression + IE6 -> BAD I commented out compression="on" compressionMinSize="2048" noCompressionUs

RE: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Kolesnikov, Alexander GNI
You don't need to restart Tomcat every time. See the book by Kent Tong (http://www.agileskills2.org/), chapter 1, for explanations. With WTP changes in Java code should cause application reload by default, so you only need to disable pages cahing. You can do this in Tomcat's launch configuration, A

Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Bruno Mignoni
Do you Have a Tutorial to install and configure? I use Windows XP + Eclipse + WTP + Tomcat 5.5 + Tapestry 4.0.2. Jetty and Tomcat works at the same time in my project in Eclipse? Jetty 5 or Jetty 6 ? ;-) Bruno Mignoni On 3/12/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: use the jett

RE: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Kristian Marinkovic
use the jetty plugin; its a small servlet container that starts VERY quickly! my startup times dropped from 15sec to 2sec!! "Bruno Mignoni" <[EMAIL PROTECTED]> 12.03.2007 13:55 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Eclipse is very Slow - What do i have to do

Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-12 Thread Bruno Mignoni
I am developing with Eclipse + WTP + TomCat 5.5 + Tapestry 4.0.2 . That was confired using Wiki (link: http://wiki.apache.org/tapestry/HowToSetupEclipseWtp?highlight=%28Eclipse%29 ) I have Pentium 4 3.40 Ghz + 1 GB Ram and is running correctly. The developing is very slow, each modification th

AW: DatePicker Validation

2007-03-12 Thread Peter Schröder
hi marcos, there is no default way in tapestry to validate multiple input fields. you can do it programmatically in your component with the help of validtion delegate. take a look at this book http://www.agileskills2.org/EWDT/ -Ursprüngliche Nachricht- Von: Marcos Chicote [mailto:[EM