You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org> on 2005/01/10 11:52:13 UTC
[jira] Assigned: (HIVEMIND-15) hivemind fails on translating a string attribute in a string
[ http://issues.apache.org/jira/browse/HIVEMIND-15?page=history ]
Knut Wannheden reassigned HIVEMIND-15:
--------------------------------------
Assign To: Knut Wannheden (was: Howard M. Lewis Ship)
> hivemind fails on translating a string attribute in a string
> ------------------------------------------------------------
>
> Key: HIVEMIND-15
> URL: http://issues.apache.org/jira/browse/HIVEMIND-15
> Project: HiveMind
> Type: Wish
> Components: framework
> Versions: 1.0
> Environment: Windows 2000, Eclipse 3.0, j2sdk1.4.2
> Reporter: Christian Domsch
> Assignee: Knut Wannheden
> Fix For: 1.1
> Attachments: patch.txt
>
> I have a configuration-point that builds a list of strings. When I build the schema for the cp, hivemind expects a translator for an attribute. Since I want to have Strings in my list, I don't need a translator.
> Sadly the SmartTranslator fails on translating a string into a string, so I had to write my own (very simple implementation :-). Maybe I did something wrong in my configuration-point:
> configuration-point (id=model) {
> schema {
> element (name=model) {
> attribute (name=name required=true)
> rules {
> push-attribute (attribute=name)
> invoke-parent (method=addElement)
> }
> }
> }
> }
> contribution (configuration-id=model) {
> model (name=MyModelName)
> }
> If this is correct, it would be a great enhancement, if hivemind would be able to "translate" strings into strings without implementing a custom translator. This is not very intuitive.
> Greetings,
> Christian Domsch
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org