Is it possible to use the parts without explicit partNames in code?
I have a list and a tartget container which I would like to fill up with
content depending on the selected list item.
Every listItem has a model { part : "partName" }.
I would like to achive that after list selection has been changed a
funcition would find out the current partName which belongs to the current
listItem. After that the target container's filler function would be wrapped
around with partLoader like this:
var partName = selectedListItem.getModel().partName;
qx.io.PartLoader.require([partName], function()
{
fillTargetSomehow();
}, this);
Now when I've run the generator it writes that the defined parts in
config.json are "ignored in current configaration". I think it is because
the part names doesn't show up explicitly in the source code.
Is there any solution for this?
Thank you.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/partLoader-require-partName-as-parameter-tp5103354p5103354.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel