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 t

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

2010-01-12 Thread Martin Asenov
le model is one 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 wrote: > Hello, everyone! I'm currently developing a webapp a

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

2010-01-12 Thread Martin Asenov
be a bit of work 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 wr

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

2010-01-12 Thread Martin Asenov
t 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 wrote: > No, Chuck, I don't know what page is causing this. As you can see the > thrown exception messag

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 is

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 pee

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

2010-01-13 Thread Martin Asenov
0 at 12:48 PM, Martin Asenov 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:3

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

2010-01-13 Thread Martin Asenov
apache.org 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 Ase

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

2010-01-13 Thread Martin Asenov
: "Martin Asenov" To: 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 startup statement in

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

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

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 r

RE: Ajax unable to perform markup update

2010-01-18 Thread Martin Asenov
number changes then ofcourse.. you should maybe call : > > newPanel.setMarkupid(oldPanel.getMarkupId()); when ajax updating > > ** > Martin > > 2010/1/18 Martin Asenov : >> Hello, everyone! Although I've managed to handle such errors so far, I am >> unable to de

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 submitButto

RE: submit a form from outside of it

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

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 to

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
structor with a Form 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 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 t

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
d to solve this. Please, if someone has 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

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
ot; + > getEventHandler().toString() + "\n}", "submit_my_form"); >} >}; > > form.add(behave); > > > ... > > 2. anywhere in the page > > and your button will look like this: > > > > > > > On Mon, Jan 18, 2010 at 12:22

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
ot;..."), etc. 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 wrote: > Thank you both for the replies! After all I put the buttons in myFormPanel. > But this way I can't kno

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
hod on the page 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 wrote: > Yeah, Jeremy, that's pretty clear. I was saying that I can't know in the > p

RE: submit a form from outside of it

2010-01-18 Thread Martin Asenov
nent(feedback.getFeedbackPanel()); } } } On Mon, Jan 18, 2010 at 5:52 PM, Martin Asenov 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 tim

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: extraField.setOutputPlaceHolder

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, Janu

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 sessi

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
rror.? How 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, Chri

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, Jan

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 modal,

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
obstacles like 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,

RE: modal window contained and displayed by another modal window

2010-01-26 Thread Martin Asenov
ws 'page expired' message and everything gets 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

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&#

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

RE: know the last page user comes from

2010-01-28 Thread Martin Asenov
: 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 pr

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 eith

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 java.util.Arrays.copyOfRange(A

RE: java heap space IAuthorizationStrategy

2010-01-29 Thread Martin Asenov
--Original 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 w

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 cause:

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:

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 with

RE: webapp authentication

2010-02-03 Thread Martin Asenov
hat checks if your custom 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 As

RE: webapp authentication

2010-02-03 Thread Martin Asenov
010 6: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);

RE: webapp authentication

2010-02-03 Thread Martin Asenov
possible: http://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 wrote: > Hello guys! > > I want to ask you which security frameworks you use when it comes to > authenticating users

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
14:16 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) { >

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

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

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 i

RE: How to ajax update a component without triggered ajaxrequesttarget

2010-02-15 Thread Martin Asenov
ve? Or your use case? Ernesto On Mon, Feb 15, 2010 at 4:38 PM, Martin Asenov 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 AjaxReque

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 t

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

2010-03-01 Thread Martin Asenov
do some work? -R On Mon, Mar 1, 2010 at 5:31 AM, Martin Asenov wrote: > 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

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 wrote: > The use case is that I generate a file located in a temp folder that > appears

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

2010-03-01 Thread Martin Asenov
rally handles the case where a user doesn't leave the page. Ed. On Mar 1, 2010 10:09 AM, "Martin Asenov" 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 pa

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 Model(linkModel)); theLink.setOutputMarkupId(true); After another button click I have the linkModel field pointing to real file on the file system. And

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 [mailto:reier...@gmail.com]

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
nkModel a member variable? This way file will be "refreshed". Best, Ernnesto On Tue, Mar 2, 2010 at 1:14 PM, Martin Asenov wrote: > Hi, guys! > > I experience some DownloadLink problem - I have these fields: > > File linkModel; > DownloadLink theLin

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
hem 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 wrote: > Unfo

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
help! 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

