Re: Workaround for "AjaxEditableLabel yields java.lang.IllegalAccessError (WICKET-1239)"?

2008-01-31 Thread Per Ejeklint

Nice! Thank you Gerolf.

/Per


Gerolf Seitz wrote:
> 
> i'm sorry this one slipped through.
> i commited Per's fix.
> 
> Edvin, can you try with latest trunk to verify it's fixed?
> 
>   gerolf
> 
> On Jan 31, 2008 8:53 AM, Edvin Syse <[EMAIL PROTECTED]> wrote:
> 
>> Advanced Technology(R) skrev:
>> > Check Per solution :
>> >
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14687720.html
>>
>> Thanks! Worked like a charm. For some reason this didn't make it into
>> 1.3.1, though..
>>
>> -- Edvin
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Workaround-for-%22AjaxEditableLabel-yields-java.lang.IllegalAccessError-%28WICKET-1239%29%22--tp15193816p15211776.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]



Re: [wicketstuff] Accordion component?

2008-02-07 Thread Per Ejeklint

Oh! Was it two? Heh, double luck then - thanks to all! :)


Nino.Martinez wrote:
> 
> my contrib or the one from dojo? :)
> 
> Per Ejeklint wrote:
>> Nice, me like very much. Thanks!
>>
>>
>>
>> Nino.Martinez wrote:
>>   
>>> doh!
>>>
>>> http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.accordioncontainer.AccordionContainerSample
>>>
>>> Nino Saturnino Martinez Vazquez Wael wrote:
>>> 
>>>> I almost have a component ready for wicketstuff.. Should I spend the 
>>>> extra hour generalizing it and putting it up on wicketstuff?
>>>>
>>>> http://www.hedgerwow.com/360/mwd/accordion/demo.php
>>>>
>>>>   
>>> -- 
>>> Nino Martinez Wael
>>> Java Specialist @ Jayway DK
>>> http://www.jayway.dk
>>> +45 2936 7684
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>> 
>>
>>   
> 
> -- 
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-wicketstuff--Accordion-component--tp15317373p15337681.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]



Re: [wicketstuff] Accordion component?

2008-02-07 Thread Per Ejeklint

Nice, me like very much. Thanks!



Nino.Martinez wrote:
> 
> doh!
> 
> http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.accordioncontainer.AccordionContainerSample
> 
> Nino Saturnino Martinez Vazquez Wael wrote:
>> I almost have a component ready for wicketstuff.. Should I spend the 
>> extra hour generalizing it and putting it up on wicketstuff?
>>
>> http://www.hedgerwow.com/360/mwd/accordion/demo.php
>>
> 
> -- 
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-wicketstuff--Accordion-component--tp15317373p15336757.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]



Re: AjaxEditableLabel in 1.3.0

2008-02-18 Thread Per Ejeklint

This is very odd, I just tested with a clean 1.3.1-based build of my test
app. It works fine on one machine but not on the other! Same code, one
running in Jetty on a MBP (does not work), one running in GlassFish on a Mac
mini (works just fine). Same Java versions on the machines.

So maybe it isn't fixed after all...

/Per


Jonathan Locke wrote:
> 
> 
> i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
> though.  can anyone verify that this works on the mac?
> 
> 
> Frank Bille-2 wrote:
>> 
>> It's a known issue[0]. It will be fixed in 1.3.1.
>> 
>> Frank
>> 
>> [0]: https://issues.apache.org/jira/browse/WICKET-1239
>> 
>> On Jan 7, 2008 9:40 PM, givp <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> Hello,
>>>
>>> I'm having some problems with AjaxEditableLabel that seem to happen in
>>> Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I
>>> have
>>> used the example code from:
>>> http://www.wicket-library.com/wicket-examples/ajax/editable-label.1
>>>
>>> setModel(new CompoundPropertyModel(this));
>>> add(new AjaxEditableLabel("userStatus"));
>>>
>>> I can edit the field but it fails to save. According to Tomcat it's
>>> "setModel" that is causing the errors.
>>>
>>> java.lang.IllegalAccessError: tried to access method
>>> org.apache.wicket.Component.onModelChanging()V from class
>>> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
>>>
>>> Can anyone please point me to the right direction as to how I can fix
>>> this
>>> without having to use rc1?
>>>
>>> Thanks,
>>> g
>>> --
>>> View this message in context:
>>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.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]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.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]



Re: AjaxEditableLabel in 1.3.0

2008-02-18 Thread Per Ejeklint

Yes:

java.lang.IllegalAccessError: tried to access method
org.apache.wicket.Component.onModelChanging()V from class
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1

Aha, I just downloaded the source for 1.3.1 and checked. The 1.3.1 release
does NOT contain the small fix I suggested earlier, but it is present in
trunk.

And as for me getting different results on different machines, that was my
mistake - removing a java file from Eclipse build path doesn't remove the
already compiled class file so it was still present on one machine - on the
other I built with maven and did a "clean".

/Per


