image from data

2011-07-02 Thread Miroslav F.
Hi folks, I have images in database as BLOBs and retrieving it with JDBC (not good code, just test at the moment) with this (just snip of the code): conn = Utils.makeConnection();//make connection with JDBC try { conn.setAutoCommit(false); st = conn.createStatement(); rs

Re: ResourceReference.getResource() returns NULL ?

2011-07-02 Thread Jim Pinkham
Search for Dynamically loading image for good examples of how to do this. Basically, you do not put the image data directly into HTML. Instead, you make your page.html with some table perhaps, and a series of links to your images. So you would need one method to list the ids of your images to

replace panel in dialog box

2011-07-02 Thread ruchi
Hi, im trying to replace panels inside a dialog box, but it wroks only first time. i have a page which contains a dialog box, when i initially create the page i put a blank panel inside the dialog box, the page also has one link on click of which i want to replace the panel inside the dialog box.

Re: image from data

2011-07-02 Thread Adam Gray
Perhaps check out DynamicImageResource? On Sat, Jul 2, 2011 at 7:39 AM, Miroslav F. mir...@seznam.cz wrote: Hi folks, I have images in database as BLOBs and retrieving it with JDBC (not good code, just test at the moment) with this (just snip of the code): conn =

resetting form components

2011-07-02 Thread ruchi
Hi, im taking input from user in the form components and trying to reset them when they are shown next time, i have tried doing form.clearInput(), i have also set model values to blank, and also done form.modelChanged() after setting the default model. i have also specifically set the

ajax GET stopped because of precondition check

2011-07-02 Thread Kurt Sys
Hey all, In IE, I can't get lazyloadpanels to load. I have a webapp with some lazyloadpanels, and none of them loads in IE - in other browsers, there is no problem. (Also, the content of an iframe doesn't load, which seems to be related, since it is also an ajax-request.) I've been trying both IE

inmethod-grid generics

2011-07-02 Thread Duy Do
Hi wicketers, I found inmethod-gric generics for wicket 1.5 on wicketstuff but can not find one for wicket 1.4.x. Is there any maven repo for 1.4.x? Thanks, Duy - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: ajaxlazyloadpanel and ie

2011-07-02 Thread Kurt Sys
updated info and code in http://apache-wicket.1842946.n4.nabble.com/ajax-GET-stopped-because-of-precondition-check-td3640560.html new thread -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajaxlazyloadpanel-and-ie-tp3637730p3640599.html Sent from the Users forum

Re: resetting form components

2011-07-02 Thread Andrea Del Bene
HI, are you sure that button submit is executed? Have you debugged it? Maybe the code is not executed because form has some validation errors... Hi, im taking input from user in the form components and trying to reset them when they are shown next time, i have tried doing form.clearInput(), i

Re: replace panel in dialog box

2011-07-02 Thread Andrea Del Bene
Hi, on click of link try to replace your code with this one: WebMarkupContainer tmp = new ModifyAATemplate(modifyAATemplatePanel, aat); modifyPanel.replaceWith(tmp); modifyPanel = tmp; tmp.setOutputMarkupId(true); target.addComponent(modifyDialog); modifyDialog.open(target); Hi, im

Re: Application with name 'xxxx' already exists.

2011-07-02 Thread Marc Ende
Hmm... there is just one, no more. :( Am 30.06.2011 10:23, schrieb Martin Grigorov: This can happen when you have two WicketFilter declarations in web.xml with the same name. On Thu, Jun 30, 2011 at 9:00 AM, me mli...@e-beyond.de wrote: Hi, the last hours I wanted to give the 1.5-RC a try.

Re: inmethod-grid generics

2011-07-02 Thread Attila Király
Hi Duy, Generics were added only to the 1.5 branch of inmethod-grid. There is no plan to backport this to the 1.4 branch. Attila 2011/7/2 Duy Do doquoc...@gmail.com Hi wicketers, I found inmethod-gric generics for wicket 1.5 on wicketstuff but can not find one for wicket 1.4.x. Is there

form component that is rendered as select or read-only input

2011-07-02 Thread kamiseq
hej, Im creating a component that is a panel - part of a form. I pass a LoadableDetachableModel to it with a list of items. when list size is greater then 1 I display a select html component to render all choices. but when list contains only one item I would like to show read only input because at

Re: form component that is rendered as select or read-only input

2011-07-02 Thread Igor Vaynberg
panel { onconfigure() { if (items1) { addorreplace(foo, new dropdownchoice(); } else { addorreplace(foo, new textfield().setenabled(false); } }} -igor On Sat, Jul 2, 2011 at 12:00 PM, kamiseq kami...@gmail.com wrote: hej, Im creating a component that is a panel - part of a form. I

Re: WicketFilter.init() called twice with Glassfish

2011-07-02 Thread Bertrand Guay-Paquet
Thanks for your answer Harald. I had taken a look at that bug as well, but this is not my case. I don't even have to access a web page to see the initialization problem. Wicket logs show the following on startup: INFO: init: DevUtils DebugBar Initializer INFO: init: DevUtils DebugBar

Re: form component that is rendered as select or read-only input

2011-07-02 Thread kamiseq
hym ;] thanks;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-02 Thread Niranjan Rao
Hi, I am a new user of wicket and new member of this list.Actually this is my first post to this mailing list. I am trying to make Wicket/Spring/Junit/Maven combo work. To make life more interesting, I have multi module project and one module (WebApp) depends upon DAL module. I followed the