Hi,
I freshly checked out the phonebook example from svn.
But I have 2 problems.
1. I have to add the following dep:
dependency
groupIdorg.springframework/groupId
artifactIdspring/artifactId
version2.0.8/version
/dependency
Otherwise it wouldn't find some
Dear fellow wicketers!
I am now new to wicket and would like to say: wow + thanks for this
great framework!
I never see such a good separation of view and code. and making a small
solr+wicket example working was really fun (like in good old desktop eras).
Now I have the following questions:
Dear Jeremy,
thanks for your prompt response!
WicketStuff - see http://www.texashuntfish.com/app/calendar to see an
example. The WS code also has an example app.
I found this one:
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-calendar/
Is this what you mean? I
Hi Nino,
hmmh I studied the link a lot but I couldn't find a link or
a source snippet to see how this calendar view might be created.
I only see monthly views of the yui calendar. Do you mean this can be
changed to a week-view?
Would you mind helping me again here?
Regards,
Peter.
Hi Peter
Hi Nino, hi Reinout!
hmm I have something here aswell:
http://wheresmyevent.com/search
if you click one of the little date icons it's month displayed in
days, is this not what you are looking for ?
Not really :-) I do not look for a datepicker ... I thought more of a panel
where the
Thanks a lot Nino!
Sth. like that! And MIT license. Great!
Regards,
Peter.
If you need something like that, I'd consider rolling an integration
towards this
http://www.bloggingdeveloper.com/post/jQuery-Week-Calendar-An-Easy-to-Implement-Google-Calendar-like-jQuery-Calendar-Plugin.aspx
and if
Hi,
now I blogged about this stuff recently:
http://karussell.wordpress.com/2010/01/18/crud-with-wicket-guice-db4o-neodatis/
Comments and requests of reformulations are welcome ;-) !
Question 1. is fixed ... maybe someone could point me to a solution of 2.?
Regards,
Peter.
Hi,
Thanks to
Hi!
But it looks like this Eclipse plugin is not actively developed? Is it
time to buy an IDEA license where there seems to be a quite nice
toolset for Wicket?
I downloaded the open source version of IntelliJ and the wicket plugin
seems to work.
There is also a wicket plugin for NetBeans,
Why not using the default configuration of the wicket archetype
and let the htmls under main/java ? (configuration over convention ;-))
Then at least in IntelliJ and NetBeans the switch html--java works fine.
Regards,
Peter.
Agree with Huake Ingmar. The functionality doesn't overlap at all.
Hi,
for me the main disadvantage of click is that it uses velocity instead
pure html.
Then click has probably less publicity/mailing support and less components.
An advantage could be that cayenne is supported as a default persistent
solution.
Search for wicket vs click or sth. like (was
For code see the resources here (the example with db4o):
http://karussell.wordpress.com/2010/01/18/crud-with-wicket-guice-db4o-neodatis/
Peter.
--
Free your timetabling!
http://timefinder.sourceforge.net/
-
To unsubscribe,
Hi,
I would like to fire an ajax event every time the user changes the
selection of the choices
e.g. he switches from 'wiki' to 'wicket' with keys or mouse
Which function is necessary to fire such an event on the client side?
I never did sth. similar to this and tried (without success + a long
9, 2010 at 12:00 PM, Peter Karich peat...@yahoo.de wrote:
Hi,
I would like to fire an ajax event every time the user changes the
selection of the choices
e.g. he switches from 'wiki' to 'wicket' with keys or mouse
Which function is necessary to fire such an event on the client side?
I
). Each time this function is called you'll have to
make your Ajax call.
Good luck!
On Thu, Sep 9, 2010 at 1:07 PM, Peter Karich peat...@yahoo.de wrote:
Hi Pieter,
thanks for your quick response! And sorry, I didn't mention that I am using
how to process the xml response
returned by AjaxRequestTarget.
On Thu, Sep 9, 2010 at 5:54 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin,
your instructions helped a lot! Now I can send an ajax request via * and
recieve the request via **
But the problem is that the javascript
Hi,
two questions:
1. If I do the following all url parameters will be replaced with
?wicket:interface=:6:1:::
e.g. in the main wicket application class I do:
mount(new MixedParamUrlCodingStrategy(search, HomePage.class, new
String[]{q}));
in HomePage.java i do without ajax:
add(new
Hi Martin!
The answer here is to use HybridUCS. It preserves the 'nice' url.
Or use Wicket 1.5 (M2.1). There the URL handling is much easier.
did you mean this one:
http://svn.apache.org/repos/asf/wicket/branches/wicket-1.5-M2/
are there any major problems with that version?
(this, Guice.createInjector(new
DefaultModule(;
I found the migration guide but could not solve the problems above
https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5
Regards,
Peter.
On Thu, Sep 16, 2010 at 4:05 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin!
The answer
Hi Martin!
Thanks Martin for your time and help!
The problem with M2.1 is that some functionality is missing/hidden:
E.g. I need
getWebRequestCycle().getWebRequest()
to guess the user language and set some caching stuff to workaround an
ajax+backbutton problem in 1.4.9.
In
);
if(sv != null) {
String str = sv.toString()
if(!str.isEmpty()) { // using str...
}
}
Can I avoid that?
Regards,
Peter.
On Thu, Sep 16, 2010 at 9:11 PM, Peter Karich peat...@yahoo.de wrote:
Thanks Martin for your time and help!
The problem with M2.1 is that some
Hi Martin!
Martin,
thanks for the support in the tickets btw :-)
We thank you for testing the framework and blogging about it! ;-)
;-)
Interesting.
How exactly looks the URL for such request?
E.g. try it with the quickstart at:
https://issues.apache.org/jira/browse/WICKET-3053
You could abstract the datastore in the stack using JDO/DataNucleus. It
supports DB40. In fact as it also supports RDBMS you could easily create
a datastore agnostic Wicket/Scala stack - that would be most awesome!
Just as a side note:
there is/was an mini example with warp persist which
I had the same problem ...
Take a look at
http://www.richardnichols.net/2010/03/apache-wicket-force-page-reload-to-fix-ajax-back/
isn't there a better fix? E.g. it seems to me that this 'hack' avoids
client-side js caching (or is this a wrong observation)?
Regards,
Peter.
--
Hi,
this worked for me:
WebResource export = new WebResource() {
@Override
public IResourceStream getResourceStream() {
return new StringResourceStream(getTweetsAsString(), text/plain);
}
@Override
protected void setHeaders(WebResponse response) {
Hi James,
In the constructImageMap you whill have to pass a model as well, but I'm
not sure how :-(
Another way would be to adapt constructImageMap to updateImageMap
so that you can call it in ChartImage.createBufferedImage (or every time
the model updates)
BTW: For jetwick I used an html
and it looks cool. ;-)
Do you use JFreeChart to create those charts?
I'm willing to try that option as well. Kindly blog about it!
Thanks once again for taking your time to reply.
On Thu, Sep 30, 2010 at 7:27 PM, Peter Karich peat...@yahoo.de
wrote:
Hi James
Hi James!
I checked jetwick and it looks cool. ;-)
hey, thanks ;-)
Do you use JFreeChart to create those charts?
initially I did. But now only that tiny bar image is stolen from
jfreechart :-)
http://jetwick.com/img/bar-min.png
the rest is created via divs and css and a bit java
Jetwick is now available under the Apache 2 license:
http://www.pannous.info/2010/11/jetwick-is-now-open-source/
Regards,
Peter.
PS:
features http://www.pannous.info/products/jetwick-twitter-search/
installation https://github.com/karussell/Jetwick/wiki
for devs
Hi,
I am playing with the progressbar* but wonder where I can grab the
sources for 1.4?
this leads to an exception:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-progressbar/
Regards,
Peter.
*
See differences (only) with the following snippet which assumes the
correct/original properties in messages.properties ('englisch').
It will create a property file for the missing keys for 'de' (german)
and shows which original keys are unused
public static void main(String[] args) throws
Hi,
do you know of any examples for wicket which uses twitter's oAuth?
In my app I can easily login and use the twitter api,
but I'm kind of stuck how to avoid that the user needs to login every
time after the session expires.
Any other hints, links or best practices?
Kind regards,
Peter.
Igor,
there is token_secure. So storing it in clean text should be ok, right?
Or do I need to encrypt (or at leat base64ing) it?
Regards,
Peter.
store the token in a cookie and attempt to auto-reologin user based on it?
-igor
On Sat, Dec 4, 2010 at 11:51 AM, Peter Karichpeat...@yahoo.de
Hi Igor!
thanks! I will try it out. (I also think token is url safe)
BTW: I meant, there is also 'token_secure', not only 'token' in
twitter's oAuth (+ the app credentials).
So a hacker cannot easily guess the 'token' for the user and get a fake
login via modifying its cookie.
like it would
oh, but this would raise other questions :-)
e.g. how can I setup https with tomcat/wicket? Or do I need to setup
this with apache only?
Regards,
Peter.
you can mark the cookie as secure so it will only be transferred over https.
-igor
On Sat, Dec 4, 2010 at 12:56 PM, Peter
Hi,
I have some components and I'm wiring them together directly within a
300 lines init method in the HomePage class **
Now this method is 'a bit' lengthy and unreadable. How would you make it
more maintainable?
Regards,
Peter.
**
I always try to identify logical groups and delegate creation
of those to separat private methods. And use Panels for reusability.
Hans, the private method trick should do it although the HomePage is still
lenghty.
regarding the panels: I'm using a lot of them. But for instantiation I
Create components out of some of the groups of components that
logically belong together?
James, What do you mean here?
Basically...use Panels. As for the propagation of the events, you
could try using a more listenery approach, rather than doing the
abstract onClick() method, especially
Hi all,
sorry, maybe I didn't explain my problem very well. I am trying it again.
I am using exactly this stub-method approach for all my panels.
But in HomePage I am wiring all those panels together to use them.
I appended** an example, where the onTagClick method is overriden in
Am 08.12.2010 17:48, schrieb James Carman:
On Wed, Dec 8, 2010 at 11:41 AM, Jeremy Thomerson
jer...@wickettraining.com wrote:
So, to make that shorter, use the listener approach suggested
further up in the thread. Like:
Slight correction, it was the listenery approach. :)
yeah :-)
I
Check out the open source project jetwick where I am using Solr + Wicket:
https://github.com/karussell/Jetwick
(or at jetwick.com the video intro)
sql like is definitely not recommended for a large number of items.
Feel free to ask further questions ;-)
Regards,
Peter.
I want to add search
Am 20.12.2010 19:36, schrieb Jeremy Thomerson:
On Mon, Dec 20, 2010 at 10:45 AM, Frank Silbermann
frank.silberm...@fedex.com wrote:
I have a Wicket application at work that has been well-received by its
internal users. Because I am not much of a web programmer, and because it
is for
Hi,
when is a new session created?
If I am overwriting newSession I can see that wicket will call this
method twice for a fresh browser:
Restart completed at Tue Dec 28 20:22:57 CET 2010 // jetty log
2010-12-28 20:23:02,575 [3107...@qtp-7885469-4] INFO created new session!
2010-12-28
forgot: this is done in one request.
Martin, is your answer still valid :-) ?
Hi!
First time you don't have cookie, second time maybe cookie created...
**
Martin
2010/12/28 Peter Karich peat...@yahoo.de:
Hi,
when is a new session created?
If I am overwriting newSession I can see
I've implemented this here:
https://github.com/karussell/Jetwick/tree/master/src/main/java/de/jetwick/ui/util
- adapted wicket-autocomplete.js + MyAutoComplete*.java (via sv paramter)
try this at jetwick.com type 'andro' and now a selection e.g. 'android'
should trigger a search ...
If your
take a look at:
http://stackoverflow.com/questions/5373522/is-jrebel-ever-used-in-production-environments-what-can-it-reload-on-the-jvm
http://stackoverflow.com/questions/2844135/which-java-web-frameworks-provide-hot-reload
Regards,
Peter.
Hi,
How do you get fast deployment in development
Hi Martin,
I'm using the same technic in 1.4 to avoid exceptions with ajax +
backbutton(not sure if this is true for Ismael too):
* click on an ajax linkA, and click another one.
* hitting back button
* clicking again ajax linkA
* WicketRuntimeException: component
solution at
https://github.com/ivaynberg/wicket/tree/ajax-history. But this will have to
wait for Wicket 1.6+.
On Thu, Apr 21, 2011 at 2:52 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin,
I'm using the same technic in 1.4 to avoid exceptions with ajax +
backbutton(not sure if this is true
Hi there,
is it possible to grab the parameters (and the path) of the url and
redirect the
user automatically back to that page if he hits a session timeout?
At the moment I'm using in my app.init() method
getApplicationSettings().setPageExpiredErrorPage(SessionTimeout.class);
and
public
.
On Mon, Apr 25, 2011 at 4:51 AM, Peter Karich peat...@yahoo.de wrote:
Hi there,
is it possible to grab the parameters (and the path) of the url and
redirect the
user automatically back to that page if he hits a session timeout?
At the moment I'm using in my app.init() method
Why not doing this directly the wicket-way with PageParameters and your
own Session?
FBPage(PageParameters params) {
// do something with: params.getString(xy);
// construct a new MySession object within the WicketApp.init method:
// @Override Session newSession(Request request,
Could it be a result of the wicket version that am using?Because i have
cleared web container and i still get same message.Take a look at this.
[Application] Started Wicket version 1.4-rc1 in development mode
maybe 1.4-rc1 ist just too old? why not using at least a stable release?
Hi,
and effectively bind it to a real session
What do you mean with this?
I'm having exactly the same issue, that a new session is opened after
redirection
... but only for android devices (built-in browser+opera)!? For desktop
firefox it works.
The redirect-url looks in both cases similar
ok stupid question. seems to be nothing related to android or wicket ...
it was a jetwick.com vs. www.jetwick.com issue so good old apache is the
bad man ;)
Hi,
and effectively bind it to a real session
What do you mean with this?
I'm having exactly the same issue, that a new session is
Hi,
when I'm doing [1] in 1.4.17 in a quickstart then I'm getting nice urls
ala ?q=something e.g. for typing something in the textfield. The problem
is that it prints two GET requests (why not POST + GET?):
NOW: q = [todo] query=todo GET
NOW: query=null GET
In firebug I can see
Hi,
when I'm doing [1] in 1.4.17 in a quickstart then I'm getting nice urls
ala ?q=something e.g. for typing something in the textfield. The problem
is that it prints two GET requests (why not POST + GET?):
NOW: q = [todo] query=todo GET
NOW: query=null GET
In firebug I can see
Anybody?
Hi,
when I'm doing [1] in 1.4.17 in a quickstart then I'm getting nice urls
ala ?q=something e.g. for typing something in the textfield. The problem
is that it prints two GET requests (why not POST + GET?):
NOW: q = [todo] query=todo GET
NOW: query=null GET
In
Hi Martin,
thanks for the explanation!
Why is the first call done to submit my form?
Because my app is doing an 'expensive' search query for every
instantiation,
thus I would like to trigger the search only with the necessary
submitted query.
Can I somehow distinguish a request with an empty
Hi Martin,
I don't understand your question.
sorry :(
I try to explain it again :)
When I access my app with the url
http://localhost:8080/app/?q=test
all is fine. But when I submit a new query 'todo' then wicket somehow
1. calls the submit (ok)
2. redirects to HomePage (ok)
3. *but then
at 2:33 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin,
I don't understand your question.
sorry :(
I try to explain it again :)
When I access my app with the url
http://localhost:8080/app/?q=test
all is fine. But when I submit a new query 'todo' then wicket somehow
1. calls
add(new ListViewAllocation(allocation,
allocationListModel) {
shouldn't this be item.add ?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
Hi,
why not use the 'tutsplus' code which you like and bind the links to
bookmarkable pages?
You could also inject some variables (e.g. the urls) into javascript
from wicket:
private HeaderContributor contrib = new HeaderContributor(
new IHeaderContributor() {
@Override
public void
Am 15.06.2011 08:36, schrieb Zeldor:
Hi,
My last attempts to fix my session and advices here made me thinking if my
approach is good. So I'm curious - how do you handle users and their data?
In my case I have session, when user logs in entire entity gets loaded into
session. Later I get
But what are benefits of small session really? With entire user in session I
can skip getting data from db and serve data faster...
wicket's (de-)serialization is not done in 0ms ;)
but if that works for you then this strategy is great.
and also if you have a lot of users or big user data
Hi all,
because of the advice in
http://apache-wicket.1842946.n4.nabble.com/expires-header-td1866672.html
https://issues.apache.org/jira/browse/WICKET-1602
I used getResourceSettings().setDefaultCacheDuration(30 * 24 * 3600);
in my WebApplication. I also did some other hacking [1] to set the
at 6:08 PM, Peter Karich peat...@yahoo.de wrote:
Hi all,
because of the advice in
http://apache-wicket.1842946.n4.nabble.com/expires-header-td1866672.html
https://issues.apache.org/jira/browse/WICKET-1602
I used getResourceSettings().setDefaultCacheDuration(30 * 24 * 3600);
in my
?
Your [1] is about the page itself, not about the resources (.css, .js,
images, ...).
On Sun, Jul 10, 2011 at 6:08 PM, Peter Karich peat...@yahoo.de wrote:
Hi all,
because of the advice in
http://apache-wicket.1842946.n4.nabble.com/expires-header-td1866672.html
https://issues.apache.org
Am 11.07.2011 14:44, schrieb Martin Grigorov:
See what happens in
org.apache.wicket.markup.html.WebResource.setHeaders(WebResponse).
Then check the response headers for your resources.
I guess that your resources are located next to WEB-INF folder and are
delivered directly by the web
This is a bit mailinglist off topic but here are my suggestions ;)
Have a deep look into ElasticSearch:
http://www.elasticsearch.org/
Here is some code: wicket + guice + Elasticsearch:
http://karussell.wordpress.com/2011/02/07/get-started-with-elasticsearch/
I started with wicket and solr:
Am 27.07.2011 14:21, schrieb Peter Ertl:
You can put your resources in src/main/webapp but I would not recommend to do
so (they will work by using an absolute path with the correct web app
context) but it's quite ugly *imho*
no, you can just reference them via css/style.css eg. if you have
Thanks a lot wicketers! Wicket is a really great and smart piece of
software!
Regards,
Peter.
--
http://jetsli.de news reader for geeks
The Apache Wicket team is proud to announce the immediate availability of the
newest release of their component oriented open source Java web framework.
Hi,
I'm getting this error in the logs:
ERROR org.apache.wicket.RequestCycle - unable to find component with
path urltrends:urls:9:urlLink on stateless page [Page class =
de.jetwick.ui.slide.ChooseJetslideOrJetwick, id = 0, version = 0] it
could be that the component is inside a repeater make
Hi Andrea,
sorry, I forgot to mention that I tried it with 1.4.18
I'm using mount(new MixedParamUrlCodingStrategy(slide,
ChooseJetslideOrJetwick.class, new String[]{}));
because I'm using the same strategy for the page where this problem
occurs (the page which has the path
Hi,
I'm using it with wicket 1.4.18. Not sure if it works or exists for 1.5
For 1.4 this intro was useful (with my comment there):
http://it-essence.xs4all.nl/roller/technology/entry/rss_feeds_with_wicket_and
Regards,
Peter.
Is wicketstuff-rome still a usable package with recent Wicket
? I'm not seeing it in the regular
repositories.
Thanks!
Boris
On Oct 13, 2011, at 2:34 AM, Peter Karich wrote:
Hi,
I'm using it with wicket 1.4.18. Not sure if it works or exists for 1.5
For 1.4 this intro was useful (with my comment there):
http://it-essence.xs4all.nl/roller
74 matches
Mail list logo