Give the html below

<td><s:radio name="searchCriteria.approved" value=""/>Both</td>
<td><s:radio name="searchCriteria.approved" value="true"/>yes</td>
<td><s:radio name="searchCriteria.approved" value="false"/>no</td>

n my action bean I have a property and the get/set methods for the
searchCriteria object.  In that object there is a Boolean property called
approved with valid get/set methods.  Every thing works fine save for the
time when that property is null.  I would expect that the "Both" radio
button would match the null value and select it.

By the way I am also using this configuration.

<init-param>
<param-name>PopulationStrategy.Class</param-name>

<param-value>net.sourceforge.stripes.tag.BeanFirstPopulationStrategy</param-value>
</init-param>

As a side not I am also experiencing this same situation when using
enumerated types.

Nathan
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to