SyncDirectLink.jwc 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2004 The Apache Software Foundation
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <!DOCTYPE component-specification PUBLIC
  15. "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
  16. "http://tapestry.apache.org/dtd/Tapestry_4_0.dtd">
  17. <component-specification class="jeus.tool.webadmin.component.SyncDirectLink">
  18. <description>
  19. Creates a non-contextual link. Non-persistent state can be stored within the link
  20. using the parameters, which will be encoded into the URL and provided to the eventual
  21. listener.
  22. </description>
  23. <parameter name="listener" required="yes"/>
  24. <parameter name="parameters">
  25. <description>
  26. An object, or list of objects, encoded into the URL
  27. as listener parameters (and made available to the ulimate listener object
  28. or method).
  29. </description>
  30. </parameter>
  31. <parameter name="stateful" default-value="true"/>
  32. <parameter name="disabled"/>
  33. <parameter name="anchor"/>
  34. <parameter name="target"/>
  35. <parameter name="renderer"/>
  36. <reserved-parameter name="href"/>
  37. <parameter name="scheme">
  38. <description>
  39. Forces the link to be generated as an absolute URL with the given scheme
  40. (unless the scheme matches the scheme for the current request).
  41. </description>
  42. </parameter>
  43. <parameter name="port">
  44. <description>
  45. Forces the link to be generated as an absolute URL with the given port
  46. (unless the port matches the port for the current request).
  47. </description>
  48. </parameter>
  49. <inject property="listenerInvoker" object="infrastructure:listenerInvoker"/>
  50. </component-specification>