The error probably came from trying to get the "checked" attribute in
there conditionally. What should work instead is

  <s:radio ... checked='${predicate ? "true" : "false"}' ... />


On Fri, Apr 17, 2009 at 11:40 AM, jborys <john_bo...@comcast.net> wrote:
>
> " <s:checkbox id="isDefault${stat.index}" name="isDefault"
> checked="${dashboard.defaultDashboard}" />"
>
>  I changed this code to this:
>
> <input type="radio" id="isDefault${stat.index}" name="isDefault"
> value="${dashboard.defaultDashboard}" ${(dashboard.defaultDashboard) ? '
> checked="checked"' : ''}    />
>
> And it does the job.  But for some reason I can not use the the stripes
> radio tag.  It can't seem to translate it. Instead I get this error:
>
> org.apache.jasper.JasperException: /dashboard/manage_dashboards.jsp(132,78)
> Unterminated &lt;s:radio tag
>
> Oh well.  I guess I don't have to use the Stripes tag.
>
> Do you ever feel like your have a conversation all by yourself?
>
> Me neither.
>
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/Dynamic-Radio-Button-List-tp23097529p23101308.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to