You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mikael Andersson <co...@mickeandersson.net> on 2005/12/07 16:47:53 UTC
Shale-Clay: Error finding Converter for component
Hi,
I am new to Shale and Clay and am getting a 'Error finding Converter for
component', you guys will probably spot this beginner mistake immediately :)
Error:
ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error finding
Converter for component with id clayView:_id0:_id1:_id40:_id85:_id87:moltype
HTML/Clay code:
<select name="moltype" jsfid="selectOneMenu"
value="#{@managed-bean-name.dbMolType}" required="true">
<option jsfid="selectItem" itemValue="DNA" itemLabel="DNA"/>/
<option jsfid="selectItem" itemValue="RNA" itemLabel="RNA"/>
<option jsfid="selectItem" itemValue="Protein" itemLabel="Protein"/>
</select>
The backing bean property dbMolType is a String object.
I can't find a 'StringConverter', and using plain JSF I never needed one.
I have other forms which uses the Integer converter and I don't get any errors
regardgin them.
Thanks, Mikael
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Shale-Clay: Error finding Converter for component
Posted by Mikael Andersson <co...@mickeandersson.net>.
Just tried the allowBody="true" attribute, but I still get the same error.
Ryan Wynn <bigwynnr <at> gmail.com> writes:
> Looking at this quickly, have you tried setting allowBody="true" on
> the <select>. Not sure if this matters in this case, but I have found
> it to be important in others.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Shale-Clay: Error finding Converter for component
Posted by Ryan Wynn <bi...@gmail.com>.
On 12/7/05, Mikael Andersson <co...@mickeandersson.net> wrote:
> Hi,
> I am new to Shale and Clay and am getting a 'Error finding Converter for
> component', you guys will probably spot this beginner mistake immediately :)
>
> Error:
> ERROR (org.apache.myfaces.renderkit.html.HtmlRendererUtils) - Error finding
> Converter for component with id clayView:_id0:_id1:_id40:_id85:_id87:moltype
>
> HTML/Clay code:
> <select name="moltype" jsfid="selectOneMenu"
> value="#{@managed-bean-name.dbMolType}" required="true">
> <option jsfid="selectItem" itemValue="DNA" itemLabel="DNA"/>/
> <option jsfid="selectItem" itemValue="RNA" itemLabel="RNA"/>
> <option jsfid="selectItem" itemValue="Protein" itemLabel="Protein"/>
> </select>
>
> The backing bean property dbMolType is a String object.
>
> I can't find a 'StringConverter', and using plain JSF I never needed one.
> I have other forms which uses the Integer converter and I don't get any errors
> regardgin them.
>
> Thanks, Mikael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Looking at this quickly, have you tried setting allowBody="true" on
the <select>. Not sure if this matters in this case, but I have found
it to be important in others.