RE: <aui:layout> Tag no longer supported in Liferay 7.1

Kevin Neibarger, modified 6 Years ago. Regular Member Posts: 105 Join Date: 2/2/18 Recent Posts
So, I've noticed that Liferay 7.1 no longer supports the <aui:layout> tag. 

Are there any other options to replace this? I would prefer not to have to rewrite the entire view layer, but it looks like I may have to.. 
thumbnail
Amos Fong, modified 6 Years ago. Liferay Legend Posts: 2047 Join Date: 10/7/08 Recent Posts
Sorry, looks like there is no replacement:
https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/breaking-changes#removed-the-auilayout-tag-with-no-direct-replacement

You could try using <aui:row> and <aui:col>. Or lookup what Liferay modules did to convert.
thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
You could take the aui:layout tag from a previous build and repurpose it as your own custom tag with the same definition. Then all you would have to do is changet the taglib declaration (and I guess you should probably change the prefix).