You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/19 16:44:15 UTC

[jira] Updated: (ADFFACES-57) Add a new ouputDocument component to print multi-paragraph text

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

Simon Lessard updated ADFFACES-57:
----------------------------------

    Attachment: OutputDocument.patch

This patch includes a new component that split a String into various paragraph by detecting '\n' and '\r'. 

It supports a title and a separator facet. Title is added before the first paragraph while separator is placed between each of them.

It also supports the following skin selectors:
af|outputDocument
af|outputDocument::paragraph
af|outputDocument::separator
af|outputDocument::title

The component does not yet supports PPR and a PDA renderer is not created at this time.

> 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
>            Priority: Minor
>         Attachments: 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