Fórum
How to retrieve child element from webcontent structure
Satish Babu Anupoju, modificado 11 Anos atrás.
How to retrieve child element from webcontent structure
Junior Member Postagens: 79 Data de Entrada: 20/02/11 Postagens Recentes
Hi Friends
I want to retrieve child elements from webcontent - structure.
Can you please provide info about retrieving the value.
my structure xml format is :
<root>
<dynamic-element name='sharathname' type='text' index-type='' repeatable='false'>
<dynamic-element name='sharathdesc' type='text_area' index-type='' repeatable='false'></dynamic-element>
</dynamic-element>
<dynamic-element name='sharathimage' type='image_gallery' index-type='' repeatable='false'></dynamic-element>
</root>
I want to retrieve child elements from webcontent - structure.
Can you please provide info about retrieving the value.
my structure xml format is :
<root>
<dynamic-element name='sharathname' type='text' index-type='' repeatable='false'>
<dynamic-element name='sharathdesc' type='text_area' index-type='' repeatable='false'></dynamic-element>
</dynamic-element>
<dynamic-element name='sharathimage' type='image_gallery' index-type='' repeatable='false'></dynamic-element>
</root>
jaid shaik, modificado 11 Anos atrás.
RE: How to retrieve child element from webcontent structure
Regular Member Postagens: 171 Data de Entrada: 08/10/10 Postagens Recentes
Hi Satish Babu Anupoju,
For this you have to create the template, and select related structure.
check this link I Done for FAQ page.
For this you have to create the template, and select related structure.
check this link I Done for FAQ page.
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: How to retrieve child element from webcontent structure
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
As Jaid replied, values entered in Web Content can be retrieved using the template (that uses the structure and is ) associated with the web content.
Structure just declares the available fields that may be used in a Web Content.
Structure just declares the available fields that may be used in a Web Content.