Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. <!-- **************************** INITIAL DETAILS **************************** -->
  2. <p:panel header="Initial Details" style="width:480px;height:300px;">
  3. <p:inplace emptyLabel="--empty--" id="ajaxInplaceInitialDetails" editor="true">
  4. <p:ajax event="save" listener="#{bigComplaintsDAO.handleEditSave}" update=":messages" />
  5.  
  6. <p:inputTextarea rows="10" cols="47" maxlength="5000" autoResize="false"
  7. value="#{bigComplaintsDAO.selectedComplaintRow.initialdetails}"
  8. required="true" label="text" queryDelay="750" minQueryLength="4" />
  9. </p:inplace>
  10. </p:panel>
  11. <br/>
  12. <!-- **************************** ADD NEW NOTES ******************************* -->
  13. <p:panelGrid columns="1" cellpadding="5" style="width:450px;height:200px;">
  14.  
  15.  
  16. <p:panel header="Add New Note">
  17. <h:outputText value="Subject: *" />
  18. <p:inputText id="subjectNew"
  19. value="#{bigComplaintsDAO.newNoteSubject}" required="true"
  20. label="Subject label">
  21. <f:validateLength minimum="2" />
  22. </p:inputText>
  23.  
  24.  
  25.  
  26. <p:inputTextarea id="bodyNew" rows="10" cols="47" maxlength="5000"
  27. value="#{bigComplaintsDAO.newNoteBody}" required="true"
  28. label="Body" queryDelay="750" minQueryLength="4">
  29. </p:inputTextarea>
  30. </p:panel>
  31.  
  32. <p:commandButton value="Submit"
  33. process="@this, subjectNew, bodyNew"
  34. update=":messages, accordionPanelNotes, :messages"
  35. actionListener="#{bigComplaintsDAO.addNewNote}" id="btnSubmit">
  36. <f:actionListener binding="#{bigComplaintsDAO.init()}" />
  37. </p:commandButton>
  38. </p:panelGrid>
  39.  
  40. <p:panel header="Initial Details" style="width:480px;height:300px;">
  41. <p:scrollPanel style="width:465px;height:255px">
  42.  
  43. <p:inplace emptyLabel="--empty--" id="ajaxInplaceInitialDetails" editor="true">
  44. <p:ajax event="save" listener="#{bigComplaintsDAO.handleEditSave}" update=":messages" />
  45.  
  46. <p:inputTextarea rows="10" cols="47" maxlength="5000" autoResize="false"
  47. value="#{bigComplaintsDAO.selectedComplaintRow.initialdetails}"
  48. required="true" label="text" queryDelay="750" minQueryLength="4" />
  49. </p:inplace>
  50.  
  51. </p:scrollPanel>
  52. </p:panel>
  53. <br/>
  54. <!-- **************************** ADD NEW NOTES ******************************* -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement