[ 
https://issues.apache.org/jira/browse/SLING-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917221#action_12917221
 ] 

Felix Meschberger commented on SLING-1412:
------------------------------------------

Added documentation for the @IgnoreBlanks suffix to the Sling POST Servlet 
documentation page [1].

BTW: The dev list discussion can be found at 
http://markmail.org/message/qdhfqpunlhegherd.

[1] 
http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html

> Add support for a @IgnoreBlanks hint
> ------------------------------------
>
>                 Key: SLING-1412
>                 URL: https://issues.apache.org/jira/browse/SLING-1412
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: Servlets Post 2.0.6
>
>
> Given these post parameters:
> ./stringprope...@typehint=string[]
> ./stringprope...@ignoreblanks=true
> ./stringProperty=foo
> ./stringProperty=bar
> ./stringProperty=
> stringProperty will be set to an array of two values
> ALSO...
> ./stringprope...@ignoreblanks=true
> ./stringProperty=
> makes the post sevlet behave as if neither param had been passed. Same thing 
> is true for a mutli-value property if all params are blank:
> ./stringprope...@typehint=string[]
> ./stringprope...@ignoreblanks=true
> ./stringProperty=
> ./stringProperty=
> ./stringProperty=
> As I mentioned on the dev list, this is really a UI issue, but it seems like 
> something Sling can easily handle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to