Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-15 Thread Ballist1c
Thanks mate, I managed to do a bit of a hack job which will suffice :) but yeah the idea is to simply append txt to a label... like the label may contain hi, and after I generate the label, i was wondering if it was possible to append how are you? for instance, turning the label into hi, how

Re: [Wicket-user] [ajax]Replace Javascript component fails on IE

2007-06-15 Thread Nino Saturnino Martinez Vazquez Wael
Hi Matej Thanks for your answer. It's well apreciated. I'll encorporate this into the gmap contrib and we will probally have a release for 1.2.6 and 1.3 within the commming week:) regards Nino Matej Knopp wrote: Hi, I've fixed this for 1.3. As a workaround for 1.2, this is what you can do:

Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-15 Thread Martijn Dashorst
I am interested, but geographically challenged. However, there are some online tools available to help us plan these events: - http://www.meetup.com I'm eyeing google calendar, but that is not well suited for a group calendar that is geographically all over the world. -

Re: [Wicket-user] AJAX causing UI state corruption....

2007-06-15 Thread Seldon, Richard
Matej - we are using version 1.2.4 (and extensions with same version). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matej Knopp Sent: 14 June 2007 20:44 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] AJAX causing UI state corruption

Re: [Wicket-user] AJAX causing UI state corruption....

2007-06-15 Thread Seldon, Richard
Sure Alex, what i meant was that in order to get IFRAME to be transparent i tried a combination of setting allowtransparency=true as an attribute on the IFRAME element and then in css class definition for the IFRAME put in: filter:progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=0); Alpha

Re: [Wicket-user] AJAX causing UI state corruption....

2007-06-15 Thread Alex Objelean
I recommend you to use wicket-1.2.6. This version is better and have some useful fixes, including ajax related. Regarding the transparency issue, I recommend to use the http://malsup.com/jquery/block/ jquery.block plugin , or at least take it as an example for your own js implementation. I have

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Frank Bille
I have been playing around with it as well. Untill now I have come up with the following: http://svn.teachus.dk/browse/TeachUs/dk.teachus/trunk/teachus-frontend/src/main/java/dk/teachus/frontend/components/form/DefaultFocusBehavior.java?r=root : But I'm not entirely sure it does what I want. I

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Frank Bille
(Link a little long so here's a shorter one: http://tinyurl.com/3d9sja) Frank On 6/15/07, Frank Bille [EMAIL PROTECTED] wrote: I have been playing around with it as well. Untill now I have come up with the following:

Re: [Wicket-user] AjaxSubmitButton - Cancel

2007-06-15 Thread Seldon, Richard
John, igor has given you a solution but i wanted to add that you do have alternatives if absolutely required. when writing UI common components like perhaps and Add / Remove button panel with an ajax add and ajax remove button you 'may' feel disinclined to swap over to going for a ajaxlink

[Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Alex Objelean
Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because it does not extend the FormComponent, but a WebMarkupContainer. Thank you! -- View this message in context:

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Seldon, Richard
Would be interested to know of any standard way to handle this but it is easy enough to roll your own with a few lines of code. Perhaps try the following: 1) Set up a FocusBehavior interface that provides a getDefaultField() method. 2) Create a SetFocusVisitor that implements

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Seldon, Richard
Frank Re. solution proposed below (with FocusBehavior) you can get the markup id for whatever field you chose determined by how you write your getDefaultField() method in the class implementing the interface FocusBehaviour. One option would be to have the method traverse all relevant form

Re: [Wicket-user] AjaxFormComponentUpdatingBehavior for DropDownChoice not working in IE

2007-06-15 Thread Javed
Your doubt is valid but dropdown is inside form. If this was the case then it wouldnt have worked in Firefox. Frank Bille wrote: Sounds weird. Could it be something with the dropdown isn't inside a form? Frank On 6/14/07, Javed [EMAIL PROTECTED] wrote: Thanks for Reply.

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Alex Objelean
Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. Jan Kriesten-3 wrote: hi alex, Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because it does not extend the FormComponent, but a WebMarkupContainer. i've got a similar issue and this topic is

Re: [Wicket-user] AjaxFormComponentUpdatingBehavior for DropDownChoice not working in IE

2007-06-15 Thread Johan Compagner
is maybe in IE the onChange method not called? Can you debug that what happens for example if you click somewhere in the browser so that the focus get lost from the dropdown? Where is the onChange code attached to?? Is it attached to the right tag? johan On 6/15/07, Javed [EMAIL PROTECTED]

[Wicket-user] Palette problem with latest snapshot

2007-06-15 Thread shumbola
Hello, A few days ago I've upgraded my project to the 1.3 snapshot from June 12. Before I was using a one from May 10. Today I noticed that my page which uses the Palette component stopped working. Anytime I launch that page it gives me the following error: WicketMessage: No get method defined

Re: [Wicket-user] Validating Date to against Date From

2007-06-15 Thread kubino
Thanks a lot, great link ;-) Gerolf Seitz wrote: oh, of course the methods name is validate also take a look at the wiki: http://cwiki.apache.org/WICKET/validating-related-fields.html On 6/14/07, Gerolf Seitz [EMAIL PROTECTED] wrote: take a look at the EqualInputValidator [0] and

[Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martin Funk
Any Administrator of wicketstuff confluence and jira around? How do I create a link to http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 on http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Also I haven't seen a form for creating a Wicket Contrib GMap2 project on

Re: [Wicket-user] FireFox 1.5 macos, ajax fails..

2007-06-15 Thread Nino Saturnino Martinez Vazquez Wael
Sorry, this turned out to be wrong.. Everything are working as it should..:) Matej Knopp wrote: What kind of errors? -Matej On 5/22/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi any had trouble with this. My Ajax calls fails with FF 1.5 on macos. Also

Re: [Wicket-user] 1) PropertyResolver and Lists 2) Page expiration in 1.3

2007-06-15 Thread Johan Compagner
1) If the model is List, PropertySolver doesn't try to find fields. We are using vectors containing public fields. In 1.2.6 this was ok. i dont know if we really changed the property resolver behavior like tis for 1.3 Do you have a unit test that fails now that shouldn't that i can add to the

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Nino Saturnino Martinez Vazquez Wael
hmm Martijn ive added the label component to this page: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution but it does not show up on the wiki page list.. what am I doing wrong? Martijn Dashorst wrote: I have also updated the wiki page with an explanation how to add

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
I have also updated the wiki page with an explanation how to add your page to the mix: http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Martijn On 6/15/07, Martijn Dashorst [EMAIL PROTECTED] wrote: The page is generated automatically. All you have to do is label your page as

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
The page is generated automatically. All you have to do is label your page as 'component': Martijn On 6/15/07, Martin Funk [EMAIL PROTECTED] wrote: Any Administrator of wicketstuff confluence and jira around? How do I create a link to

[Wicket-user] 1) PropertyResolver and Lists 2) Page expiration in 1.3

2007-06-15 Thread Juha Alatalo
Hi, We are trying to start using wicket version 1.3 and encountered some problems 1) If the model is List, PropertySolver doesn't try to find fields. We are using vectors containing public fields. In 1.2.6 this was ok. 2) Pressing any button or link causes page expiration. It seems that

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Frank Bille
Hmm, yeah perhaps it should be a behavior which we should be able to add to the form instead. And the register the components which would like to have default focus. I don't think it's necessary to have it as an interface which should be implemented. It feels a little intrusive. I'll take a

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. actually, if you're up to building it from the sources yourself, modifying Radio to work as you expect is pretty easy. just remove the 'final' from FromComponent.getValue() and let Radio extend

[Wicket-user] Copenhagen Wicket Users Group - interested?

2007-06-15 Thread Nino Saturnino Martinez Vazquez Wael
Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
On 6/15/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: ive added the label component to this page: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution but it does not show up on the wiki page list.. what am I doing wrong? Nothing, probably some

Re: [Wicket-user] 1) PropertyResolver and Lists 2) Page expiration in 1.3

