Re: wicket-examples is not reachable - started with StartExamples

2015-02-15 Thread Martin Grigorov
Hi Tobias,

http://localhost:8080 is the correct one.
I just tried with http://127.0.0.1:8080 and it works fine too (as expected).

Do you see the logs by Atmosphere ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Feb 16, 2015 at 8:23 AM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:

 Hi,

 I try to start the wicket-examples module with 
 org.apache.wicket.examples.StartExamples,
 but if I try to access it - it seems to be not reachable - logging says
 that the applications are started up. I tried to access it via
 http://127.0.0.1:8080/, http://127.0.0.1:8080/images and
 https://127.0.0.1:8443/, https://127.0.0.1:8443/images  but no success.

 Thanks for help in advance!

 kind regards

 Tobias

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




Re: wicket-examples is not reachable - started with StartExamples

2015-02-15 Thread Tobias Soloschenko

Hi Martin,

mh I can't reach the app that way. :-/

yes there are Atmosphere logs:

INFO  - AtmosphereFramework- Latest version of Atmosphere's 
JavaScript Client 2.2.7

INFO  - AtmosphereFramework

but also I got some Exceptions:

Caused by: java.lang.ClassCastException: 
org.eclipse.jetty.webapp.WebAppContext$Context cannot be cast to 
org.apache.catalina.core.ApplicationContextFacade


Caused by: java.lang.ClassNotFoundException: 
org.apache.juli.logging.LogFactory


thanks for the fast response!

kind regards

Tobias

Am 16.02.15 um 07:34 schrieb Martin Grigorov:

Hi Tobias,

http://localhost:8080 is the correct one.
I just tried with http://127.0.0.1:8080 and it works fine too (as expected).

Do you see the logs by Atmosphere ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Feb 16, 2015 at 8:23 AM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:


Hi,

I try to start the wicket-examples module with 
org.apache.wicket.examples.StartExamples,
but if I try to access it - it seems to be not reachable - logging says
that the applications are started up. I tried to access it via
http://127.0.0.1:8080/, http://127.0.0.1:8080/images and
https://127.0.0.1:8443/, https://127.0.0.1:8443/images  but no success.

Thanks for help in advance!

kind regards

Tobias

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





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



Re: wicket-examples is not reachable - started with StartExamples

2015-02-15 Thread Martin Grigorov
On Mon, Feb 16, 2015 at 8:41 AM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:

 Hi Martin,

 mh I can't reach the app that way. :-/

 yes there are Atmosphere logs:

 INFO  - AtmosphereFramework- Latest version of Atmosphere's
 JavaScript Client 2.2.7
 INFO  - AtmosphereFramework

 but also I got some Exceptions:

 Caused by: java.lang.ClassCastException: 
 org.eclipse.jetty.webapp.WebAppContext$Context
 cannot be cast to org.apache.catalina.core.ApplicationContextFacade

 Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.
 LogFactory


Those are Tomcat classes.
StartExamples.java starts embedded Jetty.
How exactly Tomcat got involved here ?



 thanks for the fast response!

 kind regards

 Tobias

 Am 16.02.15 um 07:34 schrieb Martin Grigorov:

  Hi Tobias,

 http://localhost:8080 is the correct one.
 I just tried with http://127.0.0.1:8080 and it works fine too (as
 expected).

 Do you see the logs by Atmosphere ?

 Martin Grigorov
 Wicket Training and Consulting
 https://twitter.com/mtgrigorov

 On Mon, Feb 16, 2015 at 8:23 AM, Tobias Soloschenko 
 tobiassolosche...@googlemail.com wrote:

  Hi,

 I try to start the wicket-examples module with
 org.apache.wicket.examples.StartExamples,
 but if I try to access it - it seems to be not reachable - logging says
 that the applications are started up. I tried to access it via
 http://127.0.0.1:8080/, http://127.0.0.1:8080/images and
 https://127.0.0.1:8443/, https://127.0.0.1:8443/images  but no success.

 Thanks for help in advance!

 kind regards

 Tobias

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




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




