Dynamic Menus using tiles definition files

2003-10-09 Thread Joe @ Team345
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.

Re: Validator, DynaForms, and Collections

2003-09-13 Thread Joe @ Team345
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

Re: Validator, DynaForms, and Collections

2003-09-13 Thread Joe @ Team345
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

Re: Repost: Validations in Action Form

2003-09-01 Thread Joe @ Team345
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

Re: Struts Validator and Hidden Field

2003-09-01 Thread Joe @ Team345
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.

Re: Repost: Validations in Action Form

2003-08-30 Thread Joe @ Team345
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,

Re: JBoss Problem

2003-07-12 Thread Joe @ Team345
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,

Re: DataSource problem

2003-06-15 Thread Joe @ Team345
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

Can you send a null value to a form in Struts (1.1)?

2003-06-11 Thread Joe @ Team345
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

Newbie install question

2002-04-06 Thread Joe @ Team345
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:*