[Wicket-user] What's the best way to optionally add markup?

2007-05-01 Thread Lowell Kirsh
I have a table of numbers, and I want to flag each some of them by putting a red star next to them. What's the easiest way to do this? I imagine I'll have many red stars on the page. Would this be best done with a subclass of Label which renders itself as normal and also appends a 'span

Re: [Wicket-user] What's the best way to optionally add markup?

2007-05-01 Thread Igor Vaynberg
that is usually not the wicket way. there are two different ways to do it based on your usecase. 1) you can always add the span with * into markup, but hide it by overriding isvisible or directly calling setvisible. this is good if you dont have too many of these on the screen and so dont care

[Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-01 Thread RedFury
Hi fellow wicket-ers. I am attempting to write a small wicket app which can use multiple windows. The app updates a simple component using an ajax timer. I am doing a simple pagemap mapping in my code so I am certain that each window is using a different pagemap. With just one page it is

Re: [Wicket-user] What's the best way to optionally add markup?

2007-05-01 Thread Martijn Dashorst
Or you could add an attribute modifier and add a class to the components, using css to prepend the elements with a * Martijn On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: that is usually not the wicket way. there are two different ways to do it based on your usecase. 1) you can always

Re: [Wicket-user] nice url with submitted form

2007-05-01 Thread Eelco Hillenius
now we're going to build s.th. like a shop and i'm looking for A Thai site? Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-01 Thread Matej Knopp
Hi, This was recently fixed. Can you please try getting wicket from svn to see if it help your problem? -Matej On 5/1/07, RedFury [EMAIL PROTECTED] wrote: Hi fellow wicket-ers. I am attempting to write a small wicket app which can use multiple windows. The app updates a simple component

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Gerolf Seitz
i'd like to help un-limit the new datepicker in the datetime project. what i personally need is the ability to select a week or a month. i'm not sure though how much we can change the datepicker itself, because it's a YUI widget. however, as i said, i'd really like to contribute... gerolf On

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Eelco Hillenius
i'd like to help un-limit the new datepicker in the datetime project. what i personally need is the ability to select a week or a month. i'm not sure though how much we can change the datepicker itself, because it's a YUI widget. Not sure either. Might be a big pain. If it's too much work,

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Johan Compagner
This is the one i currently use: https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-calendar it works pretty well for what it should do I haven't heard from the javascript author back that he wants to change the license so its on wicket stuff for the moment. johan On 5/1/07,

[Wicket-user] Receivables clerk - part-time position with a foreign asset management company

2007-05-01 Thread ICRA Development Co .
Dear Sir or Madam, I am writing to inquire on your availability for part-time employment. Nominated as Russia's most innovative real estate development company in 2005 by RBC Daily, ICRA Development Co. (ICRA) is headquartered in Moscow, Russia. Currently, the company is looking for

Re: [Wicket-user] nice url with submitted form

2007-05-01 Thread Martin Grotzke
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote: now we're going to build s.th. like a shop and i'm looking for A Thai site? hm? a thai site? what do you mean? cheers, martin Eelco - This SF.net email is

Re: [Wicket-user] nice url with submitted form

2007-05-01 Thread Eelco Hillenius
On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote: now we're going to build s.th. like a shop and i'm looking for A Thai site? hm? a thai site? what do you mean? Was a joke. You said 's.th' and .th is Thailand's extension. Eelco

Re: [Wicket-user] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-05-01 Thread Dragos Bobes
Something got broken in the new release (1.3.0-incubating-SNAPSHOT) because I've checked wicket-examples 1.2.5 and it works fine there. Is this a known issue? Thanks, Dragos I've just noticed that the behaviour is specific to Firefox 2.0. In Internet Explorer 7 everything works fine.

Re: [Wicket-user] wicket-bench for 1.3-SNAPSHOT

2007-05-01 Thread Joni Freeman
On Mon, 2007-04-30 at 21:13 -0500, Ryan Sonnek wrote: is there anyone from the wicket-bench team out there that can provide info on a new version for the upcoming 1.3 release? now that the package names have changed, my wicket bench tests are totally hosed up... Ryan, We will do new version

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Johan Compagner
i fixed that again. that broke all our solutions and it just feels stupid that button doesn't map on the component Button Button class should just do its job looking where it is attached to. johan On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: use link or submitlink. -igor On 4/30/07,

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I've actually tried that. The issue I currently have is that when a true link is disabled, wicket removes the a tag and renders it as an unclickable span. With a button, the disabled='disabled' attribute should be added. Is there a way to customize this or override the current behavior of the

