I am very new to grails (day 2).
Firstly, it’s hard for me to find easily visible resources (the documentation is very raw, and the tutorials are common and show only examples of “hello world” examples).
I set my domain class with relation to other data types.
class ShopCategoryPage{
ProductProcedure procedure;
ProductCategory category;
}
In my controller, I get the category identifier and the procedure identifier as parameters, and I'm trying to get the ShopCategoryPage associated with these parameters.
How do I find them? I tried to pass identifiers as procedureId or procedure_id, I tried to pass the ProductProcedure object generated by findById ...
I am not sure how to find a property that is not native.
source
share