Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Ashwani Kumar
selecting image form "Doc. and media" on custom portlet.!!!
1 gennaio 2013 22.23
Risposta

Ashwani Kumar

Punteggio: Junior Member

Messaggi: 26

Data di Iscrizione: 19 ottobre 2012

Messaggi recenti

Hi All,

In my Cutom Portet...I am having a Browse button for selecting a file(that could be images), my requirement is, Once i click on Browse button..it should allow me to select the images from the "Document and Library" of Liferray.

Similary , How i can store the path of selected image in my custom table. Pls give the list of APIs that i can use for my requirements.

Thanks in advance.

Regards,
Ashwani
Bart Simpson
RE: selecting image form "Doc. and media" on custom portlet.!!!
2 gennaio 2013 5.57
Risposta

Bart Simpson

Punteggio: Liferay Master

Messaggi: 524

Data di Iscrizione: 29 agosto 2011

Messaggi recenti

You could begin by trying to integrate the Documents and Media display portlet. using the runtime tag
1<runtime-portlet name="..."/>
. Then hook the jsp of Documents and Media display portlet to filter and return the url of selected image.