Logging.jwc 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- $Id: Logging.jwc,v 1.4 2005/02/02 11:01:33 enrique Exp $ -->
  3. <!DOCTYPE component-specification PUBLIC
  4. "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
  5. "http://tapestry.apache.org/dtd/Tapestry_4_0.dtd">
  6. <component-specification
  7. class="jeus.tool.webadmin.component.Logging"
  8. allow-body="yes" allow-informal-parameters="yes">
  9. <parameter name="logging" required="yes"/>
  10. <parameter name="modify"/>
  11. <parameter name="model" default-value="@jeus.tool.webadmin.page.EnumerationSet@LOG_LEVELS"/>
  12. <component id="name" type="Field">
  13. <binding name="field" value="components.nameField"/>
  14. </component>
  15. <component id="nameField" type="JAXBTextField">
  16. <binding name="parentElement" value="logging"/>
  17. <binding name="elementName" value="literal:name"/>
  18. </component>
  19. <component id="level" type="Field">
  20. <binding name="field" value="components.levelField"/>
  21. </component>
  22. <component id="levelField" type="JAXBPropertySelection">
  23. <binding name="parentElement" value="logging"/>
  24. <binding name="elementName" value="literal:level"/>
  25. <inherited-binding name="model" parameter-name="model"/>
  26. <binding name="uppercase" value="true"/>
  27. </component>
  28. <component id="logging_blind" type="Blind">
  29. <binding name="title" value="message:common.label.advanced"/>
  30. </component>
  31. <component id="use_parent_handlers" type="Field">
  32. <binding name="field" value="components.use_parent_handlersField"/>
  33. </component>
  34. <component id="use_parent_handlersField" type="JAXBCheckbox">
  35. <binding name="parentElement" value="logging"/>
  36. <binding name="elementName" value="literal:useParentHandlers"/>
  37. </component>
  38. <component id="filter_class" type="Field">
  39. <binding name="field" value="components.filter_classField"/>
  40. </component>
  41. <component id="filter_classField" type="JAXBTextField">
  42. <binding name="parentElement" value="logging"/>
  43. <binding name="elementName" value="literal:filterClass"/>
  44. </component>
  45. <component id="condCreate" type="If">
  46. <binding name="condition" value="modify == null"/>
  47. <binding name="renderTag" value="false"/>
  48. </component>
  49. <component id="condModify" type="If">
  50. <binding name="condition" value="modify != null"/>
  51. <binding name="renderTag" value="false"/>
  52. </component>
  53. <component id="readOnlyName" type="ReadOnlyTextField">
  54. <binding name="value" value="logging.name == null ? @jeus.tool.webadmin.page.SystemLogger.SystemLoggerConstants@DEFAULT_LOGGER_NAME : null"/>
  55. <binding name="parentElement" value="logging"/>
  56. <binding name="elementName" value="literal:name"/>
  57. </component>
  58. <asset name="help_image" path="context:/image/question.gif"></asset>
  59. </component-specification>