So is the above possible? If so, how? Basically, I'd like to have
logic:present (or notpresent) tags around certain parts of my menu
definitions. That is, I would like certain items to only appear under
certain circumstances. I can't figure out how to do this in a menu
definition file.
Thanks David. This was the only workaround I could think of as well.
Yet it doesn't make sense to me - why are all the non-Collection fields
on the form maintained (i.e. upon returning the input page text fields,
etc. are all populated with previous values), but the Collections are not?
Anyone
That's it - I was looking at it from the wrong perspective and could
make sense of it.
Thanks!
Joe
David Graham wrote:
--- Joe @ Team345 [EMAIL PROTECTED] wrote:
Thanks David. This was the only workaround I could think of as well.
Yet it doesn't make sense to me - why are all the non
IllegalArgumentException when you are trying to set some of wrong arguments in the
form. How will you take care it.
Deepak.
-Original Message-
From: Joe @ Team345 [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 7:00 PM
To: Struts Users Mailing List
Subject: Re: Repost: Validations in Action Form
Octavia,
I bit of a guess on my part, but it sounds like you want to use the
requiredif validator. This allows a particular field to be required
(or not) based on other fields. The fact that this might be a hidden
field should be, as pointed out by others, transparent to the validator.
No, IMO you should not do what you outline. Rather, use the Struts
Validator Framework to do validation. It took me a little bit to get
the first required validation to work right. After that though you get
used to it very fast. It is simple, extensible and your validations are
not in code,
The easiest thing to debug and get JBoss started is to accept ALL the
defaults - i.e. just unzip the zip file to your top most directory.
Then start your run.bat script. Read the first few lines and make sure
all the settings are correct. The output should help tell you if, for
instance,
Just a guess on my part, but the connection is probably in the JNDI
namespace, not the COMP namespace.
To test this you can try either java:/env or just /env (sorry, can't
recall which off the top of my head) where you have: java:comp/env
As a side point, you should probably put all such
Hi,
Sorry if this is an oft asked question, but I just joined the list as I
was unable to find the answer elsewhere.
I'm using StrutsRC 1.1 (with webdoclet/xdoclet going to jboss). My
question is basically in the subject: If I have a java Integer class on
a form, can I send a null value to
Hi, I'm just installing struts and just joined this list. Sorry if
this question has been on the list before.
I'm running Tomcat 3.2.1 on RH linux 7.1. I have struts installed and I
can get to struts-documentation. However, struts-example gives me all this:
*Internal Servlet Error:*
10 matches
Mail list logo