Re:

2004-05-17 Thread Domingo A. Rodriguez S.
Use html:options collection="dummyList" labelName="key" labelProperty="value" Implement this javabean.. public class Row implements java.io.Serializable{ Row(String key, String value){this.key=key;this.value=value;}; private String key=""; private String value=""; public String getKey(

Re: [OT] Good luck Dream Team

2004-08-30 Thread Domingo A. Rodriguez S.
(1) USA= http://www.athens2004.com/en/OlympicMedals/medals?noc=USA (18)Brasil= http://www.athens2004.com/en/OlympicMedals/medals?noc=BRA (34)Jamaica= http://www.athens2004.com/en/OlympicMedals/medals?noc=JAM (38)Argentina= http://www.athens2004.com/en/OlympicMedals/medals?noc=ARG Now it looks bet

Re: what is the difference between forward and redirect?

2004-04-15 Thread Domingo A. Rodriguez S.
Use redirects when you don't want the contents of your request to be present while accessing the next resource. i.e. when you access a login page, when you access an external resource. Use forwards when you want the contents of your request to be handled or present by the next resource you forwar

Re: Array (or List, or Map) Validation

2004-04-30 Thread Domingo A. Rodriguez S.
:) I highlight the incorrect records, so the users will see their errors easier. Atte. Domingo A. Rodriguez S. --- Niall Pemberton <[EMAIL PROTECTED]> escribió: > To make this kind of feature useful there needs to be some way of > indicating > which occurance of the "indexe

Re: Graceful way to handle quotation marks in forms

2005-07-11 Thread Domingo A. Rodriguez S.
String value1= request.getParameter("value1").replace('\'','`'); Just replace the quotation mark for a backtick. Users will not usually notice the change :) --- "Walter, Matt" <[EMAIL PROTECTED]> escribió: > I was wondering if there was a tried and true method to handle form > input that ha

Re: javascript update tag value property [OFFTOPIC?]

2007-11-21 Thread Domingo A. Rodriguez S.
Hello Victor, Simplify. something like this should work. Maquina.onChange event { document.form1.textfield1.value= document.form1.Maquina.options[document.form1.Maquina.selectedIndex].value; } Regards, Domingo --- victor sosa <[EMAIL PROTECTED]> escribió: > > ANY IDEAS, how to? > > > vict

Re: Two drop downs, and I need that the contents of the second dependent on the value selected in the first!!!

2006-09-19 Thread Domingo A. Rodriguez S.
javascript remoting or ajax should do fine there. google for it. --- yamilka vallejo ramos <[EMAIL PROTECTED]> escribió: > Hii everyone, > I have two drop downs in my jsp page, and I need to the contents of > the > second dependent on the value selected in the first. > To handle this, I need