Wildcard in package.properties for form validation (S2)

2007-09-26 Thread Cory D. Wiles
Does anyone have a possible solution for using wild cards in error messages for form validation? In my package.properties I have: arc.screen.required.error.message = {0} is a required field How does my validation need to be formatted to accept a parameter for the message? http://www.opensymphony

Re: Wildcard in package.properties for form validation (S2)

2007-09-26 Thread Cory D. Wiles
I looked at that documentation but don't understand why the name property is being used as opposed to the label property. On 9/26/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > http://struts.apache.org/2.x/docs/localizing-output.html > > --- "Cory D. Wiles" <

Re: Struts Tag Question

2007-09-28 Thread Cory D. Wiles
This is how I do it: /* drugClassPropsSrv is my map */ On 9/28/07, Marco Carnevale

Re: [S2] ScopedModelDriven issues [newbie]

2007-09-29 Thread Cory D. Wiles
Wouldn't you also have to include the SessionAware interceptor in your "myForm" stack as well as implement the SessionAware Interface or is that over kill for scopedModelDriven? On 9/28/07, ghodgins <[EMAIL PROTECTED]> wrote: > > > Does anyone have a working example using the scopedModelDriven int

Setting/Accessing List Size on JSP

2007-10-01 Thread Cory D. Wiles
How do I set/display the size of my list in the result of my jsp? I am able to check for the size in my iterator tag, but I would like to be able to display the size as a property. I have tried the following and it didn't work. Thanks, Cory

Re: Setting/Accessing List Size on JSP

2007-10-01 Thread Cory D. Wiles
I was able to get it like: On 10/1/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > > try: > > > 2007/10/1, Cory D. Wiles <[EMAIL PROTECTED]>: > > How do I set/display the size of my list in the result of my jsp? I am > able > > to check for the

Radio Button Validation - Struts 2

2007-10-17 Thread Cory D. Wiles
How does one use server-side validation (requiredstring) for radio buttons? Thanks, Cory

Re: Struts and Windows Authentication

2008-02-01 Thread Cory D. Wiles
At my job we authenticate our users directly using Active Directory using container managed security. What container are you using? On Feb 1, 2008 4:48 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/2/1, Arun <[EMAIL PROTECTED]>: > > Hi, > > > > I have a web application in which I need t

Iterate Hashmap with s:iterate

2007-09-12 Thread Cory D. Wiles
I have an action that returns a hash map that I need to output both the key and value, but I can't figure out how to access each property with s:iterate. Any suggestions would help. The HashMap is being set in my action and returned populated (verified with ). // Action snippet Iterator category

Re: Iterate Hashmap with s:iterate

2007-09-12 Thread Cory D. Wiles
hmap, get the keyset > > [tempMap.ketSet()] from it. > > The keyset is a List and you can get an iterator > > from there. > > > > -Wes > > > > -Original Message- > > From: Cory D. Wiles [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September

Re: Iterate Hashmap with s:iterate

2007-09-12 Thread Cory D. Wiles
rectly, to use the s:iterator > > tag, > > > > you have to use an > > > > object that has an 'iterator()' method. HashMap > > does > > > > not implement > > > > java.util.List... > > > > > > > > To it

Re: Iterate Hashmap with s:iterate

2007-09-12 Thread Cory D. Wiles
us about the > inclusion of the double parentheses at the end of "entrySet" -- OGNL, > as far as I am concerned, is a bit of strange beast. > > Josh > > On 9/12/07, Cory D. Wiles <[EMAIL PROTECTED]> wrote: > > It is still not working the way that I want to,

Re: [S2] action mappings help

2007-09-19 Thread Cory D. Wiles
If you are trying to truly redirect then the below line is your problem. It is trying to forward not redirect. "" Use: <% String redirectAction = "/myapp/subfolder/welcome.action"; response.sendRedirect(redirectAction); %> On 9/19/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: > > I'm trying

Re: Iterate Hashmap with s:iterate

2007-09-21 Thread Cory D. Wiles
Example code: On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- j alex <[EMAIL PROTECTE

Re: Starting of Tomcat failed, the server port 8084 is already in use.

2007-09-24 Thread Cory D. Wiles
The problem is that the container is out of memory. There are a number of different ways to either up the memory for the container, but it might be easier to just kill the embedded tomcat process and then redeploy the app inside of netbeans. Thanks, Cory On 9/24/07, kushi <[EMAIL PROTECTED]> wro

Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Cory D. Wiles
What is considered the best practice for accessing request parameters inside of an action? For example if I have a URL: steptwo.action?previousaction=index.action then how do I access "previous action"? Thanks, Cory

Re: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Cory D. Wiles
rieve the values because > the setter(s) are called beforehand. > > There are a few tutorials available online (including my own at > http://www.wantii.com/wordpress/?cat=3) > > -W > > > -Original Message- > > From: Cory D. Wiles [mailto:[EMAIL PROTECTED] &

Re: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Cory D. Wiles
es > > > > > -Original Message- > > From: Cory D. Wiles [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 24, 2007 3:47 PM > > To: Struts Users Mailing List > > Subject: Re: Accessing Request Parameters from Action (Newbie > > Question) > &g

Validation Bypassed

2007-09-25 Thread Cory D. Wiles
I am having trouble outputting my validation error messages. I know that the validation is being fired off, but the actionmessages/errors aren't being displayed. Validator File: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";> This is my message