NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread Anders
Hi, I'd like to customize FormComponentFeedbackBorder class to provide a error icon, so I extend FormComponentFeedbackBorder class and copy FormComponentFeedbackBorder.html from wicket source. I modify FormComponentFeedbackBorder.html to add below: wicket:border span

Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread Altuğ B . Altıntaş
wicket:border span wicket:id=errorIndicator/span img alt=Error! src=icon.gif/span style=color:red;! br/ /span wicket:body/ /wicket:border Try above . Maybe error occurs because of hierarchy; i mean it your html; img is child of errorIndicator but i think in your java code

Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread liny
? Thank you very much -- -- ~Mia は 最高!~ -- -- Altuğ. -- View this message in context: http://www.nabble.com/NullPointException-in-subclass-of-FormComponentFeedbackBorder-tp25631454p25639973.html Sent from the Wicket - User mailing list archive