--- "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
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
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;
}
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
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">
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
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
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'
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]
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
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
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-
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
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
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
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
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
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
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
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
-
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
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
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.
>
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
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
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
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
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
"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
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
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
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
<%@ 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
cc
Subject
Please respond to RE: HTML:TEXT tag and
"Struts
> -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
>>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
> -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
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
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
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
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
> 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
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:
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
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
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
> 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
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
> 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
66 matches
Mail list logo