Does anyone else think this would be useful? I think this may be a
good feature to approach Joe with... I know ColdBox lets you use a
syntax like this to pass complex values from the XML to the framework:
<property name="fooProp" value="[1,2,3,4]" />
<property name="barProp" value="{f=1,w=2,g=3}" />
Lets you pass arrays and structs in from the XML so that complex
values can be configured into the XML file... much like ColdSpring's
<map /> and <list /> tags for it's config file. It would be very nice
for this to be able to do something like:
<argument name="eventConfig" value="[
{
event="customer.save",
title="Edited customer: ((customer))",
persistState="customer_name,customer_id"
},
{
event="callLog.show",
title="Viewed call log",
persistState=""
}
]" />
If only, eh? Maybe someday.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---