[MAGNOLIA-384] Adding multiple richEdit components to a dialog does not function properly Created: 08/May/05  Updated: 23/Jan/13  Resolved: 17/May/06

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 2.0 Final
Fix Version/s: 3.0 Final

Type: Bug Priority: Major
Reporter: Terry Jeske Assignee: Boris Kraft
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Firefox 1.0 windows


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

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!



 Comments   
Comment by Philipp Bracher [ 17/May/06 ]

working with the new fck editor

Generated at Mon Feb 12 03:16:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.