Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
Hi,
I'm currently extending the DataTable and used classes to support some more
stuff.

I already extended OrderByLink to get the ability for interpreting
additional request-parameter and this is working just fine. The only thing
thats left for now is a way to extend the given SortState to provide +3
states (for every given one I need 1 more that represents an extended
version of itself) for 3 more css-classes. But as I can't extend enums
(SortState) and all major classes that deal with SortState (either in
SingleSortState and innerclasses in OrderByLink) are either static or final
I don't get the point on where to start, without the need of replacing
dozens of classes...

So my question is: Is there any easy way where I can hack my
extended-SortState in?

P.S.:
To determine the needed class it is a must have to have the ability to read
a attributes-list I added to the DataProvider-Class. I think this too is the
main reason why I have so much problems in dealing with all that
final-classes/-methods...

-
Never forget your umbrella ! In case You did, try to find a shelter ;)
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4268604.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: Numeric Filter on TextField

2012-01-06 Thread codix
Thank you for the reply. I was thinking of integrating it not on the HTML
markup but on the class itself.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Numeric-Filter-on-TextField-tp4264649p4268648.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: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Martin Grigorov
Hi,

Which version of Wicket is this ?
In Wicket 1.5 ISortState is an interface and SingleSortState is a
class. They are not enums and are definitely extendable

On Fri, Jan 6, 2012 at 10:15 AM, Rain... Is wet!
oryp-moel...@hotmail.de wrote:
 Hi,
 I'm currently extending the DataTable and used classes to support some more
 stuff.

 I already extended OrderByLink to get the ability for interpreting
 additional request-parameter and this is working just fine. The only thing
 thats left for now is a way to extend the given SortState to provide +3
 states (for every given one I need 1 more that represents an extended
 version of itself) for 3 more css-classes. But as I can't extend enums
 (SortState) and all major classes that deal with SortState (either in
 SingleSortState and innerclasses in OrderByLink) are either static or final
 I don't get the point on where to start, without the need of replacing
 dozens of classes...

 So my question is: Is there any easy way where I can hack my
 extended-SortState in?

 P.S.:
 To determine the needed class it is a must have to have the ability to read
 a attributes-list I added to the DataProvider-Class. I think this too is the
 main reason why I have so much problems in dealing with all that
 final-classes/-methods...

 -
 Never forget your umbrella ! In case You did, try to find a shelter ;)
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4268604.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: Numeric Filter on TextField

2012-01-06 Thread Rain... Is wet!
Maybe this is more helpful to You than my previous post:
http://www.mkyong.com/wicket/how-to-dynamic-add-attribute-to-a-html-tag-in-wicket/


-
Never forget your umbrella ! In case You did, try to find a shelter ;)
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Numeric-Filter-on-TextField-tp4264649p4268663.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: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
I'm using 1.5 and You're right, was just a typo of mine, I ment the enum
SortOrder, not SingleSortState or ISortState...

-
Never forget your umbrella ! In case You did, try to find a shelter ;)
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4268672.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: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Martin Grigorov
what other order you need ?

On Fri, Jan 6, 2012 at 10:48 AM, Rain... Is wet!
oryp-moel...@hotmail.de wrote:
 I'm using 1.5 and You're right, was just a typo of mine, I ment the enum
 SortOrder, not SingleSortState or ISortState...

 -
 Never forget your umbrella ! In case You did, try to find a shelter ;)
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4268672.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: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
In DataProvider i implemented a List of columns in which there should be
generated group-totals.
In addition to the given SortOrders NONE, ASCENDING, DESCENDING I need
NONESUM, ASCENDINGSUM, DESCENDINGSUM.
What I've come so far is the ability to set those attributes via an
additional request-parameter that is catched up in
OrderByLink.nextSortOrder(...). But what I can't from this point is to set
my new SortOrders and to implement the belonging css-classes that are being
set via OrderByLink.DefaultCssProvider - at least not without the need to
replace very much code and classes.

-
Never forget your umbrella ! In case You did, try to find a shelter ;)
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4268712.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 on Google App Engine

2012-01-06 Thread Hielke Hoeve
Hey Daniel,

Glad to hear you got it working as well. I have some apps on google app engine  
as well. Tried all the tutorials and 'useful' maven plugins but all just didn't 
do the trick for me.  I now use maven's resources plugin to copy the resources 
from the maven repository to the war/lib folder. Which allows me to update/add 
dependencies in the pom.xml, run maven and add the dependencies in eclipse 
manually. 

I have not found a maven plugin which just adds the google sdk as dependency 
for me so I don't have to mess around in eclipse everytime I run maven. Did you 
solve that?

Hielke 

-Original Message-
From: Daniel Watrous [mailto:daniel.watr...@gmail.com] 
Sent: donderdag 5 januari 2012 19:35
To: users@wicket.apache.org
Subject: Re: Wicket on Google App Engine

Thanks for all your help. I've just posted the steps required to get current 
versions of wicket and gae to work together.

http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine

Daniel

