struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatermann_shoevarek <>
Subject Re: Java templates <s:checkboxlist> tag and the significance of parameters.nameValue
Date Sat, 10 Sep 2011 13:38:24 GMT
Thank you Mauricio. I appreciate your help. If that is a bug though, is
there a possibility of using Java templetes engine for some tags or pages
and FM engine for others?
On Sep 9, 2011 5:21 PM, "Maurizio Cucchiara [via Struts]" <> wrote:
> JT and FMT should behave at the same way.
> So my first guess is that it's a JT bug
> Unfortunately I cannot say more from my tablet, I will take a deeper look
> Maurizio Cucchiara
> Il giorno 10/set/2011 00.59, "vatermann_shoevarek" <>
> scritto:
> I am considering switching my application to using Java theme provided by
> Java templates plugin. The only problem I have is the <s:checkboxlist>
> My solution uses <s:checkboxlist> with name of the Long type property of
> element in list passed to "list" attribute as a "listKey" and collection
> Long instances as a selected keys in "value" attribute. After conversion
> generated drop down does not check options correctly.
> I have looked into FreeMarker template and CheckboxListHandler
> implementations and the difference I see is that where the FM probably
> compares current option key with parameters.nameValue using plain equal()
> method call, the Java templates handler implementation assumes that the
> nameValue is a boolean. That obviously is not the case so none of the
> options are checked.
> So here are my questions. What should I set to "value" attribute of that
> and how parameters.nameValue is managed? That property is not exposed as a
> tag attribute??
> Thanks in advance for any help.
> Regards,
> Andrzej
> --
> View this message in context:
> Sent from the Struts - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Java templates <s:checkboxlist> tag and the
significance of parameters.nameValue, visit

View this message in context:
Sent from the Struts - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message