ts gory... uh I mean
glory... has in its infinite wisdom defined that a checkbox (& radio button
I think) that has not been ticked will not submit any value to the server.
Afaik same is true for SELECT btw (multiple selections where nothing
selected)
-----Original Message-
From: Char
ll by
default.
Mark
-Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 8:18 AM
To: 'Struts Users Mailing List'
Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted
Whe n CheckBox is unchecked
If that is the ca
f. What
I do is type the checkboxes as String rather than boolean in the ActionForm
and track "true" and "false" through the iterator.
Mark
-----Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 7:11 AM
To: '
Hi,
I'm trying to iterate through a Boolean Array using logic:iterate and then
display these as check boxes. This works fine, but when submitting the form
and resending the Boolean Array back to the Action class, only the values
that are true are returned.
In the struts documentation it says:
W
Cheers, works like a dream ...
Chico.
-Original Message-
From: Homer, Christopher [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 16:40
To: 'Struts Users Mailing List'
Subject: RE: Getting Weird Message From Application ResourcesProperties Fi
le
I had this a while ago and think I fixed it
For some reason when using the struts bean:message tag to get a message it
then displays it on the screen has:
null Test Message null
It adds null to the start and end of my message ...
Anyone else come across this problem?
Cheers,
Chico.
-Original Message-
From: Ted Husted [mailt
t.jar
somewhere. I get it at work when a rogue version of the jar gets in there.
Update it (or even try removing it temporarily, as JRun should have it's
own), and you should be golden.
Arron.
Charlesworth, Chico wrote:
>
>
>I've downloaded the new version of JRUN
or stray "}" in your jsp.
JM
> -Original Message-
> From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 17, 2002 11:22 AM
> To: 'Struts Users Mailing List'
> Subject: JRUN 4 PROBLEMS WITH STRUTS 1.0
>
>
>
>
>
I've downloaded the new version of JRUN version 4 and I get the following
error(s) when rendering a simple JSP with some struts tags in it:
72. } while(_tag1.doAfterBody() ==
javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
<->
*** Error: No method named "doAfterBody" wa
ng complex java objects in forms
Do you have the appropriate setXXX() method on the customer for name?
Jon
"Charlesworth, Chico" wrote:
> Hi,
>
> If I've got a complex java object (i.e Customer) in the Form class, I can
> then read off this object in the jsp page, but
.
-Ursprüngliche Nachricht-
Von: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 7. März 2002 18:08
An: 'Struts Users Mailing List'
Betreff: RE: Populating complex java objects in forms
ive got my getter and setter methods in my formbean ...
any other ideas?
chico
---
hat but do you have a getCustomer() and setCustomer() method
in your formbean?
Gr
Ronald
> -Original Message-
> From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 5:56 PM
> To: 'Struts Users Mailing List'
> Subject: Popul
Hi,
If I've got a complex java object (i.e Customer) in the Form class, I can
then read off this object in the jsp page, but when submitting to the Action
class the Customer object is null.
The jsp would look like:
Customer Name:
Update Customer
So this would displa
and not reference it to the iteration element.
Maybe the struts documentation should be updated to clarify this situation.
Regards - Chico.
-Original Message-----
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: 11 February 2002 11:31
To: Struts-User
Subject: Passing a collection (A
Hi,
I'm trying to find the best way in struts of passing a collection of new
values to an action class, but there doesn't seem to be an easy way of doing
this ...
Here's a given scenario:
got a form with an arraylist.
in the jsp do a within a tag, and within the
iterate tag do a
when
Java does have pointers, it is just hidden from the developer!
And if you are passing objects around it depends if they are mutable or not.
For instance if you pass a primitive value in a method and then change its
value, it's only changed inside that method call cause primitives are
immutable.
We have a problem using the html:base tag when displaying a Struts JSP Page
under SSL.
SSL is configured on our web server (BEA WebLogic) to listen on the default
port (443).
When the JSP page is displayed in the browser the source HTML code shows the
base tag
with port 80 instead of port 443 (or
I've got a login page within a frame, and if the login is successfull i want
to forward on to the main page, but on a different target, i.e "_top". I do
this by using the target attribute in the html:form tag. This is fine, but
when the login fails, i.e. the username and/or password are invalid,
Has anyone tried this?
In the servlet you can simply do the following:
PrintWriter out;
boolean supportCompression = false;
if (request instanceof HttpServletRequest) {
Enumeration e =
((HttpServletRequest)request).getHeaders("Accept-Encoding");
while (e.hasMoreElements())
what i want to do is:
...
does anyone know if this supported yet or is it on the todo list?
chico
--
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG
i think u have to use jsp in the value tag, like so:
<%
String s = (String) pageContext.findAttribute("theName");
%>
<%out.println("It works");%>
-Original Message-
From: Shane Warne [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 4:25 PM
To: [EMAIL PROTECTED]
Sub
u probably just need to specify 'filter' in the name attribute ...
like
it should try and find "filter" in the session, page, request, and
application scopes ... in which order i can never remember ;)
chico.
-Original Message-
From: James Howe [mailto:[EMAIL PROTECTED]]
Sent: Thursda
i can display errors fine, but they are displayed not in the same order as i
created them ...
I see this is because the ActionErrors class uses a HashMap and therefore
doesn't return them in a given order (i think it sorts them according to the
hashcode value).
I can use the property tag in ht
you can also have two separate action classes that use the same form, where
you use the first action class when you first go into that page, then use
the second when you are submitting or whatever in the form
-Original Message-
From: Luna, Kat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Ju
yes it is possible, like so:
-Original Message-
From: Marc S. Penner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 3:33 PM
To: [EMAIL PROTECTED]
Subject: Nested logic:iterate tags
Is it possible to nest logic:iterate tags? I would prefer not to try to
spend too
l Mok
-Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 6 June 2001 16:09
To: '[EMAIL PROTECTED]'
Subject: a struts tag within another struts tag ...
does anyone know a way of doing something like so, so that it works:
"
does anyone know a way of doing something like so, so that it works:
"/>
i always get a error saying that listElement has no value in that scope ...
i get around this problem using jsp, like so:
<% String myListElement = (String)
pageContext.findAttribute("listElement");%>
a JSP bean (in any scope) of type java.lang.Integer
that defines the desired value. If not present, zero
is assumed (meaning that the collection will be
iterated from the beginning.
[RT Expr]
David
--- "Charlesworth, Chico"
<[EMAIL PROTECTED]> wrote:
>
> To iterate th
d from the beginning.
[RT Expr]
David
--- "Charlesworth, Chico"
<[EMAIL PROTECTED]> wrote:
>
> To iterate through a java.util.ArrayList i use
> struts tag
> and that works fine ...
>
> but which tag do i need to use and what attribute
> settings do i need to
To iterate through a java.util.ArrayList i use struts tag
and that works fine ...
but which tag do i need to use and what attribute settings do i need to
access a specific ArrayList element?
for example if i wanted to access the second element of my ArrayList using
jsp, i would just do:
<%MyOb
30 matches
Mail list logo