Foros de discusión

Using Item Selector Taglib in LR7

Nicolas Burg, modificado hace 7 años.

Using Item Selector Taglib in LR7

New Member Mensajes: 3 Fecha de incorporación: 24/08/16 Mensajes recientes
Hi

Is there a doc somewhere on how to use the <liferay-item-selector:repository-entry-browser> ?
I cant make it work...
How do you initiate the parameters?

My goal is, in a custom module, to allow users to select documents or pictures from Documents & Medias.

Please do not tell me to have a look at the blog portlet, I already did and it didnt help me at all...

Thx
thumbnail
Olaf Kock, modificado hace 7 años.

RE: Using Item Selector Taglib in LR7

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Nicolas Burg:
Is there a doc somewhere on how to use the <liferay-item-selector:repository-entry-browser> ?


If the answer was no, this wouldn't help you. If the answer was yes, you might have already seen it as well (as you mention "the" blog post). However, if you gave us samples from your current code, what you already tried, and a description of your current results, the issue might be easy to spot for someone who has used this tag once (I didn't, sorry) or implemented it. Please give more information, make it easier to help and spot the problem. Let us know what didn't work for you and why (including a link to the blog article that didn't help)

It might also help to grep Liferay's source for uses of this tag in the various modules.
thumbnail
James Hinkey, modificado hace 7 años.

RE: Using Item Selector Taglib in LR7

Junior Member Mensajes: 62 Fecha de incorporación: 15/02/11 Mensajes recientes
Hi Nicholas,

The Taglib docs for the <repository-entry-browser> tag and the other liferay-item-selector tags are here.

All Liferay 7 reference docs are available at https://docs.liferay.com/portal/7.0/. The item-selector Javadocs are available for each of its modules here.

Also, a tutorial is in the works that demonstrates how to use Item Selector, create custom entities to use in it, and create custom views with it. It will be announced on Twitter @liferaydocs.

In the meantime, it sounds like Item Selector experts are rallying to your aid. :-)

Jim
thumbnail
James Hinkey, modificado hace 7 años.

RE: Using Item Selector Taglib in LR7

Junior Member Mensajes: 62 Fecha de incorporación: 15/02/11 Mensajes recientes
Nicholas,

Also, if you find any deficiencies or have any feedback with regards to the taglib docs and Javadocs, please let us know.

Thanks!
thumbnail
Sergio González, modificado hace 7 años.

RE: Using Item Selector Taglib in LR7

Expert Mensajes: 301 Fecha de incorporación: 7/01/10 Mensajes recientes
Hey NIcolas,

The Item Selector documentation hasn't been published yet in dev.liferay.com.
I have included an attachment that is a draft of the documentation of Item Selector that should help you to select documents or pictures from Documents and Media.

Keep in mind that the attached tutorials are not official yet. I think that the pdf that will be more useful to you is "Selecting entities using the Item Selector 1st part" inside the zip file.

Let me know if it's helpful or what parts you think are missing.

Thanks
Nicolas Burg, modificado hace 7 años.

RE: Using Item Selector Taglib in LR7

New Member Mensajes: 3 Fecha de incorporación: 24/08/16 Mensajes recientes
Hi guys !

It works !!! And the draft document is really helpful, it was what we needed from the start emoticon

There was a mistake in the javascript in the doc (a missing curly bracket). This javascript code is what we were missing from the start. And of course the right way to instantiate the ItemSelector.

Thanks for your help and efficiency emoticon

Nicolas