page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-12 Thread Martin Asenov
Hello, everyone! I'm currently developing a webapp and I've nearly finished it. However, there's an issue that bothers me - from time to time wicket comes up with 'page expired' messages that piss me off. Of course, I have to make sure such messages will not be seen by the end user. I examined

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-12 Thread Martin Asenov
option if you use a 3rd party object that isn't serializable.. If you wrote the object you can make is serializable. Then again I could be all wrong. Chuck On Tue, Jan 12, 2010 at 5:42 AM, Martin Asenov mase...@velti.com wrote: Hello, everyone! I'm currently developing a webapp and I've nearly

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-12 Thread Martin Asenov
and might not tell you anything. The up side is that you now have wicket source and can debug your next problem. I usually assume there will be another problem. I'm sure others reading along will have better ideas. Chuck On Tue, Jan 12, 2010 at 6:27 AM, Martin Asenov mase...@velti.com wrote: Hi

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-12 Thread Martin Asenov
but in your domain object(s). I'm out of ideas. Maybe someone from the wicket team has a good suggestion. Sorry :-( Chuck On Tue, Jan 12, 2010 at 8:42 AM, Martin Asenov mase...@velti.com wrote: No, Chuck, I don't know what page is causing this. As you can see the thrown exception messages don't

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Please, everyone, I'm really despaired about this one, I'll greatly appreciate any help! Best regards, -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 12, 2010 4:37 PM To: users@wicket.apache.org Subject: RE: page expired problem issue wicket

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Here's again the original message, please, need some assistance... -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 12, 2010 12:43 PM To: users@wicket.apache.org Subject: page expired problem issue wicket how resolve fix eofexception peekbyte

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
PM, Martin Asenov mase...@velti.com wrote: Please, everyone, I'm really despaired about this one, I'll greatly appreciate any help! Best regards, -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 12, 2010 4:37 PM To: users@wicket.apache.org

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
Subject: Re: page expired problem issue wicket how resolve fix eofexception peekbyte Does it happens when the application server starts ? If yes, are you terminating the AS process or shutting down appropriate commands. fmu - Original Message - From: Martin Asenov mase...@velti.com

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
: Martin Asenov mase...@velti.com To: users@wicket.apache.org Sent: Wednesday, January 13, 2010 3:56 PM Subject: RE: page expired problem issue wicket how resolve fix eofexception peekbyte I get 'page expired messages as I browse through my webapp. However, the exception is placed before 'server

RE: page expired problem issue wicket how resolve fix eofexception peekbyte

2010-01-13 Thread Martin Asenov
resolve fix eofexception peekbyte In fact you should not be changing UIDs once you have generated them. fmu - Original Message - From: Martin Asenov mase...@velti.com To: users@wicket.apache.org Sent: Wednesday, January 13, 2010 4:21 PM Subject: RE: page expired problem issue wicket how

Ajax unable to perform markup update

2010-01-17 Thread Martin Asenov
Hello, everyone! Although I've managed to handle such errors so far, I am unable to deal with this one... I've got an abstract class MyFormPanel that extends Panel and calls super(form_panel); Because I've got different form panels, i.e. ContactFormPanel, GroupFormPanel, etc. I'm trying to

RE: Ajax unable to perform markup update

2010-01-18 Thread Martin Asenov
! If the markupid number changes then ofcourse.. you should maybe call : newPanel.setMarkupid(oldPanel.getMarkupId()); when ajax updating ** Martin 2010/1/18 Martin Asenov mase...@velti.com: Hello, everyone! Although I've managed to handle such errors so far, I am unable to deal with this one

submit a form from outside of it

2010-01-18 Thread Martin Asenov
Hello, everyone! I have a form that has validation and so on, but the main difference to ordinary forms is that my form does not contain it's submit button. It's located in a parent, in my case a web page. I'm wondering how can I force the form submitting from the page. The code is

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
AjaxFormSubmitBehavior(myForm, onclick) { protected void onSubmit(AjaxRequestTarget target) { //do what you have to do } }; Button submitButton = new Button(submitButton); submitButton.add(behave); ... Alexandru 2010/1/18 Martin Asenov mase

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
Thanks Bert, but I use a button... I need to have the button in the page, because it does the same for any form. I want to have code re-usage. But however my abstract MyFormPanel does not have relevant markup, so I can't include the buttons there, it would be nice, but I can not. I just want

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
as parameter. Would it be possible to access the form when creating the button? Bert On Mon, Jan 18, 2010 at 13:11, Martin Asenov mase...@velti.com wrote: Thanks Bert, but I use a button... I need to have the button in the page, because it does the same for any form. I want to have code re

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
a better idea, it would be great to share it... Best Regards, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Monday, January 18, 2010 3:33 PM To: users@wicket.apache.org Subject: RE: submit a form from outside of it Yes, Bert, it's accessible. The way you

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
); } }; form.add(behave); ... 2. anywhere in the page and your button will look like this: input type=button value=my_button onclick=submit_my_form()/ On Mon, Jan 18, 2010 at 12:22 PM, Martin Asenov mase...@velti.com wrote: Hi, Alexandru, thanks for the quick reply

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
. Then allow the onSubmit of the form to do its thing. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Jan 18, 2010 at 10:35 AM, Martin Asenov mase...@velti.com wrote: Thank you both for the replies! After all I put the buttons in myFormPanel. But this way I can't know when the submit

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
that child forms can call. Then the pages can do whatever they need with it. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Jan 18, 2010 at 10:40 AM, Martin Asenov mase...@velti.com wrote: Yeah, Jeremy, that's pretty clear. I was saying that I can't know in the parent page when the submit

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
()); } } } On Mon, Jan 18, 2010 at 5:52 PM, Martin Asenov mase...@velti.com wrote: Yes, but in my case the panels don't even know about the parent - they don't have a reference to it. I've got to think of some workaround on this one. Thanks for your time, Martin -Original Message- From: Jeremy

RE: Adding a form field at run time... is it possible?

2010-01-19 Thread Martin Asenov
Hi David, You may try to separate different forms into different panels, since panels have their own markup. They will hold specific forms suitable for your needs. Anyway, if you just need to include only one extra field, you can put it there, but do as follows:

RE: Adding a form field at run time... is it possible?

2010-01-19 Thread Martin Asenov
David, I'm pretty sure that everything you want could be accomplished through Wicket. Anyway, if you describe the use case completely, I can give further advices on what to do. Regards, Martin -Original Message- From: David Legg [mailto:david.l...@searchevent.co.uk] Sent: Tuesday,

get set attribute wicket session

2010-01-21 Thread Martin Asenov
Hello, everyone! I would like to ask if: -I've got an AuthenticatedWebSession implementation and there I have the fields -field1 -field2 with getters and setters. After that somewhere in my code, no matter where I say ((MySessionImpl)getSession()).getField1() will I get

RE: get set attribute wicket session

2010-01-21 Thread Martin Asenov
will always get the session attached to the current request. So yes it is session specific. Greets chris -Ursprüngliche Nachricht- Von: Martin Asenov [mailto:mase...@velti.com] Gesendet: Donnerstag, 21. Januar 2010 16:44 An: users@wicket.apache.org Betreff: get set attribute wicket

RE: get set attribute wicket session

2010-01-21 Thread Martin Asenov
could I get session specific attributes then? By using getMetaData()? Thanks, -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, January 21, 2010 5:54 PM To: users@wicket.apache.org Subject: RE: get set attribute wicket session Thanks, Chris! Have a nice

RE: AW: get set attribute wicket session

2010-01-21 Thread Martin Asenov
Unfortunatelly I can't use this since the webapp module builds the core and UI modules in one and builds resources and stuff like this in the war. Maybe I should think of something else... Regards, -Original Message- From: Joseph Pachod [mailto:j...@thomas-daily.de] Sent: Thursday,

modal window contained and displayed by another modal window

2010-01-25 Thread Martin Asenov
Hello guys! I was trying to trigger a modal window from another modal window, but on top modal window closing seems like the bottom page gets refreshed, or something like this, because when I click on something on the middle frame (first modal) that is active after the closing of the top

RE: modal window contained and displayed by another modal window

2010-01-25 Thread Martin Asenov
Thanks, namesake, this is useful! -Original Message- From: Martin Grigorov [mailto:mcgreg...@e-card.bg] Sent: Monday, January 25, 2010 12:06 PM To: users@wicket.apache.org Subject: Re: modal window contained and displayed by another modal window On Mon, 2010-01-25 at 11:26 +0200, Martin

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
these? Thanks, Martin -Original Message- From: Martin Grigorov [mailto:mcgreg...@e-card.bg] Sent: Monday, January 25, 2010 12:06 PM To: users@wicket.apache.org Subject: Re: modal window contained and displayed by another modal window On Mon, 2010-01-25 at 11:26 +0200, Martin Asenov wrote

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
messed up, no matter if I've put closebutton callback of the top modal or not. I would be glad if someone shed more light on this issue, because I can't solve it. Thank you in advance! BR, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
Please, can someone help me with this? Thanks again! Regards, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, January 26, 2010 4:17 PM To: users@wicket.apache.org Subject: RE: modal window contained and displayed by another modal window Here's

know the last page user comes from

2010-01-28 Thread Martin Asenov
Hello, everyone, I was just wondering how could I know what's the page the user comes from, when he comes into a new page. In need that in order to redirect to previous page in my access denied page. Thank you ! Best regards, Martin

RE: know the last page user comes from

2010-01-28 Thread Martin Asenov
...@mysticcoders.com] Sent: Thursday, January 28, 2010 10:39 AM To: users@wicket.apache.org Subject: Re: know the last page user comes from Pass the previous Page in the constructor. On Jan 28, 2010, at 12:36 AM, Martin Asenov wrote: Hello, everyone, I was just wondering how could I know what's the page

RE: know the last page user comes from

2010-01-28 Thread Martin Asenov
To: users@wicket.apache.org Subject: Re: know the last page user comes from On 01/28/10 09:36, Martin Asenov wrote: Hello, everyone, I was just wondering how could I know what's the page the user comes from, when he comes into a new page. In need that in order to redirect to previous page in my

RE: know the last page user comes from

2010-01-28 Thread Martin Asenov
comes from On 01/28/10 10:01, Martin Asenov wrote: Yes I know about it, but never used it, is it suitable in the case I mentioned above? Would you give me some hints on how to implement it? Sure, here's some code from a small internal app I wrote recently. I got most of it from either the wiki

java heap space IAuthorizationStrategy

2010-01-28 Thread Martin Asenov
Hello guys! Very strange exception occurred yesterday when trying to set IAuthorizationStrategy to my webapp. Here's the exception: SEVERE: An exception or error occurred in the container during the request processing java.lang.OutOfMemoryError: Java heap space at

RE: java heap space IAuthorizationStrategy

2010-01-29 Thread Martin Asenov
Message- From: Thomas Kappler [mailto:thomas.kapp...@isb-sib.ch] Sent: Friday, January 29, 2010 10:36 AM To: users@wicket.apache.org Subject: Re: java heap space IAuthorizationStrategy On 01/29/10 08:38, Martin Asenov wrote: Hello guys! Very strange exception occurred yesterday when trying

Very strange exception

2010-02-02 Thread Martin Asenov
Hello guys, I get this exception, when loading a page: WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [Component id = label] Root

RE: Very strange exception

2010-02-03 Thread Martin Asenov
Hi, Wilhelmsen! Yes, this is pretty clear. I've got enough experience in order to know this :) Maybe the problem is the wicket:id, which I've named 'label'. Maybe this is problem, since I heard certain 'ids' cause problems, like buttons with id=submit, links with id=link and so on. Thank you,

RE: Very strange exception

2010-02-03 Thread Martin Asenov
, 2010 5:04 PM To: users@wicket.apache.org Subject: Re: Very strange exception I have used id=label a lot in my pages/components, so I don't think that's your problem. Are you sure your label is set up in your markup in the right spot (in the hierarchy)? On Wed, Feb 3, 2010 at 3:11 AM, Martin Asenov

webapp authentication

2010-02-03 Thread Martin Asenov
Hello guys! I want to ask you which security frameworks you use when it comes to authenticating users through JPA. I relied on JSecurity/Shiro but I can't set it up. I'm looking for a simple framework but secure enough (not looking for extraordinary security), which I can set pretty easily

RE: webapp authentication

2010-02-03 Thread Martin Asenov
session has a username set 2. use wicket-auth-roles, giving you role based authorization (not-authorized, user and admin) There are enough examples available on the wiki, in wicket-examples and wicket in action (chapter 11) Martijn On Wed, Feb 3, 2010 at 4:25 PM, Martin Asenov mase...@velti.com

RE: webapp authentication

