Re: T5.0.7: No service implements the interface org.slf4j.Logger

2008-02-01 Thread Alex.Hon
see: http://www.nabble.com/About-Slf4j-Error-td13591128.html#a15240195 http://www.nabble.com/About-Slf4j-Error-td13591128.html#a15240195 Franz Amador wrote: > > This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'm not > sure how to debug this. Apparently a proxy is being cre

Re: About Slf4j Error

2008-02-01 Thread Alex.Hon
Hello, I know the error,because of jetty6 use slf4j,and the WebAppContext`s _parentLoaderPriority default value is false [code]_parentLoaderPriority = Boolean.getBoolean("org.mortbay.jetty.webapp.parentLoaderPriority");[/code] so set parentLoaderPriority to true; jetty.xml:

Re: How to void the ${...} expression in html code

2008-02-01 Thread Filip S. Adamsen
Filed as https://issues.apache.org/jira/browse/TAPESTRY-2113. -Filip Howard Lewis Ship skrev: ${...} is not evaluated inside a CDATA block, but that's probably not what you want. Other than that, there is not a good way to turn it off. Please file an issue. On Feb 1, 2008 3:02 PM, Sven Hombu

Re: Tapestry[5] - Overriding the form error messages

2008-02-01 Thread Kalle Korhonen
Accessibility requirements typically dictate that error messages should be *both* shown adjacent to the field and as a summary together in one place, typically on top of the page. Screen readers will have a hell of a time reading Javascript bubbles. Pretty defaults are fine as long as they are easi

Re: [T4] -> [T5] Migration Experiences

2008-02-01 Thread Christian Edward Gruber
Oh no you di'int... Seriously, there is no end to the reference opportunities of that song... Christian. On 1-Feb-08, at 15:27 , Daniel Jue wrote: Eventually you can be "down with OPP" (Other People's POMs) and add in the more advanced stuff and other options.

Re: How to void the ${...} expression in html code

2008-02-01 Thread Sven Homburg
this is what i mean, and it works. thanks 2008/2/2, Howard Lewis Ship <[EMAIL PROTECTED]>: > ${...} is not evaluated inside a CDATA block, but that's probably not > what you want. > > Other than that, there is not a good way to turn it off. Please file an > issue. > > On Feb 1, 2008 3:02 PM

Re: How to void the ${...} expression in html code

2008-02-01 Thread Howard Lewis Ship
${...} is not evaluated inside a CDATA block, but that's probably not what you want. Other than that, there is not a good way to turn it off. Please file an issue. On Feb 1, 2008 3:02 PM, Sven Homburg <[EMAIL PROTECTED]> wrote: > ... so that Tapestry dont try to evaluate this ?? > > -- > with re

Re: How to void the ${...} expression in html code

2008-02-01 Thread Igor Drobiazko
$ On Feb 2, 2008 12:02 AM, Sven Homburg <[EMAIL PROTECTED]> wrote: > ... so that Tapestry dont try to evaluate this ?? > > -- > with regards > Sven Homburg > -- Best regards, Igor Drobiazko

How to void the ${...} expression in html code

2008-02-01 Thread Sven Homburg
... so that Tapestry dont try to evaluate this ?? -- with regards Sven Homburg

Re: Maven Support

2008-02-01 Thread Howard Lewis Ship
I'm now using build #7675 ... it's not quite as stable as 7.0.2 however. I also had to re-import my projects that used Maven. Other than that (and a few keystrokes changing their meaning) I haven't be able to see a real difference. On Jan 31, 2008 10:57 AM, Michael Lake <[EMAIL PROTECTED]> wrote

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
Something odd is going on, because there are specific tests for this stuff so I know it works in the code. Without seeing all the code and the full layout, there's no much more I can do. If you can provide a zipped up Maven project to demonstate the problem, I'm sure I can whip up a fix. On Feb

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
Howard Lewis Ship schrieb: Havning trouble following you ... what is the name, location and contents of your .properties file? Does the expansion work or not work? No! the layout like in maven archetype (both get packaged): | +- JAVA/.../pages/prm/Contact.java +- RESOURCES/.../pages/prm/

Re: @Script component - possible DOJO bug, help appreciated

2008-02-01 Thread Kevin Menard
Unfortunately, I'm not all that great with JavaScript. I can wrangle the language well enough, but I let something like jQuery handle most of the DOM manipulations. I'm not sure there's much you can do in this case though, if it is in fact the comments that are the root issue. I've opened a JIRA

Re: Tapestry 5 - Custom Component Validation

2008-02-01 Thread Xinhua
Thanks for the reply. Besed on your codes, I can get the error flag; but can not know if the error is on this component because this tracker may contain errors for other components. I am thinking that I can use inError(Field field) to find the answer. But if I use beaneditform to generate the for

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
Havning trouble following you ... what is the name, location and contents of your .properties file? Does the expansion work or not work? On Feb 1, 2008 11:49 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > I'm sorry Howard. The .properties file seems to get read. When I debug > the application

Re: Tap 5.0.9 : Namespace prefix for URI http://tapestry.apache.. not defined

2008-02-01 Thread Howard Lewis Ship
Ah, I can see what's going on there, a t: attribute in a non-component (not a t: element, or no t:type attribute) is not handled correctly. It should be an error. On Feb 1, 2008 12:45 PM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > Thanks for the reply! > The exception is not caused by > the ta

RE: Tap 5.0.9 : Namespace prefix for URI http://tapestry.apache.. not defined

2008-02-01 Thread Shing Hing Man
Thanks for the reply! The exception is not caused by the tag spanning over to another line. It was the missed t: in front of type="PageLink". here. Tap 5.0.7 is more tolerant on the missing t: . In fact, I have pasted the wrong .tml in my original email. Shing --- Jonathan Barker <[EMA

Re: [T4] -> [T5] Migration Experiences

2008-02-01 Thread Daniel Jue
Here are some peripheral tips. Subversion (SVN) One thing I that I almost forgot is that you can rename files in svn, in a way that you keep the history stored with the old file name. I only use SVN through Eclipse, so that meant going to "SVN Repository Exploring" and renaming files there. Now y

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
I'm sorry Howard. The .properties file seems to get read. When I debug the application the InternalComponentResourcesImpl holds the right file in the attribute _properties. I can see all the mappings there. But the page doesn't display the content of the property if requested. Is there maybe a

Tapestry 5 - Display message from beaneditForm validation outside of form

2008-02-01 Thread Xinhua
This is what I want to do. Use beaneditForm to create a form from a object (for example User) with some required fields. When the beaneditForm validation finds errors, I do not want to use default feature to display the error message, instead I like to have the missing fields highlighted and erro

RE: @Script component - possible DOJO bug, help appreciated

2008-02-01 Thread Ken in nashua
Thanks Kev, Is there some kind of workaround I could try? I am really getting into this script stuff. My gut feeling on this problem is that something is getting mauled in the parsing. I will try to pear it down further and look for the JIRA But if there is a workaround or something .

Re: Tapestry[5] - Overriding the form error messages

2008-02-01 Thread Anteneh Alemayehu
Hi Everyone, Please see the following fragment code which I tried to override the form error messages: The plan is to copy the errors from the validation tracker in to my error model, and clear the errors from the validation tracker. (At this point I have the errors in my errors model and also t

Re: [T4] -> [T5] Migration Experiences

2008-02-01 Thread Howard Lewis Ship
Glad you had good luck with this. I may steal the "Wack-A-Mole" imagery, it's nice! On Feb 1, 2008 11:11 AM, Jonathan Barker <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I thought it might be useful for any users who have upgraded applications > from T4 to T5 to share their experiences, techni

[T4] -> [T5] Migration Experiences

2008-02-01 Thread Jonathan Barker
Hello all, I thought it might be useful for any users who have upgraded applications from T4 to T5 to share their experiences, techniques and suggestions. Personally, I have upgraded two small applications - the first was still in development, and I had been wavering on whether to use T5

Re: What does it take to be banned from this mailing list?

2008-02-01 Thread Howard Lewis Ship
Yep, don't feed the trolls. No reason respond to them. If you want to do something much more effective, evangelize Tapestry outside of this list: online forums, or your local Java user's group. On Feb 1, 2008 5:13 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote: > Why can't we just obey one simple

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Howard Lewis Ship
Sorry, should be ${message:site-label}, to verify that your .properties file is in the fight place and readable. On Feb 1, 2008 2:54 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > Howard, > > I have the setup that the maven archetype prepares. So the anwser is yes. > The .properties file is

Re: T5: Inserting a component into a message format

2008-02-01 Thread Christian Gorbach
another solution: http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix might help ... c)hri rbolkey wrote: > > Hi, > > Ok. This one has me stumped as far as a good way to implement. I want to > place a form field inline into a localized sentence. e.g. "I like [text >

Re: [ANN] t5components - release 0.5.5

2008-02-01 Thread Kevin Menard
The FreeMarker service is awesome. I had never used FreeMarke before, but got inspired to do so for some email templating earlier today. I'm quite pleased with the outcome. So much in fact, I'm looking to port it to T4 for my other apps. -- Kevin On 1/30/08 11:12 PM, in article [EMAIL PROTEC

Re: @Script component - possible DOJO bug, help appreciated

2008-02-01 Thread Kevin Menard
I'm not sure what the problem is, but I agree that the comments around the script should be removed. I'm unaware of any modern browser that still requires this relic. Older browsers that do are likely to get tripped up by the lack of "language" attribute anyway. I'll file a JIRA for it. -- Kev

Re: [T5]how can i insert multi-row records in a page using tapesry

2008-02-01 Thread Chris Lewis
From your question it's not at all clear what you want to do, but I'm going to offer a link to the Loop docs (the new one): http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org.apache.tapestry.corelib.components.Loop.html This shows you how you can render a form for editing a coll

RE: Getting the result of a component event handler method.

2008-02-01 Thread Mahen Perera
Thanks Chris, I get your point. silly me :) ,, too much tapestry for the day .. i think i know how to solve the issue now... Thanks again.. -Original Message- From: Chris Lewis [mailto:[EMAIL PROTECTED] Sent: 01 February 2008 15:30 To: Tapestry users Subject: Re: Getting the result of

@Script component - possible DOJO bug, help appreciated

2008-02-01 Thread Ken in nashua
Folks, I am using the @Script component inside a for loop rather successfully and proper javascript is being rendered in the markup. BUT I am receiving a javascript error message box on IE7. Error: expected ')' and another subsequent Error: Object expected The error occurs o

Re: T5.0.8 client side validation bubble display on IE6 windows xp

2008-02-01 Thread Chris Lewis
This is a fairly seasoned 'hack', and is the basis of the JS version I posted. It works as far back as IE 5.5 I believe. Does IE 7 not correctly handle PNG alpha channels? Howard Lewis Ship wrote: Interesting; does that work with IE 6 and IE 7? On Jan 31, 2008 11:43 PM, Davor Hrg <[EMAIL PROT

Re: Getting the result of a component event handler method.

2008-02-01 Thread Chris Lewis
I just looked at the first sentence I wrote - sorry for that :-(. It was supposed to say: "I think you are :-). If your server-side handler is returning:" Chris Lewis wrote: I think you are :-). If you're server-side handler is retu response.put("testID", "context=\""+execution.getId()+"\">Sh

Re: T5.0.8 client side validation bubble display on IE6 windows xp

2008-02-01 Thread Martin Strand
It works if you have DirectX installed (like winxp), we use this on our site: http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html beware, relative behaviour urls are for some reason not relative to the css file, but relative to the original html document - very confusing... Martin On F

Re: Getting the result of a component event handler method.

2008-02-01 Thread Chris Lewis
I think you are :-). If you're server-side handler is retu response.put("testID", "Show Results"); You are returning "" markup in your JSON response, which Tapestry doesn't process (it just sends text and you provide it). Therefore if you look at the source of you rendered page you'll see that

RE: Getting the result of a component event handler method.

2008-02-01 Thread Mahen Perera
Thanks Howard for the reply. But the issue is, the mark up that i am returning is not properly rendered.. i.e when i am returning a mark up such as , Show Results what is getting rendered is just the Text "Show Results" , and the hyperlink is not rendered,, which should be there for a actionlink co

Re: T5.0.8 client side validation bubble display on IE6 windows xp

2008-02-01 Thread Howard Lewis Ship
Interesting; does that work with IE 6 and IE 7? On Jan 31, 2008 11:43 PM, Davor Hrg <[EMAIL PROTECTED]> wrote: > if you already distinct Firefox and IE > than you can easily use png for IE too... > > > > and for css backgrounds just replace > url(test.png) > with > filter: progid:DXImageTransform

Re: T5: Inserting a component into a message format

2008-02-01 Thread Howard Lewis Ship
Actually, ${message:part1}${message:part2} This way you don't need any extra Java code. The ${...} expansions are really a use of component bindings, and can use binding prefixes. On Feb 1, 2008 1:32 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: > You could split the string > and do sth like thi

Re: My Compliments to T5 [Re: What does it take to be banned from this mailing list?]

2008-02-01 Thread Howard Lewis Ship
On Feb 1, 2008 6:59 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > +1 to NFTT > > Further I'd like to deflect this thread. For me Tapestry 5 is the > GREATEST webframework on the planet! And I don't care a cent about what > TheServerside or whoever thinks, says and writes about it. > > Tapestry5

My Compliments to T5 [Re: What does it take to be banned from this mailing list?]

2008-02-01 Thread Michael Gerzabek
+1 to NFTT Further I'd like to deflect this thread. For me Tapestry 5 is the GREATEST webframework on the planet! And I don't care a cent about what TheServerside or whoever thinks, says and writes about it. Tapestry5 * is so easy to start * is so easy to succeed * is so well documented * ha

Re: Getting the result of a component event handler method.

2008-02-01 Thread Howard Lewis Ship
On an Ajax request, if you return a component or block from an event handler method, Tapestry will render the result as a JSON reply, putting the markup inside a "content" key. I'm still working on handling errors nicely, and handling the case where additional JavaScript is generated as part of th

Getting the result of a component event handler method.

2008-02-01 Thread Mahen Perera
Hi all, I have written a component where it has an associated component event handler method. This event handler method is getting called thru a Ajax request when the user performs some action in the browser. I need this event handler method to return a mark up such as following; Show Results

Re: [T5] best practice to cancel edit page

2008-02-01 Thread Davor Hrg
I've created a patch for submit component https://issues.apache.org/jira/browse/TAPESTRY-2109 ior you can try this component (iti is a modified copy of original Submit) public final class Submit2 extends AbstractField { static final String SELECTED_EVENT = "selected"; static final String

Re: What does it take to be banned from this mailing list?

2008-02-01 Thread Adam Zimowski
Why can't we just obey one simple rule on this mailing list: DO NOT FEED THE TROLLS I guarantee that if troll e-mail go unanswered, they will dissapear as quickly as they came. On Feb 1, 2008 6:28 AM, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > Angelo Turetta schrieb: > > > I think [EMAIL PROTEC

Re: What does it take to be banned from this mailing list?

2008-02-01 Thread Ulrich Stärk
Angelo Turetta schrieb: I think [EMAIL PROTECTED] (A.K.A. [EMAIL PROTECTED]) has well passed the limit I would tolerate if the matter was in my hands And for what matters, I would also inform his friends at wicket, which being another of apache's projects should be bound by the same ethics

What does it take to be banned from this mailing list?

2008-02-01 Thread Angelo Turetta
I think [EMAIL PROTECTED] (A.K.A. [EMAIL PROTECTED]) has well passed the limit I would tolerate if the matter was in my hands And for what matters, I would also inform his friends at wicket, which being another of apache's projects should be bound by the same ethics, what a nice person the

Re: T5 image component

2008-02-01 Thread Michael Courcy
Ok Thus I wait a bit for listening that such library doens't exist and then we start the job Chris Lewis a écrit : I don't, but I'd gladly contribute code/ideas as I've done some image work and will also probably need such a lib. chris Michael Courcy wrote: Hi list, Do you know if there's

Re: T5 image component

2008-02-01 Thread Chris Lewis
I don't, but I'd gladly contribute code/ideas as I've done some image work and will also probably need such a lib. chris Michael Courcy wrote: Hi list, Do you know if there's a good image component library for reducing, rotating or writing on image with a little cache management ? I'm not

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Emmanuel Sowah
On Feb 1, 2008 12:27 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 12:14 PM, Emmanuel Sowah <[EMAIL PROTECTED]> wrote: > > Well, I don't know if they are great committers, else they could have > chosen > > the challenging path of making each major Tapestry realease fully > backwar

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Emmanuel Sowah
That Hibernate 3 isn't backward compatible with 2 is not true. That package naming issues is a minor one you could easily fix yourself. But the issues that hinder one from smooth migration from T4 to T5 is enormous and is an almost impossible task to achieve for less genius people. It needs a true

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Thiago HP
On 2/1/08, Robin Helgelin <[EMAIL PROTECTED]> wrote: > > Not going to feed that troll on that one, but what's the problem? T4 > and T5 live happily together where T4 still is maintained. And Emmanuel is not even a good troll. He praised Gavin King for implementing a backward-compatible framework,

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Robin Helgelin
On Feb 1, 2008 12:14 PM, Emmanuel Sowah <[EMAIL PROTECTED]> wrote: > Well, I don't know if they are great committers, else they could have chosen > the challenging path of making each major Tapestry realease fully backward > compatible. They rather choose the easy and trivial path of rewriting from

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Emmanuel Sowah
On Feb 1, 2008 11:51 AM, Robin Helgelin <[EMAIL PROTECTED]> wrote: > On Feb 1, 2008 11:46 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: > > tapestry has a good community, and an active mailing list... > > I'm not worried ... > > Don't forget we have Howard, Jesse and few other great committers. :) We

T5 image component

2008-02-01 Thread Michael Courcy
Hi list, Do you know if there's a good image component library for reducing, rotating or writing on image with a little cache management ? I'm not against the idea of doing it (on the contrary) I just want to make sure it has not been done yet. Cheers -- Michael Courcy http://courcy.blogs

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
oh, and when I debug the page and check the ComponentResources the file is there! But somehow it doesn't get read in rendering the page. Michael Michael Gerzabek wrote: > > Howard, > > I have the setup that the maven archetype prepares. So the anwser is yes. > The .properties file is on the c

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-01 Thread Michael Gerzabek
Howard, I have the setup that the maven archetype prepares. So the anwser is yes. The .properties file is on the classpath. I double checked and put a copy right in the package where the java sources are. I put the ${site-label} into the .tml and got: Could not convert 'site-label' into a compo

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Ulrich Stärk
-- /| /| | | ||__|| | Don't feed | / O O\__ | / \the trol

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Robin Helgelin
On Feb 1, 2008 11:46 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: > tapestry has a good community, and an active mailing list... > I'm not worried ... Don't forget we have Howard, Jesse and few other great committers. :) -- regards, Robin

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Davor Hrg
There are many frameworks... you should use which one suits your need the best... tapestry has a good community, and an active mailing list... I'm not worried ... Davor Hrg On Feb 1, 2008 11:05 AM, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote: > Tapestyr users have so much fun using the fra

Re: Tapestry and Article at Theserverside.com

2008-02-01 Thread Joachim Van der Auwera
Tapestyr users have so much fun using the framework that "we" don't have time to evangelize. Joachim Emmanuel Sowah wrote: Hi Tapestry afficianados, There is a new article at theserverside.com written by Carlos Perez entitled "Top five Java Technologies to learn in 2008". Regarding the hype o

Re: ClassCastException in CoercingPropertyConduitWrapper

2008-02-01 Thread Moritz Gmelin
P.P.S. If I just hit reload after the exception has occured, the EditPage loads as expected. M. Am 01.02.2008 um 10:03 schrieb Moritz Gmelin: P.S. this happens with T 5.0.9 Am 01.02.2008 um 10:02 schrieb Moritz Gmelin: Hi, I have an Editing page that I would like to use to edit differe

Tapestry and Article at Theserverside.com

2008-02-01 Thread Emmanuel Sowah
Hi Tapestry afficianados, There is a new article at theserverside.com written by Carlos Perez entitled "Top five Java Technologies to learn in 2008". Regarding the hype on Tapestry 5 and it's "innovative" label Howard has assigned it, I couldn't see it on the list. Also, the discussions on this ar

Re: T5: Inserting a component into a message format

2008-02-01 Thread Davor Hrg
You could split the string and do sth like this: ${part1} ${part2} Inject ComponentResources .. to get a message do this: _resources.getMessages().get("key") then split the string and implement public String getPart1(){...} public String getPart2(){...} Davor Hrg On Feb 1, 2008 4:06 AM, rbo

T5: XML encoding of URLs

2008-02-01 Thread Szemere Szemere
I'm having trouble including an image source URL in my .tml files. The URL has & and ? characters in it. If I use &, then the T5 XML validation complains that I have unterminated entities (not surprising). However if I replace & with & (ampersand-"amp"-semicolon) then the whole 5 character string g

Re: ClassCastException in CoercingPropertyConduitWrapper

2008-02-01 Thread Moritz Gmelin
P.S. this happens with T 5.0.9 Am 01.02.2008 um 10:02 schrieb Moritz Gmelin: Hi, I have an Editing page that I would like to use to edit different object implementing the same class. If I switch the object I want to edit I get a ClassCastException in the CoercingPropertyConduitWrapper (s

ClassCastException in CoercingPropertyConduitWrapper

2008-02-01 Thread Moritz Gmelin
Hi, I have an Editing page that I would like to use to edit different object implementing the same class. If I switch the object I want to edit I get a ClassCastException in the CoercingPropertyConduitWrapper (see below). I have created a simple scenario to reproduce this. First there is