Re: HybridURLCodingStrategies vs others

2008-02-04 Thread mfs
Actually my last post was in context of BookmarkableURLCodingStrategy which doesnt preserve the url once any action on that page is called, my argument is why not, i mean if the pageid is there with those actions (i.e. links/button) why cant the same page be shown and offcourse on top of why cant

Re: HybridURLCodingStrategies vs others

2008-02-04 Thread Johan Compagner
i am not sure what you are trying to say but it looks like you are exactly describing how wicket already works from day 1. The pageid in normal links are ofcourse used to lookup the page and call the listener and if you don't set a different response page that page is used also for rendering.

Re: Short Design Question

2008-02-04 Thread Martijn Dashorst
The average joe doesn't look at the URL... only developers do Martijn On 2/3/08, oliverw [EMAIL PROTECTED] wrote: The point is that plain wicket urls might look at bit scary to average joe that's why I would like to have pretty urls everywhere. However Johan was correct that the page cannot

Re: A submit link that can be used with span wicket:id

2008-02-04 Thread dvd
That is what I meant. If wicket comes with such a commonly used component, it would save a lot of time for both users and authors having to exlain everytime needing this. And perhaps there is not one yet because it is not easy to come up with a good abstraction of such a component that would

Re: HybridURLCodingStrategies vs others

2008-02-04 Thread Johan Compagner
because that link is by default not stateless If you use stateless links then that should happen (a combination of bookmarkable and instance) And not all pages can be bookmarkable, they have to have a default or pageparam constructor. Hybrid is a very special one. That is not just a Bookmarkble

Re: Short Design Question

2008-02-04 Thread Johan Compagner
+1 On Feb 4, 2008 10:05 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: The average joe doesn't look at the URL... only developers do Martijn On 2/3/08, oliverw [EMAIL PROTECTED] wrote: The point is that plain wicket urls might look at bit scary to average joe that's why I would like

Re: Short Design Question

2008-02-04 Thread Johan Compagner
i am always really scared as a user when looking at the gmail urls yes i almost run away screaming .. But i do like the app itself so i guess i will try to be a big boy and not be scared. johan On Feb 3, 2008 6:13 PM, oliverw [EMAIL PROTECTED] wrote: The point is that plain wicket urls

Re: 2 process cant together in a same time - modal window and form in the same page constructor?

2008-02-04 Thread kenixwong
thx for reply, johan yes..you r right, when i click a link, I want redirect to a load a page and then at the same time, a modal dialog is show immediately... my current testing here is... the modal window component is call at the parent class and then the report form is call at child class.

Re: 2 process cant together in a same time - modal window and form in the same page constructor?

2008-02-04 Thread Johan Compagner
What is that ReportPage is that the page that also loads the modal dialog? And that page is taken a long time to load? Because it generates things? But for the modal dialog to work, the report page (if that is the modal dialogs parent) must first be fully loaded there is no other way. I stil

AjaxLink, BookmarkablePageLink and feedback problem

2008-02-04 Thread Vatroslav
I have noticed very strange behaviour of feedback messages when using AjaxLink and BookmarkablePageLink on the same page. Code example is attached to the message. http://www.nabble.com/file/p15269007/Feedback_example.txt Feedback_example.txt How to reproduce it.. 1st Case (working) a)

Reloading resource

2008-02-04 Thread gantini
I'm very new with Wicket. It is possible to automatically reload resource (class and HTML file) ? I've set: @Override protected void init() { getResourceSettings().setResourcePollFrequency( Duration.ONE_SECOND ); } but this don't work for me. Thanks. --

Wicket Maven JARs Compiled with Java 6?

2008-02-04 Thread Nick Heudecker
Hi, I'm getting a number of class not valid errors when my IDE is trying to autocomplete imports. Typically this error occurs when I encounter JARs compiled with Java 6, while I'm on Java 5. Can the JARs be compiled with Java 5, or can multiple versions be made available? Thanks. -Nick

Re: How to delete an item from List view.

2008-02-04 Thread Johan Compagner
You do use a delete button, so i guess the values are submitted. Then if you store those first in the model objects you won't loose anything johan On Feb 4, 2008 2:35 PM, pnerkar [EMAIL PROTECTED] wrote: Hi Johan, Yes that will be quickest solution , But this will clear the fields of all

Re: wicketstuff rome and mounting resources

