You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2006/08/03 04:52:13 UTC
[jira] Created: (XBEAN-34) The id attribute defaults to the xbean
tag name
The id attribute defaults to the xbean tag name
-----------------------------------------------
Key: XBEAN-34
URL: http://issues.apache.org/jira/browse/XBEAN-34
Project: XBean
Issue Type: Improvement
Affects Versions: 2.6
Reporter: David Blevins
Fix For: 2.6
The id attribute of the xbean tag should be optional and when not explicitly specified should default to the name of the xbean tag itself. Such as
<j:transactionManager id="transactionManager"/>
can just be:
<j:transactionManager/>
The schema can also express the default value of the id attribute of the <j:transactionManager complex type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (XBEAN-34) The id attribute defaults to the xbean
tag name
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/XBEAN-34?page=comments#action_12427251 ]
james strachan commented on XBEAN-34:
-------------------------------------
Spring allows you to specify a 'name' instead of an 'id' - so maybe we should default 'name' to the name of the element?
> The id attribute defaults to the xbean tag name
> -----------------------------------------------
>
> Key: XBEAN-34
> URL: http://issues.apache.org/jira/browse/XBEAN-34
> Project: XBean
> Issue Type: Improvement
> Affects Versions: 2.6
> Reporter: David Blevins
> Fix For: 2.6
>
>
> The id attribute of the xbean tag should be optional and when not explicitly specified should default to the name of the xbean tag itself. Such as
> <j:transactionManager id="transactionManager"/>
> can just be:
> <j:transactionManager/>
> The schema can also express the default value of the id attribute of the <j:transactionManager complex type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (XBEAN-34) The id attribute defaults to the xbean
tag name
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/XBEAN-34?page=comments#action_12427250 ]
james strachan commented on XBEAN-34:
-------------------------------------
note that I don't think this would work in a validating XSD as spring 2 uses ID/IDREFs to validate IDs match up etc
> The id attribute defaults to the xbean tag name
> -----------------------------------------------
>
> Key: XBEAN-34
> URL: http://issues.apache.org/jira/browse/XBEAN-34
> Project: XBean
> Issue Type: Improvement
> Affects Versions: 2.6
> Reporter: David Blevins
> Fix For: 2.6
>
>
> The id attribute of the xbean tag should be optional and when not explicitly specified should default to the name of the xbean tag itself. Such as
> <j:transactionManager id="transactionManager"/>
> can just be:
> <j:transactionManager/>
> The schema can also express the default value of the id attribute of the <j:transactionManager complex type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira