Thanks for the email.  I was afraid it might be a bit more involved. I
will probably shy away from that sort of surgery.  Once you start
modifying the Struts source, it can make future Struts upgrades
painful.

On Sat, Oct 9, 2010 at 5:26 PM, Mead Lai <laiqi...@gmail.com> wrote:
> Hi Burton,
>
> I see, that would be the problem cause that ERROR.
> You have to download the struts2 source, and take a look at the both
> org.apache.struts2.views.jsp.ui.CheckboxListTag
> and org.apache.struts2.components,CheckboxList.
> I think you must add the attribute "breakCount" into CheckboxList.java, then
> it will work, maybe.
> I am not sure about that, I am also got the same problem, when creating
> myself Tag. Good Luck.
>
> Regards,
> Mead
>
>
> On Sun, Oct 10, 2010 at 6:04 AM, Burton Rhodes <burtonrho...@gmail.com>wrote:
>
>> I ended up not having to create a new tag.  I simply overrode the
>> current template (template/simple/checkboxlist.tld) to do what I
>> wanted.
>>
>> Essentially I just did what it says on this page entitled "Creating
>> And Applying Your Own Themes For Struts 2 Tags":
>>
>> http://struts.apache.org/2.2.1/docs/struts-2-themes.html
>>
>>
>> On Sat, Oct 9, 2010 at 4:58 PM, Mead Lai <laiqi...@gmail.com> wrote:
>> > Hello all,
>> >
>> > I am trying to create my struts2 UI-Tag too.
>> > Did you change the
>> >  org.apache.struts2.views.jsp.ui.CheckboxListTag
>> > to your rewritten the Tag-class and the correspond CheckboxList yet?
>> >
>> >
>> > Regards,
>> > Mead
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to