Re: Parameters not being set on Action in Struts 2

2006-11-26 Thread Ted Husted
On 11/26/06, Wesslan <[EMAIL PROTECTED]> wrote: See the following thread: http://www.nabble.com/-S2--Duty-now-for-the-future--%28was-Re%3A-Question-ab out-struts2%29-tf2559552.html#a7132875 Struts2 also depends on a beta(snapshot) release of XWork2. And this, * http://struts.apache.org/roadma

Re: Extending Themes

2006-11-26 Thread Ian Roughley
My advice would be to look at the existing themes to see how they use the parameters. /Ian -- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design * Development ~ web: www.fdar.com email [EMAIL PROTECTED] pho

Re: Parameters not being set on Action in Struts 2

2006-11-26 Thread Ted Husted
On 11/26/06, Tarek Nabil <[EMAIL PROTECTED]> wrote: I was pretty sure that the correct method was being executed, because I had some logging statements inside. One of those statements is the one that attempts to log the parameter Map and it's still giving the same result; an empty Map. We'd nee

[ANN] codeczar security 1.0 final released (incl struts integration)

2006-11-26 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the 1.0 release of the codeczar security component, providing database-driven users, roles and groups for your webapps. * security-admin - a webapp to manage users, roles & groups. * security-client - api access for programmatic security. * tomcat

Re: Struts considering exceptions in Action class .execute() as unhandled

2006-11-26 Thread Romu
try without exception & see if the "goto_graceful_error_page" works properly ? 2006/11/26, Ted Husted <[EMAIL PROTECTED]>: As explained, the code doesn't make any sense to me. An Action is a Java class, and it can't violate the rules of Java. The rules say that an Exception thrown in a try b

Re: NPE in TagUtils.getStack after upgrading to 2.0.1

2006-11-26 Thread Jon Wilmoth
I noticed there was an earlier posting on the dev list regarding this (10/10/06). I downloaded the beta version of 2.0.1 from the struts website and I'm getting the same NPE. Is there a work around? I'm trying to ease my transition into S2, and would like to use the datePicker tag w/Struts 1.3

Re: NPE in TagUtils.getStack after upgrading to 2.0.1

2006-11-26 Thread Martin Gainty
Jon- http://jira.opensymphony.com/secure/IssueNavigator.jspa?view=rss&&pid=10050&fixfor=21200&tempMax=25&reset=true&decorator=none reported a bug with OpenSymphony 1 beta2 getStack method which was patched in version 1.0 Can you verify your OpenSymphony and or Xwork version? Anyone else? Mar

Re: NPE in TagUtils.getStack after upgrading to 2.0.1

2006-11-26 Thread Jon Wilmoth
Thanks for the respone. I'm using the xwork-2.0-beta-1.jar that was included in the struts 2.0.1 beta distribution. Unfortunately, that jar file doesn't contain the org.apache.struts2.views.jsp.TagUtils class. For that, I've included the struts2-all-2.0.1.jar file in my webapp. Has anyone su

Re: [Fwd: Having problems with Struts validation framework]

2006-11-26 Thread Laurie Harper
More simply, you can use the tag to generate your cancel button. For your second question, no, there's no way for different buttons to invoke different actions (at least, not without some hokey Javascript hackery), but you can have different buttons call different methods on the *same* actio

Re: struts 2.0.x samples on java 1.4.2

2006-11-26 Thread Laurie Harper
.1.jar -destjar struts2-core-j4-2.0.0.jar java -jar retrotranslator-transformer-1.0.8.jar -srcjar ..struts2-api-2.0.1.jar -destjar struts2-api-j4-2.0.0.jar xwork-j4-2.0-SNAPSHOT-20061126.jar struts2-extras-j4-2.0.0-SNAPSHOT the jars which were present initially when i exploded the jar: --

Re: struts 2.0.x samples on java 1.4.2

2006-11-26 Thread David Bloom
I finally got it. The challenge here is for people using Java 1.4.X is that the sample apps come with the Java 5 jars.The java 4 jars can be found at http://apache.tradebit.com/pub/struts/library/struts-2.0.1-j4.zip I extracted them to here: C:\java\struts2\struts-2.0.1\j4\ But, the only file

Re: struts 2.0.x samples on java 1.4.2

2006-11-26 Thread Ted Husted
On 11/26/06, David Bloom <[EMAIL PROTECTED]> wrote: Again, a Java 5 version of struts2-extras-j4-2.0.0.jar was not in the struts2-blank-2.0.1 war. As of 2.0.1, the extras were superceded by plugins, so there is not an extra JAR for 2.0.1 and later. Thanks for working this out. If you'd like to

Re: redirect-action parameters

2006-11-26 Thread Chris Pratt
Try the tag. (*Chris*) On 11/23/06, Pascal Lalonde <[EMAIL PROTECTED]> wrote: Based on this sample from the web site documentation: generateReport /genReport pie 100 100 How can I add dynamic parameters ? Here, value

Re: redirect-action parameters

2006-11-26 Thread Chris Pratt
Never mind, misread the original question. (*Chris*) On 11/26/06, Chris Pratt <[EMAIL PROTECTED]> wrote: Try the tag. (*Chris*) On 11/23/06, Pascal Lalonde <[EMAIL PROTECTED] > wrote: > > Based on this sample from the web site documentation: > > > > generateReport >

Re: org.apache.commons.validator.ValidatorException: No such validation method:

2006-11-26 Thread Chris Pratt
Might even be better to put in an XML version check (either using the DOCTYPE or a specific tag or attribute) to make sure that the correct version is being used. (*Chris*) On 11/24/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: On 11/24/06, Paul Benedict <[EMAIL PROTECTED]> wrote: > Niall, >

RE: Validation XMl entity

2006-11-26 Thread Vishal Seth
MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK ~~ Opinions expressed in this e-mail are those

Re: Validation XMl entity

2006-11-26 Thread Niall Pemberton
On 11/27/06, Vishal Seth <[EMAIL PROTECTED]> wrote: I want to know can I use the same set of validation by using Entity and referencing it from an external file. Like I have two fields in my application which is in most of the forms . Can I define the validation in an external file and referen

Re: Best way to secure struts-webapps?

2006-11-26 Thread nirmal_hbti
Hi, What is the best way to secure struts-webapps without Container Managed Security? I have heard of the following possible options but I am confused as to choose which one: 1. Using Filters. 2. Override one of the process methods in the ProcessRequest. 3. Make a base action where you check for

RE: Validation XMl entity

2006-11-26 Thread Vishal Seth
Hi, But does struts support when integrated with commons-validator? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 12:00 PM To: Struts Users Mailing List Subject: Re: Validation XMl entity On 11/27/06, Vishal Seth <[EMAIL PROTECTED]