isthmus86

primefaces 4.0.7-SNAPSHOT imageCropper-streamedContent (1)

Feb 8th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.44 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE component SYSTEM "../misc/component.dtd" [
  3. <!ENTITY standard_uicomponent_attributes        SYSTEM "../entities/standard_uicomponent_attributes.xml">
  4. <!ENTITY output_component_attributes            SYSTEM "../entities/output_component_attributes.xml">
  5. <!ENTITY input_component_attributes             SYSTEM "../entities/input_component_attributes.xml">
  6. <!ENTITY widget_var_attribute                   SYSTEM "../entities/widget_var_attribute.xml">
  7. ]>
  8. <component>
  9.     <tag>imageCropper</tag>
  10.     <tagClass>org.primefaces.component.imagecropper.ImageCropperTag</tagClass>
  11.     <componentClass>org.primefaces.component.imagecropper.ImageCropper</componentClass>
  12.     <componentType>org.primefaces.component.ImageCropper</componentType>
  13.     <componentFamily>org.primefaces.component</componentFamily>
  14.     <rendererType>org.primefaces.component.ImageCropperRenderer</rendererType>
  15.     <rendererClass>org.primefaces.component.imagecropper.ImageCropperRenderer</rendererClass>
  16.     <parent>javax.faces.component.UIInput</parent>
  17.     <description>ImageCropper allows cropping a certain region of an image. A new image is created containing the cropped area and assigned to a CroppedImage instanced on the server side.</description>
  18.     <interfaces>
  19.         <interface>
  20.             <name>org.primefaces.component.api.Widget</name>
  21.         </interface>
  22.     </interfaces>
  23.     <attributes>
  24.         &input_component_attributes;
  25.         &widget_var_attribute;
  26.         <attribute>
  27.             <name>image</name>
  28.             <required>false</required>
  29.             <type>java.lang.Object</type>
  30.             <description>Context relative path to the image or StreamedContent.</description>
  31.         </attribute>
  32.         <attribute>
  33.             <name>alt</name>
  34.             <required>false</required>
  35.             <type>java.lang.String</type>
  36.             <description>Alternate text of the image.</description>
  37.         </attribute>
  38.         <attribute>
  39.             <name>aspectRatio</name>
  40.             <required>false</required>
  41.             <type>java.lang.Double</type>
  42.             <defaultValue>java.lang.Double.MIN_VALUE</defaultValue>
  43.             <description>Aspect ratio of the cropper area.</description>
  44.         </attribute>
  45.         <attribute>
  46.             <name>minSize</name>
  47.             <required>false</required>
  48.             <type>java.lang.String</type>
  49.             <description>Minimum size of the cropper area.</description>
  50.         </attribute>
  51.         <attribute>
  52.             <name>maxSize</name>
  53.             <required>false</required>
  54.             <type>java.lang.String</type>
  55.             <description>Maximum size of the cropper area.</description>
  56.         </attribute>
  57.         <attribute>
  58.             <name>backgroundColor</name>
  59.             <required>false</required>
  60.             <type>java.lang.String</type>
  61.             <description>Background color of the container.</description>
  62.         </attribute>
  63.         <attribute>
  64.             <name>backgroundOpacity</name>
  65.             <required>false</required>
  66.             <type>java.lang.Double</type>
  67.             <defaultValue>0.6</defaultValue>
  68.             <description>Background opacity of the container. Default is 0.6</description>
  69.         </attribute>
  70.         <attribute>
  71.             <name>initialCoords</name>
  72.             <required>false</required>
  73.             <type>java.lang.String</type>
  74.             <description>Initial coordinates of the cropper area.</description>
  75.         </attribute>
  76.     </attributes>
  77.     <resources>
  78.         <resource>
  79.             <name>imagecropper/imagecropper.css</name>
  80.         </resource>
  81.         <resource>
  82.             <name>jquery/jquery.js</name>
  83.         </resource>
  84.         <resource>
  85.             <name>primefaces.js</name>
  86.         </resource>
  87.         <resource>
  88.             <name>imagecropper/imagecropper.js</name>
  89.         </resource>
  90.     </resources>
  91. </component>
Add Comment
Please, Sign In to add comment