Re: creating components with Tapestry 5

2007-09-26 Thread Erik Vullings
Did you already find the Wiki: http://wiki.apache.org/tapestry/Tapestry5HowTos You should also see some information there about Layout (aka Border) components that can be used as a Tiles like generic template. Cheers Erik On 9/24/07, Marc A. Donis <[EMAIL PROTECTED]> wrote: > > I also am using Hi

Re: T5, Customized Validation

2007-09-26 Thread Ted Steen
This should be done in onValidate() i think. see http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html for the rest of the validation. Unfortunately the onValidate is not explained there. 2007/9/25, Josh Penza <[EMAIL PROTECTED]>: > I have a question about validation in Tapest

Mangled 4.1.3 tag on subversion

2007-09-26 Thread Francesco Degrassi
Hi all, today i switched my trunk checkout to the 4.1.3 tag to do some stuff. It seems like the trunk has been copied to both tags/4.1.3/ and tags/4.1.3/tapestry in two separate commits. The correct one seems to me the one in tags/4.1.3/tapestry. Could someone please check and eventually fix it? T

Re: [T5] Linkable rows with Grid component

2007-09-26 Thread sun58224
Howard Lewis Ship gmail.com> writes: > > You just leverage the ability to override how particular columns are rendered: > > This assumes that your items have a property named label that you want > to convert into a link. > > > > ${item.label} > > > > On 9/25/07, Jean-Philippe

Re: [T5] more tutorials or sample projects?

2007-09-26 Thread Davor Hrg
you can avoid test casses hassle by calling: mvn -Dmaven.test.skip install Davor Hrg On 9/22/07, Robert A. Decker <[EMAIL PROTECTED]> wrote: > > Ok, so I checked out the tapestry trunk with subversion, then cd'd > into the directory and ran 'mvn install'. It seems to be stuck on the > "Running I

OGNL Null Problem

2007-09-26 Thread Nikolaos Konstantinou
Hi all, this is my first email at this list but I'll get right to the point: My task is to upgrade a web application from Tapestry 3.0 to Tapestry 4.1.2. The problem I encounter is that the OGNL expression : ...was validated OK in Tapestry 3.0 but 4.1.2 throws a org.apache.tapestry.BindingExc

Re: OGNL Null Problem

2007-09-26 Thread Andreas Andreou
- Go with T4.1.3 - uses latest OGNL which brings several perf. enhancements. - Try ognl:{null, '999', checkIn == null ? null : checkIn.time, checkOut == null ? null : checkOut.time, adultsPerRoom} - If that fails, report the problem at http://jira.opensymphony.com/browse/OGNL and try ognl:{null,

Re: T5: Upgrade to 5.0.6-SNAPSHOT

2007-09-26 Thread SergeEby
It's now working fine with the latest jar files built from svn! Thanks, /Serge Howard Lewis Ship wrote: > > And 2.2 worked fine. > > On 9/25/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: >> I'll try downgrading to 2.2. >> >> >> On 9/25/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: >> > Th

where are predefined cooercions located?

2007-09-26 Thread Britske
I'm subtyping GridDataSource. For that to work I need to create cooercions from List and null --> my subtype Because I've not done this before, I figured to just look at the list --> GridDataSource cooercion for an example. However I can't find where this (and other cooercions) are defined. As

Re: Mangled 4.1.3 tag on subversion

2007-09-26 Thread Andreas Andreou
Good catch... I moved http://svn.apache.org/repos/asf/tapestry/tapestry4/tags/4.1.3/tapestry to https://svn.apache.org/repos/asf/tapestry/tapestry4/tags/4.1.3-final so, use that... Francesco Degrassi wrote: > Hi all, > today i switched my trunk checkout to the 4.1.3 tag to do some stuff. > It see

T5: tapestry-hibernate redirect before commit

2007-09-26 Thread Imants Firsts
Hi! I am trying to edit a hibernate entity in a tapestry form, and when the form is submitted the entitiy is saved to DB, and user is redirected to a ViewEntity page. After the submit I get an exception that entity does not exist (entity is actually created in db), if I hit the refresh button in

Re: [T5] more tutorials or sample projects?

2007-09-26 Thread Josh Penza
When I try to run the app1 example in tomcat, I get the following exception: Component Countdown does not contain an embedded component with id 'count'. Can anyone tell me what I'm doing wrong? On 9/26/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > you can avoid test casses hassle by calling:

