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 azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.
> Date: Sun, 6 Sep 2009 10:10:48 -0700 > Subject: Re: How to access enum in jsp? > From: bill98...@gmail.com > To: user@struts.apache.org > > 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 <poulw...@gmail.com> > > > 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. > > > > > > _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.windowslive.com/Desktop/PhotoGallery