2008-02-04 Thread Michael Sparer
Hi Johan, thanks for the quick reply and your suggestions, yepp you're right especially by saying that's a dangerous thing ... watching superbowl sunday in europe definitely had an impact on my programming skills today (yes I'm looking for an excuse for that error in reasoning :-)) regards

Re: wicketstuff rome and mounting resources

2008-02-04 Thread Johan Compagner
what you do there seems dangerous to me especially the line: protected Resource newResource() { return new UserFeedResource(currentUser); } currentUser?? Is that the session specific thing? that looks a bit weird because if

Re: Challenge: write something really sleek for Facebook?

2008-02-04 Thread Jeremy Levy
We have been thinking about this a little bit as well... It broke down into two parts: Making FaceBook Wicket components that represent and render the corresponding FBML. Integrating the wicket session with facebooks session. It seemed like to us that the calls from facebook across multiple

Re: User authentication

2008-02-04 Thread Martin Makundi
Hi! Have a look at Pro Wicket book: http://books.google.com/books?id=bA8yTZIZQCsChl=fi It has a nice tutorial on authentication. Furthermore, look at swarm and wicket auth: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security ** Martin 2008/2/4, Jukka Aittokallio [EMAIL

Re: How to delete an item from List view.

2008-02-04 Thread Eelco Hillenius
On Feb 4, 2008 3:45 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: On 2/3/08, Eelco Hillenius [EMAIL PROTECTED] wrote: How about a reconsideration of depreciating ListView? -1 If anytime someone comes along with a misunderstanding of a valid component we don't have a framework left: -

Re: Wicket Maven JARs Compiled with Java 6?

2008-02-04 Thread Martijn Dashorst
Yep, only the jar is created with Java 5, but that doesn't affect the usability with older Java versions. (this is done because of Maven's inability to not modify jars when they have been generated and signed already) Martijn On 2/4/08, Frank Bille [EMAIL PROTECTED] wrote: Hi, I'm not

Re: 2 process cant together in a same time - modal window and form in the same page constructor?

