<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div>I was complaining about tis a while ago as well.</div><div>With the current model structure you cannot easily read any single attribute&nbsp;</div><div>of&nbsp;the jsp-configuration.</div><div><br></div><div>Brian, Remy: any ideas how this could be improved?</div><div>Some thoughts about a generic config container have been on the table before.</div><div>Similar to system &nbsp;and other properties (See my other email about key/value pairs)</div><div><br></div><div><font class="Apple-style-span" face="Courier">&nbsp; /subsystem=web/config=development:read-resource()</font></div><div><br></div><div>Alternatively it could become a specific sub resource,</div><div>so that &nbsp;read/write attribute operations might apply:</div><div><br></div><div>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: Courier; ">/subsystem=web/config=jsp:read-attribute(name=development)</span><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><br></div><div><br></div><div>If you ask me, i'd prefer the later.</div><div><br></div><div><br></div><div>Ike</div><br><div><div>On Jul 22, 2011, at 1:44 PM, ChrisRamsdale wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi everyone,<br>I'm trying to read the "development" attribute of the web subsystem<br>using the command line interface.<br>Since the attribute is part of a group (jsp-configuration), I cannot<br>read it using the standard syntax. <br><br>"jsp-configuration" =&gt; {<br> &nbsp;&nbsp;&nbsp;"development" =&gt; false,<br> &nbsp;&nbsp;&nbsp;&nbsp;. . . .. . . &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>}<br><br>[standalone@localhost:9999 subsystem=web]<br>:read-attribute(name="development")<br>{<br> &nbsp;&nbsp;&nbsp;"outcome" =&gt; "failed",<br> &nbsp;&nbsp;&nbsp;"failure-description" =&gt; "No known attribute development",<br> &nbsp;&nbsp;&nbsp;"rolled-back" =&gt; true<br>}<br><br>or<br><br>[standalone@localhost:9999 subsystem=web]<br>:read-attribute(name="jsp-configuration/development")<br>{<br> &nbsp;&nbsp;&nbsp;"outcome" =&gt; "failed",<br> &nbsp;&nbsp;&nbsp;"failure-description" =&gt; "No known attribute development",<br> &nbsp;&nbsp;&nbsp;"rolled-back" =&gt; true<br>}<br><br>Anyone can enlight me how to read this attribute successfully ? <br>Thank you very much!<br>Chris<br><br>-- <br><a href="http://www.fastmail.fm">http://www.fastmail.fm</a> - Send your email first class<br><br>_______________________________________________<br>jboss-as7-dev mailing list<br><a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></div></blockquote></div><br></body></html>