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
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" <
This is how I do it:
/* drugClassPropsSrv is my map */
On 9/28/07, Marco Carnevale
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
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
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
How does one use server-side validation (requiredstring) for radio buttons?
Thanks,
Cory
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
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
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
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
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,
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
Example code:
On 9/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- j alex <[EMAIL PROTECTE
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
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
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]
&
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
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
19 matches
Mail list logo