ok, but for us mortals...

eachDisplayableCategory does not get submitted when you click s:button refine...

  | <h:column rendered="#{eachDisplayableCategory.displayed}">
  |                                             <s:fragment 
rendered="#{!eachDisplayableCategory.refined}">
  |                                                     <s:fragment 
rendered="#{eachDisplayableCategory.parenting}">
  |                                                             <s:button 
value="#{messages.button_refine}"
  |                                                                     
action="#{advertisingCampaignController.refineCategory(eachDisplayableCategory)}"
 />
  |                                                     </s:fragment>
  |                                             </s:fragment>
  |                                             <s:fragment 
rendered="#{eachDisplayableCategory.refined}">
  |                                                     <h:commandButton 
value="#{messages.button_collapse}"
  |                                                             
action="#{advertisingCampaignController.collapseCategory(eachDisplayableCategory)}"
 />
  |                                             </s:fragment>
  |                                     </h:column>
  | 

you have to have a h:commandButton

  | <h:column rendered="#{eachDisplayableCategory.displayed}">
  |                                             <s:fragment 
rendered="#{!eachDisplayableCategory.refined}">
  |                                                     <s:fragment 
rendered="#{eachDisplayableCategory.parenting}">
  |                                                             
<h:commandButton value="#{messages.button_refine}"
  |                                                                     
action="#{advertisingCampaignController.refineCategory(eachDisplayableCategory)}"
 />
  |                                                     </s:fragment>
  |                                             </s:fragment>
  |                                             <s:fragment 
rendered="#{eachDisplayableCategory.refined}">
  |                                                     <h:commandButton 
value="#{messages.button_collapse}"
  |                                                             
action="#{advertisingCampaignController.collapseCategory(eachDisplayableCategory)}"
 />
  |                                             </s:fragment>
  |                                     </h:column>
  | 

To me.. being a noobie, I don't really know when form is submiited or not.. 
s:button seems to avoid the validation... just a bit confusing...

You experts know these things...

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

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

Reply via email to