2008-02-04 Thread kenixwong
hi, johan... what i mean is.. based on the example below: - a) Parent Page === public ParentPage() extends WebPage{ Link reportLink = new Link(link, new Model()){ @Override public void onClick() { setResponsePage(ReportPage.class); } };

Re: How to delete an item from List view.

2008-02-04 Thread Johan Compagner
wasn't the quickest solution: public void onSubmit() { List vehicles = (List) getParent().getParent().getModelObject(); vehicles.remove(index); listView.removeAll(); } Then if the list itself is stable on the server side (if other persons can also delete or add stuff to that

Re: Ajax Feedback Problem in 1.3

2008-02-04 Thread SantiagoA
Hi again, I made a little example project with eclipse where you could take a look at the problem, because maybe my english is not good enough to explain right. Is there a possibility that I can send you the example as a zip-file? I made to little examples, one running with the 1.3.0 final

Re: 2 process cant together in a same time - modal window and form in the same page constructor?

2008-02-04 Thread Johan Compagner
what do you exactly want? you want a modal dialog to show immedianlty when another page is loaded? I think you have to dig into the javascript portion of modal window then (or matej can tell you a bit more) first of all the page below it has to load first completely because that does contain the

Re: How to delete an item from List view.

2008-02-04 Thread Martijn Dashorst
On 2/3/08, Eelco Hillenius [EMAIL PROTECTED] wrote: How about a reconsideration of depreciating ListView? -1 If anytime someone comes along with a misunderstanding of a valid component we don't have a framework left: - models - drop down choice - urls - mounting All those things can be

wicketstuff rome and mounting resources

2008-02-04 Thread Michael Sparer
Hi, I'm using wicketstuff-rome to create and add RSS feeds to certain pages of my webapplication. The problem I'm now facing is that the feeds do not have nice URLs as they're in the format e.g. http://www.foo.bar/resources/org.apache.wicket.Application/myFeed. It would be much better to just

User authentication

2008-02-04 Thread Jukka Aittokallio
Hello, I am new to wicket framework. What would be a good place to place user authentication? I am creating a website where the session must be protected by username, password authentication. I was thinking of creating a base class (derived from the WebPage) in which I redirect the browser to

Re: AjaxLink, BookmarkablePageLink and feedback problem

2008-02-04 Thread Igor Vaynberg
please file a jira issue with a quickstart -igor On Feb 4, 2008 7:41 AM, Vatroslav [EMAIL PROTECTED] wrote: I have noticed very strange behaviour of feedback messages when using AjaxLink and BookmarkablePageLink on the same page. Code example is attached to the message.

Re: Wicket Maven JARs Compiled with Java 6?

2008-02-04 Thread Nick Heudecker
Looks like both 1.3.0 and 1.3.1 were both built with Java 5. Not sure what the problem was, but upgrading to 1.3.1 fixed it. On Feb 4, 2008 9:05 AM, Nick Heudecker [EMAIL PROTECTED] wrote: Hi, I'm getting a number of class not valid errors when my IDE is trying to autocomplete imports.

onComponentTag vs AttributeModifier

2008-02-04 Thread Fernando Wermus
Hi all, I have a combobox which is available when a checkbox is clicked. I try to implement this behavior using AttributeModifier class and onComponent tag method. The first one I failed to get the behavior working and the second one I succeed. Using AttributeModifier renders well the

Re: How to delete an item from List view.

2008-02-04 Thread pnerkar
Hi Johan, Yes that will be quickest solution , But this will clear the fields of all vehicles. -Pnerkar Johan Compagner wrote: wasn't the quickest solution: public void onSubmit() { List vehicles = (List) getParent().getParent().getModelObject(); vehicles.remove(index);

Re: anyone in pune want to represent?

2008-02-04 Thread karthik Guru
There are at least 2 companies for sure that work on wicket in pune, India. I met them while at a conference there a few months back. I think I have their email - I will put a word from my side as well for sure. - Karthik On Feb 4, 2008 1:32 AM, Jonathan Locke [EMAIL PROTECTED] wrote: i saw

Re: Wicket Maven JARs Compiled with Java 6?

2008-02-04 Thread Nick Heudecker
Thanks for the info. I'm not sure what the problem was, but upgrading fixed it. On Feb 4, 2008 9:38 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Yep, only the jar is created with Java 5, but that doesn't affect the usability with older Java versions. (this is done because of Maven's

Session Expiration. UnauthorizedComponentInstantiationException. PageExpiredException. IllegalStateException. Ajax and Bookmarkable links.

2008-02-04 Thread Matt Smith
A co-worker and I are looking into how to provide a consistent handling of session expiration with an AuthenticatedWebApplication. If a session expires, ideally, we'd like to provide a consistent behavior of redirecting to a login page with a helpful message (i.e. - Your session expired, please

Re: Using IInitializer and wicket.properties with Databinder

2008-02-04 Thread Johan Compagner
yes init is called before i do see this: // Call internal init method of web application for default // initialization webApplication.internalInit(); // Call init method of web application webApplication.init(); // We initialize components here rather than in the constructor or // in the

Re: adding conditional component

2008-02-04 Thread Janos Cserep
How do you guys implement a link that is conditional? Like for example the link only shows if a given data is provided. Adding the a-tag in the Markup will coz an error if the condition is not met, because AjaxLink is not added. I usually handle such a situation by overriding the

The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Fernando Wermus
Hi all! I got this error message from Eclipse when I download DataPicker library and append the following line to the code, DateTextField bornDate=new DateTextField(player); bornDate.add(new DatePicker()); It seems to be a problem with Eclipse according to google, instead

adding conditional component

2008-02-04 Thread Beyonder Unknown
Hi all, How do you guys implement a link that is conditional? Like for example the link only shows if a given data is provided. Adding the a-tag in the Markup will coz an error if the condition is not met, because AjaxLink is not added. Thanks! Wen Tong -- The only constant in life is

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Martijn Dashorst
Read about models [1], and make sure you have attached a model to your date field. Martijn [1] Working with Wicket modelshttp://cwiki.apache.org/WICKET/working-with-wicket-models.html On 2/4/08, Fernando Wermus [EMAIL PROTECTED] wrote: Hi all! I got this error message from Eclipse

Re: Wicket menus?

2008-02-04 Thread Edvin Syse
That's purely a css issue, most menues are laid out using an ul and styled accordingly these days :) -- Edvin On 4. feb.. 2008, at 23.18, davout [EMAIL PROTECTED] wrote: Are there any demos to show how Wicket supports vertically orientated menus? -- View this message in context:

RE: Challenge: write something really sleek for Facebook?

2008-02-04 Thread Dan Kaplan
As I understand facebook apps more, I see that this separation is distinct. That being said, I don't understand your last paragraph. I think I already accomplished that with the wiki post. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Levy Sent:

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Martin Funk
As I don't have a percise answer I can only come up with some trivia you already might have thought of. If you project is 'mavenized' a mvn eclipse:clean eclipse:eclipse might help. Other than that, a 'clean build' in eclipse. Martin 2008/2/4, Fernando Wermus [EMAIL PROTECTED]: Hi all!

Wicket menus?

2008-02-04 Thread davout
Are there any demos to show how Wicket supports vertically orientated menus? -- View this message in context: http://www.nabble.com/Wicket-menus--tp15278751p15278751.html Sent from the Wicket - User mailing list archive at Nabble.com.

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

2008-02-04 Thread Martijn Dashorst
You mean the 1.3.0-snapshot dirs? If so, then yes. Martijn On 2/2/08, Johan Compagner [EMAIL PROTECTED] wrote: it works now all the poms where changed to 1.3 instead of 1.3.0 so the shell script still copied the wrong one. can i delete all the 1.3.0 dirs?? johan On Feb 2, 2008 3:36

Re: inmethod grid links?

2008-02-04 Thread Matej Knopp
Hi, that would be a bug, are you using latest svn version? -Matej On Feb 5, 2008 12:16 AM, Ryan McKinley [EMAIL PROTECTED] wrote: I'm trying to add a href=... links withing the inmethod grid component. Clicking on the link does not do anything -- i think this is becasue the row onclick

Delaying AutoCompleteTextField by n characters?

2008-02-04 Thread Michael Mehrle
What is the preferred way of delaying the Javascript call to getChoices() until a certain amount of characters have been types in? I guess I could just put in some kind of if condition that checks the input string's length, but I was wondering if there's a more elegant way of doing this. Thanks!

wicket:link with images supported?

2008-02-04 Thread oliverw
Is a construct like this supported: wicket:link Page1.html /img/Page1.gif /wicket:link I'm asking because I'm getting really strange results when using it. Initially everything looks ok but after hitting the backbutton, the image is suddenly in the page history as if it was a stand-alone

Re: inmethod grid links?

2008-02-04 Thread Ryan McKinley
yes, latest from svn mvn clean install thanks ryan Matej Knopp wrote: Hi, that would be a bug, are you using latest svn version? -Matej On Feb 5, 2008 12:16 AM, Ryan McKinley [EMAIL PROTECTED] wrote: I'm trying to add a href=... links withing the inmethod grid component. Clicking on the

Re: How to delete an item from List view.

2008-02-04 Thread Igor Vaynberg
you lose values that werent validated if you do that, because those are stored in components themselves... -igor On Feb 4, 2008 6:15 AM, Johan Compagner [EMAIL PROTECTED] wrote: You do use a delete button, so i guess the values are submitted. Then if you store those first in the model objects

strange DropDownChoice display

2008-02-04 Thread dvd
Hello: I am using two dropdownchoices, after the first select, the second would get data  on the fly using the first choice. The first round everything is fine with both displaying Choose One  and selecting the first one set the correct second one list of choice with Choose One still displaying

Re: strange DropDownChoice display

2008-02-04 Thread Igor Vaynberg
whe the first is submitted you have to set the second one's model object to null -igor On Feb 4, 2008 4:59 PM, [EMAIL PROTECTED] wrote: Hello: I am using two dropdownchoices, after the first select, the second would get data on the fly using the first choice. The first round everything is

Re: Wicket menus?

2008-02-04 Thread Martin Makundi
For more on modern layout, see http://www.hotdesign.com/seybold/everything.html ** Martin 2008/2/4, Edvin Syse [EMAIL PROTECTED]: That's purely a css issue, most menues are laid out using an ul and styled accordingly these days :) -- Edvin On 4. feb.. 2008, at 23.18, davout [EMAIL

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Fernando Wermus
Some people agree on that the problem is because of dependences and my proyect is not 'mavenized'. However, I looked at /lib in the downloaded zip file and I have all the dependences except wicket 1.2.3 (I am using 1.3). The only two are, commons-logging-1.0.4 and log4j-1.2.13 Any other

Re: onComponentTag vs AttributeModifier

2008-02-04 Thread Timo Rantalaiho
On Mon, 04 Feb 2008, Fernando Wermus wrote: I have a combobox which is available when a checkbox is clicked. I try to implement this behavior using AttributeModifier class and onComponent tag method. The first one I failed to get the behavior working and the second one I succeed.

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Timo Rantalaiho
On Tue, 05 Feb 2008, Fernando Wermus wrote: Some people agree on that the problem is because of dependences and my proyect is not 'mavenized'. However, I looked at /lib in the downloaded zip file and I have all the dependences except wicket 1.2.3 (I am using 1.3). Are you using some library

Re: strange DropDownChoice display

2008-02-04 Thread dvd
The following is the code sample class webpage String secondchoiceSelected; } new Firstdropdownchoice( ){ onSelectionChange{ secondchoiceSelected = null; } I did set to null. This issue is that the displayed value is the first item of the new list, instead of Choose

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Fernando Wermus
Martjin, I've attached it. I got the problem when I add the DataPicker to the DateTextField; without the DataPicker, it works. Fernando. On Feb 4, 2008 6:15 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Read about models [1], and make sure you have attached a model to your date field.

Wicket Phone Book example

2008-02-04 Thread Omair Aasim
Hello, I'm pretty new to wicket and tried out the phonebook example by downloading the war file and deployed it on tomcat and it worked fine. Later i downloaded the source code and without making any modifications, compiled it using Maven, created the war file and deployed it again. But this new

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Igor Vaynberg
datepicker is in wicket-datetime.jar -igor On Feb 4, 2008 7:44 PM, Fernando Wermus [EMAIL PROTECTED] wrote: Timo, Thanks! It is obvious. But I am trying to find the zip file with DataPicker for wicket 1.3 and I can't find it. I am not mavenized! On Feb 5, 2008 1:28 AM, Timo

Re: strange DropDownChoice display

2008-02-04 Thread Igor Vaynberg
but it is not just like it was after it has been created is it? it is currently holding a value from the request. anywho: secondchoiceSelected=null; secondchoicedropdownchoice.clearInput(); and you will have what you want. -igor On Feb 4, 2008 7:36 PM, [EMAIL PROTECTED] wrote: The following

Why has my page expired?

2008-02-04 Thread Sri Sankaran
Wicket Version: 1.3 OK, I'll admit to having a tenuous grasp of Wicket -- but I am trying to learn. I am having trouble with a pages having a very short half life! I have looked at several prior postings on the topic of page expiry but none seem fit the bill. I have boiled my application down

Re: adding conditional component

2008-02-04 Thread Beyonder Unknown
I see. Thanks Igor! -- The only constant in life is change. - Original Message From: Igor Vaynberg [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, February 4, 2008 5:01:31 PM Subject: Re: adding conditional component when a component is not visible its markup

Re: Why has my page expired?

2008-02-04 Thread Igor Vaynberg
i dont think the page actually expires, i think wicket cant find it anymore. are the cookies enabled in the browser? how are you deploying your app? show us the code to the link. show us your web.xml -igor On Feb 4, 2008 8:53 PM, Sri Sankaran [EMAIL PROTECTED] wrote: Wicket Version: 1.3

Re: 2 process cant together in a same time - modal window and form in the same page constructor?

2008-02-04 Thread kenixwong
thanks johan , i make a summary here 1. report link an ajax link. == add a reportAjaxLink to the parentPage ajaxLink = new AjaxLink(cancelReportLink){ public void onClick(AjaxRequestTarget target) { if (stopThread ==

Re: DatePicker Problem

2008-02-04 Thread Igor Vaynberg
you have an old version of wicket.jar, looks like wicket-datetime jar you are using was compiled against a newer verison of wicket you could just use maven to manage all these dependencies, that way you dont run into crap like this. our website will even generate the maven command line to crate a

DatePicker Problem

2008-02-04 Thread tsuresh
Hello, I tried to run the java dates example(with DatePicker) as provided in the examples of wicket 1.3. I am using netbeans . I just copied the code. When I run the program I get the following error. javax.servlet.ServletException: Servlet execution threw an exception

Re: Wicket Phone Book example

2008-02-04 Thread Martijn Dashorst
I think you need to remove servlet-api and jetty-* jars from the war/web-inf/lib folder Martijn On 2/5/08, Omair Aasim [EMAIL PROTECTED] wrote: Hello, I'm pretty new to wicket and tried out the phonebook example by downloading the war file and deployed it on tomcat and it worked fine.

Re: onComponentTag vs AttributeModifier

2008-02-04 Thread Martijn Dashorst
On 2/5/08, Timo Rantalaiho [EMAIL PROTECTED] wrote: Some code would be helpful, otherwise we have to get our crystal balls out of the closet :) Tsss... crystal balls in my time we used tea leaves! Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0 is

Re: How to delete an item from List view.

2008-02-04 Thread Nino Saturnino Martinez Vazquez Wael
I've come to love listview, and use it all the time. Would be sad to see it go away.. Sure there are somethinges you need to be aware of when working with it but thats just life... -1 Eelco Hillenius wrote: On Feb 4, 2008 3:45 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: On 2/3/08,