[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka updated MAGNOLIA-384:
---------------------------------

    Affects Version/s: 3.0 Final
                           (was: 2.0 Final)

> Adding multiple richEdit components to a dialog does not function properly
> --------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-384
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-384
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>          Components: build
>    Affects Versions: 3.0 Final
>         Environment: Firefox 1.0 windows
>            Reporter: Terry Jeske
>            Assignee: Boris Kraft
>            Priority: Major
>
> A. Create a new dialog called "twoRichEdits"
> B. Add a New Content Node named "content"
> C. Add the following data nodes:
> 1. name: content
> 2. type: String
> 3. label: First Rich Edit
> 4. controlType: richEdit
> D.  Add another New Content Node named "content0:
> E. Add the following data nodes:
> 1. name: content0
> 2. type: String
> 3. label: second Rich Edit
> 4. controlType: richEdit
> F. In the appropriate paragraphs directory create a jsp file that contains 
> references to both content nodes, for example:
> <%@ taglib uri="cms-taglib" prefix="cms" %>
> <%@ taglib uri="cms-util-taglib" prefix="cmsu" %>
> <%@ taglib uri="JSTL" prefix="c" %>
> <tr>
>     <td>
>         <table width="100%" cellpadding="0" cellspacing="0" border="0">
>             <cms:ifNotEmpty nodeDataName="content">
>                 <tr>
>                     <td>
>                         <cms:out nodeDataName="content" />
>                     </td>
>                 </tr>
>             </cms:ifNotEmpty>
>         </table>
>     </td>
>       <td>
>               <table width="100%" cellpadding="0" cellspacing="0" border="0">
>                       <cms:ifNotEmpty nodeDataName="content0">
>                               <tr>
>                                       <td>
>                                               <cms:out 
> nodeDataName="content0" />
>                                       </td>
>                               </tr>
>                       </cms:ifNotEmpty>
>               </table>
>       </td>
> </tr>
> G. Add the paragraph twoRichEdits node to a contentNodeCollectionName tag in 
> the appropriate jsp file.
> H. Create new paragraph using the twoRichEdits dialog.
> I. Choose the Number List button for the first RichEdit content area.
> J. Notice that both content and content0 textareas have numbered lists.
> K. clear both dialogs. In the content dialog click the bold button. Return to 
> content0 and type "test" notice test is bold.
> Other notes:
> If you just add two edit fields, everything works properly. I checked the 
> javascript and it appears that the first control is not being referenced 
> properly, but I must admit your javascript is unique and I am having trouble 
> following it. 
> Thx!

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

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to