Re: wicket-examples is not reachable - started with StartExamples

2015-02-15 Thread Tobias Soloschenko
Good point - solved the problem - there was a wrong build path entry. 
(Server Runtime)


Examples are running for me, now

Thanks a lot!

kind regards

Tobias


Am 16.02.15 um 08:05 schrieb Martin Grigorov:

On Mon, Feb 16, 2015 at 8:41 AM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:


Hi Martin,

mh I can't reach the app that way. :-/

yes there are Atmosphere logs:

INFO  - AtmosphereFramework- Latest version of Atmosphere's
JavaScript Client 2.2.7
INFO  - AtmosphereFramework

but also I got some Exceptions:

Caused by: java.lang.ClassCastException: 
org.eclipse.jetty.webapp.WebAppContext$Context
cannot be cast to org.apache.catalina.core.ApplicationContextFacade

Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.
LogFactory


Those are Tomcat classes.
StartExamples.java starts embedded Jetty.
How exactly Tomcat got involved here ?



thanks for the fast response!

kind regards

Tobias

Am 16.02.15 um 07:34 schrieb Martin Grigorov:

  Hi Tobias,

http://localhost:8080 is the correct one.
I just tried with http://127.0.0.1:8080 and it works fine too (as
expected).

Do you see the logs by Atmosphere ?

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Feb 16, 2015 at 8:23 AM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:

  Hi,

I try to start the wicket-examples module with
org.apache.wicket.examples.StartExamples,
but if I try to access it - it seems to be not reachable - logging says
that the applications are started up. I tried to access it via
http://127.0.0.1:8080/, http://127.0.0.1:8080/images and
https://127.0.0.1:8443/, https://127.0.0.1:8443/images  but no success.

Thanks for help in advance!

kind regards

Tobias

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




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





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



Re: Wicket examples: repeaters

2013-01-20 Thread Sven Meier
DefaultDataTable uses a HeadersToolbar, which renders sortable headers 
*if* a column is sortable. For that the column has to return true from 
#isSortable() .


PropertyColumn supports sorting, but for that you have to provide a 
sortProperty. Note the third constructor argument:


columns.add(new PropertyColumnContact, String(new 
ModelString(Last Name), lastName, lastName)


Hope this helps
Sven

On 01/20/2013 01:35 PM, Lucio Crusca wrote:

Hello *,

I'm trying to understand repeaters and DataTable from WicketExamples. I'm
definitely having a hard time...

http://www.wicket-library.com/wicket-examples-6.0.x/repeater/

The running example shows a nice table with sorting column headers. However
looking at what pretends to be the corresponding source code, I can't find
where the DataTablePage code adds the sorting table headers, nor where any
third parties eventually refer to both DataTablePage and SortingPage, the
latter being the only place where I see the headers being added. Likewise,
DataTablePage is the only place where I see the CSV exporter being added, but
the running example has both sorting columns and CSV exporter in the same
table.

I've tried copying DataTable.java in my application and adapting it, but (as
expected) the resulting table has no sorting headers, though it does use a
SortableDataProvider (same provider being used by SortingPage).

Please help...


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




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



Re: Wicket examples in new version

2012-07-17 Thread michael fliegner
Had the same Question.

Look at FormPage.java, FormPage.html and FormPage$ActionPanel.html in the
wicket examples.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p4650570.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket Examples

2012-05-10 Thread Martin Grigorov
I've undeployed wicket-examples-1.3.x, brix-demo,
wicket-contrib-examples (1.2.x).
Let's see whether it will behave better now.

On Tue, May 8, 2012 at 3:18 PM, Korbinian Bachl - privat
korbinian.ba...@whiskyworld.de wrote:
 Hi,

 some hints:

 Make sure the jvm the server is running in is started with (I assume JRE 1.6
 - 1.6.0_32):

 -server
 -XX:+UseConcMarkSweepGC
 -XX:+CMSPermGenSweepingEnabled
 -XX:+CMSClassUnloadingEnabled

 Also make sure permGen is specified big enough, e.g:
 -XX:MaxPermSize=384m


 Also, I wouldn't recommend to restart the tomcat too often, else you'll
 loose the goodies of the HotSpot VM;

 Best



 Am 08.05.12 11:59, schrieb Martin Grigorov:

 I can see it now ...
 Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x,
 inmethod-grid and Brix at it.
 I'm not sure how much this machine can handle ...
 I'll undeploy Brix and some old wicket-contrib examples.

 On Tue, May 8, 2012 at 12:43 PM, Fergal Keating
 fergal.keat...@directski.com  wrote:

 I got a PermGen space error on that URL.

 javax.servlet.ServletException: Filter execution threw an exception

 *root cause*

 java.lang.OutOfMemoryError: PermGen space


 On 8 May 2012 08:31, Martin Grigorovmgrigo...@apache.org  wrote:



 http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
 works OK for me

 On Tue, May 8, 2012 at 12:43 AM, Corbin, Jamesjcor...@iqnavigator.com
 wrote:

 The wicket examples (www.wicket-library.com/wicket-examples/) seems to

 be having issues.


 I select the Contacts Editor option under the repeaters section and I

 get a permgen error.


 Is this site working properly?  I assume the URL above is appropriate?

 J.D.




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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




 --
 Fergal Keating
 IT Senior Engineer
 ---
 e. fergal.keat...@directski.com
 p. NA
 w. www.directski.com





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




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
works OK for me

On Tue, May 8, 2012 at 12:43 AM, Corbin, James jcor...@iqnavigator.com wrote:
 The wicket examples (www.wicket-library.com/wicket-examples/) seems to be 
 having issues.

 I select the Contacts Editor option under the repeaters section and I get a 
 permgen error.

 Is this site working properly?  I assume the URL above is appropriate?

 J.D.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Wicket Examples

2012-05-08 Thread Fergal Keating
I got a PermGen space error on that URL.

javax.servlet.ServletException: Filter execution threw an exception

*root cause*

java.lang.OutOfMemoryError: PermGen space


On 8 May 2012 08:31, Martin Grigorov mgrigo...@apache.org wrote:


 http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
 works OK for me

 On Tue, May 8, 2012 at 12:43 AM, Corbin, James jcor...@iqnavigator.com
 wrote:
  The wicket examples (www.wicket-library.com/wicket-examples/) seems to
 be having issues.
 
  I select the Contacts Editor option under the repeaters section and I
 get a permgen error.
 
  Is this site working properly?  I assume the URL above is appropriate?
 
  J.D.



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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




-- 
Fergal Keating
IT Senior Engineer
---
e. fergal.keat...@directski.com
p. NA
w. www.directski.com


Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
I can see it now ...
Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x,
inmethod-grid and Brix at it.
I'm not sure how much this machine can handle ...
I'll undeploy Brix and some old wicket-contrib examples.

On Tue, May 8, 2012 at 12:43 PM, Fergal Keating
fergal.keat...@directski.com wrote:
 I got a PermGen space error on that URL.

 javax.servlet.ServletException: Filter execution threw an exception

 *root cause*

 java.lang.OutOfMemoryError: PermGen space


 On 8 May 2012 08:31, Martin Grigorov mgrigo...@apache.org wrote:


 http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
 works OK for me

 On Tue, May 8, 2012 at 12:43 AM, Corbin, James jcor...@iqnavigator.com
 wrote:
  The wicket examples (www.wicket-library.com/wicket-examples/) seems to
 be having issues.
 
  I select the Contacts Editor option under the repeaters section and I
 get a permgen error.
 
  Is this site working properly?  I assume the URL above is appropriate?
 
  J.D.



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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




 --
 Fergal Keating
 IT Senior Engineer
 ---
 e. fergal.keat...@directski.com
 p. NA
 w. www.directski.com



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Wicket Examples

2012-05-08 Thread Johan Compagner
Permspace is tricky
Do we have a nice management console on that server?

Because it looks like to little class/perm space mem us configured or we
leak classes when un deploying
On May 8, 2012 11:59 AM, Martin Grigorov mgrigo...@apache.org wrote:

 I can see it now ...
 Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x,
 inmethod-grid and Brix at it.
 I'm not sure how much this machine can handle ...
 I'll undeploy Brix and some old wicket-contrib examples.

 On Tue, May 8, 2012 at 12:43 PM, Fergal Keating
 fergal.keat...@directski.com wrote:
  I got a PermGen space error on that URL.
 
  javax.servlet.ServletException: Filter execution threw an exception
 
  *root cause*
 
  java.lang.OutOfMemoryError: PermGen space
 
 
  On 8 May 2012 08:31, Martin Grigorov mgrigo...@apache.org wrote:
 
 
 
 http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
  works OK for me
 
  On Tue, May 8, 2012 at 12:43 AM, Corbin, James jcor...@iqnavigator.com
 
  wrote:
   The wicket examples (www.wicket-library.com/wicket-examples/) seems
 to
  be having issues.
  
   I select the Contacts Editor option under the repeaters section and I
  get a permgen error.
  
   Is this site working properly?  I assume the URL above is appropriate?
  
   J.D.
 
 
 
  --
  Martin Grigorov
  jWeekend
  Training, Consulting, Development
  http://jWeekend.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Fergal Keating
  IT Senior Engineer
  ---
  e. fergal.keat...@directski.com
  p. NA
  w. www.directski.com



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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




Re: Wicket Examples

2012-05-08 Thread Martin Grigorov
I'm not very acquaint with these details.
Maybe Juergen can shed some light.

I know that there is some automatic restart of the Tomcat process
because I saw few times that Tomcat 6 instance is stopped and Tomcat 5
is started instead (by some cron job maybe) and that's the reason
Wicket 6.x examples to not work.

On Tue, May 8, 2012 at 1:34 PM, Johan Compagner jcompag...@gmail.com wrote:
 Permspace is tricky
 Do we have a nice management console on that server?

 Because it looks like to little class/perm space mem us configured or we
 leak classes when un deploying
 On May 8, 2012 11:59 AM, Martin Grigorov mgrigo...@apache.org wrote:

 I can see it now ...
 Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x,
 inmethod-grid and Brix at it.
 I'm not sure how much this machine can handle ...
 I'll undeploy Brix and some old wicket-contrib examples.

 On Tue, May 8, 2012 at 12:43 PM, Fergal Keating
 fergal.keat...@directski.com wrote:
  I got a PermGen space error on that URL.
 
  javax.servlet.ServletException: Filter execution threw an exception
 
  *root cause*
 
  java.lang.OutOfMemoryError: PermGen space
 
 
  On 8 May 2012 08:31, Martin Grigorov mgrigo...@apache.org wrote:
 
 
 
 http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
  works OK for me
 
  On Tue, May 8, 2012 at 12:43 AM, Corbin, James jcor...@iqnavigator.com
 
  wrote:
   The wicket examples (www.wicket-library.com/wicket-examples/) seems
 to
  be having issues.
  
   I select the Contacts Editor option under the repeaters section and I
  get a permgen error.
  
   Is this site working properly?  I assume the URL above is appropriate?
  
   J.D.
 
 
 
  --
  Martin Grigorov
  jWeekend
  Training, Consulting, Development
  http://jWeekend.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Fergal Keating
  IT Senior Engineer
  ---
  e. fergal.keat...@directski.com
  p. NA
  w. www.directski.com



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

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





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Wicket Examples

2012-05-08 Thread Korbinian Bachl - privat

Hi,

some hints:

Make sure the jvm the server is running in is started with (I assume JRE 
1.6 - 1.6.0_32):


-server
-XX:+UseConcMarkSweepGC
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled

Also make sure permGen is specified big enough, e.g:
-XX:MaxPermSize=384m


Also, I wouldn't recommend to restart the tomcat too often, else you'll 
loose the goodies of the HotSpot VM;


Best



