how to browse "title" of a node from component's dialog ???


hi,

 

it's first time develope cq component. , works great.

for example, text component can have many items under dialog tab below image.

 

1.jpg

 

 

 

and changed "name" of items wanted example "./posteddate", "joblocation", , on.

however, cannot browse title of node component. tried use "./jcr:content/jcr:title" name.

 

do have idea?

hi,

 

its depends on component authors in page hierarchy , can travel using "../"  (1 level up) reach parent hierarchy. example if have componet "a" authored on page "b" directly below

 

/content/yourproject/b/jcr:content/a fetch jcr:title of page b in component text property should set "name" property value "../jcr:content" , same can use reach upper level of hierarchy adding more "../" based on requirement.

 

i hope above clarfies doubt , proceed. let me know more information

 

thanks,

pawan



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support