[ 
http://issues.apache.org/jira/browse/ADFFACES-57?page=comments#action_12422345 
] 
            
Adam Winer commented on ADFFACES-57:
------------------------------------

Checked in patch, w/some changes:
- Width is not hardcoded at 100% in the styles - we don't default this on any 
other components.
- Added a demo page for the component

However, not closing the bug yet;  outputDocument needs a renderkit testscript 
(see CoreRenderKitTest and the MyFaces ADF wiki page.) before this can be 
closed up.

> Add a new ouputDocument component to print multi-paragraph text
> ---------------------------------------------------------------
>
>                 Key: ADFFACES-57
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-57
>             Project: MyFaces ADF-Faces
>          Issue Type: New Feature
>            Reporter: Simon Lessard
>         Assigned To: Adam Winer
>            Priority: Minor
>         Attachments: OutputDocument.patch, OutputDocument.patch
>
>
> This looks like a fairly trivial component to make and it could be useful for 
> some Web sites. 
> The component would mainly parse its value attribute and change \n and/or \r 
> with <p>. 
> Possible facet could be "separator" that would be inserted between paragraph. 
> The whole text could be in a div and it could supports skin selectors like:
> af|outputDocument
> af|outputDocument::paragraph
> af|outputDocument::separator
> as well as derived CSS rules like:
> af|outputDocument::paragraph:first-child

-- 
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