Re: Popup New Window With A Button in Tapestry

2007-07-22 Thread Davor Hrg
this should be no problem for any html page tapestry or not, first make you form work without popup, just redirect. then add this to your form: or this will cause the form to submit data into a popup window just like it was normal redirect inside original window. for binding data it's no di

T5: Mixins - anybody done anything interesting with them?

2007-07-22 Thread Nick Westgate
Mixins are an intriguing feature and I'm pondering their uses. Discussion on the list so far suggests the component to be mixed with needs to be mixin friendly - e.g. getters/setters for privates. The only behaviour I disagree with is the invocation ordering. Mixins before component is fine as it'

T5: 5.05 @Environmental with null value

2007-07-22 Thread Josh Canfield
Hi, In my application I'd like to push an object into the environment for which null is a valid state. Currently the implementation peeks for the result, sees null and throws an exception which says the class is missing from the environment. The null value is added to the stack so the resulting

Re: Popup New Window With A Button in Tapestry

2007-07-22 Thread Nick Westgate
Handle the submit and conditionally include popup javascript in the response. Cheers, Nick. teacup wrote: Hello, members: Mostly we use a Javascript to pop up a new window. I am writing a Tapestry application, where I want to pop up a new Window (say popup.html). The popup.html page will have

Re: T5 - Suitable use for Chain of Command?

2007-07-22 Thread Peter Beshai
Thanks Howard, that works quite well. However, I would like the configuration (order of commands) to be setup in the web application. I would also like to have several different configurations and have the current one chosen via the web app. For instance, if the user selects option one, and submi

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
imagine that! Jesse Kuhnert wrote: The answer is in the second paragraph on the page linked. On 7/22/07, Chris Lewis <[EMAIL PROTECTED]> wrote: That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou w

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Jesse Kuhnert
The answer is in the second paragraph on the page linked. On 7/22/07, Chris Lewis <[EMAIL PROTECTED]> wrote: That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou wrote: > http://tapestry.apache.org/ta

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou wrote: http://tapestry.apache.org/tapestry4.1/components/general/style.html On 7/23/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Well I'm pretty su

Re: T5 - Suitable use for Chain of Command?

2007-07-22 Thread Howard Lewis Ship
Tapestry uses this kind of structure quite a bit; the service interface specifies a void method, and one of the parameters that is passed to each command in the chain exists to store state about the invocation. Very useful, powerful, extensible ... and very testable! On 7/22/07, Peter Beshai <[EM

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/components/general/style.html On 7/23/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Well I'm pretty sure there can only be on Shell component for a rendered page, so consider this. Each page object has a Map of page assets (IAsset), and what you want to do ha

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
Well I'm pretty sure there can only be on Shell component for a rendered page, so consider this. Each page object has a Map of page assets (IAsset), and what you want to do have your layout (border component with your Shell) include whatever it wants as well as whatever the calling page/compone

Re: [T5] Simple CRUD application with Hibernate : Relations

2007-07-22 Thread Igor Drobiazko
Hi, I have no clue whether this is your problem but one thing is noticeable: @ManyToOne needs a @JoinColumn Bets regards Igor On 7/22/07, Julien HENRY <[EMAIL PROTECTED]> wrote: Hi, I'm learning Tapestry 5, and I would like to know how to do the following simple example : I have an object

T5 - Suitable use for Chain of Command?

2007-07-22 Thread Peter Beshai
Hi everyone, I am interested using something similar to the workflow in Mac OS X's automator, and I'd like to know if the ChainBuilder provided in T5-IoC will be a suitable tool for this. That is, I would like to have several processes with different inputs and outputs and have them feed each oth

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can see

[T5] Simple CRUD application with Hibernate : Relations

2007-07-22 Thread Julien HENRY
Hi, I'm learning Tapestry 5, and I would like to know how to do the following simple example : I have an object called Person and an object called Group. Person(id, name, group_id) Group(id, name) I would like to create a simple CRUD application. I'm following T5 tutorial (using beaneditform) t

Re: T5 Border Component

2007-07-22 Thread Howard Lewis Ship
There was no Border component in T4; Border was a design pattern, not a specific component. For T5 we're calling it Layout (a name which, I believe, better captures the functionality of the design), but it is still as design pattern, not a specific component. As the other responses have indicate

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
#Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can see that there is some cli

[T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
Hello, it looks like that there is no client-side validation for @RadioGroup. For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. Is it normal ? Have I to look some where for more information ? thanks

Popup New Window With A Button in Tapestry

2007-07-22 Thread teacup
Hello, members: Mostly we use a Javascript to pop up a new window. I am writing a Tapestry application, where I want to pop up a new Window (say popup.html). The popup.html page will have its popup.page and popup.java too. The parent page (say parent.html) has a form where user enters a string in

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread #Cyrille37#
Thanks a lot Chris, Now how can I add a Page.html specific stylesheet ? If the border define the use of a stylesheet with the @Shell like : Border.html: ... How the Page.html could add a specific stylesheet because it's won't be used, so how to ? Thanks cyrille. Chris Lewis a écrit : Re

about T4.1.2 sources in SVN

2007-07-22 Thread #Cyrille37#
Hello If I want to have a look at T4.1.2 source code, should I use http://svn.apache.org/repos/asf/tapestry/tapestry4/tags/4.1.2 or http://svn.apache.org/repos/asf/tapestry/tapestry4/trunk or somewhere else ? Thanks cyrille -

Re: Tapestry5 and WebSphere6.1

2007-07-22 Thread Renat Zubairov
Hi Is security on the WebSphere on? I had significant problems in WS 5 with Security ON because of Javassist bug with classloaders. Renat On 20/07/07, yosemite <[EMAIL PROTECTED]> wrote: Hello everybody, I tried to deploy a T5 application that works fine on Jetty and Tomcat onto WebSphere 6