Expand my Community achievements bar.

SOLVED

Creating Component with capability of dragging another component

Avatar

Level 2

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

[img]Component.JPG[/img]

1 Accepted Solution

Avatar

Correct answer by
Level 4

kradhakrishna wrote...

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

 

There are 2 ways to achieve that

1. Convert your rich text component as Container component.

2. Or give allowed children in rich text box.

View solution in original post

3 Replies

Avatar

Level 4

Include a parsys inside the main component. Don't use RTE directly , may be you can use RTE in the main component dialog and write your own jsp to render the same as per the wireframe. Inside jsp include a parsys and configure the sub component.

Avatar

Correct answer by
Level 4

kradhakrishna wrote...

Basically I would like to create RichTextEdit Component and in the middle of the RichText Content I need to drag another component

 

I have attached sample content with a box

Any suggestions

Thanks in Advance

 

 

There are 2 ways to achieve that

1. Convert your rich text component as Container component.

2. Or give allowed children in rich text box.