Re: Best pratice - CRUD Security - Tapestry 4.0

2006-05-16 Thread Lothar Reisinger
ot;isUserInRole("...")" of any kind. Again - one size doesn't fit all - especially with security. Take the "easiest way for you" as long as it foots the bill and you're usually alright. Lothar Reisinger wrote: It's Tomcat security in combination with a PageV

Re: Best pratice - CRUD Security - Tapestry 4.0

2006-05-16 Thread Lothar Reisinger
It's Tomcat security in combination with a PageValidateListener that solves this problem for me. In each page that needs special security there is a call to request.isUserInRole("..."). If the user isn't allowed, a PageRedirectException is thrown to redirect to an allowed page or to the error p

Re: Accessing unbound textfields

2006-05-16 Thread Lothar Reisinger
The html input fields do have a name attribute? They are inside a form? The form is submitted? cycle.getParameter("fieldname") works for me. Bode, Bianca schrieb: Looks like the generated textfields cannot be accessed through getParameter/getParameters I've debugged and manually checked the Que

Re: Accessing unbound textfields

2006-05-16 Thread Lothar Reisinger
Create an own component, derived from AbstractFormComponent. Build the html in the method renderFormComponent. Receive the parameters in the method rewindFormComponent. You should manage the required javascript with the tapestry script mechanism in the same class. Does that help? Bode, Bianca

Re: Report in Tapestry using Jasperreport

2006-05-15 Thread Lothar Reisinger
Hi, I implemented that as a service in Tapestry 4. You may have a look to the source code at http://www.lrtb.de/tapestry/JasperPdfDownloadService.java The service should work outside the framework it is written for. The only thing you must change is the framework specific HibernateSession in