Layout components

Forum to discuss the new web client version of Servoy.

Layout components

Postby jasantana » Wed Dec 13, 2017 4:37 pm

When building a layout component we can use the tagType property to change the tag for the HTML that is generated.

When using a tag based on a directive which is defined in the JS-ClientLibs file described in the layout manifest file, neither the code in the directive controller is run nor the HTML template is rendered.

Is it because it is not possible? If so, what's the purpose of having a tagType property??

Find attached sample
elementswrapper.zip
You do not have the required permissions to view the files attached to this post.
Best regards,
Juan Antonio Santana Medina
[email protected]
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 544
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Layout components

Postby paronne » Wed Dec 13, 2017 4:51 pm

You better don't use directives as tag-type of layout containers.
Layout containers are not meant to be manipulated injecting an HTML template. The layout container is the template itself !
paronne
 
Posts: 105
Joined: Fri Nov 02, 2012 3:21 pm

Re: Layout components

Postby jasantana » Wed Dec 13, 2017 4:55 pm

Thanks for your soon reply Paolo.

I wanted to have an elements wrapper with some functionality to use in my forms. I had not realized you already have something I could use, the collapsible layout in the 12-Grid component.

Thanks again
Best regards,
Juan Antonio Santana Medina
[email protected]
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 544
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 2 guests