"gavin.king(a)jboss.com" wrote : myModel is a Seam component, and attribute is a
property of that component that definitely does NOT have an @In!
Ok, i have now in my JSF file:
| <h:dataTable var="item"
value="#{buy_ActionShowMenu_menu_WEB_OUT.menuItems}"
id="id_of_component_you_want" binding="#{CustomerWeb.datUI}">
|
| ..
| <h:column>
| <s:button value="ADD"
action="#{CustomerWeb.buy_showMenu_Resume}" />
| </h:column>
| </h:dataTable>
|
and in my Seam component:
| public UIData datUI;
|
| public UIData getDatUI() {
| return datUI;
| }
|
| public void setDatUI(UIData datUI) {
| this.datUI = datUI;
| }
| public String buy_showMenu_Resume() {
|
| if (datUI != null)
| buy_ActionShowMenu_item_WEB_IN = (MenuItem) datUI.getRowData();
| ..
|
| }
|
|
My datUI is always null. Can you help?
(please dont asked me why I not use @DataModelSelection .. this is actually what I try to
do with pure JSF means because of restrictions of our contractors. - But we are allowed
to use @In stuff and so on)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993398#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...