Re: A web site developed with Wicket

2010-03-18 Thread voltron
Thank you for feedback. I used CSS positioning instead of tables, but it is real pain :) From: Daniel Toffetti dto...@yahoo.com.ar To: users@wicket.apache.org Sent: Thu, March 18, 2010 1:46:37 AM Subject: Re: A web site developed with Wicket voltron kocamane

RE: RE: Regarding TreeTable Horizontal Scrollbar

2010-03-18 Thread Vikash Shrivastava
Anyone knows how to get the TreeTable Horizontal Scrollbar? If possible share the code snippet. Regards Vikash -Original Message- From: Vikash Shrivastava [mailto:vikash.shrivast...@igate.com] Sent: Monday, March 15, 2010 7:26 PM To: users@wicket.apache.org Subject: RE: RE: Regarding

Re: A web site developed with Wicket

2010-03-18 Thread nino martinez wael
CSS are the way to do stuff, but usually IE smashes it somehow. My rule are to develop for firefox, patch for IE. And so far it's worked very well. However there are somethings that are really painfull todo with css. Like round corners, this is where I came up with wicketstuff artwork two

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
Unfortunately, the session expired page still opens in a modal window... Any further help will be appreciated. Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Wednesday, March 17, 2010 6:34 PM To: users@wicket.apache.org Subject: RE: Prevent

Re: Wicketstuff versioning

2010-03-18 Thread Martin Grigorov
Here is how I understand wicketstuff hosting: Someone makes something cool and decides to share it with the community. Then this person asks in the mailing lists for commit permissions. After that this person jumps into something else and don't have time to support the project. Later on I need

Re: Wicketstuff versioning

2010-03-18 Thread nino martinez wael
Exactly (I wrote something similar, but it apparently was declared spam:(). We could of course improve our structure as always, lifting the level a bit. As I see it wicketstuff are as ops4j, which brings advantages and disadvantages as well. -regards Nino 2010/3/18 Martin Grigorov

Re: HttpsRequestCycleProcessor not immediately redirecting to https

2010-03-18 Thread Gianni
Apologies, I now see it's exactly the same problem as described here: http://old.nabble.com/%40RequireHttps---forms-misbehaving-ts26845496.html I can reproduce this in a quickstart, I just want to check before creating a jira: - In my quickstart I'm calling setRedirect(true) within the form

wicket-contrib-javaee: @EJB injection - injecting always the same instance regardless of session

2010-03-18 Thread Christian Reiter
Hi! I've just started using the @EJB injection annotation from wicket-contrib-javaee. I use it to inject a Stateful Session Bean to keep track of my user session and do some stuff like authorization. I thought the @EJB annotation keeps track of my sessions and would inject a unique instance

Re: wicket-contrib-javaee: @EJB injection - injecting always the same instance regardless of session

2010-03-18 Thread Major Péter
Hi, At first thought, please try your code out with wicketstuff javaee-inject, but it will most likely behave just the same. You cannot store your bean in session, because AFAIK they're not serializable. Please rise an issue for this (also quickstart would be great), and I will look into it.

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
I have an idea: in my every modal dialog will put a listener that checks if session.isExpired() on user interaction with the modal window. Can someone tell me please what's the event fired when a user makes some action on a page, like clicking a link or a button. I want to listen for this.

Re: RE: RE: Regarding TreeTable Horizontal Scrollbar

2010-03-18 Thread Leo . Erlandsson
Anyone knows how to get the TreeTable Horizontal Scrollbar? If possible share the code snippet. Regards Vikash Didn't you find any CSS Examples using Google? This really is not a Wicket question, but a CSS question. However, I did a CSS Example for you. Is this what you're looking for

using IBehaviorListener

2010-03-18 Thread Martin Asenov
Hello, guys! I'm experiencing troubles with implementing IBehaviorListener on a ModalWindow. I want to detect every single user interaction with to components inside the modal window and the close button itself , as well. Would you give me some hints? Best, Martin

Re: A question about using Spring in Wicket 1.4

2010-03-18 Thread Gwyn Evans
Fixed the Javadoc in 1.4.x trunk. Thanks for reporting. /Gwyn On 11 March 2010 14:14, David Chang david_q_zh...@yahoo.com wrote: James, thanks for quick reply. I guess I am a little confused is that in the init method, I use addComponentInstantiationListener(new

Re: URL coding strategies

2010-03-18 Thread bgooren
You cannot have a seo-friendly url _and_ pass objects. If you want to pass an object to another page (say a Product), then you need to create a constructor on the target page which accepts a Product or an IModelProduct. You can then call setResponsePage( new TargetPage( product ) ); The upside is

V1.4 Decision

2010-03-18 Thread karmienm
Hi I have a general question, we are at the verge of starting a big, newish project, with potentially many developers on Wicket and we need to decide which version to base it on. The obvious choice is to choose v1.4.x (latest) but we need Enterprise type components (like Security) in the

Re: V1.4 Decision

2010-03-18 Thread Matthias Keller
Hi Karmien Wicket 1.3.X is not supported anymore as far as I know, so there will most probably be no more updates for it. Go for 1.4, it's been around for very long and most components are updated to 1.4 in a breeze (given that you have access to their source code). If no models are involved,

Tree with invisible Nodes

2010-03-18 Thread Martin U
Hi Folks, i've to implement a tree in which some node are exists under a parent node but they should not be visible to the user in browser at all. I tried to overwrite getChild from TreeNode. But it dont works for me. I need this node existens either they are not visible because the tree is my

Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
Hi, I am new in Wicket and am playing with different components. I have a two dropdown lists. One is a list of countries, required field, controlling another list of states/provinces via AjaxFormComponentUpdatingBehavior. The country list always has a blank (equivalent of Choose one) as the

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Matthias Keller
Hi Have a look at DropDownChoice.setNullValid() and .setRequired() Matt On 2010-03-18 14:26, David Chang wrote: Hi, I am new in Wicket and am playing with different components. I have a two dropdown lists. One is a list of countries, required field, controlling another list of

Make FeedbackPanel occupy zero space when having no messages?

2010-03-18 Thread David Chang
Hello, I am playing with FeedbackPanel. I put it in a page like this: div wicket:id=feedbackHolder / I notice that when having no messages, it always take up some space. How can I make FeedbackPanel occupy zero space when having no messages? Wicket way? or CSS? Any help is really

Re: Make FeedbackPanel occupy zero space when having no messages?

2010-03-18 Thread Matthias Keller
Hi Just create your own FeedbackPanel subclass and add: public boolean isVisible () { return anyMessage(); } Matt On 2010-03-18 14:32, David Chang wrote: Hello, I am playing with FeedbackPanel. I put it in a page like this: div wicket:id=feedbackHolder / I notice that when

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
Matt, I already did that. DropDownChoice.setNullValid() makes Choose one always stay there. I notice that DropDownChoice.setRequired() is the reason to generate the message and not get onUpdate called. Thanks. --- On Thu, 3/18/10, Matthias Keller matthias.kel...@ergon.ch wrote: From:

SV: Make FeedbackPanel occupy zero space when having no messages?

2010-03-18 Thread Wilhelmsen Tor Iver
How can I make FeedbackPanel occupy zero space when having no messages? Override isVisible() to test if there are any messages to show, and call setOutputMarkupPlaceholder(true); - Tor Iver - To unsubscribe, e-mail:

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Matthias Keller
Hi Yes, exactly, but why do you have it set to required at all in first place if you want to allow the empty selection too? I dont think a DropDownChoice is required by default but if it is, try setRequired(false) ... Matt On 2010-03-18 14:36, David Chang wrote: Matt, I already did that.

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
In my case, the field is required. I make it required by setRequired(true), but I want the blank/choose one is still there. Doable? --- On Thu, 3/18/10, Matthias Keller matthias.kel...@ergon.ch wrote: From: Matthias Keller matthias.kel...@ergon.ch Subject: Re: Select the Choose one of a

Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Jaime Soriano Pastor
Hello, I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using WicketServlet with applicationClassName parameter set to the main application class name: props.put(applicationClassName, MainApplication.class.getName());

RE: using IBehaviorListener

2010-03-18 Thread Martin Asenov
Please, any help?! Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, March 18, 2010 1:11 PM To: users@wicket.apache.org Subject: using IBehaviorListener Hello, guys! I'm experiencing troubles with implementing IBehaviorListener on a

Re: using IBehaviorListener

2010-03-18 Thread Fernando Wermus
Martin, You can have any container, such as a Panel, into de Modal Window. You can program as you have always done with Wicket. No need of IBehaviorListener. The close button has its corresponding programming design. Take a look at the modal window documentation in the web. On Thu, Mar 18,

Re: Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Fernando Wermus
Take a look at Antilia http://code.google.com/p/antilia/ On Thu, Mar 18, 2010 at 12:01 PM, Jaime Soriano Pastor jsorianopas...@gmail.com wrote: Hello, I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Martin Makundi
setNullValid 2010/3/18 David Chang david_q_zh...@yahoo.com: In my case, the field is required. I make it required by setRequired(true), but I want the blank/choose one is still there. Doable? --- On Thu, 3/18/10, Matthias Keller matthias.kel...@ergon.ch wrote: From: Matthias Keller

RE: using IBehaviorListener

2010-03-18 Thread Martin Asenov
Hi, Fernando! This is not my question... I was asking how could I know every time when the user interacts with the system. Best, Martin -Original Message- From: Fernando Wermus [mailto:fernando.wer...@gmail.com] Sent: Thursday, March 18, 2010 4:57 PM To: users@wicket.apache.org

Re: HttpsRequestCycleProcessor not immediately redirecting to https

2010-03-18 Thread Igor Vaynberg
why dont you continue this in the original thread. that way the knowledge will not be spread all over. -igor On Thu, Mar 18, 2010 at 1:29 AM, Gianni gdoe6...@yahoo.it wrote: Apologies, I now see it's exactly the same problem as described here:

Re: Tree with invisible Nodes

2010-03-18 Thread Igor Vaynberg
filter them in your TreeModel, it should work. you also have to override getChildCount() to return a count without filtered children, and adjust TreeModel#getIndexOfChild() to skip over the filtered children. -igor On Thu, Mar 18, 2010 at 6:19 AM, Martin U ufer.mar...@googlemail.com wrote: Hi

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
Martin, thanks for chimining in. I already did that. The problem is when I select null (choose one), AjaxFormComponentUpdatingBehavior#onUpdate is not called. Instead, Wicket generates a message and tries to seed it FeedbackPanel. I want to be able to handle that null and set another dropdown

Re: using IBehaviorListener

2010-03-18 Thread Igor Vaynberg
override requestcycle -igor On Thu, Mar 18, 2010 at 8:01 AM, Martin Asenov mase...@velti.com wrote: Hi, Fernando! This is not my question... I was asking how could I know every time when the user interacts with the system. Best, Martin -Original Message- From: Fernando Wermus

WicketTester and submiting form via ajax

2010-03-18 Thread Michał Letyński
Hi. Again topic with submiting form via ajax with FileUpload inside. Im submiting form via AjaxButton. For testing my panel im using: wicketTester.executeAjaxEvent(butooon, onclick) - i want to test some logic in onSubmit() and i get ServletRequest does not contain multipart content. One

Re: wicket-contrib-javaee: @EJB injection - injecting always the same instance regardless of session

2010-03-18 Thread Manfred Bergmann
Hi. AFAIK a Wicket user session and a EJB Session are separated. Meaning that the EJB container decides whether a new EJB instance needs to be created or not. However even if multiple Wicket sessions get the same EJB instance the EJB container will still ensure proper synchronisation and

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread Martin Makundi
Code? 2010/3/18 David Chang david_q_zh...@yahoo.com: Martin, thanks for chimining in. I already did that. The problem is when I select null (choose one), AjaxFormComponentUpdatingBehavior#onUpdate is not called. Instead, Wicket generates a message and tries to seed it FeedbackPanel. I want

Re: Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Jaime Soriano Pastor
Hi, On Thu, Mar 18, 2010 at 3:58 PM, Fernando Wermus fernando.wer...@gmail.com wrote: Take a look at Antilia http://code.google.com/p/antilia/ Thanks for the suggestion, Antilia seems to be a really interesting project, but it didn't solve my problem :( What I tried was to create a new

Analyzing HTML markup.

2010-03-18 Thread Sergey Olefir
Hi, is it possible to (easily) analyze HTML markup at runtime? More specifically I'm thinking about implementing a component that will examine its (or more realistically the markup of extending class) markup to determine whether or not particular wicket:id is present. Or, in other words, is it

Re: Analyzing HTML markup.

2010-03-18 Thread Igor Vaynberg
you can use IComponentResolver to achieve this. -igor On Thu, Mar 18, 2010 at 9:45 AM, Sergey Olefir solf.li...@gmail.com wrote: Hi, is it possible to (easily) analyze HTML markup at runtime? More specifically I'm thinking about implementing a component that will examine its (or more

Cookie, WebRequest and mount point

2010-03-18 Thread Daniele Dellafiore
Hi. During the login I set a cookie called login. It works but when I want to logout, getWebRequest().getCookie(login) does not found the cookie so it does not remove it. The user is redirected to the LoginPage where it still found the original cookie that auto login the client. Why? Because

Re: Cookie, WebRequest and mount point

2010-03-18 Thread Igor Vaynberg
always save your cookies using the / path -igor On Thu, Mar 18, 2010 at 10:14 AM, Daniele Dellafiore ilde...@gmail.com wrote: Hi. During the login I set a cookie called login. It works but when I want to logout, getWebRequest().getCookie(login) does  not found the cookie so it does not

Re: Wicketstuff versioning

2010-03-18 Thread Boris Goldowsky
Thank you for your thoughts Jeremy -- and your previous work on WicketStuff. I am certainly unhappy to hear that it felt like torture and that junk was being dumped on you rather than getting support from the community. I'd volunteer to put a bit of time into this, but I don't have time to be

Re: Cookie, WebRequest and mount point

2010-03-18 Thread Daniele Dellafiore
is what I have done, I ask my self if is fine. I have backported the IAuthenticationStrategy and CookieUtils from 1.5 and CookieUtils initialize the cookie with the path. I have hacked it and it works. I wonder if I will have any other problem in future. On Thu, Mar 18, 2010 at 6:34 PM, Igor

Re: TinyMCE components in WicketStuff

2010-03-18 Thread Igor Vaynberg
http://wicketstuff.org/maven/repository/jazzyplugin/jazzyplugin/0.5.2/ -igor On Tue, Mar 16, 2010 at 1:12 PM, Boris Goldowsky bgoldow...@cast.org wrote: Great.  Can someone with write access to the repository do this?  Or if i can do it via my SVN credentials, tell me how. Thanks! Bng

Re: Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Ernesto Reinaldo Barreiro
Hi, That's weird. Did you tried to check-out [1] and [2]? They did work a couple of month ago when I tested them. Ernesto References, 1-http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter 2- http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter.demo

LoadableDetachableListModel

2010-03-18 Thread Ilja Pavkovic
Hi, if someone is interested in a LoadableDetachableListModel where every single entity in the List is loaded per request by its own detachable model, see below :). I found it quite useful. I needed for a multi file upload panel where all changes entities shall be saved in one step. public

Re: StackOverflowError under serialization leaves pagemap locked

2010-03-18 Thread Nigel Parker
Thank you Johan for your reply. Agree that original problem should be fixed. This is a critical problem for us. We have found out during the last 24 hours that some of our pages are retaining a session reference. With Ajax requests this gives a doubling of session size for every request, and we

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
Martin, the following is the code for the country dropdown list, which can control the state dropdown list. The problem is that when the country list's value is switched to null from a selected country (say, USA), then the state dropdown list does not update. In addition, Wicket in the backend

Re: StackOverflowError under serialization leaves pagemap locked

2010-03-18 Thread Igor Vaynberg
the fix is in 1.4.x branch and will be part of 1.4.8. in the meantime you can build a fresh snapshot yourself and drop that into your application http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x -igor On Thu, Mar 18, 2010 at 3:27 PM, Nigel Parker nigel.par...@mazeppa.no wrote:

Re: StackOverflowError under serialization leaves pagemap locked

2010-03-18 Thread Johan Compagner
Or: http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.4-SNAPSHOT/ That should also have the latest fix - Original message - the fix is in 1.4.x branch and will be part of 1.4.8. in the meantime you can build a fresh snapshot yourself and drop that into your

Trailing / on parameter name/value pairs

2010-03-18 Thread Chris Colman
I'm using BookmarkablePageLink extensively as it makes it easy to add parameter name/value pairs. I end up with URLs like: www.mysite.com/p1/v1/p2/v2 Which works fine for most cases but I have a number of questions/issues: My logs show exceptions whereby some browsers (or crawlers) without

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread James Carman
Perhaps put logic in onsubmit to check for required country? On Mar 18, 2010 6:45 PM, David Chang david_q_zh...@yahoo.com wrote: Martin, the following is the code for the country dropdown list, which can control the state dropdown list. The problem is that when the country list's value is

Re: Trailing / on parameter name/value pairs

2010-03-18 Thread Igor Vaynberg
i suggest always mounting with querystringurlcodingstrategy unless you specifically want the folder structure of /name1/value1/name2/value2 which most of the time you dont. too bad this was made the default, we cant change it in 1.4 but are fixing it in 1.5 as it causes all kinds of problems.

RE: Trailing / on parameter name/value pairs

2010-03-18 Thread Chris Colman
Ouch! All the pages are indexed under google with the /name1/value1 strategy will this mean the google page links will break if we switch to querystringurlcodingstrategy or can wicket handle resolution of both types of strategies when it comes to responding to requests? I thought the thinking

Re: Trailing / on parameter name/value pairs

2010-03-18 Thread Igor Vaynberg
that is mostly old seo thinking. some people still prerfer urls like /blog/entry/2007/my_awesome_blog because it is more readable to the client, if they read urls... my point was more that it was a bad default for us to choose, we shouldve stuck with the query string. the current strategy still

RE: Trailing / on parameter name/value pairs

2010-03-18 Thread Chris Colman
that is mostly old seo thinking. some people still prerfer urls like /blog/entry/2007/my_awesome_blog because it is more readable to the client, if they read urls... Yes, they probably don't read URLs anyway. as far as the urls indexed you are right, the links wont be broken. you can

Re: Trailing / on parameter name/value pairs

2010-03-18 Thread Igor Vaynberg
On Thu, Mar 18, 2010 at 6:32 PM, Chris Colman chr...@stepaheadsoftware.com wrote: that is mostly old seo thinking. some people still prerfer urls like /blog/entry/2007/my_awesome_blog because it is more readable to the client, if they read urls... Yes, they probably don't read URLs anyway.

JCaptcha sound with Wicket?

2010-03-18 Thread David Chang
Based on the WIA book, I am able to have a working example of JCaptcha image. I am hoping to get JCaptcha sound working too. I tried different ways, but unable to get it working. Did anyone get JCaptcha sound working with Wicket? Could you please share your config and code? Thanks for any

RE: Trailing / on parameter name/value pairs

2010-03-18 Thread Chris Colman
all servlet containers do that on first request. if you dont care about browsers with cookies disabled you can tweak tomcat to never append jsessionid to the url, afair there is a setting for that. -igor I wish I didn't have to care for browsers with cookies disabled but there's always some