RE: DownloadLink problem

2010-03-02 Thread Martin Asenov
efore I thought to change that, good fine :) -R On Tue, Mar 2, 2010 at 9:32 AM, Martin Asenov 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 t

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 message

RE: Session expired drives me mad!

2010-03-08 Thread Martin Asenov
get 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 : > Hello everyone! > > The session expired problem really driv

RE: Session expired drives me mad!

2010-03-08 Thread Martin Asenov
(name="yourBeanName") This way you can avoid some mess that may occur in the future :) On Mon, Mar 8, 2010 at 5:46 PM, James Carman wrote: > No, you need to use the @SpringBean annotation: > > http://cwiki.apache.org/WICKET/spring.html#Spring-AnnotationbasedApproach > >

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: http://www.mybrowser

RE: modal window problem

2010-03-08 Thread Martin Asenov
very same 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:

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

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, and there

RE: modal window problem

2010-03-11 Thread Martin Asenov
w the code? On Thu, Mar 11, 2010 at 5:55 AM, Martin Asenov 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@wic

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 java.lang.reflect.Method.invoke(Meth

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

2010-03-12 Thread Martin Asenov
Hi, Jonas! I only have some ListView-s with List 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: users@wicket.apache.or

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

2010-03-12 Thread Martin Asenov
Yes, 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 wrote: > Hi, Jonas! > > I only have some ListView-s with

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

2010-03-12 Thread Martin Asenov
12, 2010 at 2:39 PM, Martin Asenov 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.a

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

2010-03-12 Thread Martin Asenov
elp, I suggest you try setting 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

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 hashc

Wicket session never expires

2010-03-15 Thread Martin Asenov
Hello, everyone! In web.xml, I've set so: 30 However, the session never expires, and typing the app IP this morning I get in use the very old session from yesterday evening. And I get some hibernate closed connection exceptions... Would someone give a hint? Regar

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 e

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

2010-03-16 Thread Martin Asenov
tbeat or keepalive feature. 2010/3/16 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

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

2010-03-16 Thread Martin Asenov
er haven´t performed any other activity for a while... That way session will expire... Ernesto On Tue, Mar 16, 2010 at 2:46 PM, Martin Asenov wrote: > And why is that? Shouldn't Wicket session filter such events and not > consider them user interaction with the system? > > Thank

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

2010-03-16 Thread Martin Asenov
gt; > Maybe you can disable your "clock" if the user haven´t performed any other > activity for a while... That way session will expire... > > Ernesto > > On Tue, Mar 16, 2010 at 2:46 PM, Martin Asenov wrote: > > >> And why is that? Shouldn't Wicket

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 sessio

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 po

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Asenov
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 wrote: > From: Martin Asenov > Subject: RE: Replace "Choose

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Asenov
he > > > > null= > > > > approach. The blank line in the dropdown list simply > 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 req

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-17 Thread Martin Asenov
, 2010 at 2:23 AM, Martin Asenov 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 for a while > and in the meantime the session gets expired, I don't want

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
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 w

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 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 > Su

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
** Martin 2010/3/19 Martin Asenov : > To me modalWindow.close(new AjaxRequestTarget(containerPage)) doesn't work... > And RequestCycle.get().getRequestTarget() returns null; > > Please help... > > Best, > Martin > >

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

2010-03-19 Thread Martin Asenov
rs@wicket.apache.org 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

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

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 Form("form").add(new AjaxButton("home") { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget arg0, Form

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
quot; page. I'm using 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 wrote: > Some users might use IE6 for our webapp - how could I force them to > upgrade? > > P.S. Need some serious ans

  1   2   >