<!-- Definition -->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:ic="http://ivyteam.ch/jsf/component"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:cc="http://xmlns.jcp.org/jsf/composite">
<!-- ... -->
<cc:interface>
<cc:attribute name="buttonName1"></cc:attribute>
<cc:attribute name="buttonName2"></cc:attribute>
<cc:attribute name="handler1" method-signature="void handler1()"></cc:attribute>
<cc:attribute name="handler2" method-signature="void handler2()"></cc:attribute>
<cc:attribute name="motorbikePlateRequest" type="java.lang.Object"></cc:attribute>
</cc:interface>
<p:commandButton
value="Button name 1"
action="#{cc.attrs.handler1}" update="form" immediate="true">
</p:commandButton>
<!-- ... -->
</html>
<!-- Usage -->
<ic:motorbike.number.plate.MotorbikeNumberApprove
motorbikePlateRequest="#{data.selectedRequest}" buttonName1="Reject"
handler1="#{logic.rejectNumberPlateRequest}" buttonName2="Approve"
handler2="#{logic.approveNumberPlateRequest}">
</ic:motorbike.number.plate.MotorbikeNumberApprove>
Code Example |
---|
Html :: use of extends in django |
Html :: vue get element by id |
Html :: meta tags html |
Html :: html change name in tab |
Html :: bootstrap Badges Contextual variations |
Html :: twig keys |
Html :: mpdf table font size problem |
Html :: calculator template html css |
Html :: How to write a empty character in HTML |
Html :: html image tag |
Html :: mobvoi.com |
Html :: html color text |
Html :: typo3 pass argument to action |
Html :: how to set a gif as a background image of a page |
Html :: mat button copy link |
Html :: vim set line wrap |
Html :: iframe responsive |
Html :: chrome remove autocomplete highlight |
Html :: input type text cache clear |
Html :: html auto refresh |
Html :: what is seizure disorder |
Html :: html color pink |
Html :: html entity at sign |
Html :: csrf token html form |
Html :: how to change font color in html |
Html :: js html textbox on change |
Html :: how to link js to html |
Html :: html times |
Html :: phone fa |
Html :: class vs id in html |