Re: How to override the default validate message?

2007-07-05 Thread Malin Ljungh
You can use the following syntax for example: /Malin On 7/6/07, Donyee <[EMAIL PROTECTED]> wrote: Hello everyone! I want to change the default validate message,such as "You must provide a value for ... ", To change the source file maybe not grace! is there another way? 徐 依伟

[T5] Grid totals

2007-07-05 Thread Joost Schouten
Hi, I just started to use tapestry and enjoy the ease of use. We use T5 and I am currently developing some pages showing statistics information. I would like to have a totals row at the bottom showing the sum of the columns shown. I can easily add a row showing the totals for the whole table, but

How to override the default validate message?

2007-07-05 Thread Donyee
Hello everyone! I want to change the default validate message,such as "You must provide a value for ... ", To change the source file maybe not grace! is there another way? 徐 依伟

Re: 4.0.1 Hotspot JVM bug?

2007-07-05 Thread Barry Books
I suspect that it's a threading issue that goes away when the jvm is switched from server to client, but the dependency on Firefox has me a bit puzzled. Stepping with a debugger might find it but my production system is Solaris and my development environment is OSX. Also if it's a threading issue

Re: [T5] How to call hibernate session in TypeCoercer?

2007-07-05 Thread Jun Tsai
or how to access the registry object in TypeCorercer? -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net

Re: T4.1.2 Survey: Is Selenium working for you?

2007-07-05 Thread Jun Tsai
I use selenium to test my ERP system based on T4.1.2. 2007/7/4, Geoff Callender <[EMAIL PROTECTED]>: A question for everyone using Selenium who has upgraded from Tapestry 4.1.1 to 4.1.2: - Is Selenium TestRunner still working for you? - Does it get through client validation errors O

[T5] How to call hibernate session in TypeCoercer?

2007-07-05 Thread Jun Tsai
hi, I want to add a TypeCoercer using tapestry-hibernate. public static void contributeTypeCoercer( Configuration configuration, @Inject final Session session) { Coercion coercion1 = new Coercion() { public String coerce(PersistModel input) {

Re: 4.0.1 Hotspot JVM bug?

2007-07-05 Thread Kalle Korhonen
My experience is that unless the JVM crashes, in 95% of the cases it's not a bug in JVM even if you may suspect so. The fact that it's browser dependent, makes it even less likely that it'd be a bug in the JVM. To me, this one sounds like a concurrency/threading issue. Is this in Tap4.x? In that c

4.0.1 Hotspot JVM bug?

2007-07-05 Thread Barry Books
I've got a bug that only occurs with Firefox as the browser and Tomcat/Solaris 10 on x86 with the -server option to the jvm. On some pages it seems the state objects do not get set correctly often resulting in null pointer exceptions. Reloading the page may or may not fix the problem. This does n

t5 html tag namespace

2007-07-05 Thread Bartlomiej Styrylski
Hi I need to output the html tag with some extra xml namespace, i.e.: Simply adding the namespace definition to the html tag in the template doesn't do the job, as it's lost during parsing. Can you give me any hint how to achieve it? Cheers Bartek ---

TAP 4: How to override asset service.

2007-07-05 Thread Jason.Yankus
Hello, We're a Tapestry 4 shop. I need to override the asset service within the tapestry.services.FactoryServices contribution point with my own asset service. My wrinkle is that I also need to inject the existing asset service as a property during construction of my own asset service. How m

Re: [ANNOUNCE] Tapestry 5.0.5

2007-07-05 Thread Howard Lewis Ship
Just wish I could spend more time on T5 right now! On 7/5/07, Marcus <[EMAIL PROTECTED]> wrote: You are doing a great job Howard !!! Thank you, Marcus -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator,

[t5] Error in tutorial

2007-07-05 Thread Evan Rawson - Work
when doing the hi/lo tutorial this section of code @Persist private String _message; public String getMessage() { return _message; } String onActionFromLink(int guess) { if (guess == _target) return "GameOver"; if (guess < _target) _message = String.format("%d is

Re: No OPTION Tags rendered for PropertySelection after updateComponents

2007-07-05 Thread Marcus Schulte
don't know, what's exactly wrong, but: - the id-attribute in the form-tag is suspicious. That's normally a reserved parameter, you should get an error. - where do you see the 1234 without the option-tags? in the dom-tree after the request? or in the debug output in the browser? - if you didn't

Re: No OPTION Tags rendered for PropertySelection after updateComponents

2007-07-05 Thread Steve Shucker
I see two things off the top: - DirectLink won't rewind the form. You should really be using LinkSubmit if you want to capture the selected value. - The updateComponents property of the DirectLink might work, but it's not guaranteed if you have multiple instances of this component or a name co

Re: [ANNOUNCE] Tapestry 5.0.5

2007-07-05 Thread Marcus
You are doing a great job Howard !!! Thank you, Marcus

Re: how to tile/stretch a header image in css

2007-07-05 Thread Evan Rawson - Work
div#header{ height:94px; width:80%; margin:0 auto 0 auto; background css code } then wrap that div with another div called headerContainer{}, use that to control layout positioning of your inner header div. css doesn't ever stretch images like an img tag does, it only underlays the image

Re: How can i make a Tapestry Component of a Stream Response

2007-07-05 Thread Davor Hrg
I've got little time so I did not try this, I think this could work: start with source from org.apache.tapestry.corelib.components.ActionLink change renderBody: from Link link = _resources.createActionLink(ACTION_EVENT, false, contextArray); writer.element("a", "href", link, "id",

No OPTION Tags rendered for PropertySelection after updateComponents

2007-07-05 Thread Schips Markus
Hy there... its my first post on this list and I haven't found anything regarding my actual Tapestry 4.1.2 Problem. See the example below. HTML-Template: change Page:

Re: 4.1.1 Session issue

2007-07-05 Thread Igor Drobiazko
great :) On 7/5/07, Paolo Scopa <[EMAIL PROTECTED]> wrote: Ok, I eventually did it. I mached your solution with the post in http://www.nabble.com/How-to-inject-ASO-in-service--tf1518378.html#a4141166 and it works fine Thanks a lot Paolo Paolo Scopa wrote: > > Thanks for replying, > I trie

Re: [T5] There is an example of T5 + Acegi + CAS

2007-07-05 Thread Massimo Lusetti
On 7/5/07, Francois Armand <[EMAIL PROTECTED]> wrote: Enjoy ! Nice, very nice, I've never worked with CAS but the whole look pretty nice. And it is also an interesting projectas a whole. -- Massimo http://meridio.blogspot.com --

Re: 4.1.1 Session issue

2007-07-05 Thread Paolo Scopa
Ok, I eventually did it. I mached your solution with the post in http://www.nabble.com/How-to-inject-ASO-in-service--tf1518378.html#a4141166 and it works fine Thanks a lot Paolo Paolo Scopa wrote: > > Thanks for replying, > I tried my best to understand what i should do, but im afraid i cant

Re: 4.1.1 Session issue

2007-07-05 Thread Paolo Scopa
Thanks for replying, I tried my best to understand what i should do, but im afraid i cant follow you. I never used ApplicationStateManager directly and i dont know where to find an example. Also i don't know where the lines you posted should be added. What i started from is something like

Global object

2007-07-05 Thread svatich
My web application need to do get some values before initializing and these values should be available to all pages in application. The following questions emerged. Is it the right way to do this by overriding the init mehod of the ApplicationServlet class? I'm trying to make the parameters ava

Re: [ANNOUNCE] Tapestry 5.0.5

2007-07-05 Thread Ulrich Stärk
FYI http://www.heise.de/newsticker/meldung/92249 The 5.0.5 release just got mentioned by one of the most important IT-related newstickers in the German language area. Uli Howard Lewis Ship schrieb: The Apache Tapestry project has releases Tapestry 5.0.5. Tapestry is a component-based framew

[T5] There is an example of T5 + Acegi + CAS

2007-07-05 Thread Francois Armand
Hello, I just did a toy application to see how Acegi Security works with CAS, and since Tapestry 5 is so pleasant to use, I did the example with it. Perhaps it would interest some users, so the tuto is here : http://wiki.interldap.objectweb.org/xwiki/bin/view/Main/Tapestry5HowToAcegiCas And th

Re: 4.1.1 Session issue

2007-07-05 Thread Igor Drobiazko
Hi, you can inject the ApplicationStateManager in your DAO and access your ASO by using it. http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/state/ApplicationStateManager.html http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/service/tapestry.state.Applic

4.1.1 Session issue

2007-07-05 Thread Paolo Scopa
Hi experts, I have a bit of troule storing/retrieving info in the session. I followed the eshop example, adding a contribution in hivemind module to store the user name in the session. I want my dao to store this information every time that an object is updated in the database (the user who last

RE: service method in BaseEngine

2007-07-05 Thread Marcus.Schulte
I wonder, why it even compiles ;). _locale is a private member! Try using setLocale() instead. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 04, 2007 1:19 PM > To: Tapestry users > Subject: service method in BaseEngine > > Has anyone an

AW: T5 XHTML strict conformance

2007-07-05 Thread Peter Schröder
have a look on this jira, i just voted for it: https://issues.apache.org/jira/browse/TAPESTRY-1621 -Ursprüngliche Nachricht- Von: Michael Gottschalk [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Juli 2007 17:49 An: users@tapestry.apache.org Betreff: T5 XHTML strict conformance Hi, I h