RE: Back button

2010-04-25 Thread Martin Asenov
Hello, everyone!

I was off during the weekend, that's the reason I didn't write.

The issue occurs when:

I've got a repeater with cells (a calendar). Every cell has its own day label 
(a link that opens a modal window). The modalwindowcallback is set on the modal 
window that refreshes the repeater (actually its parent webmarkupcontainer). 
Afterwards I go to another page, and then click the back button. Looks like FF 
remembers the markup ids before the repeater refresh, and this is where the 
problem comes from. When I click on a link, I get the mentioned exception.

It doesn't occur in IE8.

Best,
Martin

-Original Message-
From: Douglas Ferguson [mailto:doug...@douglasferguson.us] 
Sent: Monday, April 26, 2010 9:26 AM
To: users@wicket.apache.org
Subject: Re: Back button

So does this mean that if you won't true BackButtom support you should swallow 
all exceptions.

That doesn't seem right..

D/

On Apr 25, 2010, at 11:26 AM, James Carman wrote:

> I meant "page store", not "session store."
> 
> On Sun, Apr 25, 2010 at 12:26 PM, James Carman
>  wrote:
>> It would affect the back button because when Wicket tries to go get
>> the specific version of the page back from the session store (only the
>> "current" version is kept in the session and the earlier ones are in
>> the store), it won't be able to find it.
>> 
>> On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson
>>  wrote:
>>> No.. this is not a serialization issue, unless Igor is correct in that fact 
>>> that the exception prevents serialization. But how would that effect the 
>>> back button,
>>> should the page on the back button have already been serialized?
>>> 
>>> Say if I get a hibernate "failed to lazy load" exception, then I hit the 
>>> back button, the links on the page all throw a "component not found on page"
>>> 
>>> D/
>>> 
>>> 
>>> On Apr 25, 2010, at 7:45 AM, James Carman wrote:
>>> 
 That means one of your fields might *not* be Serializable.  The error
 message usually tells you the exact field that caused the problem (in
 development mode).
 
 On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
> Hmmm, does that imply that one of the member variables may be 
> Serializable?
> 
> On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:
> 
>> the exception might have caused your page to not be serialized
>> properly into the pagestore
>> 
>> -igor
>> 
>> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>>  wrote:
>>> I just saw the issue again, but this time it happened right after an 
>>> exception. I got an except. Hit back and then it complained that the 
>>> link didn't exist.
>>> 
>>> D?
>>> 
>>> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>>> 
 Ah yes..
 
 I am definitely seeing the "component not found on page" error.
 
 Any tips on how to get a quick start for this? Anybody got any example 
 quickstarts that deal with back button issues?
 
 D/
 
 On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
 
> then you would get a page-expired error
> 
> -igor
> 
> On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
>  wrote:
>> Well something is happening, because I see it in the production logs 
>> and from time to time on my dev machine.
>> 
>> What if the server is restarted?
>> 
>> D/
>> 
>> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
>> 
>>> that doesnt matter because the url of the link you click contains 
>>> the
>>> version number of the page
>>> 
>>> -igor
>>> 
>>> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>>>  wrote:
 In firefox it doesn't. Firefox reads the page back from it's in 
 memory
 cache, which is the state before you clicked the ajax link. The 
 headers
 should be changed to force firefox to request the page from the 
 server
 (wicket). There are other threads on this subject, and frankly I 
 do not
 understand why the headers are not changed in wicket core.
 
 On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
  wrote:
> the back button should roll the page back to the state that 
> contained the
> item
> 
> -igor
> 
> On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
>  wrote:
>> Could this possibly happen if the following occurred.
>> 
>> 1) Load a page with a repeater on it
>> 2) Click on an ajax link that would remove an item from the 
>> repeater
>> 3) Click the back button. Click on the link for the item you 
>

Re: Back button

2010-04-25 Thread Douglas Ferguson
So does this mean that if you won't true BackButtom support you should swallow 
all exceptions.

That doesn't seem right..

D/

On Apr 25, 2010, at 11:26 AM, James Carman wrote:

> I meant "page store", not "session store."
> 
> On Sun, Apr 25, 2010 at 12:26 PM, James Carman
>  wrote:
>> It would affect the back button because when Wicket tries to go get
>> the specific version of the page back from the session store (only the
>> "current" version is kept in the session and the earlier ones are in
>> the store), it won't be able to find it.
>> 
>> On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson
>>  wrote:
>>> No.. this is not a serialization issue, unless Igor is correct in that fact 
>>> that the exception prevents serialization. But how would that effect the 
>>> back button,
>>> should the page on the back button have already been serialized?
>>> 
>>> Say if I get a hibernate "failed to lazy load" exception, then I hit the 
>>> back button, the links on the page all throw a "component not found on page"
>>> 
>>> D/
>>> 
>>> 
>>> On Apr 25, 2010, at 7:45 AM, James Carman wrote:
>>> 
 That means one of your fields might *not* be Serializable.  The error
 message usually tells you the exact field that caused the problem (in
 development mode).
 
 On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
> Hmmm, does that imply that one of the member variables may be 
> Serializable?
> 
> On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:
> 
>> the exception might have caused your page to not be serialized
>> properly into the pagestore
>> 
>> -igor
>> 
>> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>>  wrote:
>>> I just saw the issue again, but this time it happened right after an 
>>> exception. I got an except. Hit back and then it complained that the 
>>> link didn't exist.
>>> 
>>> D?
>>> 
>>> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>>> 
 Ah yes..
 
 I am definitely seeing the "component not found on page" error.
 
 Any tips on how to get a quick start for this? Anybody got any example 
 quickstarts that deal with back button issues?
 
 D/
 
 On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
 
