2
我有一些代碼如下:內蒙古評價2.2
<f:loadBundle basename="messages.application" var="prop" />
<ui:param name="currentUserAttr" value="#{prop['currentUser']}" />
// currentUserAttr=currentUserVal
<h1>Welcome #{sessionScope.currentUserAttr.name}</h1> // should be evaludated to sessionScope.currentUserVal.name
我想要得到的currentUserAttr
值,然後從會話讀取與那麼它的值從會議所獲得的價值,任何想法更換ATTR時如何在EL 2.2中做到這一點?