Am 08.05.12 11:59, schrieb Martin Grigorov:

I can see it now ...
Maybe it is because I uploaded the examples for 6.x, 1.5.x, 1.4.x,
inmethod-grid and Brix at it.
I'm not sure how much this machine can handle ...
I'll undeploy Brix and some old wicket-contrib examples.

On Tue, May 8, 2012 at 12:43 PM, Fergal Keating
fergal.keat...@directski.com  wrote:

I got a PermGen space error on that URL.

javax.servlet.ServletException: Filter execution threw an exception

*root cause*

java.lang.OutOfMemoryError: PermGen space


On 8 May 2012 08:31, Martin Grigorovmgrigo...@apache.org  wrote:



http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.FormPage
works OK for me

On Tue, May 8, 2012 at 12:43 AM, Corbin, Jamesjcor...@iqnavigator.com
wrote:

The wicket examples (www.wicket-library.com/wicket-examples/) seems to

be having issues.


I select the Contacts Editor option under the repeaters section and I

get a permgen error.


Is this site working properly?  I assume the URL above is appropriate?

J.D.




--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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





--
Fergal Keating
IT Senior Engineer
---
e. fergal.keat...@directski.com
p. NA
w. www.directski.com






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



Re: Wicket examples in new version

2011-08-09 Thread Sven Meier
Seems you're mixing 1.4.x examples with 1.5 core, you should check your 
classpath.


Hope this helps
Sven

On 08/09/2011 09:29 AM, marcelp wrote:

Hello,

I ran the wicket examples in my Eclipse without any problems (after
importing as Maven project from the src/wicket-examples). The wicket version
here is appearantly 1.4.17.

In my project at work we have the latest wicket version
wicket.version1.5-RC5.1/wicket.version

Now, here do some of the examples not work. For example the repeater example
has a file called DatabaseLocater.java. here I get import
org.apache.wicket.RequestCycle cannot be resolved.

What can I do to get the examples work in the latest version?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729204.html
Sent from the Users forum mailing list archive at Nabble.com.

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




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



Re: Wicket examples in new version

2011-08-09 Thread marcelp
Hi Sven,

You are right. I did mix them up. I got it compiling now but I get runtime
exceptions. I might come back ;-0 Thanks for the hint.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729516.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket examples in new version

2011-08-09 Thread marcelp
Hmm, I can't seem to get to the problem myself.

Last cause: Failed to find markup file associated. ActionPanel: [ActionPanel
[Component id = actions]]

Root cause:org.apache.wicket.markup.MarkupNotFoundException: Failed to find
markup file associated. ActionPanel: [ActionPanel [Component id = actions]]
at
org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.getMarkup(PanelMarkupSourcingStrategy.java:63)

at org.apache.wicket.MarkupContainer.getMarkup(MarkupContainer.java:464)
at
org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:669)

at
org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:50)

at org.apache.wicket.Component.internalRenderComponent(Component.java:2584)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1537)

etc

The SimplePage from the examples has the problem. 
Java:

item.add(new ActionPanel(actions, item.getModel()));

HTML:
td[actions]/td

The BasePage.java has a class 

class ActionPanel extends Panel
{
/**
 * @param id
 *component id
 * @param model
 *model for contact
 */
public ActionPanel(String id, IModelContact model)
{
super(id, model);
add(new Link(select)
{
@Override
public void onClick()
{
selected = 
(Contact)getParent().getDefaultModelObject();
}
});
}
}

Anyone got any ideas?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729627.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket examples in new version

2011-08-09 Thread marcelp
THe HTML code got deleted in previous message. Should read:span
wicket:id=actions [actions] with brackets

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729633.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket examples in new version

2011-08-09 Thread Martin Grigorov
How exactly do you start the examples ?
I run org.apache.wicket.examples.StartExamples as Java Application and
all repeaters work fine in current trunk.

