RE: [Tapestry-developer] submitting a form within a pull-down list

2002-09-27 Thread hlship
This was a common complaint; the submitOnChange is a formal parameter in 2.2. You can also use a Script to attach JavaScript to an existing PropertySelection that forces a form submit on change. -- [EMAIL PROTECTED] http://tapestry.sf.net > Hi, > > The problem is that the PropertySelection

RE: [Tapestry-developer] submitting a form within a pull-down list

2002-09-27 Thread Jeremy Clemenson
Hi, The problem is that the PropertySelection component does not allow informal parameters, and submitOnChange does not seem to be a formal parameter. I have verified that submitOnChange is not a formal paramter in 1.7 and within the docs for 2.1. I don't know how I can pass in the javascript o

[Tapestry-developer] Re: Tapestry suggestions

2002-09-27 Thread hlship
Two good points. On #1: Yes, you must invoke fireObservedChange(). As a component with state, you are also responsible for registering as a PageDetachListener (from finishLoad()) and reseting persistent state. There is currently a new Tutorial being assembled that will address this, and I'

Re: [Tapestry-developer] Chinese Big5 encoding problem

2002-09-27 Thread Howard M. Lewis Ship
You've got at least two options. public IRender getShellDelegate() { return new BIg5Renderer(); } or or I would generally use the middle one, since you can control the lifecyle of the bean and it doesn't require Java code. - Original Message - From: "smalluf

Re: [Tapestry-developer] dynamic component selection

2002-09-27 Thread Mind Bridge
Hi Pablo, The Table component does what you are asking for in a number of ways. It may be an overkill for your purposes, but it does demonstrate how it can be done neatly. It is not yet in a released (it will be in rc1, I believe), and it is still in the process of being documented, but you can see

[Tapestry-developer] Validate vs PageRedirectException vs Protected Pages

2002-09-27 Thread Tremblay, Jean
Hi, I am developing an application which has some protected pages. I am using some ideas taken from the VLib example. I use the validate method to redirect the page flow to a login page when the user tries to access a page which is protected. I redirect the page flow using PageRedirectException.

Re: [Tapestry-developer] Chinese Big5 encoding problem

2002-09-27 Thread Zhenbang Wei
- Original Message - From: "smallufo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 3:27 PM Subject: Re: [Tapestry-developer] Chinese Big5 encoding problem > Can somebody tell me how to assign a "delegate" class ? > I implemented one "IRender"