Re: Role based security

2007-02-28 Thread Borut Bolčina
Hello Jonathan, I found http://mail-archives.apache.org/mod_mbox/tapestry-users/200606.mbox/[EMAIL PROTECTED] I will have to study the code, as my T4 mileage is short. You don't happen to have a component library set up with some examples would you? Thanks, Borut 2007/2/27, Jonathan Barker

Re: Page initialization

2007-02-28 Thread Andrea Chiumenti
Ok, thank you, I'll test what you said, maybe my brain was a bit messed up with the edit table I've implemented. p.s. The JFlyEditTable for Tap 4.1.x are nearly ready maybe next week they will be submitted, I think you'll appreciate it. ciao, kiuma On 2/28/07, Sam Gendler [EMAIL PROTECTED]

Re: Role based security

2007-02-28 Thread Borut Bolčina
Hello Sam, this must be the most elaborate reply I have ever seen on a mailing list. You really should write a chapter for Kent's book or write your own and make some $ out of all that knowledge. In the mean time, I have to know Acegi and Tapestry more, to even ask further questions. Thanks,

Untetermined count of form elements

2007-02-28 Thread Dennis Kempin
Hello, i am trying to process an dynamic amount of options, which are fetched from an list, just like this: t:comp type=Form t:comp type=Loop source=optionList value=option t:textfield value=??? / /t:comp /t:comp Well every textfield needs a value to write the

PatternValidator example

2007-02-28 Thread Andy
Hello, I try to use the PatternValidator but cannot find an example. (I read two archived threads on this list, but these only covered how to define ta PatternValidator in a page spec) I am looking for something like this: input displayName=ognl:'XZY' jwcid=[EMAIL

T4: AJAX request from a page with a dojo editor causes exception

2007-02-28 Thread Kristian Marinkovic
hi all, when i try to send data via tapestry.bind to my Tapestry page from a page with a dojo editor (editor2) i get following javascript exception: [exception] DEBUG: [Exception... Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open] nsresult: 0x80004005

Re: Untetermined count of form elements

2007-02-28 Thread Howard Lewis Ship
Why wouldn't t:textfield value=option.textproperty/ work (where textproperty is an edittable property of each option object from optionList? When the form submits, the Loop will bet involved and will iterate the elements in the list again, keeping the option property upto date before each

Request for T4.1 AJAX documentation enhancement

2007-02-28 Thread Thiago H de Paula Figueiredo
I tried to follow the AJAX example at http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html but i haven't suceeded to have my listeners called. That page is very short in details in how to get things working. It would be wonderful if there was some complete, downloadable example

Re: Request for T4.1 AJAX documentation enhancement

2007-02-28 Thread Shing Hing Man
There is an example on @EventListener at the following. http://lombok.demon.co.uk/tapestry41Demo/app Shing --- Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: I tried to follow the AJAX example at http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html but i haven't

Re: PatternValidator example

2007-02-28 Thread Dennis Sinelnikov
Hi Andy, Example, using T4: In .page: bean name=pattern class=org.apache.tapestry.form.validator.Pattern set name=pattern value=literal:[ a-zA-Z0-9'-]+/ /bean in .html: input displayName=ognl:'XZY' jwcid=[EMAIL PROTECTED] value=ognl:someObject.XYZ

Re: PatternValidator example

2007-02-28 Thread Shing Hing Man
There is an example on PatternValidator at the end of Chapter 3 of Kent Tong's excellent book Enjoying Web Development with Tapestry. The first 4 chapters are free. You can download it from http://www.agileskills2.org/EWDT/ Shing --- Andy [EMAIL PROTECTED] wrote: Hello, I try to use the

Re: T5 IoC - inject service in data class ?

2007-02-28 Thread Peter Beshai
Pardon my inexperience, but I'm having a little difficulty getting my head wrapped around all of these IOC concepts. I've read through much of the documentation on the tapestry website, but I'm still having a hard time understanding it all. So I should create a data factory service to handle the

RE: Role based security

2007-02-28 Thread Jonathan Barker
Borut, Sorry. I don't have this in a library yet - the applications I've been working on lately have rather flat security requirements so I haven't extracted this out into a library. Here's a little snippet out of the menu section of my Border component for sample usage: li a href=

T5 validation

2007-02-28 Thread Terry
Following the beaneditform pattern, I have a page that submits a form with field validation using the included annotations. Now I would like to perform second stage validation on the data returned (checking for uniqueness against a database, etc) and to use the same error reporting mechanism to

Re: T5 validation

2007-02-28 Thread Howard Lewis Ship
@Component private Form _form; This defines the type of the component with an id of form as being an instance of the Form component. Further, you can access the form to record errors into it. On 2/28/07, Terry [EMAIL PROTECTED] wrote: Following the beaneditform pattern, I have a page that

Re: Role based security

2007-02-28 Thread Patrick Moore
hi sam... sounds pretty interesting... I especially like the sounds of something that slips in the cracks without imposing expectations of knowledge on developers. I will be looking at the hibernate filters now in a whole new light.. -Pat

Re: Role based security

2007-02-28 Thread Jonathan Barker
Sam, I finally read the full text of your message. :-) There is huge overlap between your requirements and mine. My application also had the issue that role-based security was not sufficient. I used a custom imlementation of the Acegi AclProvider to control (on a per-entity basis) how much

Latest Tapestry 5 Screencast

2007-02-28 Thread Howard Lewis Ship
I've put up a new Tapestry 5 screencast: http://tapestry.apache.org/tapestry5/screencast_5.html This one shows off the new Grid component. -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind