<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 </div><div>of 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 and other properties (See my other email about key/value pairs)</div><div><br></div><div><font class="Apple-style-span" face="Courier"> /subsystem=web/config=development:read-resource()</font></div><div><br></div><div>Alternatively it could become a specific sub resource,</div><div>so that read/write attribute operations might apply:</div><div><br></div><div> <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" => {<br> "development" => false,<br> . . . .. . . <br>}<br><br>[standalone@localhost:9999 subsystem=web]<br>:read-attribute(name="development")<br>{<br> "outcome" => "failed",<br> "failure-description" => "No known attribute development",<br> "rolled-back" => true<br>}<br><br>or<br><br>[standalone@localhost:9999 subsystem=web]<br>:read-attribute(name="jsp-configuration/development")<br>{<br> "outcome" => "failed",<br> "failure-description" => "No known attribute development",<br> "rolled-back" => 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>