hi, i want to upload a image from wicket and store it into dabase, how can i display it?

2008-10-19 Thread shrimpywu
hi, i want to upload a image from wicket and store it into dabase, how can i display it? in hibernate, i define the type as Blob to store the image, however, when i try to read it, get the input stream from blob it always complain that after serialzation, blog may not be asscessable. /

How do I find the referring page?

2008-10-19 Thread palun
I understand this is not the recommended way to get the referring page: HttpServletRequest request = getWebRequestCycle().getWebRequest().getHttpServletRequest(); String referringURL = request.getHeader(Referer); -- But what then is the recommended way? (Sorry for such an elementary question. I

Re: Empty PageParametyers when using HybridUrlCodingStrategy

2008-10-19 Thread itayh
Hi Erik, I manage to see that problem. The reason that I am not even getting to MyFrame constructor is because the parameter inside the page parameters contain / (the parameter is url). If I remove the / or replace it with another character than it works. I did a workaround and replace the url /

Re: hi, i want to upload a image from wicket and store it into dabase, how can i display it?

2008-10-19 Thread James Carman
I don't know that I would cache the image data. That will get stored in the session. Why use a DynamicImageResource if you're going to cache (store it in a member variable) the image data anyway? If the data comes from the database, then look it up when the resource is requested. On Sun, Oct

go back problem

2008-10-19 Thread overseastars
Hi all I'm learning to use the library example on the wicket website. But I found that once I got some results by search and I clicked one link to go into that detail page, then I actually could go back to the previous page. The example on the wicket website just provides a link to home, not a

Re: hi, i want to upload a image from wicket and store it into dabase, how can i display it?

2008-10-19 Thread Nino Saturnino Martinez Vazquez Wael
James Carman wrote: I don't know that I would cache the image data. That will get stored in the session. Why use a DynamicImageResource if you're going to cache (store it in a member variable) the image data anyway? Well, sure.. And it's not cluster safe.. There are pros and cons to it...

Permgen OOM - *not* reloading context

2008-10-19 Thread dukehoops
Our production servers running tomcat6, JVM 1.6 and Wicket 1.3.4 are running out of PermGen space after a couple of hours an a few thousands requests, eventually resulting in cannot detach Request from Session exceptions followed by PermGen OOM. We are NOT reloading app contexts - appservers are

Re: Pages or components... how do u decide?

2008-10-19 Thread Ned Collyer
I use markup inheritance for some pages, but I try to avoid making new pages (after all, what do they give you that a panel does not (other than an URL)?) I do use markup inheritance for components A LOT!! jwcarman wrote: Are you using one page and just passing in your content component?

Re: Permgen OOM - *not* reloading context

2008-10-19 Thread Serkan Camurcuoglu
AFAIK permanent generation keeps class reflection data.. one option is it may simply be that you have too many classes and the permanent generation space is not enough, after a few hours of running all parts of your application are touched by your users, all classes are loaded and your permanent

Setting title dynamically on Modalwindow

2008-10-19 Thread Kuga
Hi, Can anyone help me with the following. Thanks in advance for any help. I need to update the Title of the Modalwindow based on some actions on the dialog. For example say i have added wizard in my modalwindow, the Title needs to displayed as follows: Test Title : Step 1 of 2, if i go to the

Recommended validation method

2008-10-19 Thread claym
I'm fairly new, so help me out here... I've got a basic register a user form. I'd like to validate a couple of the fields (email, username) against the database. Database access provided by a @SpringBean service/dao object. Where/how is the recommended way of doing this type of validation? In

where is wicket-contrib-gmap3 1.3.4

2008-10-19 Thread overseastars
Hi I'm using wicket 1.3.4 which is not compatible with wicket-contrib-gmap2 Could anyone please tell me where i can find that jar file -- View this message in context: http://www.nabble.com/where-is-wicket-contrib-gmap3-1.3.4-tp20063260p20063260.html Sent from the Wicket - User mailing

Re: where is wicket-contrib-gmap3 1.3.4

2008-10-19 Thread Nino Saturnino Martinez Vazquez Wael
sure it are, just use the appropriate snapshot.. Or go into the 1.3 branch in wicket stuff svn... overseastars wrote: Hi I'm using wicket 1.3.4 which is not compatible with wicket-contrib-gmap2 Could anyone please tell me where i can find that jar file -- -Wicket for love Nino