[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Statement generated by Managed Beans view is wrong  XML
Forum Index -> Development
Author Message
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Hello,

in our application I tried to get some Information from my Multilanguage manager which is referenced using the dispatcher.
In my dispatcher d I have a getter (getSession()) and in the session I have a getter (getMLManager) and in there I have a getter for my string property (getTest).

When I use the statement generated by the Managed Bean view, nothing is returned. The statement is:
#{d.session.mLManager.test}

But if I capitalize the first letter of my MLManager getter, the text is returned correctly:
#{d.session.MLManager.test}

Are there any special rules if the second letter is capitalized?

Thanks,

Tobias
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

...just looked a bit into the web:

http://forum.java.sun.com/thread.jspa?threadID=5165243&tstart=60 is the same topic

I looked into the JavaBeans spec, but they are only talking about setFoo/getFoo. Grrr...

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Updated the "algorithm" for finding the name so that it checks the second character as well. So, next beta will containt the fix.

But: would be great if someone could add "official info" on the naming aspect.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team