Noob question(s). Interceptor breaking forms, and Connection handling?

2008-04-07 Thread Dave Belfer-Shevett
Hi folks, I have two questions, and I apologize for the n00b approach. I'm just teaching myself struts2, coming from a PHP background (but I've done plenty of JEE and Java Swing programming, so the language isn't completely alien :) Question 1... I have a Logon form that works fine without

Re: Noob question(s). Interceptor breaking forms, and Connection handling?

2008-04-07 Thread Dave Newton
--- Dave Belfer-Shevett [EMAIL PROTECTED] wrote: I have a Logon form that works fine without an interceptor, but as soon as I add one, my getUsername() and other methods fail (the username is null). When you declare interceptor-refs for an action you are declaring *all* the interceptors for

Re: Noob question...

2005-12-13 Thread Dakota Jack
The culprit, Josh, I would guess, would be an argumetn type mismatch during an invocation of PropertyUtils. This means, usually, that you are not using the multiple select tag in Struts properly. This is an old problem easy to diagnos both from the list and from google. Checking out these

Noob question...

2005-12-12 Thread Josh McDonald
Bit of a noob to debugging struts apps, what exactly does Failed to obtain specified collection mean? I can't find anything on google that explains it. I've gone over the JSP code and various actions and forms etc, and can't see anything wrong, and the code is copied from another jsp that's simply

Re: Noob question...

2005-12-12 Thread gramani
Josh McDonald [EMAIL PROTECTED] wrote on 12/12/2005 06:26:33 PM: Bit of a noob to debugging struts apps, what exactly does Failed to obtain specified collection mean? I can't find anything on google that explains it. I've gone over the JSP code and various actions and forms etc, and can't

Re: Noob question...

2005-12-12 Thread Josh McDonald
Thanks, managed to get it working by re-writing a gang of code, so not sure what exactly was the culprit :| -Josh -- His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best. Josh McDonald Analyst Programmer Information Technology

[Shale] really really noob question again - simply creating a link that will fire an action's prerender

2005-09-06 Thread Rick Reumann
I'm sure my Sun JSF book covers this some where but I'm looking over the navigation chappers and I'm still not sure how do something REALLY simple... All I want is a link that will go to employeesSearch.jsp Currently employeeSearch.jsp will fire off the prerender because I have

Re: [Shale] really really noob question again - simply creating a link that will fire an action's prerender

2005-09-06 Thread Craig McClanahan
On 9/6/05, Rick Reumann [EMAIL PROTECTED] wrote: I'm sure my Sun JSF book covers this some where but I'm looking over the navigation chappers and I'm still not sure how do something REALLY simple... Yep ... this is ***really*** JSF 101 level stuff. All I want is a link that will go to