Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Dale Newfield
Dave Newton wrote: the movie "Airplane", with the hysterical woman on the plane YouTube to the rescue: http://www.youtube.com/watch?v=Y_GJkKMPHxw -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additio

Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Musachy Barroso
lol..that's exactly what I had in mind, in fact, I was remembering the guy with the baseball bat and laughing. On Sun, Sep 6, 2009 at 9:55 PM, Dave Newton wrote: > Musachy Barroso wrote: >> >> hey hey...get in line people :) > > You ever see the movie "Airplane", with the hysterical woman on the p

[OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Dave Newton
Musachy Barroso wrote: hey hey...get in line people :) You ever see the movie "Airplane", with the hysterical woman on the plane? Is that the line you're talking about? Dave - To unsubscribe, e-mail: user-unsubscr...@strut

Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Musachy Barroso
hey hey...get in line people :) musachy On Sun, Sep 6, 2009 at 2:05 PM, Dave Newton wrote: > Martin Gainty wrote: >> >> the question started on use of ConsoleAppender >>  how does one coax a ConsoleAppender to log to server.log? > > By following the directions on the link he provided, if reading

RE: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Martin Gainty
it would be helpful to find what a sun employee says on how to use RollingFileAppender for TC and GLassfish http://blogs.sun.com/terrygardner/entry/rollingfileappender_file_location ping terry or myself offline ..please dont ping struts user list for this for obvious reasons Martin Gainty _

[OT] Re: How to access enum in jsp?

2009-09-06 Thread Dave Newton
Martin Gainty wrote: the original solution i sent was OGNL So why did you write: >>> yes javap would reveal the 'mangled' name If there's a back-channel conversation that isn't being posted to the list it's just confusing to introduce little chunks of it, and there was never any solution ot

Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Dave Newton
Martin Gainty wrote: the question started on use of ConsoleAppender how does one coax a ConsoleAppender to log to server.log? By following the directions on the link he provided, if reading it is any indication, although it's not clear to me if it's a server- or application-specific solutio

RE: How to access enum in jsp?

2009-09-06 Thread Martin Gainty
the original solution i sent was OGNL Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mit

RE: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Martin Gainty
the question started on use of ConsoleAppender how does one coax a ConsoleAppender to log to server.log? your witness tough guy Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraul

Re: How to access enum in jsp?

2009-09-06 Thread Dave Newton
Martin Gainty wrote: yes javap would reveal the 'mangled' name That's not a "mangled" name; that's just OGNL syntax. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h..

RE: How to access enum in jsp?

2009-09-06 Thread Martin Gainty
yes javap would reveal the 'mangled' name works well for determining exact name of inner classes too thanks Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse

Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Dale Newfield
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqCongifureLog4J And as usual, ignore Martin Gainty's response as it will lead you astray rather than toward an answer. I admire his enthusiasm, but more often than not his answers reveal either that he doesn't understand the technologies involved

Re: How to access enum in jsp?

2009-09-06 Thread Bill Bohnenberger
Ah ha! So when code the test attribute like this: test="%{state == @com.yata.yata.actionst...@list}" it works. Thanks, Pawel! - Bill P.S. That syntax sux :-) 2009/9/6 Paweł Wielgus > Hi Bill, > You are comparing string with enum by == operator, so it's always false. > Also if You see thi

Re: How to access enum in jsp?

2009-09-06 Thread Paweł Wielgus
Hi Bill, You are comparing string with enum by == operator, so it's always false. Also if You see this value in debug it's the effect of toString() method. You can access enum like this com.something.actionst...@none if i remebmer correctly. Best greetings, Paweł Wielgus. 2009/9/6 Bill Bohnenber

How to access enum in jsp?

2009-09-06 Thread Bill Bohnenberger
How do I reference an enum variable in an test attribute? This is the situation, and the results I get: 1) I have a enum defined as public enum ActionState { NONE, INIT, LIST, ADD, EDIT, DELETE ... } 2) I have a variable of this type in my action class: ActionState stat

Re: ognl.MethodFailedException [java.lang.NoSuchMethodException: setEventTime([Ljava.lang.String;)]

2009-09-06 Thread Dave Newton
Vijayakrishna wrote: But this doesn't work. I'm still getting the same "ognl.MethodFailedException [java.lang.NoSuchMethodException: setEventTime([Ljava.lang.String;)]". That's because [java.langString; is an array, not a String. How to solve this issue? I'm not sure that there's default c

RE: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread Martin Gainty
change ConsoleAppender to RollingFileAppender e.g. log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=example.log log4j.appender.R.MaxFileSize=100KB # Keep one backup file log4j.appender.R.MaxBackupIndex=1 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appe

ognl.MethodFailedException [java.lang.NoSuchMethodException: setEventTime([Ljava.lang.String;)]

2009-09-06 Thread Vijayakrishna
Hi all, I've an action class AddEvent. In that I've a property java.sql.Timestamp eventTime; For this I've given getters and setters public Timestamp getEventTime() { return eventTime; } public void setEventTime(Timestamp eventTime) {

Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread David Canos
Hi Tikiidid you solve the problem? 2009/8/27 David Canos > same to me when working with EAR projects in Glassfish v2 and v2.1. > > try config Exception interceptor, anyway I could not resolved the problem > this way, > I turn struts.debug to on, and then i'm able to see the exception msg in a >

Re: Passing value in error message

2009-09-06 Thread Tommy Pham
- Original Message > From: Muhammad Owais > To: user@struts.apache.org > Sent: Sunday, September 6, 2009 12:04:04 AM > Subject: Passing value in error message > > > Dear; > I am looking for a solution to pass value as parameter to the error message. > What I want to achive is that I hav

Passing value in error message

2009-09-06 Thread Muhammad Owais
Dear; I am looking for a solution to pass value as parameter to the error message. What I want to achive is that I have to validate Date field. This date field's validation is of general type and with the concept of re-useablity.  The validation rule(s) is like the date should be greater then cur