Ok, I have a drop-down menu with a selection of products, here is a JSF snippet:


  |         <h:message for="productsMenu"/>
  |         <h:selectOneMenu id="productsMenu"
  |                          value="#{product}">
  |             <s:selectItems var="product"
  |                            value="#{saleFinder.products}"
  |                            label="#{sale.name} - 
#{sale.getSubtotal(calendarBean)}"
  |                            noSelectionLabel="Select Sale Product..."/>
  |             <s:convertEntity/>
  |         </h:selectOneMenu>
  | 

Now here is the tough part...I want to format the second part of the label, 
#{sale.getSubtotal(calendarBean)}", as a currency....





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

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

Reply via email to