Foros de discusión
How to retrieve child element from webcontent structure
Satish Babu Anupoju, modificado hace 11 años.
How to retrieve child element from webcontent structure
Junior Member Mensajes: 79 Fecha de incorporación: 20/02/11 Mensajes recientes
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 hace 11 años.
RE: How to retrieve child element from webcontent structure
Regular Member Mensajes: 171 Fecha de incorporación: 8/10/10 Mensajes recientes
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 hace 11 años.
RE: How to retrieve child element from webcontent structure
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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.