Image Scaling Feature !

2007-09-20 Thread chickabee
Hi, I like to know if wicket has any built-in feature for scaling images while maintaining aspect ratios, Thanks ! -- View this message in context: http://www.nabble.com/Image-Scaling-Feature-%21-tf4485782.html#a12792030 Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Dojo floating panel

2007-09-20 Thread Federico Fanton
On Wed, 19 Sep 2007 20:00:46 +0200 "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > hope it works this time ;) It works very well :) Many thanks for your time and patience! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Dojo floating panel

2007-09-20 Thread Gerolf Seitz
sure, you're welcome On 9/20/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > > On Wed, 19 Sep 2007 20:00:46 +0200 > "Gerolf Seitz" <[EMAIL PROTECTED]> wrote: > > > hope it works this time ;) > > It works very well :) Many thanks for your time and patience! > > > --

Re: Image Scaling Feature !

2007-09-20 Thread Martijn Dashorst
On 9/20/07, chickabee <[EMAIL PROTECTED]> wrote: > I like to know if wicket has any built-in feature for scaling images while > maintaining aspect ratios, Thanks ! There are oodles of image manipulation frameworks out there, there is no need for Wicket to provide that. And if that fails, you can a

Re: Testing wicket 1.3

2007-09-20 Thread Nino Saturnino Martinez Vazquez Wael
ahh, yeah this are more flexible:) regards Nino Frank Bille wrote: One thing you also could consider is using the TagTester. Currently you can find a tag by using the getTagById and getTagByWicketId. My orignial plan was to have several helper methods for finding the html tags you want for test

How to add RadioGroup column to DataTable?

2007-09-20 Thread Kevin Liu
Hi! Could you tell me how to add RadioGroup column to DataTable ? Thank you very much! -Kevin Liu - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.

Re: Image Scaling Feature !

2007-09-20 Thread Eelco Hillenius
> I like to know if wicket has any built-in feature for scaling images while > maintaining aspect ratios, Thanks ! Not sure what exactly you need, but you could take a look at ThumbnailImageResource in wicket-extensions. Eelco -

Re: New Wicket Portlets Demo available

2007-09-20 Thread Dipu Seminlal
Hi Ate, I'm interested in the portlet support which you have implemented in wicket. Any idea when it might be merged into the trunk? Regards Dipu On 9/17/07, Ate Douma <[EMAIL PROTECTED]> wrote: > > I'm really happy to announce that a new and quite feature complete Wicket > Portlets Demo is no

Re: Image Scaling Feature !

2007-09-20 Thread Ayodeji Aladejebi
http://www.javalobby.org/articles/ultimate-image/ On 9/20/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > I like to know if wicket has any built-in feature for scaling images > while > > maintaining aspect ratios, Thanks ! > > Not sure what exactly you need, but you could take a look at > Thu

Re: New Wicket Portlets Demo available

2007-09-20 Thread Gwyn Evans
Probably fairly soon - we've been looking at the changes and discussing it on the dev list, to try & get an idea if it'll cause a significant delay with regards to the aim of getting a 1.3 release out ASAP. Currently, however, I think the view is that it'll be likely to be in and we'll do a beta4,

Re: New Wicket Portlets Demo available

2007-09-20 Thread Ate Douma
Dipu Seminlal wrote: Hi Ate, I'm interested in the portlet support which you have implemented in wicket. Cool! Any idea when it might be merged into the trunk? It is under discussion right now on the dev list. I've proposed to merge this into trunk now (before -beta4 release), but this has

Re: New Wicket Portlets Demo available

2007-09-20 Thread Dipu Seminlal
Thanks Gwyn Regards Dipu On 9/20/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > > Probably fairly soon - we've been looking at the changes and > discussing it on the dev list, to try & get an idea if it'll cause a > significant delay with regards to the aim of getting a 1.3 release out > ASAP. Cur

RE: WebSession shutdown

2007-09-20 Thread Maeder Thomas
Thanks Eelco, but... The trouble is that the lifecycle of a Wicket WebSession object is not the same as the HTTPSession. When a session is temporary only, you never get a valueUnbound() callback. I'll have to move the resource manager initialization into the valueBound() method; inconvenient bu

Re: threading issues - continued

2007-09-20 Thread Sam Hough
Matej, Sorry for the delay. If you unzip the attached file into the root of src dir and point web.xml at TestWicketApplication it should work with 1.3-beta3. We have tested on FF2 and IE6 and breaks. Quickest way it to get focus on the button and hold down return. Please let me know if this is n

Re: New Wicket Portlets Demo available

2007-09-20 Thread Gwyn Evans
On Thursday, September 20, 2007, 10:50:30 AM, Ate <[EMAIL PROTECTED]> wrote: > I've proposed to merge this into trunk now (before -beta4 release), > but this hasn't been decided or voted upon yet. Well, you can now vote on it, at least! :-) /Gwyn ---

Re: New Wicket Portlets Demo available

2007-09-20 Thread Ate Douma
Gwyn Evans wrote: Probably fairly soon - we've been looking at the changes and discussing it on the dev list, to try & get an idea if it'll cause a significant delay with regards to the aim of getting a 1.3 release out ASAP. Currently, however, I think the view is that it'll be likely to be in a

Page expiration

2007-09-20 Thread Holda, Dariusz
Hi, I've came across a strange behaviour. I'm running Wicket app on Jetty server and most of the times it's working fine but from time to time I'm getting "Page expired" message even if user is actively using the app. Unfortunately it's not happening on the same events. Sometimes it's after pressi

Re: ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-20 Thread Vit Rozkovec
Yes, the form validates, I put the breakpoint at onSubmit and that method was invoked. I tried it also with empty form. The behavior is following: when I have only AjaxLinks in the form, it is ok. When I add AjaxButton, the behavior changes - the first time the modal window is displayed, it is p

Re: Page expiration

2007-09-20 Thread Dipu Seminlal
Hi, Can you please check if you have any img tags in your html with empty src attributes ? Regards Dipu On 9/20/07, Holda, Dariusz <[EMAIL PROTECTED]> wrote: > > > Hi, > I've came across a strange behaviour. I'm running Wicket app on Jetty > server and most of the times it's working fine but fro

RE: Page expiration

2007-09-20 Thread Holda, Dariusz
I don't have but from time to time I'm getting this error: "ERROR Unable to render resource stream jar:file:/vendor/Wicket_ext/1.2.6/wicket-extensions-1.2.6.jar!/wicket/ex tensions/markup/html/datepicker/style/aqua/menuarrow.gifwicket.WicketRun timeException: Unable to render resource stream jar:f

Re: Page expiration

