org.zkoss.zk.au.AuWriters.ContentType"

From Documentation
 
Line 6: Line 6:
  
 
  Default: <i>text/plain;charset=UTF-8</i>
 
  Default: <i>text/plain;charset=UTF-8</i>
[Since 8.5.2]
+
{{versionSince| 8.5.2}}
  
It specify the Content-Type of response
+
It specifies the Content-Type of the AU response.
  
 
For example:
 
For example:
Line 17: Line 17:
 
   </library-property>
 
   </library-property>
 
</source>
 
</source>
[[File:Response content type json.png]]
+
[[File:Response content type json.png | 500px]]
  
 
{{ZKConfigurationReferencePageFooter}}
 
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 02:09, 26 May 2023


org.zkoss.zk.au.AuWriters.ContentType


Property: org.zkoss.zk.au.AuWriters.ContentType

Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: text/plain;charset=UTF-8

Since 8.5.2

It specifies the Content-Type of the AU response.

For example:

  <library-property>
    <name>org.zkoss.zk.au.AuWriters.ContentType</name>
    <value>json/application;charset=UTF-8</value>
  </library-property>

Response content type json.png



Last Update : 2023/05/26

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.