populate another dropdownlist depending on selection i one dropdownlist

2005-03-07 Thread Srilatha Salla
Hi I have a dropdownlist of tables, I have to display a dropdownlist of columns of that table depending on the table selected. And I have to add a row when clicked on add row button. This row consists of dropdownlist of tables, dropdownlist of columns(this dropdownlist has to chnage depending o

showing alert message

2005-03-10 Thread Srilatha Salla
Hi, I have a list which I am iterating and displaying data in each row. I have check box for each row. For the value of check box I am sending the objectID for each row. I have 2 buttons delete, update. When these buttons are clicked, I need to send ids. I neew ids only and not status in the acti

dependent drops/onchange function

2005-03-15 Thread Srilatha Salla
Hi, There are these struts tags in my jsp. I need to write a javascript function so that when a button addrow is clicked a new row with these 2 dropdown lists(tables, columns) is displayed. how to add a row with javascript function. the second dropdown options depend on the table selected in the

dependent dropdowns

2005-03-15 Thread Srilatha Salla
Hi, There are these struts tags in my jsp. I need to write a javascript function so that when a button addrow is clicked a new row withthese 2 dropdown lists(tables, columns) is displayed. how to add a row with javascript function. the second dropdown options depend on the table selected in the f

Validating a required field

2005-04-07 Thread Srilatha Salla
Hi, I have a object called Record as a form property. Record has name, status etc as its properties. In the jsp I have I want to validate the name as a required field in validation.xml file. Is this the way to do it? Can the field property have a value simi

disable a text field.

2005-04-13 Thread Srilatha Salla
Hi, I have a dropdownlist. When I select "fixedwidth" option I have to make the textfield mapSet.delimiter noneditable/readonly, if I select "delimiter" option I should be able to enter data. I wrote an onchange event but I cannot make the textfield readonly. How do I change the attribute read

html:text area

2005-04-19 Thread Srilatha Salla
Hi, Can we restrict the length of textarea with any of the attributes? I have textarea that should not accept more than 250 characters, so I want to know if I can restrict the length with textarea attibutes. Thanks. __ Do You Yahoo!? Tired of spam

Hi

2004-11-05 Thread Srilatha Salla
Hi, I have a logic:iterate tag in my jsp. Select A Action I have 11 rows to i

Re: Hi

2004-11-05 Thread Srilatha Salla
ll generate names such as menuAction[0], menuAction[1] etc... indexed="true"> Niall ----- Original Message - From: "Srilatha Salla" To: Sent: Friday, November 05, 2004 4:41 PM Subject: Hi > Hi, > > I have a logic:iterate tag in my jsp. > > &g

Re: Hi

2004-11-05 Thread Srilatha Salla
to. Thanks. Niall Pemberton <[EMAIL PROTECTED]> wrote: No you don't need 11 different methods, if you read through this it (hopefully) should be clearer http://struts.apache.org/faqs/indexedprops.html Niall - Original Message ----- From: "Srilatha Salla" To: "

Re: Hi

2004-11-05 Thread Srilatha Salla
ould not display the textfield for phoneNumber for all 11rows as the default option is not "Transfer with prompt". Help me figure out this function. Thanks, Latha Srilatha Salla <[EMAIL PROTECTED]> wrote: Thanks for the help. I tried to understand what was on the site, it mig

form submision using javascript using html:link tag

2004-11-08 Thread Srilatha Salla
Hi, In my application there is a jsp page for example menu.jsp which has there is a link Menu Hours in the menu.jsp which goes to the hours.jsp I want to submit the form when i click the link, so that I can access the values entered in the menu.jsp. in HoursMenuAction. I tried but i

RE: form submision using javascript using html:link tag

2004-11-09 Thread Srilatha Salla
ote: I guess U may call a javascript like onclick="javascript:fnSubmit()" and in that function u can set the values for the form fields and then on last line of the function, call 'document.menuForm.submit()' -Original Message- From: Srilatha Salla [mailto:[EMAIL PROTECTED

how to call a javascript function when the page loads

2004-11-10 Thread Srilatha Salla
Hi, In my application I have menu.jsp which has a ligic tag, Select A Action

Re: how to pass values selected in a html select tag to a javascript function when a page loads

2004-11-11 Thread Srilatha Salla
understand completely, but could how about a JavaScript body "onload" call? Erik Srilatha Salla wrote: >Hi, > >In my application I have menu.jsp which has a ligic tag, > > > > > > > > > '> > Select A Action > > > > >