2007-06-15 Thread Juha Alatalo
Johan Compagner wrote: 1) If the model is List, PropertySolver doesn't try to find fields. We are using vectors containing public fields. In 1.2.6 this was ok. i dont know if we really changed the property resolver behavior like tis for 1.3 Yes you have :). private final

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martin Funk
Now, that'll do for the confluence (after the refresh). What about jira? Martin Martijn Dashorst schrieb: The page is generated automatically. All you have to do is label your page as 'component': Martijn On 6/15/07, Martin Funk [EMAIL PROTECTED] wrote: Any Administrator of

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-06-15 Thread Frank Bille
Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not

Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-15 Thread monkey woo
I would definitely be very interested, I haven't actually finished building my wicket site, but i would be very very keen to pick up any advice etc. I would be particularly keen to hear about using wicket on very high traffic sites and how well it scales etc. Rhys Al Maw wrote: Hello

[Wicket-user] BodyContainer gone?

2007-06-15 Thread Andrew Klochkov
I updated to 1.3 beta1 and can't compile my projects due to the BodyContainer class absense. Earlier I used the following code to add some scripts execution in the body onload handler: getBodyContainer().addOnLoadModifier(loadRegions(); loadCities();, null); I can't write it in the markup

Re: [Wicket-user] BodyContainer gone?

2007-06-15 Thread Igor Vaynberg
iheadercontributor works on component level, since both panel and webpage are components it should work. http://cwiki.apache.org/WICKET/migrate-13.html -igor On 6/15/07, Andrew Klochkov [EMAIL PROTECTED] wrote: Igor, I saw your comment in svn about panels and IHeaderContributor, but is it

Re: [Wicket-user] Best way to set the focus on a form's TextField

2007-06-15 Thread Francisco Diaz Trepat - gmail
I just saw the code. I think this should be an easy property on any EDITABLE field. g.e.: TextField userIdField = new TextField(userId); userIdField.setFocus(); may be throw some tab order olso. je How about this, can some one from development share a comment? Is this notion or idea

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Al Maw
Martijn Dashorst wrote: On 6/15/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: ive added the label component to this page: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution but it does not show up on the wiki page list.. what am I doing wrong?

Re: [Wicket-user] BodyContainer gone?

2007-06-15 Thread Andrew Klochkov
Igor, I saw your comment in svn about panels and IHeaderContributor, but is it OK for a WebPage to implement it? Sorry but where can I find migration notes? Can't find them in svn. Igor Vaynberg wrote: see migration notes, mainly iheadercontributor -igor On 6/15/07, *Andrew Klochkov*

Re: [Wicket-user] Convertes Hell (Wicket 1.2.x)

2007-06-15 Thread Eelco Hillenius
This is really too complex to do a trivial job like a Date --- String conversion . We agree, and this is why we changed (simplified) it in Wicket 1.3. Exists a better and simpler way to override the default date-string conversion ? Not in 1.2 I'm afraid. In some cases SimpleConverterAdapter

Re: [Wicket-user] 1) PropertyResolver and Lists 2) Page expiration in 1.3

2007-06-15 Thread Eelco Hillenius
Thanks. I had blocked cookies on my test site for some reason. Why cookies are needed in 1.3? In 1.2 that wasn't the case, was it? It shouldn't be the case now either; links should always be rewritten so that it includes the jsessionid if the cookie is not available (the actual rewriting is

Re: [Wicket-user] BodyContainer gone?

2007-06-15 Thread Andrew Klochkov
Thanks! Works like a charm! Igor Vaynberg wrote: iheadercontributor works on component level, since both panel and webpage are components it should work. http://cwiki.apache.org/WICKET/migrate-13.html -igor On 6/15/07, *Andrew Klochkov* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Re: [Wicket-user] Convertes Hell (Wicket 1.2.x)

2007-06-15 Thread Seldon, Richard
Paolo - You could try creating your own component and pass a SimpleDateFormat object (custom mask) into the constructor of this custom component. In addition, when you assign this component as a constructor argument to the DatePicker it will use this mask for output. You can deconstruct the Date

Re: [Wicket-user] Convertes Hell (Wicket 1.2.x)

2007-06-15 Thread Charlie Dobbie
For straightforward on-page Date formatting, I suggest Databinder's DateLabel component: http://preview.tinyurl.com/3cveh5 But for site-wide format handling in 1.2.x, there's no magic bullet at the moment. Roll on 1.3.0 :-) Charlie. On 6/15/07, Seldon, Richard [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Convertes Hell (Wicket 1.2.x)

2007-06-15 Thread Francisco Diaz Trepat - gmail
I use the wicket-datetime package. in there, you'll find the DateTextField: DateTextField myDate = DateTextField.forDatePattern(myDate, dd.MM.yy); wicket.extensions.markup.html.form.DateTextField Hope this help, f(t) On 6/15/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: I need to replace

Re: [Wicket-user] Convertes Hell (Wicket 1.2.x)

2007-06-15 Thread Eelco Hillenius
On 6/15/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: I use the wicket-datetime package. in there, you'll find the DateTextField: DateTextField myDate = DateTextField.forDatePattern(myDate, dd.MM.yy); Wicket 1.3 only though :) Eelco

[Wicket-user] Live Examples

2007-06-15 Thread Stefan Lindner
The live examples link from www.wicketframework.org points to http://www.wicket-library.com/wicket-examples This site shows Proxy Error The document has moved here [http://www.kattare.com/error502.kvws]; - This SF.net email

Re: [Wicket-user] Live Examples

2007-06-15 Thread Gerolf Seitz
i don't know what the original wicket-examples contained, but if you're looking for some examples, www.wicketstuff.org/wicket13/ might be a good start... On 6/15/07, Stefan Lindner [EMAIL PROTECTED] wrote: The live examples link from www.wicketframework.org points to

[Wicket-user] Location of css, images, js files

2007-06-15 Thread Tauren Mills
Hello, For a wicket 1.2 app, I've located my html files in a different location than the class files, as decribed here: http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html This works fine. But I'm finding that css, images, and js files are not being located unless I put

[Wicket-user] how to detect http session expiry - timeout due to no user activity

2007-06-15 Thread Ken Leung
Is there a way to trap the http session expires so that I can do some of my own house keeping stuff in my application ? thx - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Wicket-user] how to detect http session expiry - timeout due to no user activity

2007-06-15 Thread Eelco Hillenius
Yep. In Wicket 1.3 the default session store implementations have #onUnbind which should be called automatically with either an expiry or an explicit invalidation. If you don't extend from the abstract session store class (AbstractHttpSessionStore), you have to implement something yourself. Eelco

Re: [Wicket-user] how to detect http session expiry - timeout due to no user activity

2007-06-15 Thread Ken Leung
sounds good, but can it be done in 1.2.6 ? thx On 6/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yep. In Wicket 1.3 the default session store implementations have #onUnbind which should be called automatically with either an expiry or an explicit invalidation. If you don't extend from

Re: [Wicket-user] how to detect http session expiry - timeout due to no user activity

2007-06-15 Thread Eelco Hillenius
Not sure from the top of my head (don't have the project checked out here), but I think so... if the HttpSessionStore (the default in Wicket 1.2) has onUnbind, it should do that. Eelco On 6/15/07, Ken Leung [EMAIL PROTECTED] wrote: sounds good, but can it be done in 1.2.6 ? thx On

Re: [Wicket-user] how to detect http session expiry - timeout due to no user activity

2007-06-15 Thread Ken Leung
yes, looks like it does. thx, i 'll give it a try. On 6/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Not sure from the top of my head (don't have the project checked out here), but I think so... if the HttpSessionStore (the default in Wicket 1.2) has onUnbind, it should do that. Eelco

Re: [Wicket-user] wicket-contrib-gmap2

2007-06-15 Thread Martin Funk
Iulian Costan schrieb: yap, well done, also maybe we can put together the effort and improve things. yeah, right on wicket-contrib-gmap2 is the most constructive comment I was able to give on wicket-contrib-gmap. Do a diff -r wicket-contrib-gmap wicket-contrib-gmap2 and it'll precisely show

Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0

2007-06-15 Thread Sean Sullivan
I was unable to get my Wicket 1.3 application to run in Websphere 6.0.2.13 After upgrading from Websphere 6.0.2.13 to Websphere 6.0.2.17, my Wicket 1.3application is running perfectly. Wicket 1.3 users should avoid Websphere 6.0.2.13... Sean On 5/24/07, Sean Sullivan [EMAIL PROTECTED] wrote: