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] http://struts.apache.org/1.x/struts-taglib/t

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() { return this.bitrateTxt; } public void setBitra

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">

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 autocomplete > this attribu

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 wasn'

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: 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

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
On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote: It is working like this for scalar properties but doesn't work for nested tags Maybe you're looking for its nested counterpart, ? -Rahul -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 6:10

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 below attributes c

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 -

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

Re: html:text not interpreted :-(

2005-10-11 Thread Eric Plante
sses etc? > Is that wrong approach? > > [EMAIL PROTECTED] wrote: > Have u map it with form-bean. > > > > > bib_lucene bib > 10/11/2005 11:54 AM > Please respond to > "Struts Users Mailing List" > > > To > Struts Users Mailing List > cc &g

Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
"Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: html:text not interpreted :-( ok I attached files , I access this page using http://localhost:8090/rs/tiles/example.jsp It displays header, left pane, content, footer. But does not show text box in conte

Re: html:text not interpreted :-(

2005-10-10 Thread Sunil_Sahu
Have u map it with form-bean. bib_lucene bib <[EMAIL PROTECTED]> 10/11/2005 11:54 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: html:text not interpreted :-( ok I attached files , I access this page using http://l

Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
ok I attached files , I access this page using http://localhost:8090/rs/tiles/example.jsp It displays header, left pane, content, footer. But does not show text box in content. Thanks for your help. bibWendy Smoak <[EMAIL PROTECTED]> wrote: From: "bib_lucene bib" <[EMAIL PROTECTED]>> I still cann

Re: html:text not interpreted :-(

2005-10-10 Thread Wendy Smoak
From: "bib_lucene bib" <[EMAIL PROTECTED]> I still cannot see the text field in body. This is the content of my web.xml If you're using the known URI for the taglibs, then you don't need in web.xml. (Fix the Tiles URI before removing its from web.xml though.) Are you sure your browser has

Re: html:text not interpreted :-(

2005-10-10 Thread bib_lucene bib
<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"; prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-h

Re: html:text not interpreted

2005-10-10 Thread Michael Jouravlev
I get this error from time to time, I forget things ;-) Maybe it would be nice, if every tag library had an "I am here" tag, which would produce an HTML comment, when taglib is found. Michael. On 10/10/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "bib_lucene bib" <[EMAIL PROTECTED]> > > > I

Re: html:text not interpreted

2005-10-10 Thread Wendy Smoak
From: "bib_lucene bib" <[EMAIL PROTECTED]> I have put the taglibs on top of template.jsp <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %> <%@ taglib uri="http://jakarta.apache.o

Re: html:text not interpreted

2005-10-10 Thread Robert Taylor
It appears you didn't include the html taglib: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> /robert bib_lucene bib wrote: Hi I am working on a sample struts tiles app . I got here http://www.roseindia.net/struts/struts_tiles.shtml This is a very basic tiles ap

Re: html:text display

2005-07-13 Thread Rick Reumann
Rick Reumann wrote the following on 7/13/2005 3:03 PM: slignly logic Ha, sounds like a cool word "slignly" - no clue what I was trying to say there since I typed it so fast.. I must have meant "slight." -- Rick - To unsu

Re: html:text display

2005-07-13 Thread Rick Reumann
Archana . wrote the following on 7/13/2005 2:24 PM: I have a html:text field on my form whose corresponding bean property is an integer(text field represents year). The default value is 0. I want the text field to display blank when the value is 0, and display the value otherswise. Would anyone

Re: html:text and html:textarea same width

2005-06-13 Thread Dave Newton
Tony Smith wrote: I want the text and textarea have the same widths. But it is not true with the above code when displayed in the browser. How can I fix it? CSS? This isn't a Struts issue, but HTML. Dave - To un

RE: html:text area

2005-04-20 Thread Fogleson, Allen
truts Users Mailing List' Subject: RE: html:text area Watch out for users pasting in text that exceeds the allowed limit! Paul > -Original Message- > From: Mike Darretta [mailto:[EMAIL PROTECTED] > Sent: 2005/20/04 17:03 > To: Struts Users Mailing List > Subject: Re: htm

RE: html:text area

2005-04-20 Thread Paul McCulloch
Watch out for users pasting in text that exceeds the allowed limit! Paul > -Original Message- > From: Mike Darretta [mailto:[EMAIL PROTECTED] > Sent: 2005/20/04 17:03 > To: Struts Users Mailing List > Subject: Re: html:text area > > > I had the same issue, and

Re: html:text area

2005-04-20 Thread Mike Darretta
I had the same issue, and resolved it by executing a simple javascript upon each keystroke. If the user exceeded the max, the keystroke would be rejected (that is, no more text could be entered without deleting previous text) In my JSP... onkeydown="re

Re: html:text area

2005-04-19 Thread Michael J.
On 4/19/05, Srilatha Salla <[EMAIL PROTECTED]> wrote: > 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. See: http://struts.apach

RE: html:text in logic:iterate

2004-11-04 Thread Sebastian Ho
t; > > -Original Message- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 12:45 PM > To: Struts Users Mailing List > Subject: RE: html:text in logic:iterate > > How do I populate it in the Action if I need to iterate through

RE: html:text in logic:iterate

2004-11-04 Thread Girish Kumar K. P.
irish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:45 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate How do I populate it in the Action if I need to iterate through the ActionForms in my JSP? I am thinking th

Re: html:text in logic:iterate

2004-11-03 Thread Erik Weber
Couldn't you just use one of the expression languages? For example: . . . in a JSP 2.0 (Expression Language-aware) container, or, using the EL tags: or <%= mymobilephaseloadings.getPercentage() %> using the older runtime expression language. Not sure if my syntax is 100% correct. Also, I thin

RE: html:text in logic:iterate

2004-11-03 Thread Sebastian Ho
ot;percentage"/> > So, poipulate the form bean at the action . That's it > Dopn't give the value attribute. > It will work > > -Original Message- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 12:34 PM > To: Strut

RE: html:text in logic:iterate

2004-11-03 Thread Girish Kumar K. P.
bute. It will work -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:34 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate The user is actually editing some data that is already saved. So I need the data to

RE: html:text in logic:iterate

2004-11-03 Thread Sebastian Ho
The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: > U shouldn't give the value attribute there. The value would be read from > the form > > Regards, > Girish >

RE: html:text in logic:iterate

2004-11-03 Thread Girish Kumar K. P.
U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a i

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread bmf5
cc Subject Please respond to RE: HTML:TEXT tag and "Struts

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 10:09 AM > To: Struts Users Mailing List > Subject: RE: HTML:TEXT tag and Internationalization > > > > > > > >>you could format th

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread bmf5
>>you could format them yourself, either in the setter (yuck), or in the action. Why not in the setter? Sometimes I'll use the setter to populate some other fields privately that then get used later on in the form. Example: I get a decimal number representing time off the db. The setter mov

RE: HTML:TEXT tag and Internationalization

2004-08-24 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 4:38 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: HTML:TEXT tag and Internationalization > > > Hi > > Is there any reasonable argument as to why the html:text tag uses

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Stuart Guthrie
Thanks Rick. I need to rely on the backend to decide whether to enable/disable as the requirement is a 'business rule' not an interface decision. Here are the factors: - What 'stage' is this row of the table reached determines if this field can be changed or not. - What 'security level' the curre

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Stuart Guthrie
Thank you Susan, that looks spot on. I'll try it this AM.. ATB Stuart On Tue, 2004-08-17 at 01:09, Susan Bradeen wrote: > Stuart Guthrie <[EMAIL PROTECTED]> wrote on 08/16/2004 10:01:49 AM: > > > Hi there, > > > > What I'm trying to do is re-use the same jsp for ADD/UPDATE modes. In > > order

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Rick Reumann
Stuart Guthrie wrote: Hi there, What I'm trying to do is re-use the same jsp for ADD/UPDATE modes. In order to do this, certain field attributes will be different depending on the modes and sometimes even on the user's security credentials or the 'status' of the customer row. To this end I need t

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Susan Bradeen
Stuart Guthrie <[EMAIL PROTECTED]> wrote on 08/16/2004 10:01:49 AM: > Hi there, > > What I'm trying to do is re-use the same jsp for ADD/UPDATE modes. In > order to do this, certain field attributes will be different depending > on the modes and sometimes even on the user's security credentials

RE: html:text with format property

2004-05-19 Thread Slattery, Tim - BLS
> Anybody knows any tag like html:text that has a format property? I think the best you can do for that is to have the getter method that the tag invokes return appropriately formatted text. You'll also have to write the corresponding setter method to accept the formatted text, and transform it i

Re: html:text for Date property

2004-04-10 Thread Joe Hertz
27;s the expression? "Some days it doesn't pay to chew through the leather straps." -Joe > -Original Message- > From: Richard Yee [mailto:[EMAIL PROTECTED] > Sent: Friday, April 09, 2004 8:15 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re:

Re: html:text for Date property

2004-04-09 Thread Richard Yee
Paul, You shouldn't keep an instance of SimpleDateFormat as an instance variable even though you are only using the parse method. The reason is that the SimpleDateFormat class is not thread-safe. This is caused by the fact that the DateFormat class isn't threadsafe due to the fact that a value (the

Re: html:text for Date property

2004-04-09 Thread Paul Barry
This seems to work pretty well: private Date dateOfBirth; private static final DateFormat dateOfBirthFormat = new SimpleDateFormat("MM/dd/"); public Date getDateOfBirth() { return dateOfBirth; } public void setDateOfBirth(Date dateOfBirth) { this.dateOfBirth = dateOfBirth; } public

Re: html:text for Date property

2004-04-09 Thread Christian Bollmeyer
On Friday 09 April 2004 21:19, Paul Barry wrote: Generally, it's a good idea to have only String and boolean properties in an ActionForm and convert the information gathered for further processing lateron. For complex validations (like Dates), I usually check in validate() if the value entered can

RE: html:text for Date property

2004-04-09 Thread Wendy Smoak
> From: Paul Barry [mailto:[EMAIL PROTECTED] > Are their other ways to handle this, so I don't need 2 properties? String properties in the Form, and a utility class to do the conversions when you need to use it as a Date. (Possibly a BeanUtils Converter to do it as part of 'copyProperties' if yo

Re: html:text for Date property

2004-04-09 Thread Paul Barry
Yeah, I guess I could do that. I think need 2 properties. I would create a dateAsString property, have the form get and set that, and then have the getters and setters set and convert the actual Date. This way I can call getDate to get a Date and getDateAsString to get it as a formatted Stri

RE: html:text for Date property

2004-04-09 Thread Slattery, Tim - BLS
> ActionForm has a object that has a Date property that I want to set. > > So I have > > > > If I populate the that property in the Action like this: > > MyObject obj = new MyObject(); > obj.setDate(new Date()); > form.setObject(obj); > > The html:text tag does a toString() on the object.date