Re: Value of select type

2011-09-27 Thread Olaf Tomczak
Isn't this a simple typo? you have property named 'gender' not 'genger' in profileDO. Cheers, Olaf 2011/9/27 Taha Hafeez Siddiqi > Hi > > Two things. > > 1) why is there a gengerEnum property in Update.java when it is not in use > ? > > 2) Is there a setter/getter for genger in ProfileDO ? >

DiscardAfter on component level

2011-09-27 Thread mem
Hello, is there the possibility to put the DiscardAfter on a method on component level and only discard the persistent fields of this component and its subcomponents, but *NOT* from the page? I couldn't find any so i wrote a worker for my own annotation @DiscardComponentAfter which can be placed o

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-27 Thread Jon Williams
Sh*t dudes. I left SF because there is no decent Tapestry work there. Good luck getting your ball rolling. :-) Send a link if you're hiring. I'm crazy enough to move back to the US for Tapestry. On Tue, Sep 27, 2011 at 6:33 PM, Kalle Korhonen wrote: > Count me in. > > Kalle > > > On Tue, Sep 27,

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-27 Thread Kalle Korhonen
Count me in. Kalle On Tue, Sep 27, 2011 at 4:59 PM, Chris Collins wrote: > That sounds like a great idea (also in sf bay area). > > C > On Sep 27, 2011, at 3:23 PM, George Ludwig wrote: > >> I searched meetup.com for a Tapestry meetup and didn't find one. I'm >> still a newb at this, yet I find

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-27 Thread Chris Collins
That sounds like a great idea (also in sf bay area). C On Sep 27, 2011, at 3:23 PM, George Ludwig wrote: > I searched meetup.com for a Tapestry meetup and didn't find one. I'm > still a newb at this, yet I find the framework compelling, and am > devoting a lot of energy to it. > > Is anyone else

Re: 5.3 Beta change in behaviour from Alpha with regard to event methods

2011-09-27 Thread Howard Lewis Ship
Also, you can turn this check off, at least in 5.3 (in later releases, the option to turn off the check may be removed). See the release notes on the Tapestry home page. On Tue, Sep 27, 2011 at 4:55 PM, Howard Lewis Ship wrote: > See the release notes about this; it is an intentional change, to

Re: 5.3 Beta change in behaviour from Alpha with regard to event methods

2011-09-27 Thread Howard Lewis Ship
See the release notes about this; it is an intentional change, to catch a common case of typos in names of event handler methods (the component id part). You may be better wrapping your components in a than a comment or . On Tue, Sep 27, 2011 at 3:49 PM, Vangel V. Ajanovski wrote: > I was using

5.3 Beta change in behaviour from Alpha with regard to event methods

2011-09-27 Thread Vangel V. Ajanovski
I was using 5.3 alpha in production up until a couple of days, and when I changed the settings in the pom.xml to include latest beta, and rebuild, the behaviour changed and invalidated several pages in run-time. The problem is that suddenly errors occured in run-time, stating that some compone

Re: selenium hijacks TransformerFactory and breaks XML pretty print...wtf?

2011-09-27 Thread George Ludwig
Steve, For the time being, that works, yet the rub comes later on when I will actually want to use the testing stuff. Other than hacking the selenium jar to remove the code (which may break selenium for all I know), I'm unsure of how to address this problem. Frankly, I'm shocked that selenium ove

Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-27 Thread George Ludwig
I searched meetup.com for a Tapestry meetup and didn't find one. I'm still a newb at this, yet I find the framework compelling, and am devoting a lot of energy to it. Is anyone else interested in forming a meetup? I imagine it being the usual things: speaker, hacking session, company sponsored piz

Re: [T5.3] Symbols for Default Component Parameter Values

2011-09-27 Thread Chris Mylonas
I thought this was a bad idea On 28/09/2011, at 12:49 AM, Steve Eynon wrote: > To enhance Tapestry, what are people's thoughts about defining default > component values for some components as Symbols? > > For example, the Grid component has the following: > > @Parameter("25") > private int rows

Re: Validator abilities

2011-09-27 Thread Chris Poulsen
Hi, I was looking for a similar solution (my example was a "period selection" with a from- and to date - where a cross field validation had to ensure that from date was before todate) I found some usable examples in the 3 "sub-form" examples in jumpstart. I ended up extending AbstractField for my

Re: [T5.3] Symbols for Default Component Parameter Values

2011-09-27 Thread Igor Drobiazko
Actually this is supported since 5.2: https://issues.apache.org/jira/browse/TAP5-1094 On Tue, Sep 27, 2011 at 4:52 PM, Howard Lewis Ship wrote: > Good idea; A "symbol" binding prefix could do this quite easily, which > would make your straw man proposal accurate. > > On Tue, Sep 27, 2011 at 7:49

Re: [T5.3] Symbols for Default Component Parameter Values

2011-09-27 Thread Chris Poulsen
Hi, I think you can use a message: prefix as well (defining it in the app.properties) - tough a symbol (or similar) binding for properties will probably be less confusing. For date field format the message: binding is a perfect match as you get all the ordinary resource bundle goodness for free ;

Re: Error in T5.3 & openJDK = java.lang.reflect.GenericSignatureFormatError

2011-09-27 Thread Andreas Fink
On Sep 27, 2011, at 17:12 , Ernesto Arroyo wrote: > in fact we should use sun jdk, not openjdk, why do you think so? now that openjdk is the standard on linux and soon on osx... btw., if i remember correctly it was this issue: https://issues.apache.org/jira/browse/TAP5-1554 cheers, andi. > b

Re: Validator abilities

2011-09-27 Thread cqasker
That makes sense. But is there a way I can wrap this up into a validator that say takes a fieldid, and then server side, the validator can grab the value of the field id (in the same form of course) and compare it to the field the validator is attached to? This way I can just plug this to several

Re: Value of select type

2011-09-27 Thread Taha Hafeez Siddiqi
Hi Two things. 1) why is there a gengerEnum property in Update.java when it is not in use ? 2) Is there a setter/getter for genger in ProfileDO ? regards Taha On Sep 27, 2011, at 8:40 PM, Olga wrote: > Hello, i have this problem. > > I have object Profile, this object has field > private G

Re: Validator abilities

2011-09-27 Thread Muhammad Gelbana
I believe this can only be done server-side. On Tue, Sep 27, 2011 at 5:27 PM, cqasker wrote: > Is there a way to do a validator that depends on other Fields? So for > example, the Min validator can check against a static number - is there > anyway to pass in the user input from another field to

Re: Error in T5.3 & openJDK = java.lang.reflect.GenericSignatureFormatError

2011-09-27 Thread Ernesto Arroyo
in fact we should use sun jdk, not openjdk, but we will find some time to test this and let you know the results Ernesto Arroyo ... enviado desde mi iPad El 26/09/2011, a las 22:07, Howard Lewis Ship escribió: > That's a pretty old alpha version; I'd use "5.3-beta-10" which is > latest-and-gr

Validator abilities

2011-09-27 Thread cqasker
Is there a way to do a validator that depends on other Fields? So for example, the Min validator can check against a static number - is there anyway to pass in the user input from another field to the validator. So say And I basically want to make sure "end" > "start". I know I can check this w

Value of select type

2011-09-27 Thread Olga
Hello, i have this problem. I have object Profile, this object has field private GenderEnum gender; When i need update Profile, i create form: Update.tml Gender: Update.java @Persist private ProfileDO profileDO; private GenderEnum gengerEnum; public SelectModel getGengeres() {

Re: [T5.3] Symbols for Default Component Parameter Values

2011-09-27 Thread Howard Lewis Ship
Good idea; A "symbol" binding prefix could do this quite easily, which would make your straw man proposal accurate. On Tue, Sep 27, 2011 at 7:49 AM, Steve Eynon wrote: > To enhance Tapestry, what are people's thoughts about defining default > component values for some components as Symbols? > > F

[T5.3] Symbols for Default Component Parameter Values

2011-09-27 Thread Steve Eynon
To enhance Tapestry, what are people's thoughts about defining default component values for some components as Symbols? For example, the Grid component has the following: @Parameter("25") private int rowsPerPage; meaning if I wish for a pagination of 50 rows, I have to find all instances of the

Re: T5 + Tomcat 7

2011-09-27 Thread Thiago H. de Paula Figueiredo
On Tue, 27 Sep 2011 11:25:21 -0300, Muhammad Gelbana wrote: Also 2 things I stumbled upon: 1. Tapestry needs log4j This isn't quite correct. Tapestry user SLF4J, which can use log4j underneath. 2. Looks like in jetty, it's ok to use tml\properties file with a different letter case th

Re: T5 + Tomcat 7

2011-09-27 Thread Muhammad Gelbana
When I first faced your case just today, I checked the logs, you'll find some exceptions, start from there and eliminate these exceptions because tapestry manager does not start your application because of these exceptions (check tomcat manager for your application's state, it should be *stopped* !

Re: [T5.2.6] Spring Integration In T5 Unit Tests

2011-09-27 Thread Steve Eynon
Excellent, thanks for that. I was already thinking about providing a mock for the ServletContext - good to know I was going down the right lines! Cheers, Steve. On 27 September 2011 20:27, Taha Hafeez wrote: > I have one mail regarding it. > > I have attaching part of it inline... > > The probl

Re: T5.2 and CXF / SOAP

2011-09-27 Thread Ulrich Stärk
Sure: First you need a CXF servlet to process incoming requests targeted at the web service. Something along the lines of public class MyCXFServlet extends CXFNonSpringServlet { private static final long serialVersionUID = -2887022453330372210L; @Override public void loadBus(Servlet

Re: [T5.2.6] Spring Integration In T5 Unit Tests

2011-09-27 Thread Taha Hafeez
I have one mail regarding it. I have attaching part of it inline... The problem is that the SpringModuleDef expects ApplicationContext to be initialized as it is not loaded eagerly. If you somehow initialize the context, then everything falls into place. So I modified the CheetahPageTester like

[T5.2.6] Spring Integration In T5 Unit Tests

2011-09-27 Thread Steve Eynon
I know this has been tentatively answered before, but I can't find any reference to it... I'm using the Tapestry PageTester (well, Testify actually) and have a good few services defined in Spring. Can anyone give pointers as to how I fire up the T5 / Spring integration within the test environment?

Re: selenium hijacks TransformerFactory and breaks XML pretty print...wtf?

2011-09-27 Thread Steve Eynon
As you say, it's the tapestry-test module that references selenium (via a Maven test dependency). If you don't use it, then you could exclude it from your Maven POM. On 27 September 2011 16:43, George Ludwig wrote: > I've been ripping my hair out the last few hours trying to figure out > why m

selenium hijacks TransformerFactory and breaks XML pretty print...wtf?

2011-09-27 Thread George Ludwig
I've been ripping my hair out the last few hours trying to figure out why my XML pretty print stopped working under Tapestry... I'm running Eclipe 3.7, JDK 1.6, and Tapestry 5.2.5 on Jetty 6.1.26 I created the project using one of the maven Tapestry 5 prototypes, and it included selenium server s