Yeah that's not gonna work with the way people typically use wicket
On Nov 19, 2010 9:02 AM, "ekabanov" <jevg...@zeroturnaround.com> wrote:
>
> We are looking into solving this for anon classes in the next version. Our
typical suggestion for workaround is to use named method classes, like this:
>
> // Constructor
> public MyComponent {
> class FirstNameLabel extends Label {
> //...
> }
> add(new FirstNameLabel());
> }
>
> This way the generated classes are named, but still scoped inside the
method.
>
> JK
>
> On 19.11.2010, at 13:26, Peter Ertl-3 [via Apache Wicket] wrote:
>
>> > The most annoying thing is when you suddenly decide to anonymously
subclass a component - then you have to restart.
>>
>> I do that all the time so this is a showstopper for me...
>>
>>
>> Am 19.11.2010 um 12:17 schrieb Leszek Gawron:
>>
>> > On 2010-11-18 14:25, Martijn Dashorst wrote:
>> >> Relaxing the add() method has been proposed before (by Eelco). It is
>> >> not something new, and if it helps people using jrebel to improve
>> >> their productivity, that would be a great side effect.
>> >>
>> >> The workaround is indeed to go back to a different page and do the
>> >> appropriate clicks again.
>> >
>> > It is several times faster to do that instead of booting the whole
container and doing exacly that again.
>> >
>> > JRebel really shines when it comes to building a page from scratch.
When I didn't have it I tried to come up with the most complete page/panel
design i could think of at the moment. Now I start with completely empty
panel and add child components one by one refreshing the browser as I go.
>> >
>> > Adding form components or DataTable columns feels like you are coding
in scripting language (in the good sense).
>> >
>> >
>> > The most annoying thing is when you suddenly decide to anonymously
subclass a component - then you have to restart.
>> >
>> > From my experience there is only a little margin of "strange errors".
Either the code runs as expected or it throws with huge JRebel exception
telling you to reboot the container.
>> >
>> > --
>> > Leszek Gawron http://lgawron.blogspot.com
>>
>>
>>
>> View message @
http://apache-wicket.1842946.n4.nabble.com/JRebel-and-wicket-tp3048578p3050207.html
>> To unsubscribe from JRebel and wicket, click here.
>
>
> Jevgeni Kabanov: Founder & CTO at ZeroTurnaround
> jevg...@zeroturnaround.com | Skype: ekabanov | http://twitter.com/ekabanov
> "Woohoo! I won a #javaRebel license at #javaBin today!" - Ole Chr. Rynning
>
>
> --
> View this message in context:
http://apache-wicket.1842946.n4.nabble.com/JRebel-and-wicket-tp3048578p3050364.html
> Sent from the Forum for Wicket Core developers mailing list archive at
Nabble.com.