Struts Tag -

2006-06-05 Thread J Gotsch
Looking at the documentation, it's not clear on how I can use the . Now, which of the following three is the correct syntax for the match comparing? value="ABC"> __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Re: JSP TAG Issue - can't find bean in JSP!

2006-05-21 Thread J Gotsch
Can Anyone tell me If I can compare my hardcoded value to a variable as I'm doing here. J Gotsch <[EMAIL PROTECTED]> wrote: Hello, I am trying to compare 2 values within a JSP using a logic:match tag as illustrated below: name="" value=""> //note

Re: JSP TAG Issue - can't find bean in JSP!

2006-05-21 Thread J Gotsch
notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "J Gotsch" To: "Struts Users Mailing List" Sent: Sunday, May 21, 2006 6:40 PM Subject: JSP TAG Issue - can't find

JSP TAG Issue - can't find bean in JSP!

2006-05-21 Thread J Gotsch
Hello, I am trying to compare 2 values within a JSP using a logic:match tag as illustrated below: <% String menuRole = null; %> <% menuRole="SUPER" %> //note that LookupConstants.SUPER returns "SUPER". However, I get the following error whenever accessing the JSP:

- Design Issue with Struts Validation

2006-05-16 Thread J Gotsch
When I go to a page for the 1st time, the validation takes affect. Obviously I don't want that, I only want to validate upon submitting. How do I get around this? My form extends ValidatorActionForm My Action Mapping in Struts-Config: --

problem with using Tag and Scriplets together

2006-05-15 Thread J Gotsch
Any idea how I can set a local JSP variable with the value of a bean property in a JSP? In the example below, I want to set tempRole to the value of the securityRoleName prperty. But This is not working. <% String tempRole = null; %> <% if (tempRole=

Re: Conditional Statements (if/else) Using logic tag

2006-05-14 Thread J Gotsch
ED]> wrote: Jerome is referring to tags in the JSTL Core tag library. mmm code-bloat. On 5/14/06, J Gotsch wrote: > Which package does this belong to? I can't find it anywhere. > > Jerome Gagner wrote: > use > > On 5/13/06, J Gotsch wrote: > > Hello All, &g

Re: Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Which package does this belong to? I can't find it anywhere. Jerome Gagner <[EMAIL PROTECTED]> wrote: use On 5/13/06, J Gotsch wrote: > Hello All, > > How do I perform an If/else with ? > > In the below logic:iterate tag, If my collection contains both ROL

Struts Validation Guide and How-to:

2006-05-13 Thread J Gotsch
Struts validation could be a pain. This how-to should help. . How to enable struts validation: Make sure you have the following: 1) ApplicationResources.properties file with keys/values for standa

Conditional Statements (if/else) Using logic tag

2006-05-13 Thread J Gotsch
Hello All, How do I perform an If/else with ? In the below logic:iterate tag, If my collection contains both ROLE1 AND ROLE2, Then both statements will be displayed. And that's now what I want. I want to implement something like this: if(securityRoleName.equals("ROLE1"))