disabling html:select and html:text by the value in another html:select

2009-07-16 Thread Odelya YomTov
Hi! i have these components: i would like that when the user chooses a specific value in data.payingType - it would disable/enable the other html:select and html:text. i wrote this function:

Re: html:text

2008-01-29 Thread Dave Newton
--- "Arora, Parvinder" <[EMAIL PROTECTED]> wrote: > Can I hide the border which comes around html:text ? CSS; see the "styleClass" attribute [1]. (It may differ slightly depending on which version of S1 you're using; I honestly don't recall.) Dave [1] htt

html:text

2008-01-29 Thread Arora, Parvinder
A primitive question: Can I hide the border which comes around html:text ? ~Parvinder - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: style display for html:text or any control

2007-09-28 Thread Zarar Siddiqi
; > > if same thing i wanna do it in struts then ... > > /> //yes > incase of struts i m using styleClass and not class attribute of the > html:text field > above snippet flashes error mark ..saying unterminated html:text tag...m > sure its not reg. terminating html t

style display for html:text or any control

2007-09-28 Thread prem_gadgetquest
"; if(sCurrentUserRoleName.equalsIgnoreCase("Admin") { jsEdit="class='nonedit' " //nonedit is defined by me! } else { jsEdit="class='edit' " } /> if same thing i wanna do it in struts then ... /> //yes incase of struts i m using styleC

AW: How to set focus to html:text?

2007-08-27 Thread Altmeier, Christian
g, 27. August 2007 13:52 An: user@struts.apache.org Betreff: How to set focus to html:text? Hi, The previous posting was about HTML only, but this one is struts, and if anybody can help me, i would be so grateful. thanks ...

How to set focus to html:text?

2007-08-27 Thread Cenk
Hi, The previous posting was about HTML only, but this one is struts, and if anybody can help me, i would be so grateful. thanks ... Login: - To unsubscri

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hello..it works properly now. Ive changed html:text syntax to " size="25"/> and declared bitrateTxt in my actionform as private String[] bitrateTxt = {"","","","",""}; public String[] getBitrateTxt() {

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
here is the declaration of bitrateTxt in my actionform private String bitrateTxt; public String getBitrateTxt() { return this.bitrateTxt; } public void setBitrateTxt(String bitrateTxt) { this.bitrateTxt = bitrateTxt; }

Re: html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hi but I also declares bitrateText in my actionform.. Thank you for your reply.. nuwan chandrasoma-2 wrote: > > Hi, > > You dont have a getter method for bitrateTxt property in the bean your > trying to access (item1). > > Thanks, > > Nuwan > > Hiroyuki Suzuki wrote: >> hello guys..Im Hiroy

Re: html:text inside logic:iterate

2007-08-01 Thread Nuwan Chandrasoma
Hi, You dont have a getter method for bitrateTxt property in the bean your trying to access (item1). Thanks, Nuwan Hiroyuki Suzuki wrote: hello guys..Im Hiroyuki and im new here.. Hope you could help me with some of my inquiries. I have this JSP property="items1">

html:text inside logic:iterate

2007-08-01 Thread Hiroyuki Suzuki
hello guys..Im Hiroyuki and im new here.. Hope you could help me with some of my inquiries. I have this JSP "/> "/> "/> my action form contains: private String[] bitratebox = {}; private String[] items1 = {"500k","1

Re: Handling international number and date formats in html:text fields

2007-06-13 Thread Laurie Harper
Adam Lipscombe wrote: Folks, We have an internationalised site using struts 1.3.8. We output currency and number values to the JSP with the bean:write tag and this works well. The problem comes when the user is entering numbers, currency and dates via an html:text field. Ideally it would

Handling international number and date formats in html:text fields

2007-06-13 Thread Adam Lipscombe
Folks, We have an internationalised site using struts 1.3.8. We output currency and number values to the JSP with the bean:write tag and this works well. The problem comes when the user is entering numbers, currency and dates via an html:text field. Ideally it would be nice if the

inputting numbers with html:text fields and internationalisation

