|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Show category title on jsp pageHello list, Is there any method to show the category title
through the Opencms taglib? If I use the contentshow tag, I get, as expected,
the category path, but I need to show the title. Greets! Juan Francisco Fernández
Rodríguez ADVERTENCIA LEGAL Le
informamos, como destinatario de este mensaje, que el correo electrónico y las
comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad
de los mensajes transmitidos, así como tampoco su integridad o su correcta
recepción, por lo que Este mensaje
va dirigido, de manera exclusiva, a su destinatario. En caso de haber recibido
este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique
mediante correo electrónico remitido a nuestra atención o a través del teléfono
(+34) 954 385550 y proceda a su eliminación, así como a la de cualquier
documento adjunto al mismo. Asimismo, le comunicamos que la distribución, copia
o utilización de este mensaje, o de cualquier documento adjunto al mismo,
cualquiera que fuera su finalidad, están prohibidas por ley. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Show category title on jsp pageHi Juan, if you mean the property „Title“ (not category), then you can use <cms:property name="Title" />
Have a look at the Alkacon Documentation Modules for more
information. Hope this helps. Regards Kai Von:
opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im
Auftrag von Juan Francisco Fernández Hello
list, Is
there any method to show the category title through the Opencms taglib? If I
use the contentshow tag, I get, as expected, the category path, but I need to
show the title. Greets! Juan Francisco Fernández Rodríguez ADVERTENCIA LEGAL Le informamos, como destinatario de este mensaje, que el correo
electrónico y las comunicaciones por medio de Internet no permiten asegurar ni
garantizar la confidencialidad de los mensajes transmitidos, así como tampoco
su integridad o su correcta recepción, por lo que la FUNDACIÓN ANDALUZA FONDO
DE FORMACIÓN Y EMPLEO no asume responsabilidad alguna por tales circunstancias.
Si no consintiese en la utilización del correo electrónico o de las
comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
conocimiento de forma inmediata. Este mensaje va dirigido, de manera exclusiva, a su
destinatario. En caso de haber recibido este mensaje por error, le rogamos que,
de forma inmediata, nos lo comunique mediante correo electrónico remitido a
nuestra atención o a través del teléfono (+34) 954 385550 y proceda a su
eliminación, así como a la de cualquier documento adjunto al mismo. Asimismo,
le comunicamos que la distribución, copia o utilización de este mensaje, o de
cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, están
prohibidas por ley. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Show category title on jsp pageHi Kai, I’m trying to show
the title of the category selected inside my xml content. The xsd schema contains
these lines: … <xsd:element
name="Category" type="OpenCmsString"
minOccurs="1" maxOccurs="unbounded" /> …. <layout
element="Category" widget="CategoryWidget"
configuration="category=garantias_institucionales/contratoconvenio/|keyprefix=conveniocontrato|onlyleafs=true"
/> … In my jsp file, if I use
the contentshow tag (<cms:contentshow element="Category" />), I
get the category full path: /system/categories/garantias_institucionales/contratoconvenio/convenios/ But I want to select the
title set at the category folder in /system/categories/ (Convenios in this case),
as it is shown in the CategoryWidget selector. Is there any method to get it? Thanks! De:
opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] En nombre de Schliemann, Kai Hi Juan, if you mean the property „Title“ (not category), then you can use <cms:property name="Title" />
Have a look at the
Alkacon Documentation Modules for more information. Hope this helps. Regards Kai Von:
opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] Im Auftrag von Juan Francisco Fernández Hello list, Is there any method to show the category title
through the Opencms taglib? If I use the contentshow tag, I get, as expected,
the category path, but I need to show the title. Greets! Juan Francisco Fernández
Rodríguez ADVERTENCIA LEGAL Le
informamos, como destinatario de este mensaje, que el correo electrónico y las
comunicaciones por medio de Internet no permiten asegurar ni garantizar la
confidencialidad de los mensajes transmitidos, así como tampoco su integridad o
su correcta recepción, por lo que Este mensaje
va dirigido, de manera exclusiva, a su destinatario. En caso de haber recibido
este mensaje por error, le rogamos que, de forma inmediata, nos lo comunique
mediante correo electrónico remitido a nuestra atención o a través del teléfono
(+34) 954 385550 y proceda a su eliminación, así como a la de cualquier
documento adjunto al mismo. Asimismo, le comunicamos que la distribución, copia
o utilización de este mensaje, o de cualquier documento adjunto al mismo,
cualquiera que fuera su finalidad, están prohibidas por ley. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Show category title on jsp pageHi Juan Francisco,
Try <cms:property name="Title" file="_category_full_path_" />. This works due to categories being simply folders. Hope this helps. Greetings, Nacho Fernandez. ------------------ Hola Juan Francisco, Prueba <cms:property name="Title" file="_ruta_completa_de_la_categoria_" />. Eso funciona ya que las categorías son simples carpetas. Espero que esto te ayude. Saludos, Nacho Fernandez. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Show category title on jsp pageYep, that is just what I was
looking for. Now I feel a bit stupid hehehe, I was trying to do some difficult
operations to get it, when it was as simple as you have explained. Many thanks (Muchísimas
gracias)! Greetings! De:
opencms-dev-bounces@... [mailto:opencms-dev-bounces@...] En nombre de Nacho Fernández Orellana Hi Juan Francisco, _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|
Re: Show category title on jsp pageNo need to feel stupid, I was programming myself a taglib to access category properties when found this solution. Greetings,
Nacho Fernandez. _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
| Free embeddable forum powered by Nabble | Forum Help |