On Tue, Aug 9, 2011 at 2:11 PM, marcelp marcel_po...@deltalloyd.nl wrote:
 THe HTML code got deleted in previous message. Should read:    span
 wicket:id=actions [actions] with brackets

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729633.html
 Sent from the Users forum mailing list archive at Nabble.com.

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





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Wicket examples in new version

2011-08-09 Thread marcelp
Hi martin,

Like i said in my first post, when I import as Mavenproject then it works
fine. When I copy and paste some of the files from the examples to my true
project (like what i am doing with the simplepage because I need this
exactly) it doesn't work completely. What I first noticed is that some code
from the examples needed changes. Contructors had different parameters for
example.

So now I have ths problem with Actionpanel

Last cause: Failed to find markup file associated. ActionPanel: [ActionPanel
[Component id = actions]] 

When I change my code from SimplePage.java

item.add(new ActionPanel(actions, item.getModel())); 


into 

item.add(new Label(actions,  Select));

it does work, however it has no click functionality obviously.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-examples-in-new-version-tp3729204p3729678.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket examples very slow

2011-01-27 Thread Martin Grigorov
On Tue, Jan 25, 2011 at 1:25 PM, kondwani kondw...@gmail.com wrote:


 Any luck in resolving this problem?  I'm unable to even look at the Source
 Code.

Tomcat is upgraded from 5.5.x to 6.0.x and all is fine again.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicket-examples-very-slow-tp3234627p3236027.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: wicket examples very slow

2011-01-25 Thread kondwani

Any luck in resolving this problem?  I'm unable to even look at the Source
Code.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicket-examples-very-slow-tp3234627p3236027.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: wicket examples very slow

2011-01-24 Thread Jeremy Thomerson
On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:


 I was trying to see wicket examples

 http://www.wicket-library.com/wicket-examples/

 its very slow I tried on Friday ,again today   its very slow , I tried in
 different browsers.It did not help.


Run them locally:

svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
cd wicket-1.4.x/
mvn install
# if you want to load the code in Eclipse to put debug points, etc, run mvn
eclipse:eclipse
cd wicket-examples
mvn jetty:run

Browse to http://localhost:8080/wicket-examples/

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
On Mon, Jan 24, 2011 at 7:48 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:

 
  I was trying to see wicket examples
 
  http://www.wicket-library.com/wicket-examples/
 
  its very slow I tried on Friday ,again today   its very slow , I tried in
  different browsers.It did not help.
 

 Run them locally:

 svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
 cd wicket-1.4.x/
 mvn install
 # if you want to load the code in Eclipse to put debug points, etc, run
 mvn
 eclipse:eclipse
 cd wicket-examples
 mvn jetty:run

 Browse to http://localhost:8080/wicket-examples/

 except the fact that this is 1.5 demo

I'm looking what is wrong


 --
 Jeremy Thomerson
 http://wickettraining.com
 *Need a CMS for Wicket?  Use Brix! http://brixcms.org*



Re: wicket examples very slow

2011-01-24 Thread Martin Grigorov
Each request fails with

WARN  - ServletWebRequest  - Error parsing request body for post
parameters; Fallback to ServletRequest#getParameters().
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at
org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
at
org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
at
org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
at org.apache.coyote.Request.doRead(Request.java:427)
at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:283)
at
org.apache.catalina.connector.InputBuffer.realReadChars(InputBuffer.java:329)
at
org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:382)
at
org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:351)
at
org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:80)
at org.apache.wicket.util.io.Streams.readString(Streams.java:192)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.generatePostParameters(ServletWebRequest.java:251)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getPostRequestParameters(ServletWebRequest.java:294)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.access$000(ServletWebRequest.java:60)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest$1.getParameterValue(ServletWebRequest.java:318)
at
org.apache.wicket.request.parameter.CombinedRequestParametersAdapter.getParameterValue(CombinedRequestParametersAdapter.java:71)
at
org.apache.wicket.request.http.WebRequest.isAjax(WebRequest.java:124)
at
org.apache.wicket.protocol.http.servlet.ServletWebRequest.getClientUrl(ServletWebRequest.java:124)
at
org.apache.wicket.request.cycle.RequestCycle.newUrlRenderer(RequestCycle.java:143)
at
org.apache.wicket.request.cycle.RequestCycle.getUrlRenderer(RequestCycle.java:167)
at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:191)