2007-06-13 Thread Adam Lipscombe
Folks, We have an internationalised site using struts 1.3.8. Outputting currency and numbers with the bean:write tag works well. The problem comes when the user is inputting numbers and currency via an html:text field. Ideally it would be nice if the conversion to US/UK format was handled

Re: html:text autocomplete=off possible?

2007-04-19 Thread john lee
skip, tks u so much, it works john Skip Hollowell <[EMAIL PROTECTED]> wrote: john lee-15 wrote: > for regular html, input type=text autocomplete=off > > but, how to set it in struts html:text ? > > i checked the reference of html:text, it does not have

RE: html:text autocomplete=off possible?

2007-04-19 Thread Rod Bollinger
maintain cross-browser compatibility. -Rod -Original Message- From: Skip Hollowell [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 15:21 To: user@struts.apache.org Subject: Re: html:text autocomplete=off possible? john lee-15 wrote: > for regular html, input type=text autocompl

Re: html:text autocomplete=off possible?

2007-04-19 Thread Skip Hollowell
john lee-15 wrote: for regular html, input type=text autocomplete=off but, how to set it in struts html:text ? i checked the reference of html:text, it does not have autocomplete this attribute, what is the equivalent of that? tks in advance john John, since I

html:text autocomplete=off possible?

2007-04-19 Thread john lee
for regular html, input type=text autocomplete=off but, how to set it in struts html:text ? i checked the reference of html:text, it does not have autocomplete this attribute, what is the equivalent of that? tks in advance john

Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread Christopher Schultz
i can not use javascript to access "input" tag by >either > document.getElementsByTagName("INPUT"); >or > document.getElementsByTagName("HTML:TEXT"); Could there be a DOCTYPE issue here? My understanding is that d

Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread john lee
dave, tks ur reply. when i test plain html file with input tag document.getElementsByTagName("INPUT").length>0 when i test struts html file with html:text tag document.getElementsByTagName("INPUT").length=0 any clue? tks

Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > plain html file > > i can use javascript to access "input" tag by > document.getElementsByTagName("INPUT"); > > but for struts html file > > i can not use javascript to access "input" tag > by either document.getEle

pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread john lee
sByTagName("INPUT"); or document.getElementsByTagName("HTML:TEXT"); Can anyone give me ur hand? tks in advance john - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.

AW: AW: AW: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Peter Neu
> Betreff: Re: AW: AW: AW: HowTo Format Numbers in html:text tag? > > Looks ok to me altho im not familiar with parse position > > You might wanna allow blank too > if (price != null && price.trim().length() != 0) { > > And catch NumberFormatException / set an

Re: AW: AW: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Lance
a double value. Does that make sense? -Ursprüngliche Nachricht- Von: Lance [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. April 2007 11:31 An: Struts Users Mailing List Betreff: Re: AW: AW: HowTo Format Numbers in html:text tag? Your brute force approach does not use tho? Also, I hav

AW: AW: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Peter Neu
a double value. Does that make sense? > -Ursprüngliche Nachricht- > Von: Lance [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 16. April 2007 11:31 > An: Struts Users Mailing List > Betreff: Re: AW: AW: HowTo Format Numbers in html:text tag? > > Your brute force appro

Re: AW: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Lance
more code than the brute force approach: " /> If have about 20-30 items. :o( -Ursprüngliche Nachricht- Von: Lance [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. April 2007 11:05 An: Struts Users Mailing List Betreff: Re: AW: HowTo Format Numbers in html:text tag? You

AW: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Peter Neu
But that's more code than the brute force approach: " /> If have about 20-30 items. :o( > -Ursprüngliche Nachricht- > Von: Lance [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 16. April 2007 11:05 > An: Struts Users Mailing List > Betreff: Re: AW: HowTo

Re: AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Lance
You could combine with struts-el var="formattedNumber" /> Peter Neu wrote: That looks cool but I need to embed the value in the html:text field so the user is able to edit the value. That won't work with 2 tags. :o( -Ursprüngliche Nachricht- Von: La

AW: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Peter Neu
That looks cool but I need to embed the value in the html:text field so the user is able to edit the value. That won't work with 2 tags. :o( > -Ursprüngliche Nachricht- > Von: Lance [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 16. April 2007 10:45 > An: Struts U

Re: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Lance
Oops, i mean Lance wrote: You could use in JSTL http://bellsouthpwp.net/b/i/billsigg/jstl-quick-reference.pdf <http://bellsouthpwp.net/b/i/billsigg/jstl-quick-reference.pdf> Peter Neu wrote: Hello, I need to format a number string in a html:text tag because the default value m

Re: HowTo Format Numbers in html:text tag?

2007-04-16 Thread Lance
You could use in JSTL http://bellsouthpwp.net/b/i/billsigg/jstl-quick-reference.pdf <http://bellsouthpwp.net/b/i/billsigg/jstl-quick-reference.pdf> Peter Neu wrote: Hello, I need to format a number string in a html:text tag because the default value must be written with a comma sp

HowTo Format Numbers in html:text tag?

2007-04-16 Thread Peter Neu
Hello, I need to format a number string in a html:text tag because the default value must be written with a comma sperator. e.g. 4,5 while the value of my value bean is in fact like this: 4.5. Normally I would use bean:message and the format attribute. But this does not work in html:text. How

R: Section 508 and html:text tag issue

2007-01-26 Thread Marcello Savino
In a jsp file: MY FIELD Marcello -Messaggio originale- Da: Weisfield, Russell (HAC) [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 23.25 A: user@struts.apache.org Oggetto: Section 508 and html:text tag issue Hello, To abide by Section 508 compliance I need to associate

Re: Section 508 and html:text tag issue

2007-01-25 Thread Christopher Goldman
On Thu, 2007-01-25 at 15:25 -0700, Weisfield, Russell (HAC) wrote: > Hello, > > To abide by Section 508 compliance I need to associate my form inputs > with a tag. I therefore tried to add in an "id" attribute to my > html:text tag (which is using the TextTag object).

Re: Section 508 and html:text tag issue

2007-01-25 Thread Dave Newton
--- "Weisfield, Russell (HAC)" wrote: > [...] the text inputs did not have the id > attribute with them and therefore [...] http://struts.apache.org/1.2.9/userGuide/struts-html.html#text styleId? Dave Expec

Section 508 and html:text tag issue

2007-01-25 Thread Weisfield, Russell \(HAC\)
Hello, To abide by Section 508 compliance I need to associate my form inputs with a tag. I therefore tried to add in an "id" attribute to my html:text tag (which is using the TextTag object). While the page rendered successfully ( I did modify my .tld file to correct a rendering e

Re: setting an an html:text value with another html:text

2006-11-14 Thread Ed Griebel
This general approach would work, but if you can use JSTL, it could be written much cleaner as: ... You may be able to get away with not even having the statement and using just ${editable} On 11/14/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: On 11/14/06, Adam K <[EMAIL PROTECTED]> wrote:

Re: setting an an html:text value with another html:text

2006-11-14 Thread Adam K
That will work I suppose I was just hoping that there was a somewhat more elegant way of doing it, the fact that I'm not using JSTL should have hit me in the face that this wouldn't be elegant however. thanks for the thought. On 11/14/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: On 11/14/06,

Re: setting an an html:text value with another html:text

2006-11-14 Thread Puneet Lakhina
On 11/14/06, Adam K <[EMAIL PROTECTED]> wrote: Hi all , I am attempting to do the following, and it obviously isn't working, but I was hoping someone on the list would point me to something that might work instead: I have this text field and I want to be able to alternate the readonly property

setting an an html:text value with another html:text

2006-11-14 Thread Adam K
Hi all , I am attempting to do the following, and it obviously isn't working, but I was hoping someone on the list would point me to something that might work instead: I have this text field and I want to be able to alternate the readonly property from true and false. I tried to put in the below

Re: Dynamically Generated html:Text

2006-09-18 Thread Aftab Vhora
/18/06, Aftab Vhora <[EMAIL PROTECTED]> wrote: Hi, I m dynamically generating the html:text , i have made correct entry in the struts config.xml and also implemented the Action Form and Action class. But I m getting below error, request you to kindly provide me the solution. ===ERRO

Re: Dynamically Generated html:Text

2006-09-18 Thread Puneet Lakhina
On 9/18/06, Aftab Vhora <[EMAIL PROTECTED]> wrote: Hi, I m dynamically generating the html:text , i have made correct entry in the struts config.xml and also implemented the Action Form and Action class. But I m getting below error, request you to kindly provide me the so

Re: Dynamically Generated html:Text

2006-09-18 Thread Monkeyden
It's not finding the ActionForm. It looks like you need a slash before "process" in the form tag, provided that you indeed have an action mapping with path "/process" in your Struts config file. On 9/18/06, Aftab Vhora <[EMAIL PROTECTED]> wrote: Hi, I m dynam

RE: R: Dynamically Generated html:Text

2006-09-18 Thread Lance
Try -Original Message- From: Marcello Savino [mailto:[EMAIL PROTECTED] Sent: 18 September 2006 13:29 To: Struts Users Mailing List Subject: R: R: Dynamically Generated html:Text Something like that: public class myMapForm extends ActionForm { public void setTxt(int index

R: R: Dynamically Generated html:Text

2006-09-18 Thread Marcello Savino
s Mailing List Oggetto: Re: R: Dynamically Generated html:Text Hi Savino, Thanks for the reply. Could u please provide me an example my test.jsp using indexed properties. Thanks & Regards, Aftab Vhora Marcello Savino wrote: >1) You have some kind of getter and setter for txt prope

Re: R: Dynamically Generated html:Text

2006-09-18 Thread Aftab Vhora
look for indexed properties -Messaggio originale- Da: Aftab Vhora [mailto:[EMAIL PROTECTED] Inviato: lunedì 18 settembre 2006 12.06 A: Struts Users Mailing List Oggetto: Dynamically Generated html:Text Hi, I m dynamically generating the html:text , i have made correct entry in the struts c

R: Dynamically Generated html:Text

2006-09-18 Thread Marcello Savino
getto: Dynamically Generated html:Text Hi, I m dynamically generating the html:text , i have made correct entry in the struts config.xml and also implemented the Action Form and Action class. But I m getting below error, request you to kindly provide me the solution. ===

Dynamically Generated html:Text

2006-09-18 Thread Aftab Vhora
Hi, I m dynamically generating the html:text , i have made correct entry in the struts config.xml and also implemented the Action Form and Action class. But I m getting below error, request you to kindly provide me the solution. ===ERROR javax.servlet.jsp.JspException

Re: Struts with dynamically generated html:Text

2006-09-15 Thread Puneet Lakhina
On 9/15/06, Aftab Vhora <[EMAIL PROTECTED]> wrote: Hi, In my page I am generating text boxes dynamically(i.e. clicking on a button "Add more" will add a text box in my page.) Now I want to implement my ActionForm to capture the data entered in those dynamically generated text boxes. Is it poss

Struts with dynamically generated html:Text

2006-09-14 Thread Aftab Vhora
Hi, In my page I am generating text boxes dynamically(i.e. clicking on a button "Add more" will add a text box in my page.) Now I want to implement my ActionForm to capture the data entered in those dynamically generated text boxes. Is it possible in struts ? If yes, please provide me the so

Re: displaying Date, BigDecimal as html:text

2006-08-08 Thread Laurie Harper
Puneet Lakhina wrote: Also, if the user leaves the field for BigDecimal as blank, I get an exception (string->BigDecimal conversion exception). So, is the solution to this is to make all formbean properties to be "String" type? you coud do something like BigDecimal bigDecimalProperty; publi

Re: displaying Date, BigDecimal as html:text

2006-08-03 Thread Puneet Lakhina
Also, if the user leaves the field for BigDecimal as blank, I get an exception (string->BigDecimal conversion exception). So, is the solution to this is to make all formbean properties to be "String" type? you coud do something like BigDecimal bigDecimalProperty; public setBigDecimalProperty

displaying Date, BigDecimal as html:text

2006-08-03 Thread kkumar
Hello, I saw that has a "format" attribute for formatting dates and dollar values. But I didn't see similar thing for . If my bean has a property called "amount" of type BigDecimal, and I want to display that as a for the user to modify the value, How can I format it? Also, if the user leaves

Re: FW: html:text

2006-07-12 Thread fea jabi
Thankyou very much for your responce. From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: FW: html:text Date: Tue, 11 Jul 2006 17:32:55 -0400 > type="org.apache.struts.validator.DynaVali

Re: FW: html:text

2006-07-11 Thread Laurie Harper
> errorStyleClass="errormsg"/> > > > > You're using display:table to expose each entry in the list as a scripting variable rows, so rows is a bean of whatever type is stored in the AdHrs property, and you're binding the html:tex

Re: FW: html:text

2006-07-07 Thread fea jabi
. . Validation.xml test (*this* >= 0) From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: u

Re: html:text

2006-07-06 Thread Monkeyden
Who can tell by this documentation? How can both "if any" [corresponding bean property] and [Required] both be true? Name of this input field, and the name of the corresponding bean property if value is not specified. The corresponding bean property *(if any)* must be of type String. *[Required]

Re: FW: html:text

2006-07-06 Thread Laurie Harper
the row object of the table. Even when I enter string value in the text field I see no error messages. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: html:text Date: Wed, 05 Jul 2006 15:36:47 -0400 In a

FW: html:text

2006-07-06 Thread fea jabi
the table. Even when I enter string value in the text field I see no error messages. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: html:text Date: Wed, 05 Jul 2006 15:36:47 -0400 In a table in one of

html:text

2006-07-05 Thread fea jabi
In a table in one of the columns there are is it required that each input item has a corresponding form-bean property? by using the below does it take all the user entered values in the column?? Each row is an object and sessionScope.Form.hrs is the list of these objects. requestURI="Prepa

Re: html:text inside a custom tag

2006-06-07 Thread Scott Van Wart
Hanmay Udgiri wrote: I could not get both Dave and Scott Can u explain more briefly I don't think I can get any more brief than my original post. Your issue seems to be that you're unable to use tags from your custom Java tag. My response was, don't use a custom Java tag. Use a JSP-based tag

Re: html:text inside a custom tag

2006-06-07 Thread Dave Newton
Hanmay Udgiri wrote: > I could not get both Dave and Scott > Can u explain more briefly ... really? Copy bean:message Use JSP two-oh tags JEE haiku Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: html:text inside a custom tag

2006-06-06 Thread Hanmay Udgiri
I could not get both Dave and Scott Can u explain more briefly On 6/7/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: Hanmay Udgiri wrote: > Hi > Can we use bean:message in the custom tag java class(in the doStartTag > method) > You could use a JSP-based tag instead of a Java tag, let's say /WEB-

Re: html:text inside a custom tag

2006-06-06 Thread Scott Van Wart
Hanmay Udgiri wrote: Hi Can we use bean:message in the custom tag java class(in the doStartTag method) You could use a JSP-based tag instead of a Java tag, let's say /WEB-INF/tags/mytag.tag: <%@ taglib uri="/tags/struts-bean" prefix="bean" %> - Scott

Re: html:text inside a custom tag

2006-06-06 Thread Dave Newton
I HARIKRISHNA wrote: > No You cant use > > Hanmay Udgiri <[EMAIL PROTECTED]> wrote: Hi > Can we use bean:message in the custom tag java class(in the doStartTag > method) > ...but you _can_ use the same _methods_ that the tag uses. Dave

Re: html:text inside a custom tag

2006-06-05 Thread I HARIKRISHNA
No You cant use Hanmay Udgiri <[EMAIL PROTECTED]> wrote: Hi Can we use bean:message in the custom tag java class(in the doStartTag method) -- Thanks and Regards Hanmayya Udgiri - Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with

html:text inside a custom tag

2006-06-05 Thread Hanmay Udgiri
Hi Can we use bean:message in the custom tag java class(in the doStartTag method) -- Thanks and Regards Hanmayya Udgiri

Re: html:text attributes

2006-05-08 Thread Dave Newton
Rahul Akolkar wrote: > On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: >> Could any one give info how the below attributes can be used in >> Related tlddoc contains short descriptions: > > http://struts.apache.org/struts-action/struts-taglib/tlddoc/html/text.html > And the documentation contains

Re: html:text attributes

2006-05-08 Thread Niall Pemberton
On 5/5/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: > Could any one give info how the below attributes can be used in tag. > > errorKey > errorStyle > errorStyleClass > errorStyleId > Related tlddoc contains short descriptions: http://struts.apa

Re: html:text attributes for nested tags

2006-05-05 Thread Rahul Akolkar
ay 05, 2006 6:10 PM To: 'user@struts.apache.org' Subject: html:text attributes Could any one give info how the below attributes can be used in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:text attributes for nested tags

2006-05-05 Thread Raghuveer
It is working like this for scalar properties but doesn't work for nested tags -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 6:10 PM To: 'user@struts.apache.org' Subject: html:text attributes Could any one give info how the b

Re: html:text attributes

2006-05-05 Thread Rahul Akolkar
On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: Could any one give info how the below attributes can be used in Related tlddoc contains short descriptions: http://struts.apache.org/struts-action/struts-taglib/tlddoc/html/text.html -Rahul -

html:text attributes

2006-05-05 Thread Raghuveer
Could any one give info how the below attributes can be used in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: creating html:text-forms on the fly

2006-04-14 Thread Andreas Hartmann
Hello Rick, I implemented your idea for unknown

html:text tag, EL expressions follow-up

2006-04-13 Thread Jim Reynolds
Hello, Last week I started a thread about issues using EL expressions within

Re: creating html:text-forms on the fly

2006-04-12 Thread Rick Reumann
Andreas Hartmann wrote: Hello, I've got a lot of html:text forms, which are created on the fly - therefore I don't know during programming, which getter and setter-methods will be needed. I assume, it works by using arrays. More than likely you really don't

creating html:text-forms on the fly

2006-04-12 Thread Andreas Hartmann
Hello, I've got a lot of html:text forms, which are created on the fly - therefore I don't know during programming, which getter and setter-methods will be needed. I assume, it works by using arrays. In the ActionForm: ArrayList value=new ArrayList(); public String getVa

Re: html:text tag, how to get javascript index

2006-04-07 Thread Craig McClanahan
On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Jim Reynolds wrote the following on 4/7/2006 2:27 PM: > > PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or > > do I need a certain jar? > > Not sure what could be wrong. Tomcat 5 supports EL expressions ( ${} > stuff ) by d

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 2:27 PM: PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or do I need a certain jar? Not sure what could be wrong. Tomcat 5 supports EL expressions ( ${} stuff ) by default. Paste the tag declarations you are using on the top of

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or do I need a certain jar? Maybe I am missing something. On 4/7/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > It is the later. I just checked my lib dir. Only using the latest > struts jars and no struts-el jars even in there. >

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
It is the later. I just checked my lib dir. Only using the latest struts jars and no struts-el jars even in there. Thanks, On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Jim Reynolds wrote the following on 4/7/2006 2:02 PM: > > Thanks Rick for the info. > > > > I am running Tomcat 5.5. Bu

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 2:02 PM: Thanks Rick for the info. I am running Tomcat 5.5. But for some reason, it is still not happy. It just prints out the tag like in the page, and does no variable substitution. What do you mean by it prints out the tag like in the page? Are y

Re: html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
Thanks Rick for the info. I am running Tomcat 5.5. But for some reason, it is still not happy. It just prints out the tag like in the page, and does no variable substitution. On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Jim Reynolds wrote the following on 4/7/2006 1:38 PM: > > I have

Re: html:text tag, how to get javascript index

2006-04-07 Thread Rick Reumann
Jim Reynolds wrote the following on 4/7/2006 1:38 PM: I have the following logic:iterate loop Depends what servlet and jsp spec you are using. Are you using something like Tomcat 5.x? If so... onchange="updateStatus('${index}');" /> -- Rick http://ww

html:text tag, how to get javascript index

2006-04-07 Thread Jim Reynolds
I have the following logic:iterate loop The loop is happy and creates nice names and indexed properties. Problem is, when someone does an update on one of the slices (of the indexed data), I need to know which one they clicked. The line updateStatus(

RE: how to avoid "html:text" tag converting "&" to "&"?

2006-03-06 Thread Vu, Thai
I don't know if anybody answer this question. I think it is It works with , but I never try with -Original Message- From: Ayhan Güngör [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 7:46 AM To: user@struts.apache.org Subject: how to avoid "html:text" tag co

how to avoid "html:text" tag converting "&" to "&"?

2006-03-02 Thread Ayhan Güngör
hi, i have some values on DB like "ş" and when i use html:text to show binding's value, html:text converts "&" to "&". in generated html, it looks like "&#351;". how to avoid this conversion? thanks... Ayhan Güngör ---

RE: How to retain form data when disabling input in html:text

2006-02-21 Thread Wang, Hansen
retain form data when disabling input in html:text Thanks Craig: I worked for what I wanted to achieve. Only with read-only property setting, it does not grey out input text field. I have to find out what to set so that it changes appearance when read-only property is set

Re: How to retain form data when disabling input in html:text

2006-02-21 Thread Michael Jouravlev
On 2/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have > I populate html:text with data from DB. > I want to disable input for this property, but > when I get form data back in Action form bean does not have data for this > property "bucketName" > >

Re: How to retain form data when disabling input in html:text

2006-02-21 Thread digant . k . joshi
nahan" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/21/2006 05:14 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" cc: Subject:Re: How to retain form data when disabling input in html:text O

Re: How to retain form data when disabling input in html:text

2006-02-21 Thread Craig McClanahan
On 2/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have > I populate html:text with data from DB. > I want to disable input for this property, but > when I get form data back in Action form bean does not have data for this > property "bucketName&qu

How to retain form data when disabling input in html:text

2006-02-21 Thread digant . k . joshi
I have I populate html:text with data from DB. I want to disable input for this property, but when I get form data back in Action form bean does not have data for this property "bucketName" How do i retain data after disabling input in html:text. Thanks. This communicat

Re: how to pass value in html:text from action

2005-11-29 Thread Stanislav
> >> > >> >>value="<%=value.toString()%>" /> > > > >Tnx, it works :-) > > > >>Alternatively, use an action to populate the form bean. > >> > >OK. I try to do this: > > > >ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; > >zahtjevZaKreditForm.setPrezimeK(prezimeK); > > > >

Re: how to pass value in html:text from action

2005-11-29 Thread Borislav Sabev
Stanislav wrote: Tnx, it works :-) Alternatively, use an action to populate the form bean. OK. I try to do this: ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; zahtjevZaKreditForm.setPrezimeK(prezimeK); and leave the jsp unchanged like: Try to

Re: how to pass value in html:text from action

2005-11-29 Thread Stanislav
> > value="<%=value.toString()%>" /> Tnx, it works :-) > Alternatively, use an action to populate the form bean. OK. I try to do this: ZahtjevZaKreditForm zahtjevZaKreditForm = (ZahtjevZaKreditForm) form; zahtjevZaKreditForm.setPrezimeK(prezimeK); and leave the jsp unchanged like: But th

Re: how to pass value in html:text from action

2005-11-29 Thread Bob Arnott
Stanislav wrote: [snipped...] You can't embed tags within tags... Try something like: Alternatively, use an action to populate the form bean. Cheers, -- Bob Arnott - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

how to pass value in html:text from action

2005-11-29 Thread Stanislav
html:text value=dbadata, but if i do that with: bean:write is not renderd because is inside html:text. OK, i know what is the problem but i don't know how to solve them :-( What is the best way of getting data from db, displaying them and put them back into db with posible changed value?

Re: Tag html:text

2005-11-16 Thread Niall Pemberton
Ha! thanks, that missed my radar. Niall - Original Message - From: "Rahul Akolkar" <[EMAIL PROTECTED]> Sent: Wednesday, November 16, 2005 9:28 PM On 11/16/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I agree, the BaseHandlerTag has all the code required for "onselect", but > none o

Re: Tag html:text

2005-11-16 Thread Rahul Akolkar
<[EMAIL PROTECTED]> > Sent: Wednesday, November 16, 2005 10:45 AM > > > > Hello, > > I think the attribute onselect is missing on tag html:text. Struts 1.2.7 > > (and Struts 1.2.8) > > Is this an issue ? > > I put in the tld the new attribute and it w

  1   2   3   >