Re: New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread nino martinez wael
Hi Giannis Nice looking site, I noticed that your site are multilingual.. How have you implemented the multilingual part? I guess I am also asking what data access method you are using? Im asking since I what to know what other people are doing.. I myself have done something with JPA, and made en

Re: RadioGroup and nested ListView

2009-04-23 Thread Per Newgro
The message says that you have to put in the type attribute to this line should be Hth Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: jQuery query for all Ajax-enabled links

2009-04-23 Thread Stefan Lindner
Hi Tony, I don't have the answer but the same question. If you find a solution by your own, please let me know! Thank you! Stefan -Ursprüngliche Nachricht- Von: Anton Veretennikov [mailto:anton.veretenni...@gmail.com] Gesendet: Freitag, 24. April 2009 04:45 An: users@wicket.apache.org

1.3.6?

2009-04-23 Thread Nicklas Johnson
I've seen a few posts in the archive over the last few months asking about 1.3.6, but not a definitive answer. Is 1.3.6 coming? If so, is there a ballpark about when? (I've got a project that needs to upgrade, and we're trying to decide whether to go to 1.3.5 or wait a bit for 1.3.6.) Nick

Re: Wicket portlet into liferay

2009-04-23 Thread Rob Sonke
Hi, Nice to hear that everything seems to work now. About the datepicker, which one is that? Because I'm using one from the wicketstuff projects (http://www.dynarch.com/static/jscalendar-1.0/index.html) and that one is working fine. But we're about to migrate to a jquery based one. Rob On 4

Re: Whats the best way to do a form component validation?

2009-04-23 Thread Jason Wang
Liam Clarke-Hutchinson wrote: I use an AjaxFormComponentSubmittingBehavior onblur for each field - so it triggers the submission processing behaviour (including validation) for the given field - although it updates the model. You could use an applicable Ajax behaviour and then call the component'

Re: Whats the best way to do a form component validation?

2009-04-23 Thread Liam Clarke-Hutchinson
I use an AjaxFormComponentSubmittingBehavior onblur for each field - so it triggers the submission processing behaviour (including validation) for the given field - although it updates the model. You could use an applicable Ajax behaviour and then call the component's validate() method if you wante

Whats the best way to do a form component validation?

2009-04-23 Thread Jason Wang
Hi all, I have a form with a couple form components, most of which have validators attached. For example, the mobile number input field has a patternValidator attached: mobile.add(new PatternValidator("^[1-9]([0-9]{8,14})")); I have hooked all the validation actions with "onblur" events usin

jQuery query for all Ajax-enabled links

2009-04-23 Thread Anton Veretennikov
Hi, all wicket users, I hope somebody knows. What is the jQuery filter for all wicket Ajax-enabled links? Wicket version is 1.4-SNAPSHOT. -- Tony. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional com

Re: AjaxLink causing a redirect

2009-04-23 Thread Matt Welch
Jeremy Thomerson-5 wrote: > > Bummer - if you didn't throw in the towel, I'd be interested in seeing > the result. All session-relative wicket links are going to have a > very distinct pattern that should be fairly easy [sic] to get in the > pattern and not rewrite. > > Mind posting your rewri

Re: How to handle multiple choices?

2009-04-23 Thread James Carman
2009/4/23 Major Péter : > Is there some tool, which could make this to a little simpler problem? > (I was thought about ListView with RadioButtons, where the RB's are > interpreted by columns, but I didn't found an example to do this) I would check out ListMultipleChoice or perhaps even Palette (f

How to handle multiple choices?

2009-04-23 Thread Major Péter
Hi all, I'm quite new to Wicket, and I really started to liking it. ;) But now I have a problem, which I don't know how to solve: In my application there are groups, users, and memberships. Every membership has an entitlement (member, group leader, pr_manager and so on), which is used for autho

RadioGroup and nested ListView

2009-04-23 Thread c c
Hi all, I am new at this so please be gentle. I would like to use a RadioGroup to select one "element" among a list of elements organized in groups. I have two nested ListView, the outer looping over the groups, the inner one looping over the elements of each group. Each element of the inner listv

Re: anchor links

2009-04-23 Thread Liam Clarke-Hutchinson
That's a normal anchor link... This bit: http://localhost:8080/audit/app/inbox.1?wicket:bookmarkablePage=:com.xyz.pages.stg.audit.AfmsReviewNewAssignmentPage&PARAM_PROCESS_INSTANCE_ID=1232 Is the URL for your generated page This bit: # Is your anchor. It's normal behaviour. Try it on here: htt

Re: Registering 'global' Ajax listeners?

2009-04-23 Thread Liam Clarke-Hutchinson
Thanks Peter, that looks like what I was after, albeit at an even higher level. :) On Fri, Apr 24, 2009 at 12:05 AM, Peter Ertl wrote: > Maybe these help... > > - you can override WebApplication.newAjaxRequestTarget(Page page) > - you can use AjaxRequestTarget.addListener() to add listeners > > >

Re: creating alink just for java script

2009-04-23 Thread Jeremy Thomerson
Use a WebMarkupContainer and either: - add the AttributeModifier for the onclick - or, override onComponentTag and do tag.put("onclick", javascript) -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 23, 2009 at 3:38 PM, balingen tame wrote: > I want to add long java script to

creating alink just for java script

2009-04-23 Thread balingen tame
I want to add long java script to the onclick of a anchor , was wondering if I do this using a Link , The reason I want to use a link is I can append the java script with the attribute modifier.My concern is , any link will also adds java script to call the server , in this case I want lin

Ajax timer behavior not updating component in IE, Chrome and Opera

2009-04-23 Thread Daniel Fernandez
Hello, I am sorry I am not going to be very specific here, because the error I am experiencing is not very deterministic. The scenario: I am using 1.4-rc2, and I have a page with several (six, to be precise) panels which load its contents by using a subclass of AbstractAjaxTimerBehavior, which po

Re: ModalWindow Position

2009-04-23 Thread Mathias P.W Nilsson
You could maybe make your own javascript for the modal window Wicket.Window.prototype.center = function() { // Set your window here. }; -- View this message in context: http://www.nabble.com/ModalWindow-Position-tp23156615p23197519.html Sent from the Wicket - User mailing list archive

Re: adding javascript to response

2009-04-23 Thread Mathias P.W Nilsson
If you have an AjaxSubmitLink you can do the following public void onSubmit( AjaxRequestTarget target, Form form ){ target.appendJavascript( "alert( 'hi!' );" ); } -- View this message in context: http://www.nabble.com/adding-javascript-to-response-tp23187923p23197512.html Sent from the Wick

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
Thank you very much!!! The AjaxSubmitLink ( with the DefaultFormProcessing set to false) solve my problem!! This is what happening when using to much copy-paste!! I was already using AjaxSubmitLink everywhere in my code Thierry Sent from Montreal, Quebec, Canada On Thu, Apr 23, 2009 at 13:28

Re: simple example of RadioGroup

2009-04-23 Thread Igor Vaynberg
radiogroup g=new radiogroup("group", mybooleanmodel()); g.add(new radio("t",new model(boolean.true)); g.add(new radio("f",new model(boolean.false)); Click here for option one Click here for option two -igor On Thu, Apr 23, 2009 at 10:28 AM, Jason Novotny wrote: > > Hi, > >   S

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Igor Vaynberg
is the link repainting the entire listview? in that case all values will be lost because they are not submitted. either use ajaxsubmitlink, or only repaint the new row. there is an article on wicketinaction.com that shows how to do it. -igor On Thu, Apr 23, 2009 at 9:57 AM, Thierry Leveque wrote

simple example of RadioGroup

2009-04-23 Thread Jason Novotny
Hi, Somehow I seem to have problems if I want to do individual radio buttons in my HTML and it looks like I need to use RadioGroup. Here is the example HTML and I'm trying to figure out how to wicket-ize it... the model just needs to be a boolean since I have only two values. Click here

Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Carlo Camerino
did yous witch your aplication to deployment mode. Using development mode in websphere using wicket will cause it to have memory leaks. Even in 1.3.5 we experience it. Try switching to deployment mode and see if helps On Thu, Apr 23, 2009 at 10:20 PM, Martijn Dashorst < martijn.dasho...@gmail.com>

Time Component

2009-04-23 Thread Vidhya Kailash
Is there a time component already available where the user can choose hrs /mins / am-pm? If so can somebody please point me to the package? thanks

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
No, it is an AjaxFallbackLink Both ListView use AjaxFallbackLink to Add or Remove item. Thierry Sent from Montreal, Quebec, Canada On Thu, Apr 23, 2009 at 12:44, Igor Vaynberg wrote: > is your "add" button submitting the form? > > is setreuseitems turned on on both listviews? > > > -igor > > On

Re: datatable columns shuffle

2009-04-23 Thread Igor Vaynberg
datatable does not support changing columns, something on a todo list to fix in 1.5. for now you can just recreate the datatable itself. -igor On Thu, Apr 23, 2009 at 8:35 AM, Alfredo Aleandri wrote: > Hi, > I'm a wicket beginner. > I'm trying to shuffle the columns of a datatable using an AjaxF

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Igor Vaynberg
is your "add" button submitting the form? is setreuseitems turned on on both listviews? -igor On Thu, Apr 23, 2009 at 8:45 AM, Thierry Leveque wrote: > Hi > > I have a ListView that is embedded inside another ListView. Both ListView > are dynamic: Both have an Add and a Remove button. > The ie

Re: Exceptions after Tomcat restart

2009-04-23 Thread Igor Vaynberg
looks like tomcat is trying to save sessions to disk and restore them on restart. this should be turned off while developing because you change the structure of objects and they cannot always be loaded back. this is a tomcat setting. -igor On Thu, Apr 23, 2009 at 3:19 AM, Wicket Newbie Wicket New

Re: AbstractColumn's getSortProperty()

2009-04-23 Thread Igor Vaynberg
open a jira issue. -igor On Thu, Apr 23, 2009 at 1:08 AM, Anton Veretennikov wrote: > Hi, Wicket community > > While working with AbstractColumn I found that overriding > getSortProperty() does not make column sortable until isSortable() is > not overrided also. > > AbstractColumn::isSortable()

Re: java.sql.Timestamp converter bug in 1.4RC2

2009-04-23 Thread Igor Vaynberg
sounds like a bug, please open a jira issue. -igor On Thu, Apr 23, 2009 at 12:47 AM, Steve Flasby wrote: > Chaps, > >  Ive just noticed that SqlTimestampConverter appears to be broken. >  I expected it to produce a Date/Time as output, but it only produces >  a time. SqlTimeConverter prints a si

Time Component

2009-04-23 Thread Vidhya Kailash
Is there a time component available anywhere to basically let the user select hr / min and am/pm? thanks Vidhya

Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
Hi I have a ListView that is embedded inside another ListView. Both ListView are dynamic: Both have an Add and a Remove button. The ietms in both ListView are a series of form fields. The problem I have is only with my second ListView when I add more than one item without submitting the form. The

Re: New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread Martin Grigorov
El jue, 23-04-2009 a las 11:03 +0200, Steve Flasby escribió: > Mmm, >more and more sites being announced. Excellent stuff. >Great looking site, Giannis. > Please add your sites to http://cwiki.apache.org/WICKET/sites-using-wicket.html A lot of people ask "Are there sites made with Wicket?

datatable columns shuffle

2009-04-23 Thread Alfredo Aleandri
Hi, I'm a wicket beginner. I'm trying to shuffle the columns of a datatable using an AjaxFallbackLink, this is my code (only relevant part): my WebPage content: private AjaxFallbackDefaultDataTable usersTable; private List> userColumns = new ArrayList>(); private UserProvider userProv

anchor links

2009-04-23 Thread tubin gen
I created a simple linkfor java script to open a client side popup window and not forserver processing. here is the code View when i see generated html source the codeit is the same no difference but when I put my mouse o

Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Martijn Dashorst
Wicket doesn't do anything with native stuff—we're doing pure Java. Either you did something strange, or there's a bug in WebSphere or the IBM JDK you're running into. Martijn On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS) wrote: > Hi, > > Our web application use following configuration fo

Re: Embedding a ListView in scrollable area

2009-04-23 Thread Jeremy Thomerson
Two points: 1 - really long lists are nearly always bad for users 2 - can't you just do this with CSS? put a div around the list and put overflow: auto into it's style? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 23, 2009 at 9:11 AM, HHB wrote: > Hey, > I have a ListView

Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Jeremy Thomerson
I can't really remember - I just had to say that I think you win the award for longest signature yet to this list. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 23, 2009 at 6:37 AM, Basak, Prasan (TCS) wrote: > Hi, > > Our web application use following configuration for develo

Embedding a ListView in scrollable area

2009-04-23 Thread HHB
Hey, I have a ListView that could hold a lot of rows. Is there a way to embed the list view an a scroll-able area/thing? or I have to fallback to pagination ? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: How to send data to server - form submission

2009-04-23 Thread Juan G. Arias
I don't see why having multiple ways to send information is reinventing the wheel. My point was that form submission is a standard for send information. Is the classic way. Ajax doesn't require this. You are able to send information on any javascript event. And maybe someone had implemented that.

Re: Registering 'global' Ajax listeners?

2009-04-23 Thread Peter Ertl
Maybe these help... - you can override WebApplication.newAjaxRequestTarget(Page page) - you can use AjaxRequestTarget.addListener() to add listeners Am 23.04.2009 um 13:45 schrieb Liam Clarke-Hutchinson: Hi Martin, Yeah, we've got a page that has an immediate child label that needs to be re

AW: Pagemap locking issue

2009-04-23 Thread Tokalak Ahmet
Thanks for your feedback Martijn. Yes, you're right. I will solve this issue using threads. Von: Martijn Dashorst An: users@wicket.apache.org Gesendet: Donnerstag, den 23. April 2009, 10:59:39 Uhr Betreff: Re: Pagemap locking issue Why would you want your us

Re: AjaxLink causing a redirect

2009-04-23 Thread Matt Welch
Liam Clarke-Hutchinson-3 wrote: > > What do you mean by processing? Form processing? Normal rendering? > Normal rendering, but as I mentioned later in the thread, even though it was Wicket issuing the redirect, it was somehow being caused by my attempts at URL rewriting and the redirects do no

Re: AjaxLink causing a redirect

2009-04-23 Thread Matt Welch
Jeremy Thomerson-5 wrote: > > Bummer - if you didn't throw in the towel, I'd be interested in seeing > the result. All session-relative wicket links are going to have a > very distinct pattern that should be fairly easy [sic] to get in the > pattern and not rewrite. > > Mind posting your rewr

Re: QueryStringUrlCodingStrategy not encoding "te?t" - is this correct?

2009-04-23 Thread Liam Clarke-Hutchinson
Unless I'm reading the RFC wrong, the behaviour of QueryStringUrlCodingStrategy is correct... http://labs.apache.org/webarch/uri/rfc/rfc3986.html#components The query component contains non-hierarchical data that, along with data in the path component, serves to identify a resource within the sc

Re: Strange behavior with palette (1.3.4) and IE7

2009-04-23 Thread Eyal Golan
Thanks guys. I created a jira issue (https://issues.apache.org/jira/browse/WICKET-2236) I also added a patch to it. I just hope I did everything correctly as this is a first time for me. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/e

Re: Exceptions after Tomcat restart

2009-04-23 Thread Liam Clarke-Hutchinson
Our Eclipse users have varying issues with Tomcat, and I've picked up a couple myself today in Intellij cause by half-assed deployments, although I suspect that's more a Maven issue. /tangent. In Eclipse, for us, it seems to be caused by resources from a earlier deployment still remaining, so try

Re: How to set content of an ajax enabled link?

2009-04-23 Thread Liam Clarke-Hutchinson
By content you mean the text yeah? Create your link (We use AjaxFallbackLinks for Ajax links, but there's others), and then create a label with an appropriate model, and add the label to the link. You're markup would look like so: How dynamic a content you're after really depends on what you're

Re: Registering 'global' Ajax listeners?

2009-04-23 Thread Liam Clarke-Hutchinson
Hi Martin, Yeah, we've got a page that has an immediate child label that needs to be refreshed on pretty much every Ajax request being generated by the other children on the page.. We were trying to avoid passing a reference to the label to the other children's constructors, as it smells bad and

Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Basak, Prasan (TCS)
Hi, Our web application use following configuration for development, and it frequently gives Java core dump without enough load. We contacted IBM support, who, after analysing dump file, has found that some of the html files of our app have been stored in the native memory space ( not heap memory)

Re: Random exception at ResourceListenerInterface

2009-04-23 Thread Daniel Fernandez
Hello Francisco, I don't think the issue is exactly the same, as I am always getting "interface" URLs, the "good" ones... but it might be related, as I am also having component + resource listener on the same page (though I have no header contributor). Regards, Daniel. 2009/4/23 francisco treac

How to set content of an ajax enabled link?

2009-04-23 Thread HHB
Hey, Is there a way to set the content of a link dynamically (the value is coming from model object)? The link has to be Ajax enabled for sure. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Exceptions after Tomcat restart

2009-04-23 Thread Wicket Newbie Wicket Newbie
Hi everybody, our wicket application behaves in a strange way. After restarting Tomcat server in Eclipse everything works fine. But after restarting Tomcat server in Eclipse for the second time, Page Expired is shown. Several Exceptions appear in log file, but I don't know, how to get rid of th

Re: Random exception at ResourceListenerInterface

2009-04-23 Thread francisco treacy
I don't think it's the same issue, but I had some trouble with loading a Flash stream and IResourceListener https://issues.apache.org/jira/browse/WICKET-2204 Francisco 2009/4/23 Daniel Fernandez : > By the way, in case this gives you more information, my "DataPanel" is > very similar to the "Ope

Re: Random exception at ResourceListenerInterface

2009-04-23 Thread Daniel Fernandez
By the way, in case this gives you more information, my "DataPanel" is very similar to the "OpenFlashChart" Panel class defined in http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html, as in fact my flash object is Open Flash Chart (I am loading many charts in the same page in an asynchr

QueryStringUrlCodingStrategy not encoding "te?t" - is this correct?

2009-04-23 Thread Antoine van Wel
Hi all, using 1.3.5 : mounted a bookmarkable page using the QueryStringUrlCodingStrategy, now I'm passing in a page parameter with key "search" and value "te?t" -- the target url is ?search=te?t tracing this, turns out the QueryStringUrlCodingStrategy just applies UTF-8 encoding (or whatever

Re: Random exception at ResourceListenerInterface

2009-04-23 Thread Daniel Fernandez
Thank you again for your time, Igor. Your explanation makes sense by itself, but it is not my problem, I'm afraid... this thing can happen to me even the first time I load the page, without reloading at all. I investigated deeper and I realised that what was happening was that, when the server re

Re: New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread Steve Flasby
Mmm, more and more sites being announced. Excellent stuff. Great looking site, Giannis. How many of you guys work for big organizations developing with Wicket? Some people I know would be very interested to find out. I work mainly for banks who are a bit conservative (except when it comes to

Re: New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread francisco treacy
συγχαρητήρια! btw, I noticed you used Smooth Gallery. Really neat. If you did some work around it you might be interested in contributing to the project at http://code.google.com/p/wicket-slides/ ? Francisco 2009/4/23 Giannis Koutsoubos : > Inlaconia.gr is a travel and business guide for the pre

Re: Pagemap locking issue

2009-04-23 Thread Martijn Dashorst
Why would you want your users to wait for 1 minute to get results? On what planet and time/space continuum do you expect users to wait for that? Don't do the computation in the request thread. Compute the stuff in a separate thread, process or whatever and subscribe the user's session/page/whateve

Re: New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread Azzeddine Daddah
Looks great. Yet another cool website built in Wicket :). I liked especially the integration of the photo gallery, it's beautiful. Cheers, Azzeddine Daddah www.hbiloo.com On Thu, Apr 23, 2009 at 10:18 AM, Giannis Koutsoubos wrote: > Inlaconia.gr is a travel and business guide for the prefectur

New site developed in wicket - www.inlaconia.gr

2009-04-23 Thread Giannis Koutsoubos
Inlaconia.gr is a travel and business guide for the prefecture of Laconia in Greece. The site uses : Wicket 1.4 Wicket GMap2 Tomcat with apache frontend Spring, Hibernate, Mysql The site is multilingual and wicket made the development a complete fun. Many thanks to everyone involved in Wicket.

AbstractColumn's getSortProperty()

2009-04-23 Thread Anton Veretennikov
Hi, Wicket community While working with AbstractColumn I found that overriding getSortProperty() does not make column sortable until isSortable() is not overrided also. AbstractColumn::isSortable() is looking like now: public boolean isSortable() { return sortProp

Pagemap locking issue

2009-04-23 Thread Tokalak Ahmet
Hi all, i'm developing a wicket application, in which i have to lookup mutiple tables with millions of datasets depending of the user inputs. Any operation on these tables is very time consuming not to talk about join operations ... (A request can take a few seconds or some minutes to complete)

java.sql.Timestamp converter bug in 1.4RC2

2009-04-23 Thread Steve Flasby
Chaps, Ive just noticed that SqlTimestampConverter appears to be broken. I expected it to produce a Date/Time as output, but it only produces a time. SqlTimeConverter prints a simple time as I expected. Looking in the code SqlTimestampConverter::convertToString uses: DateFormat format = D