<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>I've already commented on the gist, but for the record here's my point if view:</div><div><br></div><div><br></div><div><p style="box-sizing: border-box; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 23.799999237060547px; background-color: rgb(255, 255, 255); margin-top: 0px !important;">+1 on the custom operation for list/map modifications.</p><p style="box-sizing: border-box; margin: 15px 0px; color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 23.799999237060547px; background-color: rgb(255, 255, 255);">But I am against the write-attribute changes and generic complex attributes . IMO we'd better be explicit about complex attributes and limit it to certain usecases:</p><ul class="task-list" style="box-sizing: border-box; padding: 0px 0px 0px 30px; margin-top: 15px; margin-right: 0px; margin-left: 0px; color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 23.799999237060547px; background-color: rgb(255, 255, 255); margin-bottom: 0px !important;"><li style="box-sizing: border-box;">write-attribute is for simple attributes only and yields an error for complex types</li><li style="box-sizing: border-box;">no support for generic complex attributes. these should become (child) resources themselves</li><li style="box-sizing: border-box;">introduce an explicit ModelType.LIST and ModelType.MAP (i think the former already exists)</li></ul><div><br></div></div><div><br></div><div>/Heiko</div><div><br></div><br><div><div>On 14 Aug 2014, at 18:31, Tomaž Cerar &lt;<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div>Hi guys,<br><br><br></div>there ware some discussions on how we should improve handling complex types of attribute bit better in CLI.<br></div>For most part that was about Map &amp; List types.<br>
<br>After some discussions with few of you I came up with plan / ideas what all options are there for us to improve on.<br><br></div>you can see current state of proposed enhancements at <a href="https://gist.github.com/ctomc/91055a6f4e7502dcd130">https://gist.github.com/ctomc/91055a6f4e7502dcd130</a><br>
<br></div>In short, I propose to add set of map-* and list-* global operations and improve :read-attribute &amp; :write-attribute<br>with EL like syntax for reading / updating map, list and generic complex attributes.<br>
<br><br></div>Let me know what you think about it, especially Console &amp; CLI folks.<br><br>--<br></div><div>tomaz<br></div><div><br><br><br></div></div>
_______________________________________________<br>wildfly-dev mailing list<br><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/wildfly-dev</blockquote></div><br></body></html>