S2: Advice on debugging jsp/action interactions..

2009-01-05 Thread Eric D Nielsen
This is an off-shoot of an unanswered question I posted about 10 days ago (during the holidays, I know...) The orginal email is repeated below, but I'm asking a more general question now. I've been getting very frustrated with trying to figure out why some of my jsp's are not retrieving

S2: Can't seem to access action's properties inside an iterator

2008-12-27 Thread Eric D Nielsen
I'm working on something a little bit like a data grid. However, while the current display is tabular, the data backing it isn't. As a result I can't use straight map notation to access the values to display. For now I have a inefficient helper lookup attached to the action, but I can't seem to

S2: s:include tag and s:param

2008-07-27 Thread Eric D Nielsen
I've been having trouble getting s:include and s:param to work. I have a snippet I want to include in multiple pages. This snippet will want to make use of Struts 2 tags and OGNL, though at present I just need a simple c:out. The snippet looks like: %@ taglib prefix=c

Re: S2: Actions/DAO interaction getting messy...

2008-03-26 Thread Eric D Nielsen
Adam Hardy on 26/03/08 00:28:43 Eric D Nielsen on 25/03/08 14:29, wrote: Its a Struts2/Spring2/JPA(Hibernate) based project. I'm using a slightly modified version of the Generic DAO pattern shown in the Java persistence with Hibernate book and/or the IBM ThoughtWorks very similar example

S2: Actions/DAO interaction getting messy...

2008-03-25 Thread Eric D Nielsen
I'm starting to get some rather stinky code in one of my projects and wanted to ask for some advice. ( Its a Struts2/Spring2/JPA(Hibernate) based project. I'm using a slightly modified version of the Generic DAO pattern shown in the Java persistence with Hibernate book and/or the IBM ThoughtWorks

S2/SmartURLs: parameterized results...

2007-11-17 Thread Eric D Nielsen
I've been trying to understand how parameterized results should work under the SmartURLs plugin for Struts 2. In my specific case, I'm trying to redirect on success to a new URL that includes a paramter. I've tried modelling it after the standard XML=based example in the WebWork in Action book

SmartURLs and Validation Annotations...

2007-10-08 Thread Eric D Nielsen
I've been trying to figure out how to use Validation Annotations with the SmartURLs plugin. I'm not sure which half I'm not understanding properly, but I can't get the validations to fire at all. I've seen several similiar posts in the archives and have tried tweaking things in a variety of

Re: SmartURLs and Validation Annotations...

2007-10-08 Thread Eric D Nielsen
On 10/8/07, Ted Husted wrote: On 10/8/07, Dave Newton [EMAIL PROTECTED] wrote: Is validation firing at *all*? I had been under the impression that classes needed to be annotated with the Validation annotation. http://struts.apache.org/2.x/docs/validation-annotation.html True. First,

Re: [S2] Hooking up custom interceptors (Annotations)

2007-09-23 Thread Eric D Nielsen
Thank you Dave and Adam. I;'ve tried both suggestions. 1) Changing away from annotations, works an proved that my interceptors do work outside of their unit tests and actually in the system. 2) Trying the ParentPackage Annotation, works. I had read about this annotation, but convinced myself it

[S2] Hooking up custom interceptors

2007-09-22 Thread Eric D Nielsen
I've written a pair of interceptors to implement my application's authentication and authorization requirements. I'm now trying to add them into my application's default stack, but it doesn't seem to be working. Looking around with config-browser I can see that the interceptors are not being

In-process acceptance testing with Jetty

2007-09-13 Thread Eric D Nielsen
I've been trying to adapt the approach shown at http://today.java.net/pub/a/today/2007/04/12/embedded-integration-testing-of-web-applications.html for building acceptance tests that can be run more simply within the IDE and that don't require creating a multi-module POM in Maven (since all

Re: I'm completely lost, please help... [Thank you/Update]

2004-12-21 Thread Eric D Nielsen
Thank you for your comments. After another few hours last night I got things working using the following sequence of steps: 1. Deployed a new blank application 2. Editted all the configuration files, with a text editor (NOTE: there appears to be a name mismatch between the Tiles TLD and

I'm completely lost, please help...

2004-12-20 Thread Eric D. Nielsen
Long post follows...I don't know if its an Eclipse, Tomcat or Struts problem... I've been trying to get started on Java Web Development using Eclipse, Tomcat, and Struts for the past several weeks. Sometime last week I got both simple JSP's (no custom logic) and the same JSP's using

Help with new installation...

2004-12-11 Thread Eric D. Nielsen
I'm a developer new to Java and Struts. I've been working with other scripting languages for several years, and am excited about an opportunity to return to Java. I'm getting a little frustrated/over-whelmed with getting everything configured properly, however. I've gotten Tomcat installed

Re: Help with new installation...

2004-12-11 Thread Eric D. Nielsen
anyone here has any parting advice? Thank you for you reply. Eric On Dec 11, 2004, at 10:58 PM, Eric D. Nielsen wrote: I'm a developer new to Java and Struts. I've been working with other scripting languages for several years, and am excited about an opportunity to return to Java. I'm getting