Re: Table and carriage return

2009-01-21 Thread Olivier Jacquet
Here is a possible answer to your first issue: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/OutputRaw.html Olivier Jacquet wrote, On 21/01/2009 11:50: The second issue can be solved with css and the white-space property: http://www.w3.org/TR

Re: Table and carriage return

2009-01-21 Thread Olivier Jacquet
The second issue can be solved with css and the white-space property: http://www.w3.org/TR/CSS21/text.html#propdef-white-space The first issue is probably because you are escaping the elements. I don't know how you turn that off for a property in Tapestry by heart but it should be quite easy

Re: Javascript frameworks

2008-10-30 Thread Olivier Jacquet
This has come up before: http://mail-archives.apache.org/mod_mbox/tapestry-users/200710.mbox/[EMAIL PROTECTED] and http://www.google.be/search?hl=nl&q=jquery+T5+site%3Amail-archives.apache.org%2Fmod_mbox%2Ftapestry-users%2F&btnG=Zoeken&meta= So it seems it would be possible but a whole lot of

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Olivier Jacquet
Client side checking is just a convenience. Everything should be checked on the server side as well for people without javascript or just malicious people sending their own data to the server. Having said that, I'm not advanced enough to explain how you add a custom javascript validator.

Re: AW: OnValidate and OnSuccess

2008-03-19 Thread Olivier Jacquet
AIL PROTECTED]> wrote: > Hi Oivier, > >I actually use onValidateFromComponent. The problem is that the > property > in question was not set to the field value to check. > > > Cheers, > > Martin (Kersten) > > -Ursprüngliche Nachricht- > Von

Re: OnValidate and OnSuccess

2008-03-19 Thread Olivier Jacquet
Hi, I ran into this issue as well. onValidate() is actually called multiple times. Try it with onValidateFromNewItem(). I can't check if that's how I solved it here. Regards, Olivier On Wed, 19 Mar 2008 11:39:55 +0100, "Martin Kersten" <[EMAIL PROTECTED]> wrote: > Having a simple form cont

Re: T5: Official Tutorial still Incomplete

2008-03-19 Thread Olivier Jacquet
Hi, You can always have a look at the wiki: http://wiki.apache.org/tapestry/Tapestry5HowTos And if you're as new as me the book http://tapestry.apache.org/articles.html actually helped quite a bit but it might already be somewhat outdated (was written for 5.0.6 or something). You can always as

Fetching the rendered page result.

2008-03-01 Thread Olivier Jacquet
Hello, Is it possible to access the rendered page result from within a page without calling the actual http:// address? I would need this so that I can setup a page that generates xml (xsl-fo) to be processed by fop [1] to convert it to pdf. That is much more readable than generating the xm

T5: Fetching the rendered page result.

2008-02-16 Thread Olivier Jacquet
Hello, Is it possible to access the rendered page result from within a page without calling the actual http:// address? I would need this so that I can setup a page that generates xml (xsl-fo) to be processed by fop [1] to convert it to pdf. That is much more readable than generating the xm

Re: T5: ActionLink/Zone components inside a loop

2008-02-10 Thread Olivier Jacquet
Not sure if this helps but I think that what you want is actually: Shot Regards, Olivier Adriaan Joubert wrote: Hi, anybody had any luck with this? I tried Show But get Component id '${zoneId}' is not valid; component ids must be valid Java identifiers: start with a letter, and consist

T5 Localized Select

2008-02-10 Thread Olivier Jacquet
Hello, I'm trying to build a select component which allows you to select a country. The labels would be the country names and the values the ISO codes for the country. The catch is that I want the country names displayed in the current locale. Now, when you @Inject the messages in the Optio

Re: T5 Localized Select

2008-02-10 Thread Olivier Jacquet
Yes, I figured out that much by now (I'm not that experienced with Java). Yet, I think it is a feasable use case that you would want access to a message catalog in an OptionModel, no? Harald Geritzer wrote: Now, when you @Inject the messages in the OptionModel it is null when you try to acc

Re: T5: BeanEditForm not setting values for custom parameters

2008-02-10 Thread Olivier Jacquet
I'm sorry to spam. Apparently there is separate validate loop voor the custom parameters. Have a nice day, Olivier Olivier Jacquet wrote: Say that I have a bean Company.java: class Company { private String name; private String city; } a page CreateCompany.java: class CreateCo

T5: BeanEditForm not setting values for custom parameters

2008-02-10 Thread Olivier Jacquet
Say that I have a bean Company.java: class Company { private String name; private String city; } a page CreateCompany.java: class CreateCompany { private Company company; void onValidate() { System.out.println("name: " + company.getName() + " city: " + company.getCity()); } a te

T5 Localized Select

2008-02-10 Thread Olivier Jacquet
Hello, I'm trying to build a select component which allows you to select a country. The labels would be the country names and the values the ISO codes for the country. The catch is that I want the country names displayed in the current locale. Now, when you @Inject the messages in the OptionMod

Re: Layout Component

2007-03-30 Thread Olivier Jacquet
I changed the to and that did the trick! You need to keep the xmnls parameter though. Should this be changed in the doc or am I still doing something wrong? Olivier Jacquet wrote: Hi, I'm trying to implement a Layout component as described here: http://tapestry.apache.org/tape

Layout Component

2007-03-30 Thread Olivier Jacquet
ml in all the pages which just seems silly. Next up would be a kind of 'menu component'. Thanks in advance, Olivier Jacquet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: recordError on BeanEditForm

2007-03-04 Thread Olivier Jacquet
Solved it. If I put t:id="foo" it works. With t:id="form" it throws the exception. I'm quite a beginner at this tapestry thing. I'll try to put those problems I encounter and hopefully solve online to help other beginners like me. Thanks for all the help, Ol

Re: T5: recordError on BeanEditForm

2007-03-04 Thread Olivier Jacquet
ot;form") private BeanEditForm _form; And this in your page template: Hope this helps. -Filip Olivier Jacquet skrev: Yet even with this clue I cannot get it to work. How do I access the BeanEditForm with my page class? With: @Component private BeanEditForm _form; I'

Re: [WARNING] T5: recordError on BeanEditForm

2007-03-04 Thread Olivier Jacquet
pestry/corelib/components/BeanEditForm.html /Serge Massimo Lusetti wrote: On 3/4/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote: How can I record additional errors on BeanEditForm. I cannot get access to the form with: @Component private Form _form; Does the BeanEditForm's form has

Re: T5: recordError on BeanEditForm

2007-03-04 Thread Olivier Jacquet
'. The documentation also doesn't specify a parameter "id" for the beaneditform component. Massimo Lusetti wrote: On 3/4/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote: How can I record additional errors on BeanEditForm. I cannot get access to the form with: @Compon

T5: recordError on BeanEditForm

2007-03-04 Thread Olivier Jacquet
How can I record additional errors on BeanEditForm. I cannot get access to the form with: @Component private Form _form; Does anyone have an example? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Newbie - Tapestry and Databases

2007-03-02 Thread Olivier Jacquet
For Tapestry 4 there is the excellent book by Tong Ka Iok which covers database access and hibernate in detail. http://www.agileskills2.org/EWDT/ Damian Sobieralski wrote: I am wondering if anyone could assist me in resources for working with databases? As a newbie, I've went through bo

T5 + Jetty + Hibernate

2007-02-25 Thread Olivier Jacquet
Hi, Does anyone has an example of how to get tapestry, jetty and hibernate running together? The internet is lacking in documentation about this. I have a book with an example for T4 and Tomcat and that helped me in getting a normal DataSource functioning with JettyPlus but I am not able t