RE: Using PageTester with tapestry-spring

2007-09-26 Thread Joel Wiegman
What's basically happening here is: The application module you are passing to your PageTester (via the "String appName" argument) does not load your Spring context. In the alternative Spring integration link you provided this string would be "Spring", assuming the class is named "SpringModule"

T5: Event logging

2007-09-26 Thread Joel Wiegman
One of my "onPrepare()" methods is getting called twice and I'm not sure where the second one is coming from. Anyone figured out a slick way of logging the events ("action", "prepare", "submit", "activate", "validate", etc.) that Tapestry receives?

Re: T5 component content

2007-09-26 Thread Chris Lewis
Hello Todd, I'm curious if you've made any progress on this as I too am interested in a declarative way to insert JS and CSS. The best thing I've come up with is a general component used for inserting elements into the head of the document. It could be used like this: It may make sense to

Re: OGNL Null Problem

2007-09-26 Thread Steve Shucker
With the newer ognl I automatically try the #this prefix to see if it works. Try ognl:{null, '999', #this.checkIn == null ? null : checkIn.time, #this.checkOut == null ? null : checkOut.time, adultsPerRoom} or ognl:{null, '999', #this.checkIn == null ? null : #this.checkIn.time, #this.check

[T4] upgrade javassist

2007-09-26 Thread Richard Human
Hi all We're currently using T 4.0.2. This version comes with Javassist 3.0. We need to upgrade javassist to 3.4 for some of our own internal libraries. Does anyone know of any problems that may occur if we use javassist 3.4 with T 4.0.2 (and eventually T 4.1.2)? We have upgraded already and can

Re: T5 component content

2007-09-26 Thread Carl Pulley
You can also add javascript code into the document head via PageRenderSupport (see Form.java for a concrete example). redijedi wrote: > > I'm trying to create a component that will allow me to define blocks > of HTML to insert into the head. I think this would be useful for ad > hoc JS, style

Re: T5 component content

2007-09-26 Thread Chris Lewis
Indeed, but its not declarative and it doesn't address style sheets. Like I said, I'm not hell-bent on a declarative solution, but I do not want to: 1) @Inject/@Path my css ... 2) .. and provide a getter ... 3) .. for every page! On top of that it would be quite nice to know only from the temp

Re: T5 component content

2007-09-26 Thread Todd Orr
I wish I had figured it out. As it stands it looks to be quite impossible to capture the content of a component. I'm beginning to think that components are woefully insufficient in anything but trivial examples. More complicated examples like the beanform, or grid are vastly more complex than they

Re: [T4] upgrade javassist

2007-09-26 Thread Alejandro Scandroli
Hi Richard I'm using javassist 3.4ga with Tapestry 4.1.3 without any problems. Alejandro. On 9/26/07, Richard Human <[EMAIL PROTECTED]> wrote: > Hi all > > We're currently using T 4.0.2. This version comes with Javassist 3.0. > We need to upgrade javassist to 3.4 for some of our own internal > l

RE: [T5] Linkable rows with Grid component

2007-09-26 Thread Jean-Philippe Steinmetz
That's actually not quite what I'm looking for but I guess it'll have to do. I'm actually looking for a way to click the entire row. For instance the output HTML could be... Item 34 Blah Item 16 blah blah b

Re: T5: Event logging

2007-09-26 Thread Howard Lewis Ship
There's a bit of ambiguity going on w.r.t. event handler methods that are overridden in a subclass. Is this the case? On 9/26/07, Joel Wiegman <[EMAIL PROTECTED]> wrote: > One of my "onPrepare()" methods is getting called twice and I'm not sure > where the second one is coming from. > > Anyone fi

RE: [T5] Linkable rows with Grid component

2007-09-26 Thread Carl Pulley
To achieve this effect, I've defined a mixin class that, after the component has rendered, finds each row in the rendered element and then adds in an attribute analogous to your example below. Its far from glamourous (and certainly not as robust as one would like), but it does the trick. Jean-P

RE: T5: Event logging

2007-09-26 Thread Joel Wiegman
Nothing overridden here... In this case, the page is submitting to itself, so I think "onPrepare()" being called twice is normal in that situation... once to process the form submission (before the "onSuccess()") and once when a new request is made to render the page again. Nonetheless, I've spen

Nightly builds and docs