> then you would get a page-expired error
> 
> -igor
> 
> On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
>  wrote:
>> Well something is happening, because I see it in the production logs 
>> and from time to time on my dev machine.
>> 
>> What if the server is restarted?
>> 
>> D/
>> 
>> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
>> 
>>> that doesnt matter because the url of the link you click contains 
>>> the
>>> version number of the page
>>> 
>>> -igor
>>> 
>>> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>>>  wrote:
 In firefox it doesn't. Firefox reads the page back from it's in 
 memory
 cache, which is the state before you clicked the ajax link. The 
 headers
 should be changed to force firefox to request the page from the 
 server
 (wicket). There are other threads on this subject, and frankly I 
 do not
 understand why the headers are not changed in wicket core.
 
 On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
  wrote:
> the back button should roll the page back to the state that 
> contained the
> item
> 
> -igor
> 
> On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
>  wrote:
>> Could this possibly happen if the following occurred.
>> 
>> 1) Load a page with a repeater on it
>> 2) Click on an ajax link that would remove an item from the 
>> repeater
>> 3) Click the back button. Click on the link for the item you 
>> removed.
>> 
>> D/
>> 
>> 
>> On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:
>> 
>>> Would someone assist me on this?
>>> 
>>> Thank you in advance!
>>> 
>>> -Original Message-
>>> From: Martin Asenov [mailto:mase...@velti.com]
>>> Sent: Friday, April 23, 2010 9:38 AM
>>> To: users@wicket.apache.org
>>> Subject: Back button
>>> 
>>> Hello, everyone!
>>> 
>>> I've got a page with a repeater with cells - every single cell 
>>> has a link in it. However, when you go to another page and 
>>> afterwards press the Back button and 

Re: Persistence.xml problem

2010-04-25 Thread Nico Guba
I can assure you that there are no apparent problems/conflicts in using 
EclipseLink alongside Wicket.  I'm doing it constantly :)

It is likely that there is an issue with how your IDE is setup or packages the 
files.  Some tools write their own META-INF directory in a war instead of using 
the one designated in your sources.   That may need some tweaking but it's a 
stab in the dark since my setup is a Maven/Eclipse combo, so I cannot help on 
IDE specific issues.  The principle remains the same though.

It may be worth looking at the actual war archive and see whether the 
persistence.xml file is actually included at the right spot.

Try changing the persistence unit's name and see whether the new name is 
recognised when you instantiate your PersistenceManagerFactory.

Hope this helps

On 25 Apr 2010, at 16:43, Matias Pansa wrote:

> 
> No , is ant .
> 
>> Subject: Re: Persistence.xml problem
>> From: ng...@mac.com
>> Date: Sun, 25 Apr 2010 15:41:07 +0100
>> To: users@wicket.apache.org
>> 
>> Is maven your build system?
>> 
>> On 25 Apr 2010, at 14:46, Matias Pansa wrote:
>> 
>>> 
>>> I try clean and build many times with the same result , i try deleting all 
>>> files manually to , a clean tomcat install and manually deploy the 
>>> app.Thanks.
>>> 
>>> 
>>> 
 Date: Sun, 25 Apr 2010 13:34:28 +
 From: andre.prase...@gmail.com
 Subject: RE: Persistence.xml problem
 To: users@wicket.apache.org
 
 Try clean and build, you might break your application.
 
 Sent from my Nokia phone
 -Original Message-
 From: Igor Vaynberg
 Sent:  24/04/2010 23:10:15
 Subject:  Re: Persistence.xml problem
 
 wicket has nothing to do with it. maybe your IDE is not updating your
 persistence.xml in the target directory.
 
 -igor
 
 On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  
 wrote:
> 
> 
> Hi , i'm developing an app under netbeans + wicket + tomcat + 
> wicket-contrib-javaee +eclipselink .
> The problem is that i run the app the first time and everything works 
> fine , but i change the data source in persistence.xml and the app stop 
> working , i change again to the original source and nothing ,  not 
> working , there is no error ,exception , nothing , the app runs on tomcat 
> like everything is ok , but there's no connection to the database , any 
> data is persisted .I just delete persistence.xml and app stil working! 
> ... clean tomcat install and still working without persistence.xml! , i 
> deployed the app war file within netbeans and manually on tomcat's web 
> manager without any persistence and the same result.So i want to know if 
> maybe wicket has something to do with this problem because i try almost 
> everything else , even running the app locally and in the server but 
> nothing happens , i apreciate any help on this.
> 
> _
> Organizá una reunión con Hotmail: podés enviar un email a tus amigos y 
> con el Calendario agendar la fecha. Descubrí más.
> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
>>>   
>>> _
>>> Con Hotmail y Calendario organizar reuniones es muy fácil: enviá 
>>> invitaciones y recibí confirmaciones de asistencia.
>>> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
>> 
>> -- 
>>  npg
>> 
>> 
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> _
> Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones 
> y recibí confirmaciones de asistencia.
> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-- 
npg





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: SignInPage as panel in an AuthenticatedWebApplication?

2010-04-25 Thread Zilvinas Vilutis
ModalPanel is unsecure - as you can hide it using JavaScript

