I was complaining about tis a while ago as well.
With the current model structure you cannot easily read any single attribute 
of the jsp-configuration.

Brian, Remy: any ideas how this could be improved?
Some thoughts about a generic config container have been on the table before.
Similar to system  and other properties (See my other email about key/value pairs)

  /subsystem=web/config=development:read-resource()

Alternatively it could become a specific sub resource,
so that  read/write attribute operations might apply:

  /subsystem=web/config=jsp:read-attribute(name=development)


If you ask me, i'd prefer the later.


Ike

On Jul 22, 2011, at 1:44 PM, ChrisRamsdale wrote:

Hi everyone,
I'm trying to read the "development" attribute of the web subsystem
using the command line interface.
Since the attribute is part of a group (jsp-configuration), I cannot
read it using the standard syntax.

"jsp-configuration" => {
   "development" => false,
    . . . .. . .       
}

[standalone@localhost:9999 subsystem=web]
:read-attribute(name="development")
{
   "outcome" => "failed",
   "failure-description" => "No known attribute development",
   "rolled-back" => true
}

or

[standalone@localhost:9999 subsystem=web]
:read-attribute(name="jsp-configuration/development")
{
   "outcome" => "failed",
   "failure-description" => "No known attribute development",
   "rolled-back" => true
}

Anyone can enlight me how to read this attribute successfully ?
Thank you very much!
Chris

--
http://www.fastmail.fm - Send your email first class

_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev