Re: Scheduled Wicket courses (Europe) and jWeekend's Global Partner Program

2009-04-20 Thread Erik van Oosten
Hello, The first public jWeekend course in Amsterdam has changed date. It is now June 8-9 (Mon-Tue). More information: http://www.jteam.nl/specials.html There is an early bird discount of 10% (before April 30). Regards, Erik. jWeekend wrote: Our partners in Holland, JTeam [4][5], are

Global Sessions

2009-04-20 Thread Pi Trash
Hi, is there a way to use global sessions, e.g. on application level? tia __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de

Re: Custom URL Handling

2009-04-20 Thread Erik van Oosten
Hi Matthew, Without some serious hacking in the Wicket internals this is not possible. (I did it, but the code is too specific to share.) Wicket 1.5 will improve URL handling, then this case will hopefully be easily. Regards, Erik. Matthew Welch wrote: I have been happily using

Haulting Execution of Page

2009-04-20 Thread Douglas Ferguson
If I detect a certain scenario I want to hault execution of the page, however if I return then wicket complains of components in the markup that aren't on the page. Is there a way to abort rendering? i.e. I'm setting a redirect at the servlet response, so I don't want wicket to bother setting

Re: [poll] Interest in regular Deventer Wicket meetup?

2009-04-20 Thread Linda van der Pal
Well I was discussing having a meeting in Amsterdam, though not quite yet on a regular basis. And I see no reason not to have them in both locations. I'd probably be able to attend in Deventer once, but certainly not on a regular basis. Regards, Linda jeroen dijkmeijer wrote: +1 First of

gmap2: info window gets closed while refreshing

2009-04-20 Thread shiraz memon
Hi I have a problem in using gmap2 wicket api, when it refreshes the marker and at the same time if user has opened the infowindow, it immediately shuts it off (i.e. while setting overlays), which is distracting for the user experience. below is the code for more insight: map.add(new

Re: Scribd

2009-04-20 Thread francisco treacy
If you're talking about a view component ala Scribd, that is a Flash object. Then you would integrate it to Wicket as any other Flash object. I have, however, ran into some problems whilst using swfobject (see urlFor ResourceStreamRequestTarget returning null post - in the last message I posted

Re: Haulting Execution of Page

2009-04-20 Thread Martijn Dashorst
see org.apache.wicket.AbortException and its subtypes. Martijn On Mon, Apr 20, 2009 at 9:30 AM, Douglas Ferguson doug...@douglasferguson.us wrote: If I detect a certain scenario I want to hault execution of the page, however if I return then wicket complains of components in the markup that

Re: Global Sessions

2009-04-20 Thread francisco treacy
I don't see why would you want that - but you could stick global state in your WebApplication. Needless to say, beware of race conditions. Francisco 2009/4/20 Pi Trash ptr...@web.de: Hi, is there a way to use global sessions, e.g. on application level? tia

Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14

2009-04-20 Thread pmarrone
Hi Rodolfo, I'm trying to deploy the wicketstuff-push example on a Glassfish server V3, but without success. Can you give some information about how to use your wicketstuff-push implementation outside Jetty? I know that Glassfish has support for cometd, so it should be possible. I propose to

ResourceReference question

2009-04-20 Thread Eyal Golan
Hello, I've been looking for an answer but couldn't find it. We have a page that adds an image: add(new Image(iconImage, new Model(imageResourceReference))); The problem is with the ResourceReference. I found only one option for the location of the image file. The location should be next to a

Re: [poll] Interest in regular Deventer Wicket meetup?

2009-04-20 Thread Thijs
I'd love to attend. so +1 However Amsterdam already being a problem (yes, zeeland is the other end of the world, esp. for the NS). Deventer is just a bit to far for an afternoon/evening. ( 3 - 3,5h travel one way). So I'd like to attend and probably would once in a while. It will certainly not

want help in storing the drop down values in the session values should be what we selected

2009-04-20 Thread Geeta Madhavi
Hi, I what help for i have two drop downs where i select the values now the values which i select those values should be stored in the session and those values should be called in the next page. the both drop downs values come from database and values in the second drop down changes on the

Re: changing style of ajax link

2009-04-20 Thread Martijn Dashorst
a link doesn't repaint itself automatically, you have to add it to the AjaxRequestTarget in the onclick handler. Martijn On Sat, Apr 18, 2009 at 12:57 AM, Jason Novotny novo...@gridsphere.org wrote: Hi, I have code to create an ajax link and I want it to dynamically adjust its css class

Re: want help in storing the drop down values in the session values should be what we selected

2009-04-20 Thread Martin Makundi
YourSession extends WebSession { public final static String MY_VARIABLE = myVariable; private MyDropdonVariable myVariable; } MyPage extends WebPage { add(new DropDownChoice(wicket:id, new PropertyModel(this, session. + YourSession.MY_VARIABLE)); } This should do.. and you can get your

Re: [poll] Interest in regular Deventer Wicket meetup?

2009-04-20 Thread Maarten Bosteels
Bergen-op-zoom ? Antwerp ? Brussels ? Or the center of the (beer brewing) universe: Leuven ? I'd like to attend, but Deventer is just too far for me. Maarten On Mon, Apr 20, 2009 at 12:47 PM, Thijs vonk.th...@gmail.com wrote: I'd love to attend. so +1 However Amsterdam already being a problem

Localize AjaxSubmitLink

2009-04-20 Thread Peter Diefenthaeler
Hi, is it possible to localize a AjaxSubmitLink? I would like to replace Speichern with a localized value from a properties file ... HTML: input wicket:id=save: type=submit value=Speichern/nbsp; Java:; form.add(new AjaxSubmitLink(save) { ... }); Thanx, Peter

Image path alternatives

2009-04-20 Thread Daniel Ferreira Castro
I have a problem to solve. I have a file path that is outside the wicket application path. This path is used to store product images and my goal is to design a screen with a resultset that show the products and their images by its side. What is the best way to do that? I have the search

Re: ResourceReference question

2009-04-20 Thread Richard Allen
I believe you want to use ContextRelativeResource. See: http://wicket.apache.org/docs/1.4/index.html?org/apache/wicket/resource/ContextRelativeResource.html On Mon, Apr 20, 2009 at 6:43 AM, Eyal Golan egola...@gmail.com wrote: Hello, I've been looking for an answer but couldn't find it. We

Re: remember me at login page feature

2009-04-20 Thread Brill Pappin
It may not work as you expect. What it does is store the username in a cookie and repopulates it if possible when you hit the login page again. What I expected it to do was to auto login, and I had to port he wicket-auth-roles code to support auto-signin. - Brill Pappin On

Breadcrumbs and raw URLs

2009-04-20 Thread Wilhelmsen Tor Iver
We have an issue where we are using a CMS that provides an API for getting article components in a peculiar way: Links are sent over as a raw HTML element followed by a link element followed by the rest of the HTML. So a link like a href=http://foo/fie; is sent as 1. HTML: a href= 2. Link:

Wicket HttpSession Thread Safety

2009-04-20 Thread Carlo Camerino
Hi, I would just like to post an inquiry on how wicket handles httpsession concurrency. When the application usage volume goes way up, it seems that httpsession is problematic. In struts for example, if you use request.getSession() without synchronized access you might encounter problems My

Re: Localize AjaxSubmitLink

2009-04-20 Thread jcgarciam
Try using wicket:message http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html PDiefent wrote: Hi, is it possible to localize a AjaxSubmitLink? I would like to replace Speichern with a localized value from a properties file ...

Re: Wicket HttpSession Thread Safety

2009-04-20 Thread david
Hello Carlo, very good question. I don't have an answer but I am just confirming equal interest in the outcome of your question. I am about to embark on a company project web app makeover/rewrite and I am throwing all my eggs into the Wicket basket (no pun intended). Hopefully, this will help

Re: Wicket HttpSession Thread Safety

2009-04-20 Thread francisco treacy
I don't think you will encounter problems just by calling Session.get(). But it is up to the client to synchronize session state. Francisco 2009/4/20 da...@davidwbrown.name: Hello Carlo, very good question. I don't have an answer but I am just confirming equal interest in the outcome of your

tinymce textarea

2009-04-20 Thread tubin gen
I am trying to make my text editor (text area ) to rich text eitors using timymce.First I tried wicket timymce behaviour , the problem is the tinymce java scriopt is repalce my textarea html with an iframe this is my html , but the style=display: none; is added by tinymce textarea

Re: Localize AjaxSubmitLink

2009-04-20 Thread Jeremy Thomerson
link = new AjaxSubmitLink(); link.add(new AttributeModifier(value, true, new ResourceModel(speichern.textkey)); -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 6:59 AM, Peter Diefenthaeler pdief...@csc.comwrote: Hi, is it possible to localize a AjaxSubmitLink?

Re: Image path alternatives

2009-04-20 Thread Jeremy Thomerson
Have you tried searching for this? It has been asked many times. Try the following links, and then if you can't find the answer or need help, reply back. http://www.google.com/search?q=wicket+image+external http://www.nabble.com/forum/Search.jtp?forum=25133local=yquery=external+image -- Jeremy

Re: tinymce textarea

2009-04-20 Thread jcgarciam
Agreed with @Jeremy, I have used to TinyMCE myself to update a CLOB fields mapped to my Entity Object and its value get submitted like a charm, but i remember seen this problem in my project a while before, when the form was submitted using Ajax, since i didn't make too much research i just

Wicket portlet into liferay

2009-04-20 Thread Tonio Caputo
Hi wicket users, I'm a newbie in wicket and portlets, I'm involved in trying to find a web framework to create portlets in a liferay portal, my duty is to try wicket and see if it works. Versions wicket 1-4-rc2 liferay 5.2 After reading Issue

Re: Wicket HttpSession Thread Safety

2009-04-20 Thread Jeremy Thomerson
Here are some threads that cover this topic, with lots of info from the core developers. http://www.nabble.com/Thread-safety-for-components-tt17265324.html#a17265324 http://www.nabble.com/Wicket-Session-and-threading-tt14595666.html#a14599963

Strange java.util.MissingResourceException on form validation

2009-04-20 Thread Thierry Leveque
Hi I have a really strange MissingResourceException when running my application. I have implemented my own IFormValidator. When I find an error I use this code: *lFormComponent.error( lFormComponent.getString( DuplicatePorts, new Model( new DuplicatePortsMessage( lFormComponent.getRawInput() )

Re: Strange java.util.MissingResourceException on form validation

2009-04-20 Thread Thierry Leveque
Forget it! I found my problem! It was because I was dynamically adding the validator in my validate method of my form. The new validators were added at every request without being removed from the validators collection. The old validator was then called with null reference to the component

Re: ResourceReference question

2009-04-20 Thread Igor Vaynberg
and ContextImage -igor On Mon, Apr 20, 2009 at 5:21 AM, Richard Allen richard.l.al...@gmail.com wrote: I believe you want to use ContextRelativeResource. See: http://wicket.apache.org/docs/1.4/index.html?org/apache/wicket/resource/ContextRelativeResource.html On Mon, Apr 20, 2009 at 6:43

New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Stefan Simik
New site about health, nutrition, exercise and life stylehttp://www.fitcomplex.sk/start We are using stateless pages for public interface, and stateful ajaxified pages for admin interface. Stateless ajax in public is developed using jquery + wicket. The site is running on: - *Wicket *1.4rc2

Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14

2009-04-20 Thread Rodolfo Hansen
On Mon, Apr 20, 2009 at 6:26 AM, pmarrone paolo.marr...@gmail.com wrote: Hi Rodolfo, I'm trying to deploy the wicketstuff-push example on a Glassfish server V3, but without success. Can you give some information about how to use your wicketstuff-push implementation outside Jetty? For

Re: Cometd Servlet mapping for wickestuff-push example

2009-04-20 Thread Rodolfo Hansen
On Sun, Apr 19, 2009 at 1:06 PM, Paolo Marrone paolo.marr...@gmail.comwrote: Hi all, first of all, I'm sorry for a wicketstuff question posted on this list, but I cannot find a mailing list for wicketstuff, so I hope someone can help me. I'm a happy user of wicket (great framework!), and

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread francisco treacy
Štefan, I don't get a word of slovak, but it looks really neat. Congratulations! Francisco 2009/4/20 Stefan Simik stefan.si...@gmail.com: New site about health, nutrition, exercise and life stylehttp://www.fitcomplex.sk/start We are using stateless pages for public interface, and stateful

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread nino martinez wael
The same theme as my exerciselog.eu although I've taken the exercise view of it :) Maybe we should have some interaction (provided you do a international site)? My software setup are almost the same :) With the exception of wicket 1.3 and tomcat.. Although my server are a p3 500mhz 512mb-ram if

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Azzeddine Daddah
Looks great, and you can see that it's PRO. I think that the tabs do not work under Safari. You can see the selected tab is active but the content does not change. Congratulations anyway. Regards, Hbiloo On Mon, Apr 20, 2009 at 7:22 PM, nino martinez wael nino.martinez.w...@gmail.com wrote:

Obtain a Page class via mounted page link

2009-04-20 Thread Douglas Ferguson
Is there a way to look up a mounted page link via the name? I'm digging through the code but I don't see a way to do this.. Douglas Ferguson mobile: 512.293.7279 office/fax: 512.462.0408 skype: stillrecording aim: DaAmericanRuse - http://www.linkedin.com/in/douglasferguson

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Jeremy Thomerson
I agree - it looks good, even though I don't understand a word of it. Does seem like the tabs are broken in FF also - active shows but the content doesn't change (right side box thing). -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 1:04 PM, Azzeddine Daddah

RE: Obtain a Page class via mounted page link

2009-04-20 Thread Douglas Ferguson
This seems to work. WebRequestCodingStrategy strategy = (WebRequestCodingStrategy)PRManagerApplication.get().getRequestCycleProcessor().getRequestCodingStrategy(); BookmarkablePageRequestTarget target =

urlFor troubles

2009-04-20 Thread Antoine van Wel
One issue I keep running into when programming with Wicket is using urlFor... I guess I am missing something. Now I am trying to redirect to a page; /hello is mounted to HelloPage using an indexed mounting strategy /user is mounted to UserPage when a user types /hello/username, HelloPage

Re: urlFor troubles

2009-04-20 Thread Jeremy Thomerson
Have you tried setResponsePage after calling setRedirect(true)? -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 2:14 PM, Antoine van Wel antoine.van@gmail.comwrote: One issue I keep running into when programming with Wicket is using urlFor... I guess I am

Re: urlFor troubles

2009-04-20 Thread Antoine van Wel
Nope, didn't. Great, I didn't know that one, really simple. Saves me from using the urlFor this time, thanks! If there's a way to use urlFor in this case without the hacky approach, I'm still interested to know. Antoine On Mon, Apr 20, 2009 at 9:20 PM, Jeremy Thomerson

Re: Custom URL Handling

2009-04-20 Thread Matt Welch
David Leangen-8 wrote: What version are you using? I'm using 1.4. It wouldn't have occurred to me that it would be so difficult. I know it may seem odd, but URL control is actually very important here because organization identity is vital in the domain that the app will serve. Hmmm

Re: Custom URL Handling

2009-04-20 Thread Jeremy Thomerson
In the past, I've accomplished something similar in a hack-ish sort of way that may work for you. Basically, I extended the WicketFilter and stripped the first argument off, storing it in the request before Wicket used the URL to determine the requested page. Maybe you can go down a similar

Which component for gmap for wicket 1.3.5?

2009-04-20 Thread Phillip Rhodes
I see there are a couple gmap projects if I browse to the SVN repo for wicketstuff. http://wicketstuff.org/maven/repository/org/wicketstuff/ For example: 1) gmap2 (updated Mon, 20 Apr 2009) 2) wicket-contrib-gmap2 (updated on Mon, 01 Dec 2008) I am using wicket 1.3.5 Which component should I

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread nino martinez wael
btw good tip is to fire of browsershorts.org on the pages.. That way you know if its broken in some browsers.. 2009/4/20 Jeremy Thomerson jer...@wickettraining.com: I agree - it looks good, even though I don't understand a word of it. Does seem like the tabs are broken in FF also - active

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Jeremy Thomerson
Or, browsershots.org - of course, this doesn't actually help with the problem he is having - which requires a mouse click. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 3:25 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: btw good tip is to fire of

Re: Localize AjaxSubmitLink

2009-04-20 Thread Maarten Bosteels
Or: input wicket:id=save type=submit wicket:message=value:speichern.textkey/ Maarten On Mon, Apr 20, 2009 at 5:07 PM, Jeremy Thomerson jer...@wickettraining.com wrote: link = new AjaxSubmitLink(); link.add(new AttributeModifier(value, true, new ResourceModel(speichern.textkey)); --

Passing argument to AjaxAutocompleteBehavior?

2009-04-20 Thread M. Hansen
Hi, I have implemented a form with a text field that I autocomplete with AjaxAutocompleteBehaviour from Wicketstuff. final TextField myTextField = new TextField(myField, new PropertyModel(myModelObject, myField)); myTextField.add(new AjaxAutocompleteBehavior() { protected String[]

Re: Custom URL Handling

2009-04-20 Thread Matt Welch
Jeremy Thomerson-5 wrote: In the past, I've accomplished something similar in a hack-ish sort of way that may work for you. Basically, I extended the WicketFilter and stripped the first argument off, storing it in the request before Wicket used the URL to determine the requested page.

Re: Custom URL Handling

2009-04-20 Thread Jeremy Thomerson
Oh, yeah - okay, so there was a little difference. It depends on your setup - mainly - will you ever need links from two organizations on the same page? Basically, what I was doing was creating branded sites. So, here's the gist of what I had: Apache frontend, based on site, would proxy to

RE: Custom URL Handling

2009-04-20 Thread David Leangen
What version are you using? I'm using 1.4. Ok, then I can't really help you much. URL control is actually very important here because organization identity is vital in the domain that the app will serve. Agreed. IIUC, it may be easier in 1.4:

Re: tinymce textarea

2009-04-20 Thread fachhoch
here my code for textarea public class CustomTextAreaT extends TextAreaT { /** * */ private static final long serialVersionUID = 1L; public static final AttributeModifier rows=new AttributeModifier(rows,true, new ModelString(8)); public

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Martin Grotzke
Congrats! A nice site and really fast! You're mentioning stateless ajax with jquery: can you give some pointers how you did this? Cheers, Martin On Mon, 2009-04-20 at 18:22 +0200, Stefan Simik wrote: New site about health, nutrition, exercise and life stylehttp://www.fitcomplex.sk/start

setConvertedInput

2009-04-20 Thread Kurt Heston
I'm building a StartAndEndDateTime form component based on Eelco's DateTimeField. It is essentially the same as his with the time fields repeated. The goal is to get my new custom component to update two date fields in the parent form's model. Here is what the end of my convertInput()

Re: Wicket portlet into liferay

2009-04-20 Thread Tonio Caputo
Hi, I've tried with liferay 5.2.2 tomcat6/tomcat55/jetty6.1.14, and no success. In both tomcat, application is deployed, but when put into a page, the application is not shown. In jetty, the application doesn't get deployed. In all cases there is no log, or any message that let me know what is

components are not rendering help me out

2009-04-20 Thread Geeta Madhavi
Hi , I am newbie to the wicket i have a homepage where i have link on click of link i should go tot he other page i have added the link in the code but still it is telling that components fail to render i have multiple pages like this i need to give link on click on the link or submit button it

LinkedIn poll about Wicket

2009-04-20 Thread Fabrizio Giudici
http://polls.linkedin.com/p/33616/pikzw http://www.linkedin.com/e/plh/http%3A%2F%2Fpolls%2Elinkedin%2Ecom%2Fp%2F33616%2Fpikzw/FkIa/ -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. weblogs.java.net/blog/fabriziogiudici -

Re: components are not rendering help me out

2009-04-20 Thread Per Newgro
Please provide the stacktrace of your exception. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org