2007-09-20 Thread Swaroop Belur
We are facing the same problem here - but its only with jetty and not with tomcat. After a re login everything seems to work fine. Its only the first time. (i guess the resource was loaded the next time.) The problem however does not occur with tomcat. -swaroop On 9/20/07, Holda, Dariusz <[EMAIL

Re: Enums and DropDownChoices in Web Beans

2007-09-20 Thread dtoffe
For most cases, the PropertyChangeEvents are ok. But now I'm facing a particular problem and I guess I'm trying to use the wrong tool for the task. Let's say I have a bean with two properties and I want to show them as dropdownchoices, but they are related, think for example of the CarMake

Re: Wicket consulting/contracting/outsourcing

2007-09-20 Thread skatz
Boston, MA Dan Syrstad-2 wrote: > > In what area of the world and what are you looking to do? > -Dan > > On 9/18/07, skatz <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> Can anyone provide me with pointers to individuals or companies providing >> Wicket consulting/contracting or outsourced pers

best practice

2007-09-20 Thread Sam Hough
Where is the best place to look for examples of best practice component development? I'm falling into my own strange GWT style that probably isn't very wicket friendly. Which is probably why I'm struggling to enjoy having HTML and components. Anybody point at any part of wicket.jar or wicket-exte

Re: best practice

2007-09-20 Thread Martijn Dashorst
I learnt a lot of the datatable and its cousins. Try building your own toolbar and column implementation, then you'll see some very elegant code IMO. The wicket-examples are a good source, as is the phonebook application. Of course you could look at the wicket in action sources (http://wicketinact

Ajax Problem on Page with IFRAME

2007-09-20 Thread SantiagoA
Hallo, I have a Problem with AJAX functionality. I have some InputFields which have an Ajax based refresh (onUpdate(AjaxRequestTarget target)) like an inputField for birthdate and one for "AgeInYears". If a birthdate is commited, the Field "AgeInYears" will be refreshed. There are some TabPanels

DropDownChoice Question

2007-09-20 Thread Clay Lehman
Hey everyone, I am relatively new to using Wicket, and I have a question about using DropDownChoice's to put a select box on a form. I want to display choices which have specific ID values for each option (instead of indexed choices, like most examples I see), and I want to update a Strin

Re: Amsterdam Wicket course; October 6-7

2007-09-20 Thread Reinout van Schouwen
Op dinsdag 18-09-2007 om 16:49 uur [tijdzone -0700], schreef jweekend: > If anyone would like this to happen, and we can find a suitable host, Al, > who develops and delivers the course, and I can both make the weekend of > October 6-7. The course is "Apache Wicket 1.3" (JW703) and the details are

Re: DropDownChoice Question

2007-09-20 Thread John Krasnay
On Thu, Sep 20, 2007 at 11:33:31AM -0400, Clay Lehman wrote: > And I want to be able to add a DropDownChoice to my form that is > something like this and have it automatically update Item.type in my > model: > > > > public class EditItemForm extends Form{ > > > >

FilterToolbar

2007-09-20 Thread Evan Chooly
Apparently the API between beta3 and the latest SNAPSHOT changed for FilterToolbar and now it needs a FilterForm. I can't find any examples (not even unit tests) that show how I should build my page/table with this new API. Does anyone have an example working with the latest code? Thanks.

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Evan Chooly
Put the Filter ID in the map. On 9/18/07, Flavius <[EMAIL PROTECTED]> wrote: > > > I have two pages, a list page and a detail. The list page > can take a filter parameter, or has a default one if one > is not passed (making it bookmarkable). When the user > clicks to go to the detail page, I wan

Re: FilterToolbar

2007-09-20 Thread Tauren Mills
Evan, See wicket-phonebook in wicket-stuff. Tauren On 9/20/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > Apparently the API between beta3 and the latest SNAPSHOT changed for > FilterToolbar and now it needs a FilterForm. I can't find any examples (not > even unit tests) that show how I should bu

Re: WebSession shutdown

2007-09-20 Thread Eelco Hillenius
> The trouble is that the lifecycle of a Wicket WebSession object is not the > same as the HTTPSession. When a session is temporary only, you never get a > valueUnbound() callback. I'll have to move the resource manager > initialization into the valueBound() method; inconvenient but not a proble

Re: How to add RadioGroup column to DataTable?

2007-09-20 Thread Igor Vaynberg
create a panel, and put the radiogroup in to it. then extend abstractcolumn and in populatecolumn create the instance of your panel and add it. -igor On 9/20/07, Kevin Liu <[EMAIL PROTECTED]> wrote: > > Hi! > > Could you tell me how to add RadioGroup column to DataTable ? > > Thank you very

Re: threading issues - continued

2007-09-20 Thread Eelco Hillenius
On 9/20/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > Matej, > > Sorry for the delay. If you unzip the attached file into the root of src dir > and point web.xml at TestWicketApplication it should work with 1.3-beta3. We > have tested on FF2 and IE6 and breaks. Quickest way it to get focus on the >

Re: Wicket shopping cart?

2007-09-20 Thread Tauren Mills
If I had to guess, most people who implement a custom shopping system have some sort of unique need. I'll start working on building something from scratch. I'll be using wicket/spring/hibernate to build this. If anyone has suggestions or ideas, I'd love to hear them. Especially when it comes to

Embedding wicket in jsp error

2007-09-20 Thread hillj2
I know this has been discussed before, but none of the previous posts have helped me solve my problem. I'm trying to embed a wicket page into a jsp page (until I have time go back and convert all our jsp's to wicket) using the tag. oc4j throws a ServletException: Error in Servlet, with no furth

RE: DropDownChoice Question

2007-09-20 Thread Clay Lehman
Hey John, Thanks for your advice, the example you gave me should handle what I need to do. -Clay -Original Message- From: John Krasnay [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 12:15 PM To: users@wicket.apache.org Subject: Re: DropDownChoice Question On Thu, Sep 20, 2

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Flavius
If I pass the id, I have to persist the filter someplace, like the session. I try to avoid putting things on the session since it inhibits performance of session replication in a clustered environment. If I could get to the requestCycle when the link is clicked, it seems like I could pass it al

CheckGroup form submission bug

2007-09-20 Thread Nick Busey
So I've got what appears to be a very strange bug. I have a CheckGroup with a ListView of Checks among other things. Everything seems to work fine if you render the form and submit it without any errors the first time. However, if you hit any errors (like not selecting any Checks), and are bounced

Re: Wicket shopping cart?

2007-09-20 Thread Scott Swank
I'm not sure that PetStore will be of great value. I'd just start by defining what you want your cart to contain. Do you have domain objects that already correspond to the sort of saleable item you want in your cart? If not, then you need that. Then you really just need a Cart class with method

Re: Embedding wicket in jsp error

2007-09-20 Thread Martijn Dashorst
I don't have any experience with oc4j nor embedding wicket in JSPs, but I know two things that can cause trouble: - make sure you use ONE_PASS_RENDER as a render strategy - don't use oc4j, or at least look at the threads on this list, as there have been more problems with oc4j and Wicket. Martij

Re: Images Example Question!

2007-09-20 Thread chickabee
Internal Image URL worked fine but the third party Image URLs still have problems, Here is the sample third party url: http://images.overstock.com/f/102/3117/8h/www.overstock.com/images/products/T10577058.jpg If I use Image: image = new Image("prodImg", "'url" ); then I get this: WARN - Pa

Re: Embedding wicket in jsp error

2007-09-20 Thread Al Maw
hillj2 wrote: I know this has been discussed before, but none of the previous posts have helped me solve my problem. I'm trying to embed a wicket page into a jsp page (until I have time go back and convert all our jsp's to wicket) using the tag. At the very least, you'll need to do what Marti

Re: Images Example Question!

2007-09-20 Thread Eelco Hillenius
com/ezfizz/whisky/http:/images.overstock.com/f/102/3117/8h/www.overstock.com/images/products/T10577058.jpg > > If I use Context Image: > image = new ContextImage("prodImg", new Model( "url" ) ); > > Then it shows broken Image and the image property says: > >https://lilo:8443/whisky/http://images.o

Re: CheckGroup form submission bug

2007-09-20 Thread Igor Vaynberg
if your listview is in a form you have to call listview.setreuseitems(true); -igor On 9/20/07, Nick Busey <[EMAIL PROTECTED]> wrote: > > > So I've got what appears to be a very strange bug. I have a CheckGroup > with a > ListView of Checks among other things. Everything seems to work fine if > y

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Evan Chooly
Having the link be both bookmarkable and having that object in the URL without persisting seems largely contradictory. Relying on having the object in the session also reduces the effect of making it bookmarkable. The only option I see for making it really bookmarkable (stateless) is serializing t

Re: CheckGroup form submission bug

2007-09-20 Thread Nick Busey
Thanks, this does fix this particular bug, but now I can't add items into the ListView. I'm trying to add items via AJAX, and with reuseItems turned on, it no longer adds the new items to the list like it should be. igor.vaynberg wrote: > > if your listview is in a form you have to call > listv

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Flavius
If the page is bookmarked, I don't care about retaining the filter. I just want the id for the item they want to view. But if they clicked the link from the list page (that has a list based on the filter), then when they return to the list page (save, cancel), I want to pass the filter back. Th

Re: Images Example Question!

2007-09-20 Thread chickabee
Very interesting! That was easy, all good again, thanks for the help !! Eelco Hillenius wrote: > > com/ezfizz/whisky/http:/images.overstock.com/f/102/3117/8h/www.overstock.com/images/products/T10577058.jpg >> >> If I use Context Image: >> image = new ContextImage("prodImg", new Model( "url

Re: Embedding wicket in jsp error

2007-09-20 Thread hillj2
Martijn Dashorst wrote: > > I don't have any experience with oc4j nor embedding wicket in JSPs, > but I know two things that can cause trouble: > - make sure you use ONE_PASS_RENDER as a render strategy > I actualy did have this set up in our main app. I just didn't put it in my small test a

Re: Embedding wicket in jsp error

2007-09-20 Thread hillj2
Al Maw wrote: > > At the very least, you'll need to do what Martijn suggests and set a > one-pass render strategy. > Done, with no success. Al Maw wrote: > > I'd recommend you go and read my blog post about this whole topic: > http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-

Re: CheckGroup form submission bug

2007-09-20 Thread Jan Kriesten
hi nick, > Thanks, this does fix this particular bug, but now I can't add items into the > ListView. I'm trying to add items via AJAX, and with reuseItems turned on, > it no longer adds the new items to the list like it should be. listview isn't designed like that, so this wont work with ajax. i

Re: CheckGroup form submission bug

2007-09-20 Thread Nick Busey
Thanks a lot for the help! I don't suppose you could post some of these Flex objects? Jan Kriesten wrote: > > > hi nick, > >> Thanks, this does fix this particular bug, but now I can't add items into >> the >> ListView. I'm trying to add items via AJAX, and with reuseItems turned >> on, >> it

Re: Enums and DropDownChoices in Web Beans

2007-09-20 Thread Dan Syrstad
On 9/20/07, dtoffe <[EMAIL PROTECTED]> wrote: > > > For most cases, the PropertyChangeEvents are ok. But now I'm facing a > particular problem and I guess I'm trying to use the wrong tool for the > task. > Let's say I have a bean with two properties and I want to show them as > dropdownchoi

replace a Form by another Form with Ajax?

2007-09-20 Thread Potje rode kool
How do I replace a Form by another From by using Ajax? I understand I have to call setOutputMarkupId(true), but what is more I have to do? Is there an example about this? Thanks, Evert

Re: replace a Form by another Form with Ajax?

2007-09-20 Thread Eelco Hillenius
On 9/20/07, Potje rode kool <[EMAIL PROTECTED]> wrote: > How do I replace a Form by another From by using Ajax? > I understand I have to call setOutputMarkupId(true), but what is more I have > to do? replace it in your component tree (form.parent.replace or form.replaceWith) and tell Wicket's ajax

Setting focus to a TextField

2007-09-20 Thread Doug Leeper
I know this is probably one of the most trivial things to do...but I am stumped. No example that I found on the Wicket example site has shown this. I know that AjaxRequestTarget#focusComponent plays a part in this but not sure how. Could someone post a quick code snippet or place on the Wiki on

Re: maven-jetty-plugin error

2007-09-20 Thread Martijn Dashorst
Seems like a Java conflict for the Jetty plugin version you are using: org/mortbay/jetty/Handler (Unsupported major.minor version 49.0) I am not sure which version this is, but I suggest you play with the jetty-plugin version a bit. You can specify the version directly in your pom with the plugi

Re: Setting focus to a TextField

2007-09-20 Thread Gwyn Evans
On Thursday, September 20, 2007, 11:43:45 PM, Doug <[EMAIL PROTECTED]> wrote: > I know this is probably one of the most trivial things to do...but I am > stumped. No example that I found on the Wicket example site has shown this. > I know that AjaxRequestTarget#focusComponent plays a part in this

maven-jetty-plugin error

2007-09-20 Thread auron
Hello everyone, (newbie alert!) Please forgive me if the contents of this message doesn't belong in wicket. I am new to maven, wicket, and jetty, so I am a bit unsure where to ask about my problem. I installed Java6 SDK, Maven 2.0.7. I then ran this as specified by Wicket's website: mvn arch

Re: maven-jetty-plugin error

2007-09-20 Thread auron
Thank you very much! I added 6.1.5 to the maven-jetty plugin entry in maven and everything works! Thanks again! Jin Martijn Dashorst wrote: > > Seems like a Java conflict for the Jetty plugin version you are using: > > org/mortbay/jetty/Handler (Unsupported major.minor version 49.0) > > I

Re: maven-jetty-plugin error

2007-09-20 Thread Gwyn Evans
Something very wierd there, as the "(Unsupported major.minor version 49.0)" is the sort of thing you see when you get a JDK 1.4 complaining about being given 1.5 classes... I also get the 6.1.1 Jetty plugin when I try... Does "mvn -U clean jetty:run" make any difference? /Gwyn On Friday, Septem

Re: Setting focus to a TextField

2007-09-20 Thread John Krasnay
On Thu, Sep 20, 2007 at 03:43:45PM -0700, Doug Leeper wrote: > > I know this is probably one of the most trivial things to do...but I am > stumped. No example that I found on the Wicket example site has shown this. > I know that AjaxRequestTarget#focusComponent plays a part in this but not > sur

Re: Tracking down an elusive error during migration to 1.3

2007-09-20 Thread David Leangen
I'm still waiting for the classloader problem to be fixed. There is no point putting this into a quickstart project since this won't reproduce the same classloader issues. We don't yet know if it's a problem with wicket or pax wicket. Since there were no issues with 1.2, it's strange that 1.3 is

ANN: beturtle.com launched

2007-09-20 Thread Joe Toth
Hi Everyone, We just launched http://beTurtle.com/ - A 'green' social networking site. If your interested in healthy living, sustainable practices, have 'green' questions or just want to make some new friends, stop on by. Let us know what you think, we would really appreciate it. It runs on Sprin

Re: ANN: beturtle.com launched

2007-09-20 Thread chickabee
Simply amazing! Nice to see wicket in action ( yet one more time... ), thanks for sharing ! WeaZeLb0y wrote: > > Hi Everyone, > > We just launched http://beTurtle.com/ - A 'green' social networking > site. If your interested in healthy living, sustainable practices, have > 'green' questions o

Re: ANN: beturtle.com launched

2007-09-20 Thread John Krasnay
On Thu, Sep 20, 2007 at 09:50:37PM -0400, Joe Toth wrote: > Hi Everyone, > > We just launched http://beTurtle.com/ - A 'green' social networking > site. If your interested in healthy living, sustainable practices, have > 'green' questions or just want to make some new friends, stop on by. Let > us

Re: How to add RadioGroup column to DataTable?

2007-09-20 Thread Kevin Liu
Hi! Igor There is something wrong with The Radios: RadioPanel.java: import org.apache.wicket.markup.html.form.Radio; import org.apache.wicket.markup.html.form.RadioGroup; import org.apache.wicket.markup.html.panel.Panel; import org.apache.wicket.model.IModel; public class RadioPanel ex

Re: How to add RadioGroup column to DataTable?

2007-09-20 Thread Igor Vaynberg
heh, "there is something wrong" doesnt really give me any context to help you :) i would guess you need to put the radiogroup around the entire datatable. -igor On 9/20/07, Kevin Liu <[EMAIL PROTECTED]> wrote: > > Hi! Igor > There is something wrong with The Radios: > > RadioPanel.java: >