Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p:commandButton value="Reopen" actionListener="#{searchActions.setOrderStatus(order, 'open')}" disabled="#{!searchActions.hasOrderStatus(order, 'open')}" ajax="false" />
- public class Order implements IOrder
- {
- ...
- }
- public class SearchActions
- {
- public void setOrderStatus( IOrder order, String statusString ) throws IOException
- {
- ...
- }
- public boolean hasOrderStatus( IOrder order, String statusString ) throws IOException
- {
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement