Re: PatternValidator with Tapesty 4.0

2007-01-17 Thread Pratibha Gopalam
I am trying to use the scriptPath property to set a script path. But it says that the property not present. Can anybody please help me with this? Pratibha Gopalam wrote: Thanks you very much of the inputs. It works now! andyhot wrote: Nick Westgate wrote: Yet again, mourn the passing of

Re: PatternValidator with Tapesty 4.0

2007-01-17 Thread Pratibha Gopalam
. Pratibha Gopalam wrote: Hello, Has anybody used PatternValidator with Tapestry 4.0? I would like to validate an user input against a pattern. I tried using the PatternValidator like below class="org.apache.tapestry.valid.PatternValidator"> but got exce

PatternValidator with Tapesty 4.0

2007-01-16 Thread Pratibha Gopalam
Hello, Has anybody used PatternValidator with Tapestry 4.0? I would like to validate an user input against a pattern. I tried using the PatternValidator like below class="org.apache.tapestry.valid.PatternValidator"> but got exceptions saying patternString/patt

Re: How to store the query parameters in a Table component?

2006-08-10 Thread Pratibha Gopalam
when you enter a new search parameter, try resetting the table Table table = (Table) this.getComponent("myTable"); table.reset(); Jun Tsai wrote: hi all, I have a search form and a talbe in a page.When I enter some search text in form and click search button,results was sho

Re: How do I do a Servlet filter, or similar functionality... help please!

2006-07-18 Thread Pratibha Gopalam
This is what I did public class MyFilter implements WebRequestServicerFilter{ public void service(WebRequest request, WebResponse response, WebRequestServicer servicer) throws IOException { try { //do whatever u want servicer.servi

Re: Dynamic assigning component id

2006-05-30 Thread Pratibha Gopalam
Great! Thanks a lot! Mike Snare wrote: thanks! -Mike On 5/30/06, Nick Westgate <[EMAIL PROTECTED]> wrote: A tip: note that you don't need the element attribute for components that default it to templateTag (check the .jwc file). DRY ;-) So just is fine. Cheers, Nick. Mike Snare wrote:

Re: Dynamic assigning component id

2006-05-30 Thread Pratibha Gopalam
. Give it a shot. On 5/30/06, Pratibha Gopalam <[EMAIL PROTECTED]> wrote: Hello, Is there a way of dynamically assigning a component id at runtime? For example if I creating components in a for loop and I want to assign the component ids at runtime, is that possible? Tapestery doesn

Dynamic assigning component id

2006-05-29 Thread Pratibha Gopalam
Hello, Is there a way of dynamically assigning a component id at runtime? For example if I creating components in a for loop and I want to assign the component ids at runtime, is that possible? Tapestery doesn't allow me to use a ognl expression for jwcid like jwcid="ognl:categoryName". Is

Persistent Properites in pageAttached

2006-05-22 Thread Pratibha Gopalam
Hello all, When I try to access the persistent properties in the pageAttached method, I always get null. But I am able to access the persistent properties in any of the listener methods. I looked up the Javadoc (http://jakarta.apache.org/tapestry/tapestry/apidocs/index.html) and it says the p