Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ui:composition
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:p="http://primefaces.org/ui" >
- <h:panelGrid columns="3" width="100%" border="0" columnClasses="colC1,colC2">
- <h:outputText value="Code: " style="margin-right:20px;"/>
- <p:inputText id="idCodProvider" value="#{storeBean.au.code}" size="84"/>
- <h:outputText value="Name: " style="margin-right:20px;"/>
- <p:inputText id="idName" value="#{storeBean.au.name}" size="84"/>
- <p:commandLink id="idAdressLink" style="margin-right:20px;" actionListener="#{storeBean.selectAdress}"
- update=":idFormAdress:idPgADressStore" >
- <h:outputText value="Adress:" />
- </p:commandLink>
- <p:inputText id="idAdressStore" label="Adress" value="#{storeBean.au.adressStore}" size="84"/>
- <h:outputText value="   " />
- </h:panelGrid>
- <ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:p="http://primefaces.org/ui">
- <h:panelGrid id="idPgAdressStore" columns="2" columnClasses="col1,col2">
- <h:outputLabel for="idAdress" value="Adress: " />
- <p:inputText id="idAdress" label="Adress" size="40" value="#{adressBean.au.strAdress}"/>
- <f:facet name="footer">
- <h:panelGrid width="100%" columns="2" style="text-align:center">
- <p:commandButton id="idBtSaveDir" value="Save" actionListener="#{storeBean.saveAdress}"
- update=":idFormAdress,:idFormStore" onComplete="PF('dlgDirStore').hide()"/>
- <p:commandButton id="idBtCancelDir" value="Cancel" type="button" onclick="PF('dlgDirStore').hide()"/>
- </h:panelGrid>
- </f:facet>
- </h:panelGrid>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement