add a package private default constructor to your class.
these are all well known limitations of proxying classes, you should try to
make sure your injected dependencies are interfaces or you something like
salve so no proxies are needed.
-igor
On Sun, Oct 19, 2008 at 11:53 PM, Jan Kriesten <[EM
Hi,
wicket-ioc/cglib (using 1.3-snapshot) has problems when it comes to creating
proxies for constructor injection (and also when it comes to enhance final
classes):
Caused by: java.lang.IllegalArgumentException: Superclass has no null
constructors but no arguments were given
at net.sf.
2008/10/20 overseastars <[EMAIL PROTECTED]>
>
> Sorry I got some of my words missing. I mean the latest
> wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
>
> So the only way is to checkout the svn and DIY that jar file???
If you wan't to stay 'on the edge' you can check out trunk,
public class mywebpage extends webpage {
@SpringBean private Dao dao;
public mywebpage() {
add(new textfield("foo").add(new ivalidatior() {
public void validate(ivalidatable v) {
string value=v.getvalue();
if (!dao.valueunique(value)) {
va
Sorry I got some of my words missing. I mean the latest
wicket-contrib-gmap2-1.4 is not compatible with wicket-1.3.4.
So the only way is to checkout the svn and DIY that jar file???
overseastars wrote:
>
> Hi
>
> I'm using wicket 1.3.4 which is not compatible with wicket-contrib-gmap2
>
>
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 Marti
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 lis
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? I
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 n
Thanks. I tried the examples that came with it and I did not find it
restricting me to the given list.
For the other issue of getting the object id, I found in my own code that as
I keep on typing the text, the list keeps getting shorter and that makes it
easier to search for the object in the li
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
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
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
shrimpywu wrote:
Thanks for your reply, i have seen that post,
the thing is , i can not get the byte array anyway..
coz i can not asscess the blob object...-_-!!!even though i saw the post
that can use the byte array or inputstream to show the image
? You need to explain that.. Inj
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... As
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
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 19
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 ur
We're actually using two web frameworks in our application, depending on
the type of page.
Our application basically consists of two types of page:
* "front of shop / front office" pages (these are the ones clients see
like search results, product listings - characterised by high load &
page
Thanks for your reply, i have seen that post,
the thing is , i can not get the byte array anyway..
coz i can not asscess the blob object...-_-!!!even though i saw the post
that can use the byte array or inputstream to show the image
Nino.Martinez wrote:
>
> Search the forum:)
>
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.
Search the forum:)
http://markmail.org/message/hgkugvqm6x2hj3j5#query:wicket%20image%20webresource+page:1+mid:hgkugvqm6x2hj3j5+state:results
You could also just inject the provider and serve it if not loaded, eg
the method above + injection, I think thats the best option, as it
should be clus
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.
/
ite
23 matches
Mail list logo