Re: Form with a Zone -> ComponentEventException

2008-03-29 Thread petros
I found what is causing the error. Is the way I am displaying the the UserPicker page. I am trying to display it by using the Modalbox (http://www.wildbit.com/labs/modalbox/) However, this works fine as an Ajax call by returning a Block when the UserPicker form is submitted Assign Supervisor

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-29 Thread Thiago HP
On 2/2/08, Shing Hing Man <[EMAIL PROTECTED]> wrote: > beanModel.add("rowNo", null).label(" "); > > This resulted in the following exception. > I could use css to make the label non-visible. > Is there a more elegant way of having a blank column > header. Adding the following to your app.pro

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jonathan Barker
@Secured({"ROLE1","ROLE2","ROLE3"}) > -Original Message- > From: Mahen Perera [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 29, 2008 9:29 PM > To: Tapestry users > Subject: RE: T5: Problem with login form with Acegi > > Thanks Guys, this thread benefitted me as well :) > > One more Q

RE: [T5] Tapestry evaluation + questions

2008-03-29 Thread Jonathan Barker
Angelo, I find that there will usually be a page or two that I want to play with to get the look right for the whole app. I'm always using a Layout / Border component, so I like to repeat the Border design on those pages and then play with the CSS. With the new project design, my templates will

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Mahen Perera
Thanks Guys, this thread benefitted me as well :) One more Q: How can I give multiple roles access to a page @Secured("RLE-DEFAULT-ROLE ") Public class Blah{ Thanks -Original Message- From: Jacob Bergoo [mailto:[EMAIL PROTECTED] Sent: 29 March 2008 16:32 To: users@tapestry.apache.org

Re: Javascript error in datefield component

2008-03-29 Thread Ektschn
Hi Yura, as far as I know this is fixed in t5.0.11 Best, Florian Yura Tkachenko wrote: > > Hi, > > I'm getting Javascript error when trying to use datefield component on my > form. This component works properly in Firefox but it doesn't work with > IE7. > I'm getting js error: "Object doesn'

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Ektschn
Andy Blower wrote: > > 2) How easy is it to add custom AJAX interactions? I'm thinking of > interactions like checking a checkbox to mark a search result, return > success and visually change the appearance. > For this I would advise you to use t5components - an ajax-enabled component package.

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Angelo Chen
Hi Fernando, I think so, if you want to be wisiwig, use regular tags, but programmers turn to use the component tags for that as it is easier to read, so that's really a 'policy' issue, if it's a team work i think regular tags are better. Angelo Fernando Padilla wrote: > > I am actually using

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Fernando Padilla
I am actually using this syntax, so that I should get the best of both worlds. Angelo Chen wrote: Hi Jonathan, Initially I use dreamweaver to design the page, and make it a point to use regular tags like: my Link , this will make it easier for me to go back to dreamweaver for page update, b

RE: [T5] Tapestry evaluation + questions

2008-03-29 Thread Angelo Chen
Hi Jonathan, Initially I use dreamweaver to design the page, and make it a point to use regular tags like: my Link , this will make it easier for me to go back to dreamweaver for page update, but later I found out that I started to write my link and not coming back any more to dreamweaver, I fire

Re: T5 Nested Link components and their urls

2008-03-29 Thread Janko Muzykant
hi Howard, actually I don't care about url itself, but i would really like to have event handler of enclosed "header" in a enclosing "report". So I figured out that if I'll be able to generate url like: reportUsers.report.header/parameter it will solve my problem ("@OnEvent( component="header")" a

Re: T5: Problems with Tapestry5-Acegi

2008-03-29 Thread Robin Helgelin
On Thu, Mar 27, 2008 at 7:34 PM, Jonathan Barker <[EMAIL PROTECTED]> wrote: > > This is currently listed on the TODO list: > > http://www.localhost.nu/java/tapestry5-acegi/todo.html There is initial support for secure methods in 1.0.4-SNAPSHOT available from http://www.localhost.nu/java/mvn-snap

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jacob Bergoo
Thanks Jonathan, that did the trick! Cheers, Jacob Jonathan Barker wrote: > > > I should have pasted a little more code before. You need the following > line > in your onSuccess method: > > > SecurityContextHolder.getContext().setAuthentication(authResult); > > > Acegi expects to do

RE: [T5] Tapestry evaluation + questions

2008-03-29 Thread Jonathan Barker
Other posts have handled your specifics well. Evaluate T5. I started active development on T4.0. I have since migrated a few of the smaller applications from T4 -> T5 and I am doing all new work in T5. In the T4->T5 migrations, I found I was deleting lots of code and cleaning up my templates.

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jonathan Barker
I should have pasted a little more code before. You need the following line in your onSuccess method: SecurityContextHolder.getContext().setAuthentication(authResult); Acegi expects to do everything through the SecurityContext. > -Original Message- > From: Jacob Bergoo [ma

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-29 Thread ryanskow
It can be useful, however, to have a blank heading for columns which may be icons such as edit/delete. It doesn't hurt to have a heading for such columns, but sometimes it is nice to be able to save some horizontal real-estate by utilizing an icon to replace the text. Howard Lewis Ship wrote

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Howard Lewis Ship
On Sat, Mar 29, 2008 at 2:44 AM, Andy Blower <[EMAIL PROTECTED]> wrote: > > Hi there, I'm evaluating Tapestry (among others) for the web framework we'll > use at my company for the next 5 years or so. We've used Struts 1 for the > last 5-6 years and it's served us well, even if it was higher mai

Re : Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
Hi Mike, Thanks you very much for your help. I was trying to show you how to reproduce the bug when I accidentaly found the real problem. You can't put the t:type="layout" on your tag. It works on the tag and it works on a tag. But not on the . I have opened a bug: https://issues.apache.org

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Michael Lake
Andy, you should take a look at tapestry jumpstart by geoff callender: http://files.doublenegative.com.au/jumpstart/ I only wish there were a demo server of this somewhere because the webapp itself will show its template + class in the browser. -mike On Mar 29, 2008, at 5:44 AM, Andy Blow

Re: Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Michael Lake
Are you sure that the page you're outputting has proper body> tags? I've been burned by forgetting my tags which I believe are needed for tapestry to add scripts, but tapestry doesn't give you any warning that the scripts haven't been added. I think I made a Jira for this a couple months a

Re: [T5] FormFragment doesn't work on IE6

2008-03-29 Thread Adam Zimowski
I'd file JIRA for this. On Fri, Mar 28, 2008 at 3:14 PM, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > I had a look at the tapestry.js. The following function is used to > connect the checkbox with the fragment. > > // Links a FormFragment to a checkbox, such that changing the > checkbox will

Re: [T5] Tapestry evaluation + questions

2008-03-29 Thread Angelo Chen
Hi Andy, Definately you should go Teaptesry 5, not 4.x. with 6 years experience you should have no problem trying out the tutorials for a few days and see if Tapestry 5 works for you, tutorials are trivial but you can always find a use case to test Tapestry 5's features to see if it suits your ne

Re : [T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
In fact, it could be a bug. I tried to add a beaneditform component in the Start page, and I have JavaScript (for client side validation). Just put the beaneditform in the Layout.tml instead and there is no more Javascript. Should I open a bug in JIRA? Regards - Message d'origine De :

[T5] How to add JavaScript in a component used in a layout

2008-03-29 Thread Julien HENRY
Hi, I'm using a custom JAR-packaged component in a template. When I use the component directly in a page (Start.tml) I have both JavaScript and CSS file included in the HTML. But when I try to put the component in my application layout (Layout.tml), there is only the CSS file. No JavaScript. In

[T5] Tapestry evaluation + questions

2008-03-29 Thread Andy Blower
Hi there, I'm evaluating Tapestry (among others) for the web framework we'll use at my company for the next 5 years or so. We've used Struts 1 for the last 5-6 years and it's served us well, even if it was higher maintenance than was first apparent. I have spent over two days reading about Tapestr