On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
ernesto.reina...@jweekend.com wrote:
 I think the class to use is

 http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
 ui/wicket/GAEModificationWatcher.java



 On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro  
 ernesto.reina...@jweekend.com wrote:

 You could use a modified version of resource watcher that does not 
 use threads and modify request cycle so that watcher is executed 
 before each request cycle. I remember there was some blog somewhere 
 explaining this technique... Maybe it was this...


 http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
 ogle-app-engine.html



 On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:

 I tried putting in this:
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);

 But the resource still doesn't update without restarting the google 
 app engine environment. I just tried it by running Start and that no 
 longer updates automatically either.

 In the process of trying to make it work with GAE, I changed the 
 pom.xml to have these lines in the build section
            directorysrc/main/webapp/WEB-INF/directory

  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory

 That means files are no longer placed in the target directory, but 
 in the WEB-INF folder. Could this affect it? Have I missed another 
 setting somewhere that relates to changing where the compiled 
 classes are placed?

 Daniel

 On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
  Read here:
 
     https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
 
  The relevant setting is:
     getResourceSettings().setResourcePollFrequency(duration);
 
  Sven
 
 
  On 01/04/2012 10:31 PM, Daniel Watrous wrote:
 
  Great. I now have it working with either the jar download or the 
  dependency in the pom.xml file. In the dependency xml snippet I 
  didn't realize that I needed to manually provide the version, but 
  after I did then it worked fine.
 
  Whenever I update a class and save it in Eclipse, that class is 
  updated in the running server and I don't have to restart to see 
  the changes. This is great.
 
  However, when I change an HTML page, it's not updated in the 
  running server, so I have to restart everything. I know that when 
  I run a quickstart app directly (using the Start class) that 
  updates to the HTML are updated without requiring a restart.
 
  Do you know how to make it so the HTML files are updated in the 
  live server?
 
  Thanks so much.
 
  Daniel
 
  On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net  wrote:
 
  With maven it's very easy, just add the dependency to your pom 
  as suggested and forget about it.
 
  Alternatively you can download the jar form maven central 
  manually and add it to your project:
 
 
 
 
 http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
 lizer/
 
  Hope this helps
  Sven
 
 
  On 01/04/2012 09:28 PM, Daniel Watrous wrote:
 
  I'm still not sure how to create the jar file. No one is 
  commenting
 on
  it so I feel a bit silly. Should it be obvious?
 
  Am I supposed to include the source with my project or a jar. 
  If a jar, how should I build the jar?
 
  On Wed, Jan 4, 2012 at 1:11 PM, Sven Meiers...@meiers.net
  wrote:
 
  Hi,
 
  make sure you have compatible versions for Wicket and
 gae-initializer,
  i.e.
  they should be the same.
 
  Sven
 
 
 
  On 01/04/2012 08:49 PM, Daniel Watrous wrote:
 
  I'm slowly making progress.
 
  I see now that what Sven replied with goes in the pom.xml.
 
  What I'm not sure of is if I still need a jar file or the 
  source as part of my project. I have made the update to my 
  pom.xml, and I'm
 now
  getting this error when I attempt to run my application:
 
  java.lang.NoClassDefFoundError:
  org/apache/wicket/pageStore/memory/IDataStoreEvictionStrategy
         at 

Re: Custom CSS-Class for OrderByLink (possible?)

2012-01-06 Thread Rain... Is wet!
Found an not so complicated way to implement own css-class to orderbylink.

After calling the constructor of the superclass I just removed the
standard-css Modifier and added my own implementation instead.

this.removeAll();
this.add(new HisOrderByLink.CssModifier(this, cssProvider));

And in my CSSModifier I implemented the Check i needed.

Unfortunately this was a false approach :D I won't need a class on the
OrderByLink but on the container holding the .th - I will investigate
further on this^^

-
Never forget your umbrella ! In case You did, try to find a shelter ;)
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Custom-CSS-Class-for-OrderByLink-possible-tp4268604p4269006.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



1.5 serialization fun

2012-01-06 Thread nino martinez wael
Hi Guys

we are having an issue on one of our more complex pages and are getting an
error like this:

2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
(JavaSerializer.java:94) - Error serializing object class
com.netdesign.wallboard.page.ViewerPage [object=[Page class =
com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
java.io.NotSerializableException: com.google.inject.internal.InjectorImpl$4

Problem are that there are no injector in our ViewerPage like the message
are saying there are, so our idea are that it is in one of the sub panels.
Aren't there a way to get further knowledge about the containing
component/class of the failing serialization?

-regards Nino


Re: 1.5 serialization fun

2012-01-06 Thread Martin Grigorov
There was a bug in SerializationChecker which is fixed either in 1.5.3 or trunk.

On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Hi Guys

 we are having an issue on one of our more complex pages and are getting an
 error like this:

 2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
 (JavaSerializer.java:94) - Error serializing object class
 com.netdesign.wallboard.page.ViewerPage [object=[Page class =
 com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
 java.io.NotSerializableException: com.google.inject.internal.InjectorImpl$4

 Problem are that there are no injector in our ViewerPage like the message
 are saying there are, so our idea are that it is in one of the sub panels.
 Aren't there a way to get further knowledge about the containing
 component/class of the failing serialization?

 -regards Nino



-- 
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: 1.5 serialization fun

2012-01-06 Thread nino martinez wael
We are running 1.5.3 .. So it's in trunk I guess, do you know what the
error did?

2012/1/6 Martin Grigorov mgrigo...@apache.org

 There was a bug in SerializationChecker which is fixed either in 1.5.3 or
 trunk.

 On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi Guys
 
  we are having an issue on one of our more complex pages and are getting
 an
  error like this:
 
  2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
  (JavaSerializer.java:94) - Error serializing object class
  com.netdesign.wallboard.page.ViewerPage [object=[Page class =
  com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
  java.io.NotSerializableException:
 com.google.inject.internal.InjectorImpl$4
 
  Problem are that there are no injector in our ViewerPage like the message
  are saying there are, so our idea are that it is in one of the sub
 panels.
  Aren't there a way to get further knowledge about the containing
  component/class of the failing serialization?
 
  -regards Nino



 --
 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: 1.5 serialization fun

2012-01-06 Thread Martin Grigorov
The problem was that Wicket doesn't produce the nice formatted error
message pointing to the component which holds a reference to the
non-serializable class.

https://issues.apache.org/jira/browse/WICKET-4264

On Fri, Jan 6, 2012 at 2:27 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 We are running 1.5.3 .. So it's in trunk I guess, do you know what the
 error did?

 2012/1/6 Martin Grigorov mgrigo...@apache.org

 There was a bug in SerializationChecker which is fixed either in 1.5.3 or
 trunk.

 On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi Guys
 
  we are having an issue on one of our more complex pages and are getting
 an
  error like this:
 
  2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
  (JavaSerializer.java:94) - Error serializing object class
  com.netdesign.wallboard.page.ViewerPage [object=[Page class =
  com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
  java.io.NotSerializableException:
 com.google.inject.internal.InjectorImpl$4
 
  Problem are that there are no injector in our ViewerPage like the message
  are saying there are, so our idea are that it is in one of the sub
 panels.
  Aren't there a way to get further knowledge about the containing
  component/class of the failing serialization?
 
  -regards Nino



 --
 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: 1.5 serialization fun

2012-01-06 Thread nino martinez wael
Any idea on how far 1.5.4 are in the release process?

2012/1/6 Martin Grigorov mgrigo...@apache.org

 The problem was that Wicket doesn't produce the nice formatted error
 message pointing to the component which holds a reference to the
 non-serializable class.

 https://issues.apache.org/jira/browse/WICKET-4264

 On Fri, Jan 6, 2012 at 2:27 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  We are running 1.5.3 .. So it's in trunk I guess, do you know what the
  error did?
 
  2012/1/6 Martin Grigorov mgrigo...@apache.org
 
  There was a bug in SerializationChecker which is fixed either in 1.5.3
 or
  trunk.
 
  On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
   Hi Guys
  
   we are having an issue on one of our more complex pages and are
 getting
  an
   error like this:
  
   2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
   (JavaSerializer.java:94) - Error serializing object class
   com.netdesign.wallboard.page.ViewerPage [object=[Page class =
   com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
   java.io.NotSerializableException:
  com.google.inject.internal.InjectorImpl$4
  
   Problem are that there are no injector in our ViewerPage like the
 message
   are saying there are, so our idea are that it is in one of the sub
  panels.
   Aren't there a way to get further knowledge about the containing
   component/class of the failing serialization?
  
   -regards Nino
 
 
 
  --
  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: 1.5 serialization fun

2012-01-06 Thread Martin Grigorov
Soon. A week I guess.

On Fri, Jan 6, 2012 at 3:04 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Any idea on how far 1.5.4 are in the release process?

 2012/1/6 Martin Grigorov mgrigo...@apache.org

 The problem was that Wicket doesn't produce the nice formatted error
 message pointing to the component which holds a reference to the
 non-serializable class.

 https://issues.apache.org/jira/browse/WICKET-4264

 On Fri, Jan 6, 2012 at 2:27 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  We are running 1.5.3 .. So it's in trunk I guess, do you know what the
  error did?
 
  2012/1/6 Martin Grigorov mgrigo...@apache.org
 
  There was a bug in SerializationChecker which is fixed either in 1.5.3
 or
  trunk.
 
  On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
   Hi Guys
  
   we are having an issue on one of our more complex pages and are
 getting
  an
   error like this:
  
   2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
   (JavaSerializer.java:94) - Error serializing object class
   com.netdesign.wallboard.page.ViewerPage [object=[Page class =
   com.netdesign.wallboard.page.ViewerPage, id = 14, render count = 1]]
   java.io.NotSerializableException:
  com.google.inject.internal.InjectorImpl$4
  
   Problem are that there are no injector in our ViewerPage like the
 message
   are saying there are, so our idea are that it is in one of the sub
  panels.
   Aren't there a way to get further knowledge about the containing
   component/class of the failing serialization?
  
   -regards Nino
 
 
 
  --
  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





-- 
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: 1.5 serialization fun

2012-01-06 Thread nino martinez wael
Great!

2012/1/6 Martin Grigorov mgrigo...@apache.org

 Soon. A week I guess.

 On Fri, Jan 6, 2012 at 3:04 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Any idea on how far 1.5.4 are in the release process?
 
  2012/1/6 Martin Grigorov mgrigo...@apache.org
 
  The problem was that Wicket doesn't produce the nice formatted error
  message pointing to the component which holds a reference to the
  non-serializable class.
 
  https://issues.apache.org/jira/browse/WICKET-4264
 
  On Fri, Jan 6, 2012 at 2:27 PM, nino martinez wael
  nino.martinez.w...@gmail.com wrote:
   We are running 1.5.3 .. So it's in trunk I guess, do you know what the
   error did?
  
   2012/1/6 Martin Grigorov mgrigo...@apache.org
  
   There was a bug in SerializationChecker which is fixed either in
 1.5.3
  or
   trunk.
  
   On Fri, Jan 6, 2012 at 2:07 PM, nino martinez wael
   nino.martinez.w...@gmail.com wrote:
Hi Guys
   
we are having an issue on one of our more complex pages and are
  getting
   an
error like this:
   
2012-01-06 12:29:20,057 ERROR [http-bio-8080-exec-10]
(JavaSerializer.java:94) - Error serializing object class
com.netdesign.wallboard.page.ViewerPage [object=[Page class =
com.netdesign.wallboard.page.ViewerPage, id = 14, render count =
 1]]
java.io.NotSerializableException:
   com.google.inject.internal.InjectorImpl$4
   
Problem are that there are no injector in our ViewerPage like the
  message
are saying there are, so our idea are that it is in one of the sub
   panels.
Aren't there a way to get further knowledge about the containing
component/class of the failing serialization?
   
-regards Nino
  
  
  
   --
   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
 
 



 --
 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 on Google App Engine

2012-01-06 Thread Rahman USTA
i did Daniel's way, but when run the application,
http://chopapp.com/#1gyxqdm6

2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl

 Hey Daniel,

 Glad to hear you got it working as well. I have some apps on google app
 engine  as well. Tried all the tutorials and 'useful' maven plugins but all
 just didn't do the trick for me.  I now use maven's resources plugin to
 copy the resources from the maven repository to the war/lib folder. Which
 allows me to update/add dependencies in the pom.xml, run maven and add the
 dependencies in eclipse manually.

 I have not found a maven plugin which just adds the google sdk as
 dependency for me so I don't have to mess around in eclipse everytime I run
 maven. Did you solve that?

 Hielke

 -Original Message-
 From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
 Sent: donderdag 5 januari 2012 19:35
 To: users@wicket.apache.org
 Subject: Re: Wicket on Google App Engine

 Thanks for all your help. I've just posted the steps required to get
 current versions of wicket and gae to work together.


 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine

 Daniel

 On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
 ernesto.reina...@jweekend.com wrote:
  I think the class to use is
 
  http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
  ui/wicket/GAEModificationWatcher.java
 
 
 
  On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
  ernesto.reina...@jweekend.com wrote:
 
  You could use a modified version of resource watcher that does not
  use threads and modify request cycle so that watcher is executed
  before each request cycle. I remember there was some blog somewhere
  explaining this technique... Maybe it was this...
 
 
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
  ogle-app-engine.html
 
 
 
  On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:
 
  I tried putting in this:
  getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
 
  But the resource still doesn't update without restarting the google
  app engine environment. I just tried it by running Start and that no
  longer updates automatically either.
 
  In the process of trying to make it work with GAE, I changed the
  pom.xml to have these lines in the build section
 directorysrc/main/webapp/WEB-INF/directory
 
   outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
 
  That means files are no longer placed in the target directory, but
  in the WEB-INF folder. Could this affect it? Have I missed another
  setting somewhere that relates to changing where the compiled
  classes are placed?
 
  Daniel
 
  On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
   Read here:
  
  https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
  
   The relevant setting is:
  getResourceSettings().setResourcePollFrequency(duration);
  
   Sven
  
  
   On 01/04/2012 10:31 PM, Daniel Watrous wrote:
  
   Great. I now have it working with either the jar download or the
   dependency in the pom.xml file. In the dependency xml snippet I
   didn't realize that I needed to manually provide the version, but
   after I did then it worked fine.
  
   Whenever I update a class and save it in Eclipse, that class is
   updated in the running server and I don't have to restart to see
   the changes. This is great.
  
   However, when I change an HTML page, it's not updated in the
   running server, so I have to restart everything. I know that when
   I run a quickstart app directly (using the Start class) that
   updates to the HTML are updated without requiring a restart.
  
   Do you know how to make it so the HTML files are updated in the
   live server?
  
   Thanks so much.
  
   Daniel
  
   On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net  wrote:
  
   With maven it's very easy, just add the dependency to your pom
   as suggested and forget about it.
  
   Alternatively you can download the jar form maven central
   manually and add it to your project:
  
  
  
  
  http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
  lizer/
  
   Hope this helps
   Sven
  
  
   On 01/04/2012 09:28 PM, Daniel Watrous wrote:
  
   I'm still not sure how to create the jar file. No one is
   commenting
  on
   it so I feel a bit silly. Should it be obvious?
  
   Am I supposed to include the source with my project or a jar.
   If a jar, how should I build the jar?
  
   On Wed, Jan 4, 2012 at 1:11 PM, Sven Meiers...@meiers.net
   wrote:
  
   Hi,
  
   make sure you have compatible versions for Wicket and
  gae-initializer,
   i.e.
   they should be the same.
  
   Sven
  
  
  
   On 01/04/2012 08:49 PM, Daniel Watrous wrote:
  
   I'm slowly making progress.
  
   I see now that what Sven replied with goes in the pom.xml.
  
   What I'm not sure of is if I still need a jar file or the
   source as part of 

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
Rahman,

From the error that you show in your link it appears that your
application can't find the WicketFilter class.

Are you sure that you copied the three wicket jar files (core, util,
request) to your WEB-INF/lib folder?

Daniel

On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com wrote:
 i did Daniel's way, but when run the application,
 http://chopapp.com/#1gyxqdm6

 2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl

 Hey Daniel,

 Glad to hear you got it working as well. I have some apps on google app
 engine  as well. Tried all the tutorials and 'useful' maven plugins but all
 just didn't do the trick for me.  I now use maven's resources plugin to
 copy the resources from the maven repository to the war/lib folder. Which
 allows me to update/add dependencies in the pom.xml, run maven and add the
 dependencies in eclipse manually.

 I have not found a maven plugin which just adds the google sdk as
 dependency for me so I don't have to mess around in eclipse everytime I run
 maven. Did you solve that?

 Hielke

 -Original Message-
 From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
 Sent: donderdag 5 januari 2012 19:35
 To: users@wicket.apache.org
 Subject: Re: Wicket on Google App Engine

 Thanks for all your help. I've just posted the steps required to get
 current versions of wicket and gae to work together.


 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine

 Daniel

 On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
 ernesto.reina...@jweekend.com wrote:
  I think the class to use is
 
  http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
  ui/wicket/GAEModificationWatcher.java
 
 
 
  On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
  ernesto.reina...@jweekend.com wrote:
 
  You could use a modified version of resource watcher that does not
  use threads and modify request cycle so that watcher is executed
  before each request cycle. I remember there was some blog somewhere
  explaining this technique... Maybe it was this...
 
 
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
  ogle-app-engine.html
 
 
 
  On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:
 
  I tried putting in this:
  getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
 
  But the resource still doesn't update without restarting the google
  app engine environment. I just tried it by running Start and that no
  longer updates automatically either.
 
  In the process of trying to make it work with GAE, I changed the
  pom.xml to have these lines in the build section
             directorysrc/main/webapp/WEB-INF/directory
 
   outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
 
  That means files are no longer placed in the target directory, but
  in the WEB-INF folder. Could this affect it? Have I missed another
  setting somewhere that relates to changing where the compiled
  classes are placed?
 
  Daniel
 
  On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
   Read here:
  
      https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
  
   The relevant setting is:
      getResourceSettings().setResourcePollFrequency(duration);
  
   Sven
  
  
   On 01/04/2012 10:31 PM, Daniel Watrous wrote:
  
   Great. I now have it working with either the jar download or the
   dependency in the pom.xml file. In the dependency xml snippet I
   didn't realize that I needed to manually provide the version, but
   after I did then it worked fine.
  
   Whenever I update a class and save it in Eclipse, that class is
   updated in the running server and I don't have to restart to see
   the changes. This is great.
  
   However, when I change an HTML page, it's not updated in the
   running server, so I have to restart everything. I know that when
   I run a quickstart app directly (using the Start class) that
   updates to the HTML are updated without requiring a restart.
  
   Do you know how to make it so the HTML files are updated in the
   live server?
  
   Thanks so much.
  
   Daniel
  
   On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net  wrote:
  
   With maven it's very easy, just add the dependency to your pom
   as suggested and forget about it.
  
   Alternatively you can download the jar form maven central
   manually and add it to your project:
  
  
  
  
  http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
  lizer/
  
   Hope this helps
   Sven
  
  
   On 01/04/2012 09:28 PM, Daniel Watrous wrote:
  
   I'm still not sure how to create the jar file. No one is
   commenting
  on
   it so I feel a bit silly. Should it be obvious?
  
   Am I supposed to include the source with my project or a jar.
   If a jar, how should I build the jar?
  
   On Wed, Jan 4, 2012 at 1:11 PM, Sven Meiers...@meiers.net
   wrote:
  
   Hi,
  
   make sure you have compatible versions for Wicket 

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
Hielke,

I'm not very sophisticated when it comes to Maven. I think what I go
through in my tutorial is more of a brute force update of my eclipse
environment so that it works with the quickstart project on GAE. I'll
have a look at the resources approach you mentioned. That might
simplify setup of future projects.

Daniel

On Fri, Jan 6, 2012 at 3:39 AM, Hielke Hoeve hielke.ho...@topicus.nl wrote:
 Hey Daniel,

 Glad to hear you got it working as well. I have some apps on google app 
 engine  as well. Tried all the tutorials and 'useful' maven plugins but all 
 just didn't do the trick for me.  I now use maven's resources plugin to copy 
 the resources from the maven repository to the war/lib folder. Which allows 
 me to update/add dependencies in the pom.xml, run maven and add the 
 dependencies in eclipse manually.

 I have not found a maven plugin which just adds the google sdk as dependency 
 for me so I don't have to mess around in eclipse everytime I run maven. Did 
 you solve that?

 Hielke

 -Original Message-
 From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
 Sent: donderdag 5 januari 2012 19:35
 To: users@wicket.apache.org
 Subject: Re: Wicket on Google App Engine

 Thanks for all your help. I've just posted the steps required to get current 
 versions of wicket and gae to work together.

 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine

 Daniel

 On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
 ernesto.reina...@jweekend.com wrote:
 I think the class to use is

 http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
 ui/wicket/GAEModificationWatcher.java



 On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
 ernesto.reina...@jweekend.com wrote:

 You could use a modified version of resource watcher that does not
 use threads and modify request cycle so that watcher is executed
 before each request cycle. I remember there was some blog somewhere
 explaining this technique... Maybe it was this...


 http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
 ogle-app-engine.html



 On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
 daniel.watr...@gmail.comwrote:

 I tried putting in this:
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);

 But the resource still doesn't update without restarting the google
 app engine environment. I just tried it by running Start and that no
 longer updates automatically either.

 In the process of trying to make it work with GAE, I changed the
 pom.xml to have these lines in the build section
            directorysrc/main/webapp/WEB-INF/directory

  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory

 That means files are no longer placed in the target directory, but
 in the WEB-INF folder. Could this affect it? Have I missed another
 setting somewhere that relates to changing where the compiled
 classes are placed?

 Daniel

 On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
  Read here:
 
     https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
 
  The relevant setting is:
     getResourceSettings().setResourcePollFrequency(duration);
 
  Sven
 
 
  On 01/04/2012 10:31 PM, Daniel Watrous wrote:
 
  Great. I now have it working with either the jar download or the
  dependency in the pom.xml file. In the dependency xml snippet I
  didn't realize that I needed to manually provide the version, but
  after I did then it worked fine.
 
  Whenever I update a class and save it in Eclipse, that class is
  updated in the running server and I don't have to restart to see
  the changes. This is great.
 
  However, when I change an HTML page, it's not updated in the
  running server, so I have to restart everything. I know that when
  I run a quickstart app directly (using the Start class) that
  updates to the HTML are updated without requiring a restart.
 
  Do you know how to make it so the HTML files are updated in the
  live server?
 
  Thanks so much.
 
  Daniel
 
  On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net  wrote:
 
  With maven it's very easy, just add the dependency to your pom
  as suggested and forget about it.
 
  Alternatively you can download the jar form maven central
  manually and add it to your project:
 
 
 
 
 http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
 lizer/
 
  Hope this helps
  Sven
 
 
  On 01/04/2012 09:28 PM, Daniel Watrous wrote:
 
  I'm still not sure how to create the jar file. No one is
  commenting
 on
  it so I feel a bit silly. Should it be obvious?
 
  Am I supposed to include the source with my project or a jar.
  If a jar, how should I build the jar?
 
  On Wed, Jan 4, 2012 at 1:11 PM, Sven Meiers...@meiers.net
  wrote:
 
  Hi,
 
  make sure you have compatible versions for Wicket and
 gae-initializer,
  i.e.
  they should be the same.
 
  Sven
 
 
 
  On 01/04/2012 08:49 PM, Daniel Watrous wrote:
 
  I'm slowly making 

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
i handled them, but now server is giving me internal error,
http://chopapp.com/#8lc105ni

2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 Rahman,

 From the error that you show in your link it appears that your
 application can't find the WicketFilter class.

 Are you sure that you copied the three wicket jar files (core, util,
 request) to your WEB-INF/lib folder?

 Daniel

 On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i did Daniel's way, but when run the application,
  http://chopapp.com/#1gyxqdm6
 
  2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
 
  Hey Daniel,
 
  Glad to hear you got it working as well. I have some apps on google app
  engine  as well. Tried all the tutorials and 'useful' maven plugins but
 all
  just didn't do the trick for me.  I now use maven's resources plugin to
  copy the resources from the maven repository to the war/lib folder.
 Which
  allows me to update/add dependencies in the pom.xml, run maven and add
 the
  dependencies in eclipse manually.
 
  I have not found a maven plugin which just adds the google sdk as
  dependency for me so I don't have to mess around in eclipse everytime I
 run
  maven. Did you solve that?
 
  Hielke
 
  -Original Message-
  From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
  Sent: donderdag 5 januari 2012 19:35
  To: users@wicket.apache.org
  Subject: Re: Wicket on Google App Engine
 
  Thanks for all your help. I've just posted the steps required to get
  current versions of wicket and gae to work together.
 
 
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
 
  Daniel
 
  On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
  ernesto.reina...@jweekend.com wrote:
   I think the class to use is
  
  
 http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
   ui/wicket/GAEModificationWatcher.java
  
  
  
   On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
  
   You could use a modified version of resource watcher that does not
   use threads and modify request cycle so that watcher is executed
   before each request cycle. I remember there was some blog somewhere
   explaining this technique... Maybe it was this...
  
  
  
 http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
   ogle-app-engine.html
  
  
  
   On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
  daniel.watr...@gmail.comwrote:
  
   I tried putting in this:
   getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
  
   But the resource still doesn't update without restarting the google
   app engine environment. I just tried it by running Start and that no
   longer updates automatically either.
  
   In the process of trying to make it work with GAE, I changed the
   pom.xml to have these lines in the build section
  directorysrc/main/webapp/WEB-INF/directory
  
outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
  
   That means files are no longer placed in the target directory, but
   in the WEB-INF folder. Could this affect it? Have I missed another
   setting somewhere that relates to changing where the compiled
   classes are placed?
  
   Daniel
  
   On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
Read here:
   
   https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
   
The relevant setting is:
   getResourceSettings().setResourcePollFrequency(duration);
   
Sven
   
   
On 01/04/2012 10:31 PM, Daniel Watrous wrote:
   
Great. I now have it working with either the jar download or the
dependency in the pom.xml file. In the dependency xml snippet I
didn't realize that I needed to manually provide the version, but
after I did then it worked fine.
   
Whenever I update a class and save it in Eclipse, that class is
updated in the running server and I don't have to restart to see
the changes. This is great.
   
However, when I change an HTML page, it's not updated in the
running server, so I have to restart everything. I know that when
I run a quickstart app directly (using the Start class) that
updates to the HTML are updated without requiring a restart.
   
Do you know how to make it so the HTML files are updated in the
live server?
   
Thanks so much.
   
Daniel
   
On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net
  wrote:
   
With maven it's very easy, just add the dependency to your pom
as suggested and forget about it.
   
Alternatively you can download the jar form maven central
manually and add it to your project:
   
   
   
   
  
 http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
   lizer/
   
Hope this helps
Sven
   
   
On 01/04/2012 09:28 PM, Daniel Watrous wrote:
   
I'm still not sure how to create the jar file. No one is
commenting
   on

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
This time I think you didn't include the gae-initializer jar in your
WEB-INF/lib directory.

On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com wrote:
 i handled them, but now server is giving me internal error,
 http://chopapp.com/#8lc105ni

 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 Rahman,

 From the error that you show in your link it appears that your
 application can't find the WicketFilter class.

 Are you sure that you copied the three wicket jar files (core, util,
 request) to your WEB-INF/lib folder?

 Daniel

 On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i did Daniel's way, but when run the application,
  http://chopapp.com/#1gyxqdm6
 
  2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
 
  Hey Daniel,
 
  Glad to hear you got it working as well. I have some apps on google app
  engine  as well. Tried all the tutorials and 'useful' maven plugins but
 all
  just didn't do the trick for me.  I now use maven's resources plugin to
  copy the resources from the maven repository to the war/lib folder.
 Which
  allows me to update/add dependencies in the pom.xml, run maven and add
 the
  dependencies in eclipse manually.
 
  I have not found a maven plugin which just adds the google sdk as
  dependency for me so I don't have to mess around in eclipse everytime I
 run
  maven. Did you solve that?
 
  Hielke
 
  -Original Message-
  From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
  Sent: donderdag 5 januari 2012 19:35
  To: users@wicket.apache.org
  Subject: Re: Wicket on Google App Engine
 
  Thanks for all your help. I've just posted the steps required to get
  current versions of wicket and gae to work together.
 
 
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
 
  Daniel
 
  On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
  ernesto.reina...@jweekend.com wrote:
   I think the class to use is
  
  
 http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
   ui/wicket/GAEModificationWatcher.java
  
  
  
   On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
  
   You could use a modified version of resource watcher that does not
   use threads and modify request cycle so that watcher is executed
   before each request cycle. I remember there was some blog somewhere
   explaining this technique... Maybe it was this...
  
  
  
 http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
   ogle-app-engine.html
  
  
  
   On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
  daniel.watr...@gmail.comwrote:
  
   I tried putting in this:
   getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
  
   But the resource still doesn't update without restarting the google
   app engine environment. I just tried it by running Start and that no
   longer updates automatically either.
  
   In the process of trying to make it work with GAE, I changed the
   pom.xml to have these lines in the build section
              directorysrc/main/webapp/WEB-INF/directory
  
    outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
  
   That means files are no longer placed in the target directory, but
   in the WEB-INF folder. Could this affect it? Have I missed another
   setting somewhere that relates to changing where the compiled
   classes are placed?
  
   Daniel
  
   On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote:
Read here:
   
   https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
   
The relevant setting is:
   getResourceSettings().setResourcePollFrequency(duration);
   
Sven
   
   
On 01/04/2012 10:31 PM, Daniel Watrous wrote:
   
Great. I now have it working with either the jar download or the
dependency in the pom.xml file. In the dependency xml snippet I
didn't realize that I needed to manually provide the version, but
after I did then it worked fine.
   
Whenever I update a class and save it in Eclipse, that class is
updated in the running server and I don't have to restart to see
the changes. This is great.
   
However, when I change an HTML page, it's not updated in the
running server, so I have to restart everything. I know that when
I run a quickstart app directly (using the Start class) that
updates to the HTML are updated without requiring a restart.
   
Do you know how to make it so the HTML files are updated in the
live server?
   
Thanks so much.
   
Daniel
   
On Wed, Jan 4, 2012 at 1:38 PM, Sven Meiers...@meiers.net
  wrote:
   
With maven it's very easy, just add the dependency to your pom
as suggested and forget about it.
   
Alternatively you can download the jar form maven central
manually and add it to your project:
   
   
   
   
  
 http://repo2.maven.org/maven2/org/wicketstuff/wicketstuff-gae-initia
   lizer/
   

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
You might be clever enough to do it in maven. I wasn't, so I added the
jar files like I show in my tutorial.

On Fri, Jan 6, 2012 at 8:55 AM, Rahman USTA rahman.usta...@gmail.com wrote:
 i did it in pom.xml, why must i add jars to lib manually? cant i do it with
 maven?

 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 This time I think you didn't include the gae-initializer jar in your
 WEB-INF/lib directory.

 On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  Rahman,
 
  From the error that you show in your link it appears that your
  application can't find the WicketFilter class.
 
  Are you sure that you copied the three wicket jar files (core, util,
  request) to your WEB-INF/lib folder?
 
  Daniel
 
  On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
  wrote:
   i did Daniel's way, but when run the application,
   http://chopapp.com/#1gyxqdm6
  
   2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
  
   Hey Daniel,
  
   Glad to hear you got it working as well. I have some apps on google
 app
   engine  as well. Tried all the tutorials and 'useful' maven plugins
 but
  all
   just didn't do the trick for me.  I now use maven's resources plugin
 to
   copy the resources from the maven repository to the war/lib folder.
  Which
   allows me to update/add dependencies in the pom.xml, run maven and
 add
  the
   dependencies in eclipse manually.
  
   I have not found a maven plugin which just adds the google sdk as
   dependency for me so I don't have to mess around in eclipse
 everytime I
  run
   maven. Did you solve that?
  
   Hielke
  
   -Original Message-
   From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
   Sent: donderdag 5 januari 2012 19:35
   To: users@wicket.apache.org
   Subject: Re: Wicket on Google App Engine
  
   Thanks for all your help. I've just posted the steps required to get
   current versions of wicket and gae to work together.
  
  
  
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
  
   Daniel
  
   On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
I think the class to use is
   
   
  http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
ui/wicket/GAEModificationWatcher.java
   
   
   
On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
ernesto.reina...@jweekend.com wrote:
   
You could use a modified version of resource watcher that does not
use threads and modify request cycle so that watcher is executed
before each request cycle. I remember there was some blog
 somewhere
explaining this technique... Maybe it was this...
   
   
   
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
ogle-app-engine.html
   
   
   
On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
   daniel.watr...@gmail.comwrote:
   
I tried putting in this:
   
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
   
But the resource still doesn't update without restarting the
 google
app engine environment. I just tried it by running Start and
 that no
longer updates automatically either.
   
In the process of trying to make it work with GAE, I changed the
pom.xml to have these lines in the build section
           directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
That means files are no longer placed in the target directory,
 but
in the WEB-INF folder. Could this affect it? Have I missed
 another
setting somewhere that relates to changing where the compiled
classes are placed?
   
Daniel
   
On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net
 wrote:
 Read here:

    https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment

 The relevant setting is:
    getResourceSettings().setResourcePollFrequency(duration);

 Sven


 On 01/04/2012 10:31 PM, Daniel Watrous wrote:

 Great. I now have it working with either the jar download or
 the
 dependency in the pom.xml file. In the dependency xml snippet
 I
 didn't realize that I needed to manually provide the version,
 but
 after I did then it worked fine.

 Whenever I update a class and save it in Eclipse, that class
 is
 updated in the running server and I don't have to restart to
 see
 the changes. This is great.

 However, when I change an HTML page, it's not updated in the
 running server, so I have to restart everything. I know that
 when
 I run a quickstart app directly (using the Start class) that
 updates to the HTML are updated without requiring a restart.

 Do you know how to make it so the HTML 

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
Now, http://chopapp.com/#7pmdaqmd

2012/1/6 Rahman USTA rahman.usta...@gmail.com

 i did it in pom.xml, why must i add jars to lib manually? cant i do it
 with maven?


 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 This time I think you didn't include the gae-initializer jar in your
 WEB-INF/lib directory.

 On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  Rahman,
 
  From the error that you show in your link it appears that your
  application can't find the WicketFilter class.
 
  Are you sure that you copied the three wicket jar files (core, util,
  request) to your WEB-INF/lib folder?
 
  Daniel
 
  On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
  wrote:
   i did Daniel's way, but when run the application,
   http://chopapp.com/#1gyxqdm6
  
   2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
  
   Hey Daniel,
  
   Glad to hear you got it working as well. I have some apps on google
 app
   engine  as well. Tried all the tutorials and 'useful' maven plugins
 but
  all
   just didn't do the trick for me.  I now use maven's resources
 plugin to
   copy the resources from the maven repository to the war/lib folder.
  Which
   allows me to update/add dependencies in the pom.xml, run maven and
 add
  the
   dependencies in eclipse manually.
  
   I have not found a maven plugin which just adds the google sdk as
   dependency for me so I don't have to mess around in eclipse
 everytime I
  run
   maven. Did you solve that?
  
   Hielke
  
   -Original Message-
   From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
   Sent: donderdag 5 januari 2012 19:35
   To: users@wicket.apache.org
   Subject: Re: Wicket on Google App Engine
  
   Thanks for all your help. I've just posted the steps required to get
   current versions of wicket and gae to work together.
  
  
  
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
  
   Daniel
  
   On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
I think the class to use is
   
   
  http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
ui/wicket/GAEModificationWatcher.java
   
   
   
On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
ernesto.reina...@jweekend.com wrote:
   
You could use a modified version of resource watcher that does
 not
use threads and modify request cycle so that watcher is executed
before each request cycle. I remember there was some blog
 somewhere
explaining this technique... Maybe it was this...
   
   
   
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
ogle-app-engine.html
   
   
   
On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
   daniel.watr...@gmail.comwrote:
   
I tried putting in this:
   
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
   
But the resource still doesn't update without restarting the
 google
app engine environment. I just tried it by running Start and
 that no
longer updates automatically either.
   
In the process of trying to make it work with GAE, I changed the
pom.xml to have these lines in the build section
   directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
That means files are no longer placed in the target directory,
 but
in the WEB-INF folder. Could this affect it? Have I missed
 another
setting somewhere that relates to changing where the compiled
classes are placed?
   
Daniel
   
On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net
 wrote:
 Read here:

https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment

 The relevant setting is:
getResourceSettings().setResourcePollFrequency(duration);

 Sven


 On 01/04/2012 10:31 PM, Daniel Watrous wrote:

 Great. I now have it working with either the jar download or
 the
 dependency in the pom.xml file. In the dependency xml
 snippet I
 didn't realize that I needed to manually provide the
 version, but
 after I did then it worked fine.

 Whenever I update a class and save it in Eclipse, that class
 is
 updated in the running server and I don't have to restart to
 see
 the changes. This is great.

 However, when I change an HTML page, it's not updated in the
 running server, so I have to restart everything. I know that
 when
 I run a quickstart app directly (using the Start class) that
 updates to the HTML are updated without requiring a restart.

 Do you know how to make it so the HTML files are updated in
 the
 live server?

 Thanks so much.

 Daniel

 On Wed, 

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
Rahman,

Are you following my tutorial or are you trying to adapt it to work
some other way.

I have to admit that I'm not very savvy when it comes to Maven and I
like the eclipse environment well enough. The Eclipse + GAE plugin
makes development easy.

Maybe I should be embarrassed to say that it took me three days to
finally get wicket going on GAE and the result of that is the tutorial
I put together. If you have something in mind other than what I
documented then I'm not going to be much help.

Daniel

On Fri, Jan 6, 2012 at 9:00 AM, Rahman USTA rahman.usta...@gmail.com wrote:
 Now, http://chopapp.com/#7pmdaqmd

 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 i did it in pom.xml, why must i add jars to lib manually? cant i do it
 with maven?


 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 This time I think you didn't include the gae-initializer jar in your
 WEB-INF/lib directory.

 On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  Rahman,
 
  From the error that you show in your link it appears that your
  application can't find the WicketFilter class.
 
  Are you sure that you copied the three wicket jar files (core, util,
  request) to your WEB-INF/lib folder?
 
  Daniel
 
  On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
  wrote:
   i did Daniel's way, but when run the application,
   http://chopapp.com/#1gyxqdm6
  
   2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
  
   Hey Daniel,
  
   Glad to hear you got it working as well. I have some apps on google
 app
   engine  as well. Tried all the tutorials and 'useful' maven plugins
 but
  all
   just didn't do the trick for me.  I now use maven's resources
 plugin to
   copy the resources from the maven repository to the war/lib folder.
  Which
   allows me to update/add dependencies in the pom.xml, run maven and
 add
  the
   dependencies in eclipse manually.
  
   I have not found a maven plugin which just adds the google sdk as
   dependency for me so I don't have to mess around in eclipse
 everytime I
  run
   maven. Did you solve that?
  
   Hielke
  
   -Original Message-
   From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
   Sent: donderdag 5 januari 2012 19:35
   To: users@wicket.apache.org
   Subject: Re: Wicket on Google App Engine
  
   Thanks for all your help. I've just posted the steps required to get
   current versions of wicket and gae to work together.
  
  
  
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
  
   Daniel
  
   On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
I think the class to use is
   
   
  http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
ui/wicket/GAEModificationWatcher.java
   
   
   
On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
ernesto.reina...@jweekend.com wrote:
   
You could use a modified version of resource watcher that does
 not
use threads and modify request cycle so that watcher is executed
before each request cycle. I remember there was some blog
 somewhere
explaining this technique... Maybe it was this...
   
   
   
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
ogle-app-engine.html
   
   
   
On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
   daniel.watr...@gmail.comwrote:
   
I tried putting in this:
   
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
   
But the resource still doesn't update without restarting the
 google
app engine environment. I just tried it by running Start and
 that no
longer updates automatically either.
   
In the process of trying to make it work with GAE, I changed the
pom.xml to have these lines in the build section
           directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
That means files are no longer placed in the target directory,
 but
in the WEB-INF folder. Could this affect it? Have I missed
 another
setting somewhere that relates to changing where the compiled
classes are placed?
   
Daniel
   
On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net
 wrote:
 Read here:

    https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment

 The relevant setting is:
    getResourceSettings().setResourcePollFrequency(duration);

 Sven


 On 01/04/2012 10:31 PM, Daniel Watrous wrote:

 Great. I now have it working with either the jar download or
 the
 dependency in the pom.xml file. In the dependency xml
 snippet I
 didn't realize that I needed to manually provide the
 version, but
 after I did then it worked fine.

 

Re: Wicket on Google App Engine

2012-01-06 Thread Rahman USTA
Thanks a lot Daniel, it's ok now.

2012/1/6 Rahman USTA rahman.usta...@gmail.com

 Now, http://chopapp.com/#7pmdaqmd


 2012/1/6 Rahman USTA rahman.usta...@gmail.com

 i did it in pom.xml, why must i add jars to lib manually? cant i do it
 with maven?


 2012/1/6 Daniel Watrous daniel.watr...@gmail.com

 This time I think you didn't include the gae-initializer jar in your
 WEB-INF/lib directory.

 On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com
 wrote:
  i handled them, but now server is giving me internal error,
  http://chopapp.com/#8lc105ni
 
  2012/1/6 Daniel Watrous daniel.watr...@gmail.com
 
  Rahman,
 
  From the error that you show in your link it appears that your
  application can't find the WicketFilter class.
 
  Are you sure that you copied the three wicket jar files (core, util,
  request) to your WEB-INF/lib folder?
 
  Daniel
 
  On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta...@gmail.com
 
  wrote:
   i did Daniel's way, but when run the application,
   http://chopapp.com/#1gyxqdm6
  
   2012/1/6 Hielke Hoeve hielke.ho...@topicus.nl
  
   Hey Daniel,
  
   Glad to hear you got it working as well. I have some apps on
 google app
   engine  as well. Tried all the tutorials and 'useful' maven
 plugins but
  all
   just didn't do the trick for me.  I now use maven's resources
 plugin to
   copy the resources from the maven repository to the war/lib folder.
  Which
   allows me to update/add dependencies in the pom.xml, run maven and
 add
  the
   dependencies in eclipse manually.
  
   I have not found a maven plugin which just adds the google sdk as
   dependency for me so I don't have to mess around in eclipse
 everytime I
  run
   maven. Did you solve that?
  
   Hielke
  
   -Original Message-
   From: Daniel Watrous [mailto:daniel.watr...@gmail.com]
   Sent: donderdag 5 januari 2012 19:35
   To: users@wicket.apache.org
   Subject: Re: Wicket on Google App Engine
  
   Thanks for all your help. I've just posted the steps required to
 get
   current versions of wicket and gae to work together.
  
  
  
 
 http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine
  
   Daniel
  
   On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo Barreiro 
   ernesto.reina...@jweekend.com wrote:
I think the class to use is
   
   
 
 http://code.google.com/p/kickat26/source/browse/trunk/src/de/kickat26/
ui/wicket/GAEModificationWatcher.java
   
   
   
On Thu, Jan 5, 2012 at 8:31 AM, Ernesto Reinaldo Barreiro 
ernesto.reina...@jweekend.com wrote:
   
You could use a modified version of resource watcher that does
 not
use threads and modify request cycle so that watcher is executed
before each request cycle. I remember there was some blog
 somewhere
explaining this technique... Maybe it was this...
   
   
   
  http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-go
ogle-app-engine.html
   
   
   
On Wed, Jan 4, 2012 at 11:18 PM, Daniel Watrous 
   daniel.watr...@gmail.comwrote:
   
I tried putting in this:
   
 getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
   
But the resource still doesn't update without restarting the
 google
app engine environment. I just tried it by running Start and
 that no
longer updates automatically either.
   
In the process of trying to make it work with GAE, I changed
 the
pom.xml to have these lines in the build section
   directorysrc/main/webapp/WEB-INF/directory
   
   
  outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory
   
That means files are no longer placed in the target directory,
 but
in the WEB-INF folder. Could this affect it? Have I missed
 another
setting somewhere that relates to changing where the compiled
classes are placed?
   
Daniel
   
On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net
 wrote:
 Read here:

https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment

 The relevant setting is:
getResourceSettings().setResourcePollFrequency(duration);

 Sven


 On 01/04/2012 10:31 PM, Daniel Watrous wrote:

 Great. I now have it working with either the jar download
 or the
 dependency in the pom.xml file. In the dependency xml
 snippet I
 didn't realize that I needed to manually provide the
 version, but
 after I did then it worked fine.

 Whenever I update a class and save it in Eclipse, that
 class is
 updated in the running server and I don't have to restart
 to see
 the changes. This is great.

 However, when I change an HTML page, it's not updated in the
 running server, so I have to restart everything. I know
 that when
 I run a quickstart app directly (using the Start class) that
 updates to the HTML are updated without requiring a restart.

 Do you know how to make it so the HTML files are 

Re: hebrew text looks like ×׳—׳‘׳¨׳•

2012-01-06 Thread armhold
I went though this pain a few months ago too. Here are all the places I had
to hit:

1. In your HTML files:

?xml version=1.0 encoding=UTF-8? 

And also in your head:

meta http-equiv=Content-Type content=text/html; charset=UTF-8

2. For property files, if you use i18n you will need to use the foo.xml
format rather than foo.properties, and also include the above ?xml
version=1.0 encoding=UTF-8? in each of them.

3. In your WicketApplication.java:

// wicket 1.4; perhaps different in 1.5
getRequestCycleSettings().setResponseRequestEncoding(UTF-8);
getMarkupSettings().setDefaultMarkupEncoding(UTF-8);

4. In your pom.xml (to cover any copied resources):

properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
/properties

5. Finally, in Intellij: 

File - Preferences - File Encodings - IDE Encoding: UTF-8.


What made this frustrating is that it always seemed to render fine with the
embedded Jetty, but not with Tomcat (so things would always look great
locally, but fall apart in production). 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/hebrew-text-looks-like-tp4260875p4271694.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