See the "Reporting bugs" link in the left side menu. Martijn
On 3/26/08, Miguel Munoz <[EMAIL PROTECTED]> wrote: > I couldn't find a link to Jira on the Apache Wicket web site. Can you send me > a link? > > > -- Miguel Munoz > > > > -----Original Message----- > From: Johan Compagner [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 25, 2008 3:27 PM > To: [email protected] > Subject: Re: Exception adding a SimpleAttributeModifier to a TextField > > where is the test case? > please do not send those things to the list, they get lost > make jira issues. > > johan > > > On Tue, Mar 25, 2008 at 11:17 PM, Miguel Munoz <[EMAIL PROTECTED]> > wrote: > > > Here's a test case to reproduce the bug. I'm doing something slightly > > unorthodox, but it shouldn't cause the bug I'm seeing. > > > > I'm using an application structure adapted from the book Wicket in Action. > > > > -- Miguel Muñoz > > > > > > > > -----Original Message----- > > From: Johan Compagner [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 24, 2008 3:22 PM > > To: [email protected] > > Subject: Re: Exception adding a SimpleAttributeModifier to a TextField > > > > Do you have a testcase that you can attach to a jira issue? > > > > This is strange because why is there a behaviorrequesttarget created > > for that attribute modifier, that seems very strange > > > > On 3/24/08, Miguel Munoz <[EMAIL PROTECTED]> wrote: > > > > > > Comrades, > > > > > > I'm getting a strange exception. I created a SimpleAttributeModifier > > and > > > added it to a TextField component, like this: > > > > > > textField.add(modifier); > > > > > > When I run it, I get an exception that says this: > > > > > > java.lang.ClassCastException: > > > org.apache.wicket.behavior.SimpleAttributeModifier cannot be cast to > > > org.apache.wicket.behavior.IBehaviorListener > > > at > > > > > > org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents > > (BehaviorRequestTarget.java:91) > > > > > > The line of code that generates the exception looks like this: > > > > > > behaviorListener = > > > (IBehaviorListener)component.getBehaviors().get(idAsInt); > > > > > > It appears to be extracting from a list of IBehaviors, so I have no idea > > why > > > it's trying to cast it as an IBehaviorListener. Does anybody know what > > I'm > > > doing wrong? Or is this a bug in Wicket? > > > -- > > > View this message in context: > > > > > > http://www.nabble.com/Exception-adding-a-SimpleAttributeModifier-to-a-TextField-tp16262822p16262822.html > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
