sunlabs.brazil.template
public class MultipartSetTemplate extends SetTemplate
request.props
are the same as for forms of type www-url-encoded
, or
method=get
, as long as the query
option
is set.
For file input fields (e.g. <input type=file...>
),
the file content is associated with the field name, and the
properties
name.filename
,
name.type
,
and
name.encoding
are set to to the name of the file uploaded, its type, and
(unless noEncode
is set), the encoding, which is
either none (for text files), or Base64.
The file contents are automatically Base64 encoded for binary files.
Properties:
query
.
saveName
entry.
name
saveName
defaults to:
${prefix}-${fieldName}-${fileName}
Version: %W
Method Summary | |
---|---|
boolean | init(RewriteContext hr) |
void | tag_get(RewriteContext hr) |
void | tag_import(RewriteContext hr) |
void | tag_property(RewriteContext hr) |
void | tag_set(RewriteContext hr) |
void | tag_slash_tag(RewriteContext hr) |
void | tag_tag(RewriteContext hr) |