Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Extending Text & Image component is not working.

Avatar

Level 3

Hi,

    I am new to AEM, now i am doing the excercise of extending Text & Image componenet. I have performed everything that has been discussed in url "http://docs.adobe.com/content/docs/en/cq/current/getting_started/first_steps_for_developers.html" but i am not seeing the "left" "right" option in the Tab 3 (i.e. in Advance Image Properties tab) under "Image Position" drop down box.

For node position/options/o1 i set the properties as : text to Left and value to left ; its type is nt:unstructured

For node position/options/o2 i set the properties as : text to Right and value to right ; its type is nt:unstructured             

Let me know what could have went wrong here. When i select the drop down box in the design mode it doesn't have any option present.

Attached the screen shot for your reference.

 

regards

Sri.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Sriram Sundararajan wrote...

Hi,

     Thanks for you reply. If you see my screenshot i have given for o1 [Name-->Left&value-->left] similarly i have entered the properties for o2 also. But one thing i am not understanding here, i am not seeing any field as 'text' here. Did you mean 'Name' as 'text' ? Please refer my screenshot attached earlier whether the settings are right, if not let me know what changes need to be done.

    I am also attaching the screenshot of the new component. The drop down box Image Position doesn't populating any options.

 

 

No, For o1, set the first property "text" which has value "Left" and second property "value" which has value "left". Not mention any property "Name" that you are doing now.

View solution in original post

4 Replies

Avatar

Level 5

Your options o1, o2 should have the properties text,value. e.g. o1[text-->Left & value --> left] . Also i didn't get you open the dialog in design mode, Is that component configurable at design mode and are getting save under /etc/design. As in image i can see you dialog is not design_dialog.

Avatar

Level 3

Hi,

     Thanks for you reply. If you see my screenshot i have given for o1 [Name-->Left&value-->left] similarly i have entered the properties for o2 also. But one thing i am not understanding here, i am not seeing any field as 'text' here. Did you mean 'Name' as 'text' ? Please refer my screenshot attached earlier whether the settings are right, if not let me know what changes need to be done.

    I am also attaching the screenshot of the new component. The drop down box Image Position doesn't populating any options.

Avatar

Correct answer by
Level 5

Sriram Sundararajan wrote...

Hi,

     Thanks for you reply. If you see my screenshot i have given for o1 [Name-->Left&value-->left] similarly i have entered the properties for o2 also. But one thing i am not understanding here, i am not seeing any field as 'text' here. Did you mean 'Name' as 'text' ? Please refer my screenshot attached earlier whether the settings are right, if not let me know what changes need to be done.

    I am also attaching the screenshot of the new component. The drop down box Image Position doesn't populating any options.

 

 

No, For o1, set the first property "text" which has value "Left" and second property "value" which has value "left". Not mention any property "Name" that you are doing now.

Avatar

Level 3

Hi,

     It is so simple how come i missed it ? thanks for clarifying it is working now.