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 to
How does one use server-side validation (requiredstring) for radio buttons?
Thanks,
Cory
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.
s:set name=myListSize value=%{#attr['myList'].size}/
s:property
I was able to get it like:
s:set name=myListSize value=%{myList.size}/
On 10/1/07, Gabriel Belingueres [EMAIL PROTECTED] wrote:
try:
s:set name=myListSize value=myList.size()/
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
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
This is how I do it:
/* drugClassPropsSrv is my map */
s:if test=drugClassPropsSrvc.size 0
s:iterator value=%{drugClassPropsSrvc} id=prop
tr
th scope=rows:property value=#prop.key//th
s:if test=#prop.value eq 'Yes'
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?
!DOCTYPE validators
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 [EMAIL PROTECTED] wrote:
Does anyone have
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:
!DOCTYPE validators PUBLIC
-//OpenSymphony Group//XWork Validator 1.0.2//EN
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]
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
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]
Sent: Monday, September 24, 2007 3:30 PM
To: Struts Users Mailing List
Subject: Accessing Request
be creating parameters on the fly based
on some other criteria. Most of the time, you should be able to stick to
the getters/setters. If a time comes that your request processing
doesn't fit into that model, then implement parameteraware.
-Wes
-Original Message-
From: Cory D. Wiles [mailto
Example code:
s:iterator value=%{drugClassPropsSrvc} id=prop
tr
th scope=rows:property value=#prop.key//th
s:if test=#prop.value eq 'Yes'
th scope=rows:property value=#prop.value//th
/s:if
If you are trying to truly redirect then the below line is your problem. It
is trying to forward not redirect.
jsp:forward page=/myapp/subfolder/welcome.action/
Use:
%
String redirectAction = /myapp/subfolder/welcome.action;
response.sendRedirect(redirectAction);
%
On 9/19/07, Eugen
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
s:debug/).
// Action snippet
Iterator
-Original Message-
From: Cory D. Wiles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 2:28 PM
To: user@struts.apache.org
Subject: Iterate Hashmap with s:iterate
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
It is still not working the way that I want to, but I do appreciate the
help. I'll just have to keep plugging away at it.
Thanks,
Cory
On 9/12/07, Dave Newton [EMAIL PROTECTED] wrote:
The OGNL manual.
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html
--- Cory D. Wiles
to work OK, though I'm a little curious 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, but I do appreciate
19 matches
Mail list logo