2010-02-03 Thread Martin Asenov
:28 PM To: users@wicket.apache.org Subject: Re: webapp authentication On 02/03/10 17:20, Martin Asenov wrote: I need only to authenticate users when they attempt to login. Not just call something like this: User user = MyUtilities.getUserByCredentials(name, password); if (user == null

RE: webapp authentication

2010-02-03 Thread Martin Asenov
://cwiki.apache.org/confluence/display/SHIRO/Web Of course, any recommendations are appreciated. Cheers, Les On Wed, Feb 3, 2010 at 10:25 AM, Martin Asenov mase...@velti.com wrote: Hello guys! I want to ask you which security frameworks you use when it comes to authenticating users through JPA. I

setResponsePage in the beggining of a constructor does not work

2010-02-04 Thread Martin Asenov
Hello guys! I've got three pages, where I do certain check in the beginning and if the criteria is not met, I redirect to home page. I make it that way: public MyPageClass { if (something) { system.out.println(mypageclass - we're in);

RE: setResponsePage in the beggining of a constructor does not work

2010-02-04 Thread Martin Asenov
keltezéssel, Martin Asenov írta: Hello guys! I've got three pages, where I do certain check in the beginning and if the criteria is not met, I redirect to home page. I make it that way: public MyPageClass { if (something) { system.out.println(mypageclass

modal in a modal problem

2010-02-12 Thread Martin Asenov
Hello, everyone! I experience a problem when triggering a modal window from another modal window. When a removal icon is clicked in the first modal, there's a confirmation dialog, that pops up. Although I've set everything up, the windowClosedCallback gets activated only when I confirm removal

RE: modal in a modal problem

2010-02-12 Thread Martin Asenov
removed, but why triggering it twice? Thanks in advance! From: Martin Asenov Sent: Friday, February 12, 2010 10:20 AM To: 'users@wicket.apache.org' Subject: modal in a modal problem Hello, everyone! I experience a problem when triggering a modal window from another modal window. When a removal

RE: modal in a modal problem

2010-02-12 Thread Martin Asenov
Does anyone know? Please, people, I'm getting despaired of this... -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, February 12, 2010 10:23 AM To: users@wicket.apache.org Subject: RE: modal in a modal problem I forgot to mention that the first time I click

How to ajax update a component without triggered ajaxrequesttarget

2010-02-15 Thread Martin Asenov
Hello guys! How can I update a component without having AjaxRequestTarget triggered from a button or a link? I tried this: myComponent.renderComponent(); new AjaxRequestTarget(getPage()).addComponent(myComponent) myComponent has output markup id set to true both didn't work for me... Thanks

RE: How to ajax update a component without triggered ajaxrequesttarget

2010-02-15 Thread Martin Asenov
? Ernesto On Mon, Feb 15, 2010 at 4:38 PM, Martin Asenov mase...@velti.com wrote: Hello guys! How can I update a component without having AjaxRequestTarget triggered from a button or a link? I tried this: myComponent.renderComponent(); new AjaxRequestTarget(getPage()).addComponent(myComponent

How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
Hello, everyone! I was wondering if there's a way to know for instance if the user is on a page is there an event fired that indicates that the user is no longer on this page. I saw the method 'onRedirect()', but it's fired when the user comes to the page. I want to know when the user changes

RE: How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
an idea... Use a component instantiation listener and delete the file, if it exists, whenever any other page is created. Regards, Ernesto On Mon, Mar 1, 2010 at 4:09 PM, Martin Asenov mase...@velti.com wrote: The use case is that I generate a file located in a temp folder that appears on page

RE: RE: How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
handles the case where a user doesn't leave the page. Ed. On Mar 1, 2010 10:09 AM, Martin Asenov mase...@velti.com wrote: The use case is that I generate a file located in a temp folder that appears on page under a download link. I want to delete the file when the user goes in another page. Regards

DownloadLink problem

2010-03-02 Thread Martin Asenov
Hi, guys! I experience some DownloadLink problem - I have these fields: File linkModel; DownloadLink theLink = new DownloadLink(link_id, new ModelFile(linkModel)); theLink.setOutputMarkupId(true); After another button click I have the linkModel field pointing to real file on the file system.

RE: RE: How can i know when a users redirects to other page

2010-03-02 Thread Martin Asenov
Hi, Ernesto! This is most likely the way I'll do the thing. I have a quartz scheduler and will arrange a recurring job that will clean files older than a day for instance. Thank you all! Best regards, Martin -Original Message- From: Ernesto Reinaldo Barreiro

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
? This way file will be refreshed. Best, Ernnesto On Tue, Mar 2, 2010 at 1:14 PM, Martin Asenov mase...@velti.com wrote: Hi, guys! I experience some DownloadLink problem - I have these fields: File linkModel; DownloadLink theLink = new DownloadLink(link_id, new ModelFile(linkModel

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
/html Just place them somewhere and do new TestDownLoadLink(xxx); It works for me. First time the download link is disable and when you click on the AJAX link file is assigned, link is refreshed and you can download your file;-) Best, Ernesto On Tue, Mar 2, 2010 at 2:24 PM, Martin Asenov mase

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
! Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Tuesday, March 02, 2010 4:34 PM To: users@wicket.apache.org Subject: RE: DownloadLink problem Thanks Ernesto! But I want to have the link invisible on startup (because the file's empty). So I have

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
I thought to change that, good fine :) -R On Tue, Mar 2, 2010 at 9:32 AM, Martin Asenov mase...@velti.com wrote: Oh my God!!! The problem was that the button that is supposed to do the export was of type submit and it reloads the page, instead of refreshing components. I changed to type

Session expired drives me mad!

2010-03-08 Thread Martin Asenov
Hello everyone! The session expired problem really drives me mad, because it's been couple of months or so since it started bothering me. Please advice me on what to do, because I'm despaired. Wicket tries to serialize every single class in my opinion. I enabled the DEBUG of Wicket and

RE: Session expired drives me mad!

2010-03-08 Thread Martin Asenov
a proxy to the beans so you don't need to worry about them being serialisable. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com 2010/3/8 Martin Asenov mase...@velti.com: Hello everyone! The session expired problem really drives me mad

RE: Session expired drives me mad!

2010-03-08 Thread Martin Asenov
/3/8 Martin Asenov mase...@velti.com: Hello, Well, I do use Spring Beans, and as shown in the stack trace, there is a field relation to the beans themselves. I don't think I can avoid it, do I? I create the beans by casting from the ApplicationContext. Thank you, Martin

modal window problem

2010-03-08 Thread Martin Asenov
It's me again. I just noticed some very strange error that I have no explanation about. When I open a wicket modal window then it appears for a while and closes and the entire page gets redirected to some browser related pages, for instance ask.com, or some thing like this:

RE: modal window problem

2010-03-08 Thread Martin Asenov
parameters. Do you have any further ideas? Thanks, Martin -Original Message- From: Matthias Keller [mailto:matthias.kel...@ergon.ch] Sent: Monday, March 08, 2010 6:10 PM To: users@wicket.apache.org Subject: Re: modal window problem On 2010-03-08 17:07, Martin Asenov wrote: It's me again

RE: Session expired drives me mad!

2010-03-08 Thread Martin Asenov
+0200, Martin Asenov wrote: Hello everyone! The session expired problem really drives me mad, because it's been couple of months or so since it started bothering me. Please advice me on what to do, because I'm despaired. Wicket tries to serialize every single class in my opinion. I enabled

RE: modal window problem

2010-03-10 Thread Martin Asenov
Please, anyone give some support on this one? Thank you, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Monday, March 08, 2010 6:23 PM To: users@wicket.apache.org Subject: RE: modal window problem Hi, Matthias! Well, I viewed the page source

RE: modal window problem

2010-03-11 Thread Martin Asenov
, Mar 11, 2010 at 5:55 AM, Martin Asenov mase...@velti.com wrote: Please, anyone give some support on this one? Thank you, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Monday, March 08, 2010 6:23 PM To: users@wicket.apache.org Subject: RE: modal

why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Hello, everyone! I get the exception: java.lang.NullPointerException at com.company.project.event.SMSEvent.hashCode(SMSEvent.java:334) at java.util.HashMap.putForCreate(HashMap.java:413) at java.util.HashMap.readObject(HashMap.java:1031) at

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
Hi, Jonas! I only have some ListView-s with ListSMSEvent passed as an argument. You mean to replace the List with LoadableDetachableModel, that returns the List? Regards, -Original Message- From: Jonas [mailto:barney...@gmail.com] Sent: Friday, March 12, 2010 3:18 PM To:

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
, exactly. But the stacktrace you posted is about a HashMap that is directly referenced from one of your components - you should also use e.g. LoadableDetachableModel there, I guess. On Fri, Mar 12, 2010 at 2:25 PM, Martin Asenov mase...@velti.com wrote: Hi, Jonas! I only have some ListView-s

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
, Martin Asenov mase...@velti.com wrote: I don't have any HashMap-s that use SMSEvent object as a key. Only List-s Regards, Martin -Original Message- From: Jonas [mailto:barney...@gmail.com] Sent: Friday, March 12, 2010 3:29 PM To: users@wicket.apache.org Subject: Re: why is hashcode

RE: why is hashcode() called on page deserialization?

2010-03-12 Thread Martin Asenov
an Exception Breakpoint on NullPointerException in your debugger and examine the objects being serialized. You can see the Objects e.g. in as the first parameter of ObjectInputStream.readSerialData cheers, Jonas On Fri, Mar 12, 2010 at 3:36 PM, Martin Asenov mase...@velti.com wrote: Well, Jonas

RE: why is hashcode() called on page deserialization?

2010-03-15 Thread Martin Asenov
The issue is that the object that hashCode() is called on contains a @Lob object, I think it has to do with it... Regards, -Original Message- From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no] Sent: Monday, March 15, 2010 10:01 AM To: users@wicket.apache.org Subject: SV: why is

Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
Hello, everyone! In my webapp it looks like the session never expires, although I've set timeout of 30 seconds. But I have a digital clock in my right lower corner of the screen, that has an AjaxSelfUpdatingBehavior activated on it. Does it simulate user actions, that may cause session not to

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
or keepalive feature. 2010/3/16 Martin Asenov mase...@velti.com Hello, everyone! In my webapp it looks like the session never expires, although I've set timeout of 30 seconds. But I have a digital clock in my right lower corner of the screen, that has an AjaxSelfUpdatingBehavior activated

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
other activity for a while... That way session will expire... Ernesto On Tue, Mar 16, 2010 at 2:46 PM, Martin Asenov mase...@velti.com wrote: And why is that? Shouldn't Wicket session filter such events and not consider them user interaction with the system? Thank you both for the replies

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
Thanks, Michael! But how could I know if the user hasn't done anything? Does it have something to do with the RequestCycle? Regards, Martin -Original Message- From: Michael O'Cleirigh [mailto:michael.ocleir...@rivulet.ca] Sent: Tuesday, March 16, 2010 5:45 PM To:

Prevent SessionExpiredPage from opening in a modal window

2010-03-17 Thread Martin Asenov
Hello, guys! I'm, wondering if I could prevent my sessionExpiredPage from opening in a modal window. In case the user opens a modal window and goes away for a while and in the meantime the session gets expired, I don't want when he comes back and clicks inside the modal window to see the

RE: Replace Choose one from DropDownChoice?

2010-03-17 Thread Martin Asenov
Hi, David! Let's presume your webapplication class is called WebApp.java. In the same directory where it is present, create WebApp.properties with the following line: null= that way every single 'choose one' label will be replaced with . P.S. Don't forget to include the props files in the pom

RE: Replace Choose one from DropDownChoice?

2010-03-17 Thread Martin Asenov
it there no matter whether a value is selected or not, no matter whether it is a required field or not. Again, thanks for help! Best, David --- On Wed, 3/17/10, Martin Asenov mase...@velti.com wrote: From: Martin Asenov mase...@velti.com Subject: RE: Replace Choose one from DropDownChoice

RE: Replace Choose one from DropDownChoice?

2010-03-17 Thread Martin Asenov
disappears. As I said in my requirements, I hope to have it there no matter whether a value is selected or not, no matter whether it is a required field or not. Again, thanks for help! Best, David --- On Wed, 3/17/10, Martin Asenov mase...@velti.com wrote

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-17 Thread Martin Asenov
this: if (window.opener!=null) { window.opener.location=window.location; } -igor On Wed, Mar 17, 2010 at 2:23 AM, Martin Asenov mase...@velti.com wrote: Hello, guys! I'm, wondering if I could prevent my sessionExpiredPage from opening in a modal window. In case the user opens a modal window and goes away

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
Unfortunately, the session expired page still opens in a modal window... Any further help will be appreciated. Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Wednesday, March 17, 2010 6:34 PM To: users@wicket.apache.org Subject: RE: Prevent

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
for this. Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, March 18, 2010 10:02 AM To: users@wicket.apache.org Subject: RE: Prevent SessionExpiredPage from opening in a modal window Unfortunately, the session expired page still opens in a modal window

using IBehaviorListener

2010-03-18 Thread Martin Asenov
Hello, guys! I'm experiencing troubles with implementing IBehaviorListener on a ModalWindow. I want to detect every single user interaction with to components inside the modal window and the close button itself , as well. Would you give me some hints? Best, Martin

RE: using IBehaviorListener

2010-03-18 Thread Martin Asenov
Please, any help?! Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, March 18, 2010 1:11 PM To: users@wicket.apache.org Subject: using IBehaviorListener Hello, guys! I'm experiencing troubles with implementing IBehaviorListener

RE: using IBehaviorListener

2010-03-18 Thread Martin Asenov
in the web. On Thu, Mar 18, 2010 at 12:27 PM, Martin Asenov mase...@velti.com wrote: Please, any help?! Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, March 18, 2010 1:11 PM To: users@wicket.apache.org Subject: using

How to construct/generate AjaxRequestTarget for a WebPage, without explicitly being fired from AjaxButton/AjaxLink/AjaxSelfUpdatingTimerBehavior

2010-03-19 Thread Martin Asenov
To me modalWindow.close(new AjaxRequestTarget(containerPage)) doesn't work... And RequestCycle.get().getRequestTarget() returns null; Please help... Best, Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

RE: How to construct/generate AjaxRequestTarget for a WebPage, without explicitly being fired from AjaxButton/AjaxLink/AjaxSelfUpdatingTimerBehavior

2010-03-19 Thread Martin Asenov
2010/3/19 Martin Asenov mase...@velti.com: To me modalWindow.close(new AjaxRequestTarget(containerPage)) doesn't work... And RequestCycle.get().getRequestTarget() returns null; Please help... Best, Martin - To unsubscribe

RE: How to construct/generate AjaxRequestTarget for a WebPage, without explicitly being fired from AjaxButton/AjaxLink/AjaxSelfUpdatingTimerBehavior

2010-03-19 Thread Martin Asenov
Subject: Re: How to construct/generate AjaxRequestTarget for a WebPage, without explicitly being fired from AjaxButton/AjaxLink/AjaxSelfUpdatingTimerBehavior So how does the server communicate the close call to the client? Martijn On Fri, Mar 19, 2010 at 4:29 PM, Martin Asenov mase...@velti.com

IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Martin Asenov
Hello, everyone! I just noticed that my DatePicker doesn't work in IE6 - it doesn't even get displayed on mouse click. Also, when I close a modal window, the mask isn't hidden and the underlying page is not intractable, so I'm forced to refresh the whole page. Also, ajax components update cause

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-08 Thread Martin Asenov
Hi, T Ames! The datepicker is not in a modal window, but in a page. I was saying that when a modal window is closed, the mask it creates is never removed. Anyway, we'll probably not support IE6 Best, Martin Martin Asenov | Software Developer Velti Mob: +359.89.986.6745 | Tel: +359.2.933.5541

BookmarkablePageLink functionality in a Button

2010-04-09 Thread Martin Asenov
Hello, everyone! I've got this logout page: public class LogoutPage extends WebPage { public LogoutPage() { add(new FormObject(form).add(new AjaxButton(home) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget arg0,

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-09 Thread Martin Asenov
Is anyone able to give me some more assistance with the below mentioned issues? Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, April 08, 2010 5:18 PM To: users@wicket.apache.org Subject: IE6 issue regarding Wicket JS and Ajax Hello

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-09 Thread Martin Asenov
regarding Wicket JS and Ajax Upgrade. -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Friday, April 09, 2010 4:42 AM To: users@wicket.apache.org Subject: RE: IE6 issue regarding Wicket JS and Ajax Is anyone able to give me some more assistance with the below

RE: IE6 issue regarding Wicket JS and Ajax

2010-04-09 Thread Martin Asenov
it at some places and I do not have the issue (even if my pages are complex). Best, Ernesto On Fri, Apr 9, 2010 at 2:04 PM, Martin Asenov mase...@velti.com wrote: Some users might use IE6 for our webapp - how could I force them to upgrade? P.S. Need some serious answers, please. Best

BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
Hello, everyone! I've got this logout page: public class LogoutPage extends WebPage { public LogoutPage() { add(new FormObject(form).add(new AjaxButton(home) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget arg0,

RE: BookmarkablePageLink functionality in a Button

2010-04-12 Thread Martin Asenov
attaching your link to a button? button wicket:id=myButtonSomeText/button On Mon, Apr 12, 2010 at 3:44 AM, Martin Asenov mase...@velti.com wrote: Hello, everyone! I've got this logout page: public class LogoutPage extends WebPage {  public LogoutPage() {    add(new FormObject(form).add

  1   2   >