Message Boards

Calling ResourceURL from soy template

Iñigo Boyano, modified 2 Years ago.

Calling ResourceURL from soy template

Junior Member Posts: 96 Join Date: 2/4/14 Recent Posts

Hi devs, 

Im developing a new DDMFormField to manage upload files in other way that the default uploadFiles field liferay does.

I've seen that the basic structure of a custom DDMFormField is using soy templates and my problem is that when i tried to call a resourceCommand class from the soy template or *es.js file, i can't use <portlet:ResourceURL> tag like i used to use in a jsp when i develop a common portlet.

It is possible to call a ResourceCommand class from soy template or *.es.js files? In that case, how can i do it?

Kind regads, 

Iñigo.