But if you still want to do that - then you can add the modal panel to
your "ScurePage" - which all your other pages extend - display it
every time if the user is not logged in.


Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Sat, Apr 24, 2010 at 2:43 PM, Thomas Götz  wrote:
> Is there an easy way to use a panel for signing in when using an application 
> class that extends AuthenticatedWebApplication? The normal Wicket behaviour 
> is that the user gets forwarded to a dedicated signin-page. I'd prefer to use 
> a modal window (displaying a login panel), but
> AuthenticatedWebApplication.getSignInPageClass() needs to return a class that 
> extends Webpage ...
>
> Anyone can give me a hint on this?
>
>   -Tom
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Guice / legup / warp persist?

2010-04-25 Thread Jeremy Thomerson
I also updated the exception message in commit 937854.

--
Jeremy Thomerson
http://www.wickettraining.com



On Thu, Apr 8, 2010 at 7:26 AM, Martin Grigorov  wrote:

> The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761
> The fix is applied to 1.4.x at 13/03 by Juergen.
> 1.4.7 was released at 03/03.
>
> So, it will be included in next release - probably 1.4.8.
>
> On Thu, 2010-04-08 at 11:08 +0200, nino martinez wael wrote:
> > Hi
> >
> > I revived my old wicket talk yesterday and since we are using guice at
> > the company where Im at now the people attending the talk wanted to
> > see my examples in guice / wicket instead of spring / wicket. So I
> > used the legup archetype. Which worked nicely until I did a ldm which
> > I had to inject a dao into. With spring I would add the ldm to the
> > component instantiation listener, but if I do it the "spring" way
> > (InjectorHolder.getInjector().inject(this);) I get this error:
> >
> > WicketMessage: Can't instantiate page using constructor public
> > com.netdesign.blog.ViewPostPage(org.apache.wicket.PageParameters) and
> > argument postid = "[3]"
> >
> > Root cause:
> >
> > java.lang.IllegalStateException: InjectorHolder has not been assigned
> > an injector. Use InjectorHolder.setInjector() to assign an injector.
> > In most cases this should be done once inside SpringWebApplication
> > subclass's init() method.
> > at
> org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:70)
> >
> > Now there are several things I wonder about, first of all, why are
> > spring mentioned at all? Does wicket package DI specific classes in a
> > common distribution, and if so should'nt it be called something
> > specific towards the targetet DI framework. And second and more
> > important how can I achieve the same thing with guice? Or this could
> > also be a "bug" with legup or something. But I actually checked the
> > init method and  InjectorHolder.setInjector does not take the guice
> > component injector as argument.
> >
> >
> >
> > regards Nino
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Back button

2010-04-25 Thread James Carman
I meant "page store", not "session store."

On Sun, Apr 25, 2010 at 12:26 PM, James Carman
 wrote:
> It would affect the back button because when Wicket tries to go get
> the specific version of the page back from the session store (only the
> "current" version is kept in the session and the earlier ones are in
> the store), it won't be able to find it.
>
> On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson
>  wrote:
>> No.. this is not a serialization issue, unless Igor is correct in that fact 
>> that the exception prevents serialization. But how would that effect the 
>> back button,
>> should the page on the back button have already been serialized?
>>
>> Say if I get a hibernate "failed to lazy load" exception, then I hit the 
>> back button, the links on the page all throw a "component not found on page"
>>
>> D/
>>
>>
>> On Apr 25, 2010, at 7:45 AM, James Carman wrote:
>>
>>> That means one of your fields might *not* be Serializable.  The error
>>> message usually tells you the exact field that caused the problem (in
>>> development mode).
>>>
>>> On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
 Hmmm, does that imply that one of the member variables may be Serializable?

 On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:

> the exception might have caused your page to not be serialized
> properly into the pagestore
>
> -igor
>
> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>  wrote:
>> I just saw the issue again, but this time it happened right after an 
>> exception. I got an except. Hit back and then it complained that the 
>> link didn't exist.
>>
>> D?
>>
>> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>>
>>> Ah yes..
>>>
>>> I am definitely seeing the "component not found on page" error.
>>>
>>> Any tips on how to get a quick start for this? Anybody got any example 
>>> quickstarts that deal with back button issues?
>>>
>>> D/
>>>
>>> On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
>>>
 then you would get a page-expired error

 -igor

 On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
  wrote:
> Well something is happening, because I see it in the production logs 
> and from time to time on my dev machine.
>
> What if the server is restarted?
>
> D/
>
> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
>
>> that doesnt matter because the url of the link you click contains the
>> version number of the page
>>
>> -igor
>>
>> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>>  wrote:
>>> In firefox it doesn't. Firefox reads the page back from it's in 
>>> memory
>>> cache, which is the state before you clicked the ajax link. The 
>>> headers
>>> should be changed to force firefox to request the page from the 
>>> server
>>> (wicket). There are other threads on this subject, and frankly I do 
>>> not
>>> understand why the headers are not changed in wicket core.
>>>
>>> On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
>>>  wrote:
 the back button should roll the page back to the state that 
 contained the
 item

 -igor

 On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
  wrote:
> Could this possibly happen if the following occurred.
>
> 1) Load a page with a repeater on it
> 2) Click on an ajax link that would remove an item from the 
> repeater
> 3) Click the back button. Click on the link for the item you 
> removed.
>
> D/
>
>
> On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:
>
>> Would someone assist me on this?
>>
>> Thank you in advance!
>>
>> -Original Message-
>> From: Martin Asenov [mailto:mase...@velti.com]
>> Sent: Friday, April 23, 2010 9:38 AM
>> To: users@wicket.apache.org
>> Subject: Back button
>>
>> Hello, everyone!
>>
>> I've got a page with a repeater with cells - every single cell 
>> has a link in it. However, when you go to another page and 
>> afterwards press the Back button and click one of the links, the 
>> following exc is thrown:
>>
>> WicketMessage: org.apache.wicket.WicketRuntimeException: 
>> component view_holder:view:25:cols:30:trigger_ref not found on 
>> page com.company.project.ui.calendar.Calendar[id = 46], listener 
>> interface = [RequestListenerInterface n

Re: Back button

2010-04-25 Thread James Carman
It would affect the back button because when Wicket tries to go get
the specific version of the page back from the session store (only the
"current" version is kept in the session and the earlier ones are in
the store), it won't be able to find it.

On Sun, Apr 25, 2010 at 11:45 AM, Douglas Ferguson
 wrote:
> No.. this is not a serialization issue, unless Igor is correct in that fact 
> that the exception prevents serialization. But how would that effect the back 
> button,
> should the page on the back button have already been serialized?
>
> Say if I get a hibernate "failed to lazy load" exception, then I hit the back 
> button, the links on the page all throw a "component not found on page"
>
> D/
>
>
> On Apr 25, 2010, at 7:45 AM, James Carman wrote:
>
>> That means one of your fields might *not* be Serializable.  The error
>> message usually tells you the exact field that caused the problem (in
>> development mode).
>>
>> On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
>>> Hmmm, does that imply that one of the member variables may be Serializable?
>>>
>>> On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:
>>>
 the exception might have caused your page to not be serialized
 properly into the pagestore

 -igor

 On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
  wrote:
> I just saw the issue again, but this time it happened right after an 
> exception. I got an except. Hit back and then it complained that the link 
> didn't exist.
>
> D?
>
> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>
>> Ah yes..
>>
>> I am definitely seeing the "component not found on page" error.
>>
>> Any tips on how to get a quick start for this? Anybody got any example 
>> quickstarts that deal with back button issues?
>>
>> D/
>>
>> On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
>>
>>> then you would get a page-expired error
>>>
>>> -igor
>>>
>>> On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
>>>  wrote:
 Well something is happening, because I see it in the production logs 
 and from time to time on my dev machine.

 What if the server is restarted?

 D/

 On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:

> that doesnt matter because the url of the link you click contains the
> version number of the page
>
> -igor
>
> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>  wrote:
>> In firefox it doesn't. Firefox reads the page back from it's in 
>> memory
>> cache, which is the state before you clicked the ajax link. The 
>> headers
>> should be changed to force firefox to request the page from the 
>> server
>> (wicket). There are other threads on this subject, and frankly I do 
>> not
>> understand why the headers are not changed in wicket core.
>>
>> On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
>>  wrote:
>>> the back button should roll the page back to the state that 
>>> contained the
>>> item
>>>
>>> -igor
>>>
>>> On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
>>>  wrote:
 Could this possibly happen if the following occurred.

 1) Load a page with a repeater on it
 2) Click on an ajax link that would remove an item from the 
 repeater
 3) Click the back button. Click on the link for the item you 
 removed.

 D/


 On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:

> Would someone assist me on this?
>
> Thank you in advance!
>
> -Original Message-
> From: Martin Asenov [mailto:mase...@velti.com]
> Sent: Friday, April 23, 2010 9:38 AM
> To: users@wicket.apache.org
> Subject: Back button
>
> Hello, everyone!
>
> I've got a page with a repeater with cells - every single cell 
> has a link in it. However, when you go to another page and 
> afterwards press the Back button and click one of the links, the 
> following exc is thrown:
>
> WicketMessage: org.apache.wicket.WicketRuntimeException: 
> component view_holder:view:25:cols:30:trigger_ref not found on 
> page com.company.project.ui.calendar.Calendar[id = 46], listener 
> interface = [RequestListenerInterface name=IBehaviorListener, 
> method=public abstract void 
> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
>
> Wicket was supposed to support the Back button, wasn't it? Or 
>>

Re: Wicket and Guice / legup / warp persist?

2010-04-25 Thread Douglas Ferguson
Anybody have tips on the correct way to do this?

On Apr 24, 2010, at 5:42 PM, Douglas Ferguson wrote:

> I'm curious about how this would work with serialization/deserialization.
> 
> For instance, with a data provider where would you actually put this:
> 
>> InjectorHolder.getInjector().inject(this)
> 
> To make sure it gets called at the appropriate times? Is it ok to put it in 
> the constructor of the data provider?
> 
> Sounds like this won't be available until 1.4.8, any idea when that might 
> surface?
> 
> D/
> 
> On Apr 24, 2010, at 5:33 PM, Douglas Ferguson wrote:
> 
>> Interesting...
>> 
>> I've been curious about how to properly use injection in data provider as 
>> this does not subclass component.
>> 
>> Any tips on how to get this to work?
>> 
>> D/
>> 
>> On Apr 24, 2010, at 12:32 PM, nino martinez wael wrote:
>> 
>>> BTW if anyone has trouble with this until 1.4.8 comes out then just
>>> write your own injectorholder class and in your guice module call
>>> requeststatic injection on that.. Works like a charm..
>>> 
>>> 2010/4/8 nino martinez wael :
 Ahh typical :) And thanks for the update.
 
 2010/4/8 Martin Grigorov :