2007-09-26 Thread Howard Lewis Ship
I've set up nightly builds for both snapshot artifacts and documentation. The details are at http://tapestry.formos.com/nightly/tapestry5/ I think this will go along way to helping people who are trying to keep up with latest in SVN. Every night, all artifacts and documentation is regenerated.

Re: T5 component content

2007-09-26 Thread Thiago H. de Paula Figueiredo
Em Wed, 26 Sep 2007 13:23:47 -0300, Chris Lewis <[EMAIL PROTECTED]> escreveu: Indeed, but its not declarative and it doesn't address style sheets. Like I said, I'm not hell-bent on a declarative solution, but I do not want to: 1) @Inject/@Path my css ... 2) .. and provide a getter ... 3) .. f

[4.1] EventListener within a component

2007-09-26 Thread Marcelo C. de Freitas
Hello there, I have a issue that might be quite simple to solve but I'm completely lost. I have a component, let's call it !EditableCell, that has a TextInput whose id is dynamically created. How can I create an "onchange" EventListener for it in the component's class? -- Marcelo C.

Re: T5: tapestry-hibernate redirect before commit

2007-09-26 Thread lasitha
Hello Imants, The current implementation commits the transaction on thread cleanup - see the HibernateSessionManagerImpl. I suspect your analysis on this is spot on, and the redirect beat the commit. One quick fix might be to serialize requests per session by synchronizing on it. I don't know i

[T5] Ajax architecture

2007-09-26 Thread Borut Bolčina
Hello, does anyone know if similar drawing exist for T5? http://www.icefaces.org/main/product/architecture.iface It is not meant to be provocative - I just need to be objective in my report for our future web framework. I am very well aware that ability to build custom components easily outweighs

Abwesenheit/Out of office

2007-09-26 Thread Christian Koeberl
Ich werde ab 26.09.2007 nicht im Büro sein. Ich kehre zurück am 27.09.2007. Bitte kontaktieren Sie in dringenden Fällen das Porsche Informatik Customer Care Center: http://www.porsche-informatik.at/sup_kontakt.htm oder per Web: http://support.porscheinformatik.at/ Grüße, Christian Köberl

Re: Abwesenheit/Out of office

2007-09-26 Thread Renat Zubairov
Danke! Crhistian! On 26/09/2007, Christian Koeberl <[EMAIL PROTECTED]> wrote: > > Ich werde ab 26.09.2007 nicht im Büro sein. Ich kehre zurück am > 27.09.2007. > > Bitte kontaktieren Sie in dringenden Fällen das Porsche Informatik Customer > Care Center: > http://www.porsche-informatik.at/sup_kon

Re: [T4.1.3] Rounded corners service and side shadows

2007-09-26 Thread Jesse Kuhnert
Always need a JIRA issue. (but only if you want reported problems fixed) On 9/24/07, Christian Dutaret <[EMAIL PROTECTED]> wrote: > Hi all, > > I just tried using the rounded corners service. I'm have trouble with side > shadows generation: > > 1) Side shadows are always generated as PNG images.

Re: [OT?] OGNL source code and license

2007-09-26 Thread Jesse Kuhnert
Yeah.,...I don't have access to the ognl.org website or the opensymphony.com site. Just the source repository and making releases to ibiblio. On 9/24/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: > tnx. The fact is that ognl.org site don't mention new versions at all > and opensymphny site ref

[T5] tapestry exception page in stead of 404

2007-09-26 Thread Joost Schouten
Hi, We have a nice custom 404 which works well on let say http://www.domain.com/pageDoesNotExist, but on http://www.domain.com/pageDoesNotExist.html the exception page gets displayed in stead with the below stated stack trace. Does this have something to do with Tapastry's '.' notation in URL's t

Tapestry vs JSF: JSF for nonbelievers: JSF component development

2007-09-26 Thread Thiago H. de Paula Figueiredo
I'm not trying to be a fanboy (but I'm a Tapestry fan) nor a troll, but the following article about developmento of JSF components really helped me to figure out what JSF is, specially when compared to Tapestry 5: http://www-128.ibm.com/developerworks/library/j-jsf4/. The author is trying t

Re: Using PageTester with tapestry-spring

2007-09-26 Thread Doublel
Thanks ! the problem is resolved. But I ran into this : [ERROR] WebApplicationContext Construction of service WebApplicationContext failed: Error invoking service builder method cn.crc.spring.SpringModule.build(Context) (at SpringModule.java:34) (for service 'WebApplicationContext'): An exception