Bug in JSF maybe

Hi I am using MyFaces 1.1.3 and i noticed the following strange behaviour.

I have the following code:

class Bean extends HashTable<String,Element> {

}

class Bean2 extends Bean {

private String hello = "hello";

public String getHello() {

return hello;

}

}

now in the jsp page I use the following line:

<h:outputText value=""#{mappedBean.text}"

So the strange thing is that this binding diplay nothing!

If I remove the extend to HashTable everything is allright and on the screen is displayed "hello" but when it extends it for some reason it does not display anything. I think it is a bug.>

[688 byte] By [PeshoChukaa] at [2007-11-26 16:19:31]
# 1
It's working as designed. The spec says that for an expression "value-a.value-b", if value-a implements Map, then it uses value-a.get( value-b ) to get the value. Look at the JSF 1.1 spec section 5.1.3, which points you to JSP 2.0 section 2.3.4.
BrantKnudsona at 2007-7-8 22:42:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Sorry but can you just point me to what expression I should use?
PeshoChukaa at 2007-7-8 22:42:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...