> The ticket for this is https://issues.apache.org/jira/browse/WICKET-2761
> The fix is applied to 1.4.x at 13/03 by Juergen.
> 1.4.7 was released at 03/03.
> 
> So, it will be included in next release - probably 1.4.8.
> 
> On Thu, 2010-04-08 at 11:08 +0200, nino martinez wael wrote:
>> Hi
>> 
>> I revived my old wicket talk yesterday and since we are using guice at
>> the company where Im at now the people attending the talk wanted to
>> see my examples in guice / wicket instead of spring / wicket. So I
>> used the legup archetype. Which worked nicely until I did a ldm which
>> I had to inject a dao into. With spring I would add the ldm to the
>> component instantiation listener, but if I do it the "spring" way
>> (InjectorHolder.getInjector().inject(this);) I get this error:
>> 
>> WicketMessage: Can't instantiate page using constructor public
>> com.netdesign.blog.ViewPostPage(org.apache.wicket.PageParameters) and
>> argument postid = "[3]"
>> 
>> Root cause:
>> 
>> java.lang.IllegalStateException: InjectorHolder has not been assigned
>> an injector. Use InjectorHolder.setInjector() to assign an injector.
>> In most cases this should be done once inside SpringWebApplication
>> subclass's init() method.
>> at 
>> org.apache.wicket.injection.web.InjectorHolder.getInjector(InjectorHolder.java:70)
>> 
>> Now there are several things I wonder about, first of all, why are
>> spring mentioned at all? Does wicket package DI specific classes in a
>> common distribution, and if so should'nt it be called something
>> specific towards the targetet DI framework. And second and more
>> important how can I achieve the same thing with guice? Or this could
>> also be a "bug" with legup or something. But I actually checked the
>> init method and  InjectorHolder.setInjector does not take the guice
>> component injector as argument.
>> 
>> 
>> 
>> regards Nino
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Back button

2010-04-25 Thread Douglas Ferguson
No.. this is not a serialization issue, unless Igor is correct in that fact 
that the exception prevents serialization. But how would that effect the back 
button, 
should the page on the back button have already been serialized?

Say if I get a hibernate "failed to lazy load" exception, then I hit the back 
button, the links on the page all throw a "component not found on page"

D/


On Apr 25, 2010, at 7:45 AM, James Carman wrote:

> That means one of your fields might *not* be Serializable.  The error
> message usually tells you the exact field that caused the problem (in
> development mode).
> 
> On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
>> Hmmm, does that imply that one of the member variables may be Serializable?
>> 
>> On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:
>> 
>>> the exception might have caused your page to not be serialized
>>> properly into the pagestore
>>> 
>>> -igor
>>> 
>>> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>>>  wrote:
 I just saw the issue again, but this time it happened right after an 
 exception. I got an except. Hit back and then it complained that the link 
 didn't exist.
 
 D?
 
 On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
 
> Ah yes..
> 
> I am definitely seeing the "component not found on page" error.
> 
> Any tips on how to get a quick start for this? Anybody got any example 
> quickstarts that deal with back button issues?
> 
> D/
> 
> On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
> 
>> then you would get a page-expired error
>> 
>> -igor
>> 
>> On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
>>  wrote:
>>> Well something is happening, because I see it in the production logs 
>>> and from time to time on my dev machine.
>>> 
>>> What if the server is restarted?
>>> 
>>> D/
>>> 
>>> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
>>> 
 that doesnt matter because the url of the link you click contains the
 version number of the page
 
 -igor
 
 On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
  wrote:
