[ http://issues.apache.org/jira/browse/COCOON-1879?page=all ]

Jason Johnston updated COCOON-1879:
-----------------------------------

    Attachment: COCOON-1879.diff

Attached patch implements a new optional 'whitespace' attribute for fd:field.  
Possible values are:

whitespace="preserve" : leading and trailing whitespace is preserved
whitespace="trim-start" : only leading whitespace is trimmed
whitespace="trim-end" : only trailing whitespace is trimmed
whitespace="trim" : (default) both leading and trailing whitespace is trimmed, 
like old behavior.

Input welcome.

> Make fd:field whitespace trimming behavior configurable
> -------------------------------------------------------
>
>          Key: COCOON-1879
>          URL: http://issues.apache.org/jira/browse/COCOON-1879
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Forms
>     Versions: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>     Reporter: Jason Johnston
>  Attachments: COCOON-1879.diff
>
> Currently fd:field widgets always trim leading and trailing whitespace from 
> the user's input. Sometimes this behavior is not desired, so it should be 
> configurable.
> See this thread for discussion: 
> http://marc.theaimsgroup.com/?t=114960231400008&r=1&w=2
> Patch forthcoming.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to