Re: [Wicket-user] nice url with submitted form

2007-05-01 Thread Johan Compagner
and eelco only dreams thai now so.. On 5/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote: now we're going to build s.th. like a shop and i'm looking for A Thai site? hm? a thai site? what do you mean? Was a joke. You said

[Wicket-user] File Upload inside a Wizard?

2007-05-01 Thread Ralf Eichinger
I want to embed a file upload inside a step of a wizard. it does not work, onSubmit of upload form is never called. looking at produced html shows that the html-form of the upload is nested within the form of the wizard... is this the problem (invalid html)? how to? my code (similiar to

[Wicket-user] [PseudoOT] Tomcat-Servlet catch unknown URLs

2007-05-01 Thread Juan Asensio Sánchez
Hi everybody I am developping a little application. I have three servlets: Images folder - /images (this is not a servlet, only a phisycal folder) Servlet 1 - /servlet1 - my.package.Servlet1 (extends WebApplication) Servlet 2 - /servlet2 - my.package.Servlet2 (extends WebApplication) Servlet 3

[Wicket-user] Resuable Panels and Model nesting

2007-05-01 Thread John RDF
I am trying to create Panels that represent each of my domain objects i.e. Address, Name, Referee (Contains Name and Address) etc.. I then have a CompoundPropertyModel over a value object which represents the entire form. In this I want to map its properties (and sub properties etc).. I am

Re: [Wicket-user] Way to prevent page versioning for a request in 1.3?

2007-05-01 Thread Peter Thomas
Matej, I'm stuck with a similar problem with Ajax replace and back button which I initially mentioned here: http://www.nabble.com/Ajax-component-replaceWith-and-browser-back-button-problems-tf3479357.html#a9710492 That problem is still there in todays snapshot. Recently I was trying to get to

[Wicket-user] Could not find form issue in 1.3 with buttons not on a form

2007-05-01 Thread jamieballing
We have hit an issue migrating to 1.3. We use components of type Button and add ajax behaviors to those buttons to do stuff. These buttons are not currently added to any form. When those Button components coexist on a page with an actual form which is submitted, we get an exception

Re: [Wicket-user] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-05-01 Thread Igor Vaynberg
best bet is to open a jira issue so this doesnt get lost. -igor On 5/1/07, Dragos Bobes [EMAIL PROTECTED] wrote: Something got broken in the new release (1.3.0-incubating-SNAPSHOT) because I've checked wicket-examples 1.2.5 and it works fine there. Is this a known issue? Thanks, Dragos

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Igor Vaynberg
in html button tag is a container, while our button component is not. so a link is a better match. did you also fix it so button doesnt add a value attr when it is attached to button? because button value=foo/ is illegal. -igor On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote: i fixed that

Re: [Wicket-user] [PseudoOT] Tomcat-Servlet catch unknown URLs

2007-05-01 Thread Igor Vaynberg
sounds like what you want is a servlet that is mapped as the 404 handler? -igor On 5/1/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Hi everybody I am developping a little application. I have three servlets: Images folder - /images (this is not a servlet, only a phisycal folder)

Re: [Wicket-user] File Upload inside a Wizard?

2007-05-01 Thread Igor Vaynberg
do not add your own form, i dont think we handle multipart embedded forms yet. simply add the field directly to the wizardstep panel. -igor On 5/1/07, Ralf Eichinger [EMAIL PROTECTED] wrote: I want to embed a file upload inside a step of a wizard. it does not work, onSubmit of upload form is

Re: [Wicket-user] Resuable Panels and Model nesting

2007-05-01 Thread Igor Vaynberg
basically what you have to understand is that compound models are shortcuts, and what you are using them for is a kind of abuse. that said here are some hints on how to do what you want you do class person { private Address address; } class address { private string street; } form f=new

Re: [Wicket-user] Cancel doesn't work for AjaxEditableLabel (1.3.0-incubating-SNAPSHOT)

2007-05-01 Thread Dragos Bobes
done - http://issues.apache.org/jira/browse/WICKET-520 Thanks, Dragos Igor Vaynberg wrote: best bet is to open a jira issue so this doesnt get lost. -igor On 5/1/07, *Dragos Bobes* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Something got broken in the new release

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
should this change be in the recent 1.3 snapshots (from bamboo)? I can check it out later today if so. On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: in html button tag is a container, while our button component is not. so a link is a better match. did you also fix it so button doesnt add a

[Wicket-user] DropDownChoice#wantOnSelectionChangedNotifications

2007-05-01 Thread Johannes Schneider
Hi, can anyone explain me why I have to override the method wicket.markup.html.form.DropDownChoice#wantOnSelectionChangedNotifications to make it return true. I would prefer a field that can be modified using a setter... What are the reasons for the actual design? Thanks, Johannes

Re: [Wicket-user] [PseudoOT] Tomcat-Servlet catch unknown URLs

2007-05-01 Thread Juan Asensio Sánchez
Yes. Can it be done? 2007/5/1, Igor Vaynberg [EMAIL PROTECTED]: sounds like what you want is a servlet that is mapped as the 404 handler? -igor On 5/1/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Hi everybody I am developping a little application. I have three servlets: Images

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Igor Vaynberg
yep, i think so. -igor On 5/1/07, Ryan Sonnek [EMAIL PROTECTED] wrote: should this change be in the recent 1.3 snapshots (from bamboo)? I can check it out later today if so. On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: in html button tag is a container, while our button component is

Re: [Wicket-user] DropDownChoice#wantOnSelectionChangedNotifications

2007-05-01 Thread Igor Vaynberg
a field would require us to store a boolean in the class and so increase the session size unnecessarily. makes sense? -igor On 5/1/07, Johannes Schneider [EMAIL PROTECTED] wrote: Hi, can anyone explain me why I have to override the method

Re: [Wicket-user] [PseudoOT] Tomcat-Servlet catch unknown URLs

2007-05-01 Thread Igor Vaynberg
see here http://herebebeasties.com/2006-12-20/using-a-servlet-filter-for-404-error-page/ -igor On 5/1/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Yes. Can it be done? 2007/5/1, Igor Vaynberg [EMAIL PROTECTED]: sounds like what you want is a servlet that is mapped as the 404

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Johan Compagner
Button is a FormComponent and all FormComponents are Containers so that works fine. if (Strings.isEqual(input, name)) { String value = getModelObjectAsString(); if (value != null !.equals(value)) { tag.put(value, value);

Re: [Wicket-user] Could not find form issue in 1.3 with buttons not on a form

2007-05-01 Thread Johan Compagner
use SubmitLind(id,form) for this Then you can give the form the submit belongs to How do you submit the form currently when you press the button?? johan On 5/1/07, jamieballing [EMAIL PROTECTED] wrote: We have hit an issue migrating to 1.3. We use components of type Button and add ajax

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Igor Vaynberg
buttons dont need name either. they dont post. so how many exceptions are you making just for button? it is easier to simply attach a link. -igor On 5/1/07, Johan Compagner [EMAIL PROTECTED] wrote: Button is a FormComponent and all FormComponents are Containers so that works fine. if

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I'm open to anything, but *something* needs to have knowledge of these exceptions. specifically: the link tag does *not* work to disable buttons. Either the Link, Button or a new Component should be able to handle this. On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: buttons dont need name

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Gerolf Seitz
as for now, i added the week of year pattern 'w' to the wicket-calendar in wicket-stuff. one may click either the week number directly or any day in the desired week. since there is no JIRA project for wicket-calendar (to which i would attach a patch or the whole file), how would you like me to

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Igor Vaynberg
i created a jira project for it -igor On 5/1/07, Gerolf Seitz [EMAIL PROTECTED] wrote: as for now, i added the week of year pattern 'w' to the wicket-calendar in wicket-stuff. one may click either the week number directly or any day in the desired week. since there is no JIRA project for

[Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-01 Thread Martijn Dashorst
We picked a time and day: May 3rd, 8pm. Be there or be square (obligatory '80s quote). Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now!

Re: [Wicket-user] DropDownChoice#wantOnSelectionChangedNotifications

2007-05-01 Thread Johannes Schneider
Yes, makes sense ;) Thanks for your answer. Johannes Schneider Igor Vaynberg wrote: a field would require us to store a boolean in the class and so increase the session size unnecessarily. makes sense? -igor On 5/1/07, *Johannes Schneider * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Johan Compagner
Buttons can have a name and value: http://www.w3schools.com/tags/tag_button.asp http://www.htmlcodetutorial.com/forms/_BUTTON.html and some more examples and you see that they are pretty much equal to input type=xxx http://www.expertrating.com/courseware/XHTMLCourse/XHTML-Forms-4.asp and i

Re: [Wicket-user] nice url with submitted form

2007-05-01 Thread Martin Grotzke
On Tue, 2007-05-01 at 15:36 +0200, Johan Compagner wrote: and eelco only dreams thai now so.. ok, then sweet dreams, eelco :) On 5/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On Tue, 2007-05-01 at 09:53 +0200, Eelco Hillenius wrote: now we're going to build s.th.

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-01 Thread Gerolf Seitz
thx, jira issue with attached patch: http://wicketstuff.org/jira/browse/WSCAL-1 since it's my first contribution, i hope i didn't mess up ;) gerolf On 5/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i created a jira project for it -igor On 5/1/07, Gerolf Seitz [EMAIL PROTECTED] wrote: as

[Wicket-user] styling options of AbstractChoice

2007-05-01 Thread Gerolf Seitz
afaik, there is no way to style options of an AbstractChoice (and it's descendants). i could imagine 3 ways to add this (although i don't know which would be the most wicket-like way) 1) expand IChoiceRenderer add methods like String getClass(), String getStyle() to the IChoiceRenderer

[Wicket-user] Recommendation for multipart upload in modal window in 1.3?

2007-05-01 Thread jamieballing
We need to have a file upload control on a modal window that updates via ajax. I know that 1.2 had issues with this, but does 1.3 support it? In any event, how would you recommend we approach this? -- View this message in context:

Re: [Wicket-user] Recommendation for multipart upload in modal windowin 1.3?

2007-05-01 Thread Apaar Trivedi
I would recommend using a page inside of a modal window, this way the form submit wont close the window. ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jamieballing Sent: Tuesday, May 01, 2007 6:47 PM To: wicket-user@lists.sourceforge.net Subject:

Re: [Wicket-user] styling options of AbstractChoice

2007-05-01 Thread Igor Vaynberg
or you can use Select, SelectOption, and SelectOptions in extensions -igor On 5/1/07, Gerolf Seitz [EMAIL PROTECTED] wrote: afaik, there is no way to style options of an AbstractChoice (and it's descendants). i could imagine 3 ways to add this (although i don't know which would be the most

Re: [Wicket-user] Button using button tag instead of input

2007-05-01 Thread Ryan Sonnek
I've created an issue in JIRA to track this issue: https://issues.apache.org/jira/browse/WICKET-521 Again, i don't have any preference on a solution, just that something works. Using the current Link object is *not* an option since it doesn't disable buttons correctly. On 5/1/07, Johan

Re: [Wicket-user] styling options of AbstractChoice

2007-05-01 Thread Gerolf Seitz
hm, good point. but i still see one limitation with SelectOptions: how can i add a class attribute with a value depending on the option-model. i can't seem to achieve this with adding a behavior to SelectOptions, since the behavior binds to the wrong component. if i missed something, please let

Re: [Wicket-user] styling options of AbstractChoice

2007-05-01 Thread Igor Vaynberg
selectoptions is a quick way to do it. if you want total control then put a repeater into the select and create your own options using selectoption. -igor On 5/1/07, Gerolf Seitz [EMAIL PROTECTED] wrote: hm, good point. but i still see one limitation with SelectOptions: how can i add a class

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-01 Thread Igor Vaynberg
you guys are old! -igor On 5/1/07, Jonathan Locke [EMAIL PROTECTED] wrote: Hey, wait a /minute/, Martijn, if this is the 80's isn't it hip to be square? (insert sax solo) Martijn Dashorst wrote: We picked a time and day: May 3rd, 8pm. Be there or be square (obligatory '80s quote).

Re: [Wicket-user] Wicket BoF @ Apache Con: thursday May 3rd, 8pm

2007-05-01 Thread Jonathan Locke
oh you just wait a couple weeks. you will be too. igor.vaynberg wrote: you guys are old! -igor On 5/1/07, Jonathan Locke [EMAIL PROTECTED] wrote: Hey, wait a /minute/, Martijn, if this is the 80's isn't it hip to be square? (insert sax solo) Martijn Dashorst wrote: We

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-01 Thread RedFury
Hi Matej, I got the latest SVN trunk and it did indeed fix the 'session expired' problem. However, another problem with opening a new tab still persists and I think it may have to do with page cloning combined with dynamic ajax page updates. I will try to explain as best I can but I'm not