Re: T5: access control (again)

2008-01-06 Thread Robin Helgelin
On Jan 6, 2008 10:29 AM, Chris Lewis [EMAIL PROTECTED] wrote: I remember reading in the acegi docs that it was possible to swap-out the usage of spring. I feel like you'll find it's not too difficult to do. I realize I say this out of ignorance but T5 IoC is quite easy to get your head around,

Re: T5: access control (again)

2008-01-06 Thread Chris Lewis
I understand - I have looked through the tapestry-acegi wiki and the site, and they only talk about the T5 side (where as you agreed that the docs are lacking, your are right in that they are sufficient). Where I'm lost is how to set up acegi, how its invocations work, what the schema

Re: T5: access control (again)

2008-01-06 Thread Robin Helgelin
On Jan 6, 2008 11:35 AM, Chris Lewis [EMAIL PROTECTED] wrote: Let me close by clarifying my tone as I've been told I come across as harsh. I am not bashing spring, acegi, or the tapestry integration. What I am saying is that as a developer with no use for spring, using the t5 acegi module

[T5] disable form validation

2008-01-06 Thread Harald Graf
hi all, is there a way to disable form validation. i got some address editing component, whose fields are set disabled using a parameter. when the component is set to disabled and it's just used for displaying data, the text fields still perform validation. I'd like to disable the validation,

Re: [T5] disable form validation

2008-01-06 Thread Mohammad Shamsi
Hi Harald, i had an issue like this, for cancel button in form. (there is no need to validation when cancel button clicked) i changed my button like this : input type=button value=${message:cancel} onclick=location.href='list';/ you can use some way like this On Jan 6, 2008 5:25 PM, Harald

Re: T5: access control (again)

2008-01-06 Thread Chris Lewis
Ok :-). Here's my wish list: 1. Remove Spring as a dependency. However stupid this is according to the Spring developers, it would be valuable to me (and I;m sure others like me). Apparently this isn't too difficult to do: http://www.acegisecurity.org/standalone.html 2. Provide some kind of

T5 Grid How to show embedded property-values?

2008-01-06 Thread Otho
Hi all, How is it possible to show properties of embedded objects in a grid? Example: class Master { String name; Slave slave; } class Slave { String name; Date enslaved; } The grid should show: Name (master) - Name (slave) - Date enslaved When I constuct a BeanModel for this

Re: T5 Grid How to show embedded property-values?

2008-01-06 Thread Howard Lewis Ship
That's supposed to work. Please show more of your code. On Jan 6, 2008 7:48 AM, Otho [EMAIL PROTECTED] wrote: Hi all, How is it possible to show properties of embedded objects in a grid? Example: class Master { String name; Slave slave; } class Slave { String name; Date

Does tapestry provide UI composition/layout solution?

2008-01-06 Thread Zheng, Xiahong
Hi, Can somebody direct me to the relevant doc or examples that demonstrate the UI composition (similar to tiles or facelets) capability for both Tapestry 4 and 5. I am about to convert an existing tiles based application as part of the WEB MVC framework evaluation process and this is the first

Re: T5 Grid How to show embedded property-values?

2008-01-06 Thread Otho
I created a service to create beanmodels like this: public class BeanModelHelperImpl implements BeanModelHelper { /** * Create a BeanModel for a class from an ordered array of * Strings for the fieldnames. * * @param clazz the class for which the model is to be built *

T5 How to bypass TapestryFilter?

2008-01-06 Thread Dapeng
Hi guys I have a protected folder /private under the root but inside the folder i am only going to serve static contents like images and pdf but when i try to access the resource /myApp/private/images/1.jpg i got an exception saying there is no such page Unable to resolve

Tapestry Contrib Table to MS-Excel

2008-01-06 Thread swapnilpatil
I have one tapestry page in which i am using Tapestry's Contrib Table which contains some data. Now i want to export this table/data to MS-Excel file using a button. How to do this pls help me by sending a code for the same. -- View this message in context:

T5 and Acegi

2008-01-06 Thread Joshua Jackson
Dear all, Has anyone integrated T5 with Acegi already? Can use the default configuration from Acegi, or do we need to add additional configurations? Thanks in advance -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/

Re: T5 How to bypass TapestryFilter?

2008-01-06 Thread Davor Hrg
there are few ways.. one is to extend tapestryFilter and use that version in web.xml Davor Hrg On Jan 7, 2008 6:21 AM, Dapeng [EMAIL PROTECTED] wrote: Hi guys I have a protected folder /private under the root but inside the folder i am only going to serve static contents like images and

Re: T5 and Acegi

2008-01-06 Thread Davor Hrg
there is a module: quote: - I was looking at various solutions to this and found the Tapestry 5 acegi library, http://www.localhost.nu/java/tapestry5-acegi/ It has a really nice secured annotation to do a similar thing e.g. @Secured(ROLE_ADMIN) public class AdminPage {

What's heartbeat ?

2008-01-06 Thread Michael Courcy
Hi list, As I start to read the code on components I often see heartbeat @Environmental private Heartbeat heartbeat; with heartbeat.begin and heartbeat.end Can someone explain the role of this object and its methods invocations (begin and end) beacause it's not really clear in my mind.