Need help regarding Bean Edit Form

2010-02-01 Thread Jagadesh Paladugula
Hi Everyon I have started using Tapestry5 recently in our project. I need help regarding Bean Edit Form. I have a use case where I want to show some fields in create mode and hide the same fields in edit mode (this just for an example). I have fulfilled the requirement with out use of Bean Edit

Re: Need help regarding Bean Edit Form

2010-02-01 Thread Jagadesh Paladugula
Want to add one more simple use case Want to disable some fields in edit mode and enable in create mode Regards, Jagadesh On Mon, Feb 1, 2010 at 6:11 PM, Jagadesh Paladugula < jagadeshpaladug...@gmail.com> wrote: > Hi Everyon > > I have started using Tapestry5 recently in

Re: Need help regarding Bean Edit Form

2010-02-01 Thread Jagadesh Paladugula
odifing the > exisiting, that's what you need. > > Another great source for examples is this one: > http://jumpstart.doublenegative.com.au:8080/jumpstart/theapp > > Greetings > > > On 01.02.2010 13:43, Jagadesh Paladugula wrote: > >> Want to add one more simple

Form element ids are getting changed

2010-02-02 Thread Jagadesh Paladugula
Hi I have a form inside a zone. When ever page gets rendered for first time, I have some javascript which gets executed based on *form id*, which helps me in submitting the form. But, When I update the zone, ids of the form and elements are getting changed dynamically. As the *form id changed*, m

Multiple Save Requests are going with Ajax Form Submit

2010-02-05 Thread Jagadesh Paladugula
Hi I have a zone and a form inside the zone. When ever I submit the form, I refresh the zone, so that user can add another object. First time when I click on the save(submit) button in the form, *1 request*is going to backend and the desired object is saving properly. Form Id's and element ids ar

Query regarding Tapestry Grid

2010-03-10 Thread Jagadesh Paladugula
Hi Everyone, In Tapestry, Grid gets generated when the "source" attribute of the grid returns a collection with length>0. When the length of the collection is 0, by default it generates some text content saying "*There is no data to display*". I want to change the above functionality in such a wa

Re: Query regarding Tapestry Grid

2010-03-10 Thread Jagadesh Paladugula
e.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html > > Regards, > Christophe Cordenier. > > 2010/3/10 Jagadesh Paladugula > > > Hi Everyone, > > > > In Tapestry, Grid gets generated when the "source" attribute of the

Re: Query regarding Tapestry Grid

2010-03-11 Thread Jagadesh Paladugula
nas wrote: > Hi, > > Could you just add a record to the List before it goes onto rendering? Are > there hooks for that? > > - I'm only new to tapestry, just throwing an idea out there. > > Cheers > Chris > > > > On Thu, Mar 11, 2010 at 4:35 PM, Jagad

Re: Query regarding Tapestry Grid

2010-03-11 Thread Jagadesh Paladugula
the empty block and pass it as a parameter. > > On Thu, Mar 11, 2010 at 9:08 AM, Jagadesh Paladugula < > jagadeshpaladug...@gmail.com> wrote: > > > Hi Chris, > > > > If I have 100 grids in my whole application, every where I have to do the > > same. I am loo

Re: Setting a default value for input fields

2010-03-16 Thread Jagadesh Paladugula
Hi, Use a boolean variable to track whether the form is submitted or not. Based on the boolean variable disable the input field. Assign appropriate value to the boolean variable after for is submitted. Regards, Jagadesh On Wed, Mar 17, 2010 at 5:28 AM, Kai Weber wrote: > Hi, > > if I have a p

Validation based on condition

2010-03-17 Thread Jagadesh Paladugula
Hi Everyone, I have a form which is getting generated dynamically based on some values in database. I want to add validation for a text box based on some condition. I tried doing some thing like this and added the below method in respective java file public String getValidator(){ if(test f

Re: Validation based on condition

2010-03-18 Thread Jagadesh Paladugula
Regards > Christophe cordenier > > Le 18 mars 2010 à 06:59, Jagadesh Paladugula > a écrit : > > > Hi Everyone, >> >> I have a form which is getting generated dynamically based on some values >> in >> database. I want to add validation for a text box

Re: Validation based on condition

2010-03-18 Thread Jagadesh Paladugula
nd internal (for tapestry developers) So if you're > looking at something, have a first look into the > 'org.apache.tapestry5.services' package, you should find what you need ;) > > Regards, > Christophe Cordenier. > > 2010/3/18 Jagadesh Paladugula > > >

Invalid length 138 in LocalVariableTable

2010-03-19 Thread Jagadesh Paladugula
Hi Every One, I am facing a wierd exception which says some thing like this *Invalid length 138 in LocalVariableTable in class file com/lp/ui/pages/system/parameter/ParameterTree* This exception comes when I have some complex operations in the page related class. If I move the complex logic to

Rendering same component inside a component

2010-03-30 Thread Jagadesh Paladugula
Hi I have a use case of some thing like this I have to render parent rows and child rows for the parent. This can be to any level(some thing like tree) I have created a component to render rows, and if the row is parent, I am including the same component to render the child rows. But Tapestry d