Advertisement
Guest User

Untitled

a guest
Apr 4th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE html>
  3. <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  4. <af:document title="LoginPage.jsf" id="d1">
  5. <af:form id="f1" inlineStyle="background-color:#c3de2f;" defaultCommand="b1">
  6. <af:panelStretchLayout id="psl1" dimensionsFrom="children" startWidth="100" endWidth="100" topHeight="200"
  7. bottomHeight="500" >
  8. <f:facet name="bottom">
  9. <af:spacer width="10" height="100" id="s1"/>
  10. </f:facet>
  11. <f:facet name="center">
  12. <af:panelBox text="Hi!" id="pb1" showDisclosure="false" background="light"
  13. type="stretch"
  14. immediate="true" inlineStyle="background-color:#c3de2f;">
  15. <af:outputText value="Testing" id="ot1"
  16. inlineStyle="font-size:x-large; font-weight:bolder;"/>
  17. <af:panelFormLayout id="pfl1"
  18. inlineStyle="background-image:none; ">
  19. <f:facet name="footer">
  20. <af:button id="b1" action="#{loginBean.Login.doLogin}"
  21. icon="resources/images/button.png"/>
  22. <af:message id="m1"
  23. message="see admin for assistance"/>
  24. </f:facet>
  25. <af:outputText value="enter username and password" id="ot2"
  26. inlineStyle="font-style:italic; font-weight:bold; font-size:small;"/>
  27. <af:inputText label="Username:" id="it1"
  28. value="#{loginBean.Login.username}"/>
  29. <af:inputText label="Password:" id="it2"
  30. value="#{loginBean.Login.password}"
  31. secret="true" showRequired="true"/>
  32. </af:panelFormLayout>
  33. </af:panelBox>
  34. </f:facet>
  35. <f:facet name="start"/>
  36. <f:facet name="end"/>
  37. <f:facet name="top">
  38. <af:panelGridLayout id="pgl2">
  39. <af:gridRow height="auto" id="gr1">
  40. <af:gridCell width="100%" id="gc1">
  41. <af:image source="/resources/images/logo.png" id="i1"/>
  42. </af:gridCell>
  43. </af:gridRow>
  44. </af:panelGridLayout>
  45. </f:facet>
  46. </af:panelStretchLayout>
  47. </af:form>
  48. </af:document>
  49. </f:view>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement