Ok, I got it working by adding PAGE to the Models (No I have no idea why I 
needed to !)


  |     @DataModel(value="displayableCategoryDatamodel", scope=ScopeType.PAGE)
  |     private LinkedHashSet<DisplayableCategory> displayableCategorySet;
  | 
  |     @DataModelSelection(value="displayableCategoryDatamodel")
  |     private DisplayableCategory selectedDisplayableCategory;
  |     
  |     @DataModel(value="keywordsDatamodel", scope=ScopeType.PAGE)
  |     private LinkedHashSet<Keyword> keywordsSet;
  | 
  |     @DataModelSelection(value="keywordsDatamodel")
  |     private Keyword selectedKeyword;
  | 

anyhow,

So.. now I have this 


  | 
  |                                                     <h:dataTable 
var="eachKeyword" value="#{keywordsDatamodel}" 
rendered="#{keywordsDatamodel.rowCount>0}">
  | 
  |                                                             <h:column>
  |                                                                     
<f:facet name="header">
  |                                                                             
<h:outputText value="#{messages.keyword}" />
  |                                                                     
</f:facet>
  |                                                                     
<h:outputText value="#{eachKeyword.keyword}" />
  |                                                             </h:column>
  | 
  |                                                             <h:column>
  |                                                                     
<s:button value="#{messages.button_delete}"     
  |                                                                        
action="#{advertisingCampaignController.deleteKeyword(eachKeyword)}"/>
  |                                                             </h:column>
  |                                                     </h:dataTable>
  | 
  | 

Why am I getting null in the routine for deleteKeyword(eachKeyword)??? for 
eachKeyword?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039591#4039591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039591
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to