The tag Ted mentions is html:optionsCollection, and it's in Struts 1.1
If you have to run 1.0/1.0.1, then what you're doing with the
bean:define is the standard use. Or, if you have a collection for the
values, and a value for the labels, then you can just use the
html:options, with the "prope
Now other suggestions?
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, April 07, 2002 12:40 AM
Subject: Re: usage of html:options
> If the collection is stored on the ActionForm, you have to use
> bean:define
Greetings,
I don't know if a similar solution has been provided, but, I tweaked the
Link Tag to support the writing of
'javascript:[function_name]([param1,param2,param3...])' to the href
attribute of the final output. Here is a summarization of it's
functionality:
I added the following attribute
Here's a link to a message I posted a while ago on this:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html
--
Martin Cooper
- Original Message -
From: "Sachin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 8:54 AM
Subject: Branch Restri
Hi Folks
I am trying to setup log4j with struts. I have added to each of the
files I want log messages for
static Category cat = Category.getInstance(ClassName.class.getName() );
and then when I want to write to the log file I have added
cat.debug("Debug message");
this is working fine e
I used Iterator a few times and it seems to work ok.
-AP_
-AP_
http://www.alexparansky.com
Java/J2EE Architect/Consultant
http://www.myprofiles.com/member/view.do?profileId=127
-Original Message-
From: days [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 6:39 PM
To: Struts Users
Hi, I'm having trouble retrieving an arraylist from the session. The codes appear as
follow:
Iterator iterator = announcement.iterator();
while( i.hasNext()) {
out.println((String) i.next());
}
regards
See Dave Matthews Band live or win a signed guitar
http://r.lycos.com/r/bmgfly_mail_dmb/ht
> "days" == days 81 writes:
days> Hi, I tried to initialize the radio button value to be this in my action
form:
days> private String priorType="1"
days> However, the first radio button still doesn't get selected by default. What
is happening?
Is this a valid bean property, w
> "Ali" == Ali Manji <[EMAIL PROTECTED]> writes:
Ali> Hi,
Ali> I am using the html:hidden tag inside my html:form tag yet upon submitting my
Ali> form this hidden tag doesn't populate the appropriate form bean field as the
Ali> other tags do. That is, the appropriate setter
Hi, I tried to initialize the radio button value to be this in my action form:
private String priorType="1"
However, the first radio button still doesn't get selected by default. What is
happening?
Any help is welcome.
Thanks
--
On 06 Apr 2002 20:42:59 -080
David M. Karr wrote:
>> "da
--- "James A. Hillyerd" <[EMAIL PROTECTED]> wrote:
> I'm using Struts 1.0.2. I don't want to upgrade to
> 1.1 just yet. Can I
> use the Struts validator package with 1.0.2?
Yes. The 1.0 release (7/2/2001) was the last one
developed with Struts 1.0.
Archive
http://home.earthlink.net/~dwinter
This wasn't added until 6/17/2001.
http://home.earthlink.net/~dwinterfeldt/revision.html
Update 6/17/2001 (using Struts 1.0)
A bCancel variable was added to the
JavascriptValidatorTag code generation so the onclick
attribute of the html:cancel tag can be assigned
"bCancel=true;" so the JavaScript
Does your "value=child" carries any value?
Mine looks like this and it works:
where action is equal to some value I assigned to it.
Hope this helps. Good luck :)
--
On Sun, 07 Apr 2002 13:52:49
Ali Manji wrote:
>
>Hi,
>
>I am using the html:hidden tag inside my html:form tag yet upon submi
The nested version of the bean:message tag wasn't added until the
other night. You can get the nightly build, or download the nested tags
library for the older struts 1.0/1.0.1 from...
http://www.keyboardmonkey.com/struts
Arron.
[EMAIL PROTECTED] wrote:
>Hi guys,
>
>I really need some hel
Hi guys,
I really need some help on nested-tags. What I want to do is:
- get a bean property, which in fact is a key to my properties file
- use the bean:message tag to get the info to display no page.
How can I do that ? How can I use a bean info in the bean:message
tag ?
I'm using the nested
Hi,
I am using the html:hidden tag inside my html:form tag yet upon submitting
my form this hidden tag doesn't populate the appropriate form bean field as
the other tags do. That is, the appropriate setter method on my form bean
class is not being invoked?
In my jsp I have the following:
.
Hi,
I am using David's Struts validator for javascript form
validations.
But not able to switch off the validation for Search button which
I dont require the validations.
I tried
It doesn't work.
I am using Struts_Validator-20010308.jar,
jakarta-regexp-1.2.jar,
struts20010306.ja
Hi,
I am using struts-validator for form validations,
it is working fine for Save submit but I dont want to validate form for search button
,
I tried the switch to cancel validation it isn't workng
I am using
Struts_Validator-20010308.jar,jakarta-regexp-1.2.jar,struts20010306.jar,strut
Thanks a lot! :)
--
On 06 Apr 2002 20:42:59 -080
David M. Karr wrote:
>> "days" == days 81 writes:
>
>days> On Sat, 6 Apr 2002 21:01:03
>days> srinivas wrote:
>>> set the value of priorType in struts form to one of the values {"1", "2"}.
>>> so always this value will b
19 matches
Mail list logo