Johan Compagner wrote:
> 
> Is the error exactly the same?
> 
> On 2/18/08, Per Ejeklint <[EMAIL PROTECTED]> wrote:
>>
>> This is very odd, I just tested with a clean 1.3.1-based build of my test
>> app. It works fine on one machine but not on the other! Same code, one
>> running in Jetty on a MBP (does not work), one running in GlassFish on a
>> Mac
>> mini (works just fine). Same Java versions on the machines.
>>
>> So maybe it isn't fixed after all...
>>
>> /Per
>>
>>
>> Jonathan Locke wrote:
>> >
>> >
>> > i'm still getting this under 1.3.1 on the mac.  maybe it's my problem
>> > though.  can anyone verify that this works on the mac?
>> >
>> >
>> > Frank Bille-2 wrote:
>> >>
>> >> It's a known issue[0]. It will be fixed in 1.3.1.
>> >>
>> >> Frank
>> >>
>> >> [0]: https://issues.apache.org/jira/browse/WICKET-1239
>> >>
>> >> On Jan 7, 2008 9:40 PM, givp <[EMAIL PROTECTED]> wrote:
>> >>
>> >>>
>> >>> Hello,
>> >>>
>> >>> I'm having some problems with AjaxEditableLabel that seem to happen
>> in
>> >>> Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I
>> >>> have
>> >>> used the example code from:
>> >>> http://www.wicket-library.com/wicket-examples/ajax/editable-label.1
>> >>>
>> >>> setModel(new CompoundPropertyModel(this));
>> >>> add(new AjaxEditableLabel("userStatus"));
>> >>>
>> >>> I can edit the field but it fails to save. According to Tomcat it's
>> >>> "setModel" that is causing the errors.
>> >>>
>> >>> java.lang.IllegalAccessError: tried to access method
>> >>> org.apache.wicket.Component.onModelChanging()V from class
>> >>> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
>> >>>
>> >>> Can anyone please point me to the right direction as to how I can fix
>> >>> this
>> >>> without having to use rc1?
>> >>>
>> >>> Thanks,
>> >>> g
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.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]
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15540737.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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p15541139.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]



Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread Per Ejeklint

+1

/Per


-- 
View this message in context: 
http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16092891.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]



Wicket logo and badges anywhere?

2007-10-17 Thread Per Ejeklint

I thought I had seen the wicket logo and/or some small banners somewhere but
maybe that's entirely made up in my head 'cause I just dont find it now (the
logo, that is). Does it exist somewhere?

/Per


-- 
View this message in context: 
http://www.nabble.com/Wicket-logo-and-badges-anywhere--tf4639745.html#a13251371
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AjaxEditableLabel in 1.3.0

2008-01-08 Thread Per Ejeklint

A quick solution is to copy AjaxEditableLabel and add

@Override
protected void onModelChanged() {
super.onModelChanged();
}

@Override
protected void onModelChanging() {
super.onModelChanging();
}

to it. It seems some JREs thinks that an anonymous classes should not have
access to enclosing class' inherited protected methods.

/Per


Frank Bille-2 wrote:
> 
> It's a known issue[0]. It will be fixed in 1.3.1.
> 
> Frank
> 
> [0]: https://issues.apache.org/jira/browse/WICKET-1239
> 
> On Jan 7, 2008 9:40 PM, givp <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hello,
>>
>> I'm having some problems with AjaxEditableLabel that seem to happen in
>> Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I have
>> used the example code from:
>> http://www.wicket-library.com/wicket-examples/ajax/editable-label.1
>>
>> setModel(new CompoundPropertyModel(this));
>> add(new AjaxEditableLabel("userStatus"));
>>
>> I can edit the field but it fails to save. According to Tomcat it's
>> "setModel" that is causing the errors.
>>
>> java.lang.IllegalAccessError: tried to access method
>> org.apache.wicket.Component.onModelChanging()V from class
>> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
>>
>> Can anyone please point me to the right direction as to how I can fix
>> this
>> without having to use rc1?
>>
>> Thanks,
>> g
>> --
>> View this message in context:
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14687720.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]



Re: AjaxEditableLabel in 1.3.0

2008-01-09 Thread Per Ejeklint

I'm a veritable vegetable when it comes to class loaders. :confused: How can
I check this? I'm running as a regular Quickstart app in Eclipse, using
Eelcos "Run Jetty run", or starting with mvn jetty:run, or deploying a war
to Glassfish and it's always the same.

/Per


