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
Doubts with Expando types
Hi all.
I want to create a new Expando for sites which contains a list of integer values. There is one type, called "Group of Integers", that may be the type that I need. I want to recover the value programatically, but I have a doubt when try to cast the value, which type is a "Group of Integers"? Is a list? I have the same doubt with the other one, "Group of Text Values". I was looking for documentation but I've had no success.
Any help would be appreciated, thanks in advance!
Regards
I want to create a new Expando for sites which contains a list of integer values. There is one type, called "Group of Integers", that may be the type that I need. I want to recover the value programatically, but I have a doubt when try to cast the value, which type is a "Group of Integers"? Is a list? I have the same doubt with the other one, "Group of Text Values". I was looking for documentation but I've had no success.
Any help would be appreciated, thanks in advance!
Regards
Usually if I'm unclear about a type, I'll just tack on a getClass().getName() and log it; that way the code tells me what exactly it is.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™