You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan Wynn <bi...@gmail.com> on 2006/01/18 21:07:42 UTC

[shale] clay problem with 20060117

I just upgraded to struts-shale-20060117 and I think I may have found
a bug.  I am now getting an exception

component identifier's first character must be a letter or an
underscore ('_')! But it is "@"

This is on the following component.

<span jsfid="kaolin:genderChooser" kaolinId="personGenderId"
managed-bean-name="person">

<component jsfid="kaolin:genderChooser" extends="t:selectOneMenu"
     allowBody="false" id="@kaolinId">
     ....
</component>

The weird thing is that I have other components that declare the id as
a symbol like above and they work.  I just have a problem with this
one.  I ran the code through the debugger and noticed that the
clayContext does not get kaolinId=personGenderId in it's symbol map at
the time of CreateComponentCommand execute.  But the display element's
symbol map does contain the symbol kaolinId=personGenderId.  The
problem is that replaceMnemonic uses the symbol map from the
clayContext and not from the displayElement.

Any ideas why this would have worked before but not now?  Did
something change that I am not aware of?

Thanks,
Ryan