Johan Compagner wrote:
> 
> Isnt the wicket jar and extentions jar loaded by 2 classloaders at your
> place?
> Because then this kind of stuff can happen because somehow it things
> that those classes/packages are really diferent.
> 
> 
> 
> On 1/8/08, Per Ejeklint <[EMAIL PROTECTED]> wrote:
>>
>> A quick solution is to copy AjaxEditableLabel and add
>>
>>  @Override
>>  protected void onModelChanged() {
>>  super.onModelChanged();
>>  }
>>
>>  @Override
>>  protected void onModelChanging() {
>>  super.onModelChanging();
>>  }
>>
>> to it. It seems some JREs thinks that an anonymous classes should not
>> have
>> access to enclosing class' inherited protected methods.
>>
>> /Per
>>
>>
>> Frank Bille-2 wrote:
>> >
>> > It's a known issue[0]. It will be fixed in 1.3.1.
>> >
>> > Frank
>> >
>> > [0]: https://issues.apache.org/jira/browse/WICKET-1239
>> >
>> > On Jan 7, 2008 9:40 PM, givp <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hello,
>> >>
>> >> I'm having some problems with AjaxEditableLabel that seem to happen in
>> >> Wicket 1.3.0 only. When I roll back to rc1, everything works fine. I
>> have
>> >> used the example code from:
>> >> http://www.wicket-library.com/wicket-examples/ajax/editable-label.1
>> >>
>> >> setModel(new CompoundPropertyModel(this));
>> >> add(new AjaxEditableLabel("userStatus"));
>> >>
>> >> I can edit the field but it fails to save. According to Tomcat it's
>> >> "setModel" that is causing the errors.
>> >>
>> >> java.lang.IllegalAccessError: tried to access method
>> >> org.apache.wicket.Component.onModelChanging()V from class
>> >> org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1
>> >>
>> >> Can anyone please point me to the right direction as to how I can fix
>> >> this
>> >> without having to use rc1?
>> >>
>> >> Thanks,
>> >> g
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14675483.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]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14687720.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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AjaxEditableLabel-in-1.3.0-tp14675483p14709200.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]



Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Per Ejeklint


[X] - YES - I would like to see at least the most used Wicket Stuff projects
structured so that they mirror Wicket, and a release is produced for each
Wicket release.

-- 
View this message in context: 
http://www.nabble.com/-VOTE--Organizing-Wicket-Stuff---Regular-Release-Schedule--tp20666510p20676088.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]



Re: [VOTE] End of Life wicket-contrib-gmap?

2008-11-30 Thread Per Ejeklint

[X] - YES, please create a branch in the Wicket Stuff repo just for
abandoned projects and move wicket-contrib-gmap into that branch.

-- 
View this message in context: 
http://www.nabble.com/-VOTE--End-of-Life-wicket-contrib-gmap--tp20726039p20758844.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]



Re: Is Wicket a proper framework for a Webshop ?

2007-08-28 Thread Per Ejeklint

Paul, you might want to have a look at  http://databinder.net/ Databinder  by
Nathan Hamblen. It uses Wicket and Hibernate in a lean and mean mode and is
made for rapid development (I dare say). Nathan himself is using it to build
webshops for all kinds of  http://www.gemmaredux.com/ odd items .

/Per


neekibo wrote:
> 
> Hi all Wicket-users!
> 
> I am new to web development and so to Wicket. I'm searching for a/the
> suitable framework for my case.
> 
> So here a few constrains:
>  - A webshop with lots of products and categories
>  - Integration with SpringCore and Hibernate
>  - Ajax-Magic for a fast responding UI and Drag'n'Drop
> 
> And a few misgivings:
>  1.) A component framework is overhead for a webshop (mostly simple
> db-read-access operations without a state). A request/response-driven
> framework fits better in this context.
>  2.) I need standard back and forth browser behaviour. Is this easy to
> achieve (with ajax in mind) ?
>  3.) Security: I need to easy code "sign in" and secure the payment
> process (ssl over http is guess)
>  4.) Performance/Scalability. I know, in general the DB is the bottleneck
> but ... compared to action-based frameworks. I read somewhere that Wicket
> is much faster that JSF, so this seems good to me.
> 
> So these are just a few thoughts, I'm a new to this topic, so pardon me if
> something is wrong. In the moment my alternative is SpringMVC. But the
> concepts of Wicket appeals to me. Especially the complete lack of JSPs.
> 
> Thanks in advance
> Paul
> 

-- 
View this message in context: 
http://www.nabble.com/Is-Wicket-a-proper-framework-for-a-Webshop---tf4341788.html#a12371187
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket getting some bad press at Slashdot.org

2007-08-29 Thread Per Ejeklint

Oh dear, some guys in that thread really suffer from delusions of adequacy...

I just love the quote "I just don't see what Wicket - or possibly any web
framework - buys you." I dare say that "kisrael" who wrote it won't buy a
lot at all.

And Eelco, I admire your patience and endurance. Where do you get your
strength? :-)

/Per


Justin Morgan (Logic Sector) wrote:
> 
> Over in the Slashdot article about "GWT in Action" there are some negative
> opinions toward Wicket expressed.  Just thought I'd mention it in case any
> of the gurus want to weigh in too.  (Head over to this link, set the
> threshold to 4, then search for "Wicket",
> http://books.slashdot.org/article.pl?sid=07/08/29/1418229 ).
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wicket-getting-some-bad-press-at-Slashdot.org-tf4350622.html#a12396633
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]