> In firefox it doesn't. Firefox reads the page back from it's in memory
> cache, which is the state before you clicked the ajax link. The 
> headers
> should be changed to force firefox to request the page from the server
> (wicket). There are other threads on this subject, and frankly I do 
> not
> understand why the headers are not changed in wicket core.
> 
> On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
>  wrote:
>> the back button should roll the page back to the state that 
>> contained the
>> item
>> 
>> -igor
>> 
>> On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
>>  wrote:
>>> Could this possibly happen if the following occurred.
>>> 
>>> 1) Load a page with a repeater on it
>>> 2) Click on an ajax link that would remove an item from the repeater
>>> 3) Click the back button. Click on the link for the item you 
>>> removed.
>>> 
>>> D/
>>> 
>>> 
>>> On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:
>>> 
 Would someone assist me on this?
 
 Thank you in advance!
 
 -Original Message-
 From: Martin Asenov [mailto:mase...@velti.com]
 Sent: Friday, April 23, 2010 9:38 AM
 To: users@wicket.apache.org
 Subject: Back button
 
 Hello, everyone!
 
 I've got a page with a repeater with cells - every single cell has 
 a link in it. However, when you go to another page and afterwards 
 press the Back button and click one of the links, the following 
 exc is thrown:
 
 WicketMessage: org.apache.wicket.WicketRuntimeException: component 
 view_holder:view:25:cols:30:trigger_ref not found on page 
 com.company.project.ui.calendar.Calendar[id = 46], listener 
 interface = [RequestListenerInterface name=IBehaviorListener, 
 method=public abstract void 
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 
 Wicket was supposed to support the Back button, wasn't it? Or 
 maybe I'm missing something.
 
 Please advice...
 
 Thank you,
 Martin
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
>>> 
>>> 
>>> -

RE: Persistence.xml problem

2010-04-25 Thread Matias Pansa

No , is ant .

> Subject: Re: Persistence.xml problem
> From: ng...@mac.com
> Date: Sun, 25 Apr 2010 15:41:07 +0100
> To: users@wicket.apache.org
> 
> Is maven your build system?
> 
> On 25 Apr 2010, at 14:46, Matias Pansa wrote:
> 
> > 
> > I try clean and build many times with the same result , i try deleting all 
> > files manually to , a clean tomcat install and manually deploy the 
> > app.Thanks.
> > 
> > 
> > 
> >> Date: Sun, 25 Apr 2010 13:34:28 +
> >> From: andre.prase...@gmail.com
> >> Subject: RE: Persistence.xml problem
> >> To: users@wicket.apache.org
> >> 
> >> Try clean and build, you might break your application.
> >> 
> >> Sent from my Nokia phone
> >> -Original Message-
> >> From: Igor Vaynberg
> >> Sent:  24/04/2010 23:10:15
> >> Subject:  Re: Persistence.xml problem
> >> 
> >> wicket has nothing to do with it. maybe your IDE is not updating your
> >> persistence.xml in the target directory.
> >> 
> >> -igor
> >> 
> >> On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  
> >> wrote:
> >>> 
> >>> 
> >>> Hi , i'm developing an app under netbeans + wicket + tomcat + 
> >>> wicket-contrib-javaee +eclipselink .
> >>> The problem is that i run the app the first time and everything works 
> >>> fine , but i change the data source in persistence.xml and the app stop 
> >>> working , i change again to the original source and nothing ,  not 
> >>> working , there is no error ,exception , nothing , the app runs on tomcat 
> >>> like everything is ok , but there's no connection to the database , any 
> >>> data is persisted .I just delete persistence.xml and app stil working! 
> >>> ... clean tomcat install and still working without persistence.xml! , i 
> >>> deployed the app war file within netbeans and manually on tomcat's web 
> >>> manager without any persistence and the same result.So i want to know if 
> >>> maybe wicket has something to do with this problem because i try almost 
> >>> everything else , even running the app locally and in the server but 
> >>> nothing happens , i apreciate any help on this.
> >>> 
> >>> _
> >>> Organizá una reunión con Hotmail: podés enviar un email a tus amigos y 
> >>> con el Calendario agendar la fecha. Descubrí más.
> >>> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
> >> 
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >> 
> >> 
> >> 
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >> 
> >   
> > _
> > Con Hotmail y Calendario organizar reuniones es muy fácil: enviá 
> > invitaciones y recibí confirmaciones de asistencia.
> > http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
> 
> -- 
>   npg
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
  
_
Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y 
recibí confirmaciones de asistencia.
http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

Re: pagination both bottom and top ajaxfallbackdatatable

2010-04-25 Thread Igor Vaynberg
add the navigation toolbar to the bottom, see addbottomtoolbar

-igor

On Sun, Apr 25, 2010 at 6:03 AM, fachhoch  wrote:
>
> we use ajaxfallbackdefaultdatatable ,it provides pagination on top,can I
> pagination both on top as well as bottom ?,
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/pagination-both-bottom-and-top-ajaxfallbackdatatable-tp2064202p2064202.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Persistence.xml problem

2010-04-25 Thread Nico Guba
Is maven your build system?

On 25 Apr 2010, at 14:46, Matias Pansa wrote:

> 
> I try clean and build many times with the same result , i try deleting all 
> files manually to , a clean tomcat install and manually deploy the app.Thanks.
> 
> 
> 
>> Date: Sun, 25 Apr 2010 13:34:28 +
>> From: andre.prase...@gmail.com
>> Subject: RE: Persistence.xml problem
>> To: users@wicket.apache.org
>> 
>> Try clean and build, you might break your application.
>> 
>> Sent from my Nokia phone
>> -Original Message-
>> From: Igor Vaynberg
>> Sent:  24/04/2010 23:10:15
>> Subject:  Re: Persistence.xml problem
>> 
>> wicket has nothing to do with it. maybe your IDE is not updating your
>> persistence.xml in the target directory.
>> 
>> -igor
>> 
>> On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  wrote:
>>> 
>>> 
>>> Hi , i'm developing an app under netbeans + wicket + tomcat + 
>>> wicket-contrib-javaee +eclipselink .
>>> The problem is that i run the app the first time and everything works fine 
>>> , but i change the data source in persistence.xml and the app stop working 
>>> , i change again to the original source and nothing ,  not working , there 
>>> is no error ,exception , nothing , the app runs on tomcat like everything 
>>> is ok , but there's no connection to the database , any data is persisted 
>>> .I just delete persistence.xml and app stil working! ... clean tomcat 
>>> install and still working without persistence.xml! , i deployed the app war 
>>> file within netbeans and manually on tomcat's web manager without any 
>>> persistence and the same result.So i want to know if maybe wicket has 
>>> something to do with this problem because i try almost everything else , 
>>> even running the app locally and in the server but nothing happens , i 
>>> apreciate any help on this.
>>> 
>>> _
>>> Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con 
>>> el Calendario agendar la fecha. Descubrí más.
>>> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> _
> Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones 
> y recibí confirmaciones de asistencia.
> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-- 
npg





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Persistence.xml problem

2010-04-25 Thread Matias Pansa

I try clean and build many times with the same result , i try deleting all 
files manually to , a clean tomcat install and manually deploy the app.Thanks.



> Date: Sun, 25 Apr 2010 13:34:28 +
> From: andre.prase...@gmail.com
> Subject: RE: Persistence.xml problem
> To: users@wicket.apache.org
> 
> Try clean and build, you might break your application.
> 
> Sent from my Nokia phone
> -Original Message-
> From: Igor Vaynberg
> Sent:  24/04/2010 23:10:15
> Subject:  Re: Persistence.xml problem
> 
> wicket has nothing to do with it. maybe your IDE is not updating your
> persistence.xml in the target directory.
> 
> -igor
> 
> On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  wrote:
> >
> >
> > Hi , i'm developing an app under netbeans + wicket + tomcat + 
> > wicket-contrib-javaee +eclipselink .
> > The problem is that i run the app the first time and everything works fine 
> > , but i change the data source in persistence.xml and the app stop working 
> > , i change again to the original source and nothing ,  not working , there 
> > is no error ,exception , nothing , the app runs on tomcat like everything 
> > is ok , but there's no connection to the database , any data is persisted 
> > .I just delete persistence.xml and app stil working! ... clean tomcat 
> > install and still working without persistence.xml! , i deployed the app war 
> > file within netbeans and manually on tomcat's web manager without any 
> > persistence and the same result.So i want to know if maybe wicket has 
> > something to do with this problem because i try almost everything else , 
> > even running the app locally and in the server but nothing happens , i 
> > apreciate any help on this.
> >
> > _
> > Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con 
> > el Calendario agendar la fecha. Descubrí más.
> > http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
  
_
Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y 
recibí confirmaciones de asistencia.
http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

RE: Persistence.xml problem

2010-04-25 Thread andre.prase...@gmail.com
Try clean and build, you might break your application.

Sent from my Nokia phone
-Original Message-
From: Igor Vaynberg
Sent:  24/04/2010 23:10:15
Subject:  Re: Persistence.xml problem

wicket has nothing to do with it. maybe your IDE is not updating your
persistence.xml in the target directory.

-igor

On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  wrote:
>
>
> Hi , i'm developing an app under netbeans + wicket + tomcat + 
> wicket-contrib-javaee +eclipselink .
> The problem is that i run the app the first time and everything works fine , 
> but i change the data source in persistence.xml and the app stop working , i 
> change again to the original source and nothing ,  not working , there is no 
> error ,exception , nothing , the app runs on tomcat like everything is ok , 
> but there's no connection to the database , any data is persisted .I just 
> delete persistence.xml and app stil working! ... clean tomcat install and 
> still working without persistence.xml! , i deployed the app war file within 
> netbeans and manually on tomcat's web manager without any persistence and the 
> same result.So i want to know if maybe wicket has something to do with this 
> problem because i try almost everything else , even running the app locally 
> and in the server but nothing happens , i apreciate any help on this.
>
> _
> Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el 
> Calendario agendar la fecha. Descubrí más.
> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Persistence.xml problem

2010-04-25 Thread andre.prase...@gmail.com
Try clean and build, you might break your application.

Sent from my Nokia phone
-Original Message-
From: Igor Vaynberg
Sent:  24/04/2010 23:10:15
Subject:  Re: Persistence.xml problem

wicket has nothing to do with it. maybe your IDE is not updating your
persistence.xml in the target directory.

-igor

On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa  wrote:
>
>
> Hi , i'm developing an app under netbeans + wicket + tomcat + 
> wicket-contrib-javaee +eclipselink .
> The problem is that i run the app the first time and everything works fine , 
> but i change the data source in persistence.xml and the app stop working , i 
> change again to the original source and nothing ,  not working , there is no 
> error ,exception , nothing , the app runs on tomcat like everything is ok , 
> but there's no connection to the database , any data is persisted .I just 
> delete persistence.xml and app stil working! ... clean tomcat install and 
> still working without persistence.xml! , i deployed the app war file within 
> netbeans and manually on tomcat's web manager without any persistence and the 
> same result.So i want to know if maybe wicket has something to do with this 
> problem because i try almost everything else , even running the app locally 
> and in the server but nothing happens , i apreciate any help on this.
>
> _
> Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el 
> Calendario agendar la fecha. Descubrí más.
> http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



pagination both bottom and top ajaxfallbackdatatable

2010-04-25 Thread fachhoch

we use ajaxfallbackdefaultdatatable ,it provides pagination on top,can I
pagination both on top as well as bottom ?,

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/pagination-both-bottom-and-top-ajaxfallbackdatatable-tp2064202p2064202.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Back button

2010-04-25 Thread James Carman
That means one of your fields might *not* be Serializable.  The error
message usually tells you the exact field that caused the problem (in
development mode).

On Sun, Apr 25, 2010 at 8:26 AM, Nico Guba  wrote:
> Hmmm, does that imply that one of the member variables may be Serializable?
>
> On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:
>
>> the exception might have caused your page to not be serialized
>> properly into the pagestore
>>
>> -igor
>>
>> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>>  wrote:
>>> I just saw the issue again, but this time it happened right after an 
>>> exception. I got an except. Hit back and then it complained that the link 
>>> didn't exist.
>>>
>>> D?
>>>
>>> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>>>
 Ah yes..

 I am definitely seeing the "component not found on page" error.

 Any tips on how to get a quick start for this? Anybody got any example 
 quickstarts that deal with back button issues?

 D/

 On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:

> then you would get a page-expired error
>
> -igor
>
> On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
>  wrote:
>> Well something is happening, because I see it in the production logs and 
>> from time to time on my dev machine.
>>
>> What if the server is restarted?
>>
>> D/
>>
>> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
>>
>>> that doesnt matter because the url of the link you click contains the
>>> version number of the page
>>>
>>> -igor
>>>
>>> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>>>  wrote:
 In firefox it doesn't. Firefox reads the page back from it's in memory
 cache, which is the state before you clicked the ajax link. The headers
 should be changed to force firefox to request the page from the server
 (wicket). There are other threads on this subject, and frankly I do not
 understand why the headers are not changed in wicket core.

 On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
  wrote:
> the back button should roll the page back to the state that contained 
> the
> item
>
> -igor
>
> On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
>  wrote:
>> Could this possibly happen if the following occurred.
>>
>> 1) Load a page with a repeater on it
>> 2) Click on an ajax link that would remove an item from the repeater
>> 3) Click the back button. Click on the link for the item you removed.
>>
>> D/
>>
>>
>> On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:
>>
>>> Would someone assist me on this?
>>>
>>> Thank you in advance!
>>>
>>> -Original Message-
>>> From: Martin Asenov [mailto:mase...@velti.com]
>>> Sent: Friday, April 23, 2010 9:38 AM
>>> To: users@wicket.apache.org
>>> Subject: Back button
>>>
>>> Hello, everyone!
>>>
>>> I've got a page with a repeater with cells - every single cell has 
>>> a link in it. However, when you go to another page and afterwards 
>>> press the Back button and click one of the links, the following exc 
>>> is thrown:
>>>
>>> WicketMessage: org.apache.wicket.WicketRuntimeException: component 
>>> view_holder:view:25:cols:30:trigger_ref not found on page 
>>> com.company.project.ui.calendar.Calendar[id = 46], listener 
>>> interface = [RequestListenerInterface name=IBehaviorListener, 
>>> method=public abstract void 
>>> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
>>>
>>> Wicket was supposed to support the Back button, wasn't it? Or maybe 
>>> I'm missing something.
>>>
>>> Please advice...
>>>
>>> Thank you,
>>> Martin
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For ad

Re: Back button

2010-04-25 Thread Nico Guba
Hmmm, does that imply that one of the member variables may be Serializable? 

On 25 Apr 2010, at 05:18, Igor Vaynberg wrote:

> the exception might have caused your page to not be serialized
> properly into the pagestore
> 
> -igor
> 
> On Sat, Apr 24, 2010 at 6:06 PM, Douglas Ferguson
>  wrote:
>> I just saw the issue again, but this time it happened right after an 
>> exception. I got an except. Hit back and then it complained that the link 
>> didn't exist.
>> 
>> D?
>> 
>> On Apr 24, 2010, at 6:58 PM, Douglas Ferguson wrote:
>> 
>>> Ah yes..
>>> 
>>> I am definitely seeing the "component not found on page" error.
>>> 
>>> Any tips on how to get a quick start for this? Anybody got any example 
>>> quickstarts that deal with back button issues?
>>> 
>>> D/
>>> 
>>> On Apr 24, 2010, at 6:41 PM, Igor Vaynberg wrote:
>>> 
 then you would get a page-expired error
 
 -igor
 
 On Sat, Apr 24, 2010 at 3:34 PM, Douglas Ferguson
  wrote:
> Well something is happening, because I see it in the production logs and 
> from time to time on my dev machine.
> 
> What if the server is restarted?
> 
> D/
> 
> On Apr 24, 2010, at 11:09 AM, Igor Vaynberg wrote:
> 
>> that doesnt matter because the url of the link you click contains the
>> version number of the page
>> 
>> -igor
>> 
>> On Sat, Apr 24, 2010 at 2:35 AM, Pointbreak
>>  wrote:
>>> In firefox it doesn't. Firefox reads the page back from it's in memory
>>> cache, which is the state before you clicked the ajax link. The headers
>>> should be changed to force firefox to request the page from the server
>>> (wicket). There are other threads on this subject, and frankly I do not
>>> understand why the headers are not changed in wicket core.
>>> 
>>> On Fri, 23 Apr 2010 21:45 -0700, "Igor Vaynberg"
>>>  wrote:
 the back button should roll the page back to the state that contained 
 the
 item
 
 -igor
 
 On Fri, Apr 23, 2010 at 9:28 PM, Douglas Ferguson
  wrote:
> Could this possibly happen if the following occurred.
> 
> 1) Load a page with a repeater on it
> 2) Click on an ajax link that would remove an item from the repeater
> 3) Click the back button. Click on the link for the item you removed.
> 
> D/
> 
> 
> On Apr 23, 2010, at 10:32 AM, Martin Asenov wrote:
> 
>> Would someone assist me on this?
>> 
>> Thank you in advance!
>> 
>> -Original Message-
>> From: Martin Asenov [mailto:mase...@velti.com]
>> Sent: Friday, April 23, 2010 9:38 AM
>> To: users@wicket.apache.org
>> Subject: Back button
>> 
>> Hello, everyone!
>> 
>> I've got a page with a repeater with cells - every single cell has a 
>> link in it. However, when you go to another page and afterwards 
>> press the Back button and click one of the links, the following exc 
>> is thrown:
>> 
>> WicketMessage: org.apache.wicket.WicketRuntimeException: component 
>> view_holder:view:25:cols:30:trigger_ref not found on page 
>> com.company.project.ui.calendar.Calendar[id = 46], listener 
>> interface = [RequestListenerInterface name=IBehaviorListener, 
>> method=public abstract void 
>> org.apache.wicket.behavior.IBehaviorListener.onRequest()]
>> 
>> Wicket was supposed to support the Back button, wasn't it? Or maybe 
>> I'm missing something.
>> 
>> Please advice...
>> 
>> Thank you,
>> Martin
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>