It is either the JVM (1.5.0_22) or Tomcat (5.5.?) ...

On Mon, Jan 24, 2011 at 7:51 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 On Mon, Jan 24, 2011 at 7:48 PM, Jeremy Thomerson 
 jer...@wickettraining.com wrote:

 On Mon, Jan 24, 2011 at 12:23 PM, fachhoch fachh...@gmail.com wrote:

 
  I was trying to see wicket examples
 
  http://www.wicket-library.com/wicket-examples/
 
  its very slow I tried on Friday ,again today   its very slow , I tried
 in
  different browsers.It did not help.
 

 Run them locally:

 svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x
 cd wicket-1.4.x/
 mvn install
 # if you want to load the code in Eclipse to put debug points, etc, run
 mvn
 eclipse:eclipse
 cd wicket-examples
 mvn jetty:run

 Browse to http://localhost:8080/wicket-examples/

 except the fact that this is 1.5 demo

 I'm looking what is wrong


 --

 Jeremy Thomerson
 http://wickettraining.com
 *Need a CMS for Wicket?  Use Brix! http://brixcms.org*





Re: Wicket Examples on NetBeans

2010-02-25 Thread Igor Vaynberg
the version is defined in the parent pom, maybe that is the one you
have to open.

-igor

On Thu, Feb 25, 2010 at 4:23 PM,  b...@actrix.gen.nz wrote:
 Hi,

 How can I run the wicket examples that are included in the
 distribution in the NetBeans IDE?

 I have tried to open the Maven project but I get errors [0]
 'dependencies.dependency.version' is missing for
 org.apache.wicket:wicket

 It would be nice to have a quick and easy way to get these running in
 NetBeans so that I can use the Wicket Examples as an easy reference
 and starting point for the NetBeans developers (testcases for
 performance issues etc.).

 Ideally, I would just want to ask them to open the Maven project,
 specify a server i.e. GlassFish V3 and run the project.

 Many thanks

 Bernard



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



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



Re: Wicket Examples

2007-10-10 Thread Martijn Dashorst
Can you take a look at your inbox or the archives first? the same
question was asked just one day ago.

http://www.nabble.com/Example-source-code--tf4594176.html

Martijn

On 10/10/07, anita nichols [EMAIL PROTECTED] wrote:
 Is there a way that I can download the whole wicket examples source code?
 I'm interested with the library application example source code.


 Thanks,
 Anita



-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

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



Re: Wicket Examples

2007-10-10 Thread anita nichols
4. then put in the path to SVN and you will have all the code??
What is the path??

Thanks

On 10/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 everything is in our svn. i believe the examples are in
 jdk1.5/wicket-examples module. see wicket.apache.org for svn details

 -igor


 On 10/10/07, anita nichols [EMAIL PROTECTED] wrote:
  Is there a way that I can download the whole wicket examples source
 code?
  I'm interested with the library application example source code.
 
 
  Thanks,
  Anita
 

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




Re: Wicket examples deploy correctly but don't run on tomcat

2007-09-30 Thread Igor Vaynberg
check your server log for errors

-igor


On 9/30/07, vemu [EMAIL PROTECTED] wrote:


 Hi,
 I have downloaded wicket , and trying to deploy and see the examples
 working
 on localhost
 I have been able to successfully deploy (on Tomcat)
 wicket-examples-1.3.0-beta3.war that is in the \lib directory of the
 Wicket distribution. But when I point to the helloworld  link,
 I get Resource /helloworld not found on this server. Any body know what
 I
 am doing wrong ?
 Thanks,
 vemu
 --
 View this message in context:
 http://www.nabble.com/Wicket-examples-deploy-correctly-but-don%27t-run-on-tomcat-tf4544680.html#a12969113
 Sent from the Wicket - User mailing list archive at Nabble.com.


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