an Action-Servlet.
Beat Friedli
---
value="on" is default
>From: "Friedli Beat [UFA AG Her]" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>CC: "'[EMAIL PROTECTED]
or not?
the boolean value tells which check box is to be checked.
>From: "Friedli Beat [UFA AG Her]" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
&g
Title: Who tells the Checkbox if it should be checked or not?
I've been reading through the struts-example-application. It works perfect. The checkbox is allways set correct, even if the Form-Bean would say not checked by default. Sorry I know, that sometimes I ask stuped questions but:
Who
Title: checkbox: isChecked
I'd like to take the information if the checkbox shoud be checked not from the formbean, but from a different bean.
See the example:
<%// the bean where the check-information comes from %>
<%// I can get the information like this %>
<% // how can
ot; would be the name, "edit-gift.1" would be
the value).
I am not still very clear how to integrate this nicely with
ActionForm.
Regards,
Denis
-Original Message-
From: Friedli Beat [UFA AG Her] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 1:5
t;Login" or "Cancel". You can then test which button was
clicked by calling isCancelPressed() and isCancelPressed(). Trust me.
It works.
"Friedli Beat [UFA AG Her]" wrote:
>
>
> As you said, I have a form with a few image buttons and I just want to
> know
Title: AW: html:image does not call the setter-method of the form
Hi
Does this mean, if I want to use image-buttons instead of submit-Buttons I would have to put each one in a seperate form?
Hm, I had a look at the shop from Amazone. The use image-buttons as well, but each one has a differe
(http://jakarta.apache.org/struts/struts-html.html#image).
However, if you have a form with a few image buttons and you just want
to know which one of them is clicked, it is the getter and not the
setter method that is called (don't ask me why; all I know is that is
works).
Hope it helps.
"Fried
Title: html:image does not call the setter-method of the form
In a jsp Form this code works works perfect:
Position<%= val %>
Now I decided to use an image instead of a button like this:
The generated Code looks fine to me:
But the value 'Position0' is never filled up in the Formbe
Title: How to test only for the language-code but not for the country?
Tanks
for your answer. Do you hava an idea how i could pack this in a Tag? Or even
better if there allready exists a Tag in struts that allows to include a
HTML-text only if a certain language is chosen?
Beat Friedli
--
12:43An: [EMAIL PROTECTED]Betreff: Re: How
to test only for the language-code but not for the
country?
Use for this purpose. Not
.
- Original Message -
From:
Friedli Beat
[UFA AG Her]
To: '[EMAIL PROTECTED]'
Sent: Wednesday, Sep
Title: How to test only for the language-code but not for the country?
I want to test the Accept-Language and show a french message if the user speaks french.
But the following code doesn't take care of the Accept-Language fr-ch.
Welcome french
And this code doesn't take care of the
Title: Form-Bean for several html:text fields with the same name in one Form
I'm constructing an shopping-cart with struts.
The user can choose several artikels at the same time just by adding an amont.
The browser will send several values for the property amount back to the server.
My ques
l Message -----
From: Friedli Beat [UFA AG Her]
To: '[EMAIL PROTECTED]'
Sent: Thursday, August 30, 2001 11:25 AM
Subject: How to use radio-Buttons when iterating
How can I tell the radio-button to take the value from the collection I'm
iterating throug?
<%--I'm iterating t
Title: How to use radio-Buttons when iterating
How can I tell the radio-button to take the value from the collection I'm iterating throug?
<%--I'm iterating thrugh the collection adressen --%>
<%--Im trying to create a radiobutton for each "name" in "adress"--%>
ntrols based on whether a
principal is authenticated, and then on their authorization role.
> "Friedli Beat [UFA AG Her]" wrote:
>
> Hi list
>
> I am shure, it is possible to check by entering a jsp-page if a
> sertain property is set and if not to forwar
Title: Forward request to another jsp-page with struts
Hi list
I am shure, it is possible to check by entering a jsp-page if a sertain property is set and if not to forward the to another jsp-page.
I'm looking for a tag like this
I know the way with
17 matches
Mail list logo