Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: <aui:layout> Tag no longer supported in Liferay 7.1
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..
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..
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.
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.
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).
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™