ERROR (Session.java:1406) - Exception when detaching/serializing page

2010-09-16 Thread nmetzger

Hi all,

this is rather urgent. The following error is flooding my application. Below
is just the essential part of it, it's repeating itself and seems to go deep
into recursion. I don't see it calling any of my pages.

Any ideas?

Natalie

(wicket 1.4.10)

2010-09-16 10:36:32,829 ERROR (Session.java:1406) - Exception when
detaching/serializing page
java.lang.StackOverflowError
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:977)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1030)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:121)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287)
at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1124)
at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore$PageSerializer.getPageReplacementObject(AbstractPageStore.java:285)
at org.apache.wicket.Page.writeReplace(Page.java:1382)
at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:977)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1030)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:121)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287)
at org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1124)
at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:203)
at
org.apache.wicket.protocol.http.pagestore.DiskPageStore.prepareForSerialization(DiskPageStore.java:1190)
at
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.writeObject(SecondLevelCacheSessionStore.java:38
6)
at sun.reflect.GeneratedMethodAccessor337.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at java.util.LinkedList.writeObject(LinkedList.java:755)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread nmetzger

I'm glad I'm not the only one. I had a couple of AJAX components not reacting
with 1.4.11, no error message though. They worked well with all versions
between 1.4.7 and 1.4.10.

Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-11-seems-to-have-Ajax-support-broken-under-Firefox-3-6-x-tp2534120p2534834.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



onSelectionChanged and browser back button

2010-09-02 Thread nmetzger

Hi all,

I have a problem with a page in which I exchange a lot of panels via Ajax.
It worked the way I intended, especially the fact that pressing the browser
back button returned the user to the previous page.
Now I added a new panel that included a CheckGroup with an
onSelectionChanged() method that basically switched my text fields in the
new panel from read-only to editable and vice versa. When I click the submit
button and then the browser back button, the new Panel is displayed again
instead of the previous page. The panel form then of course has lost the
data including my check if the form already has been submitted, and I run
into errors.

Why is the back button not working as expected? What can I do to get rid of
this behavior?

Thanks,
Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/onSelectionChanged-and-browser-back-button-tp2523367p2523367.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: onSelectionChanged and browser back button

2010-09-02 Thread nmetzger

Yes, I did override it. I wasn't aware that this would change the process to
a normal request.

So, what's the best way to implement the onSelectionChanged behavior and
keep my ajax behavior? 

Thanks for you help,
Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/onSelectionChanged-and-browser-back-button-tp2523367p2524435.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: Veil behavior of wicketstuff-minis

2010-05-26 Thread nmetzger

This is pretty easy to do. I added a veil to my page by implementing
IAjaxIndicatorAware, adding the method getAjaxIndicatorMarkupId() and
providing style definitions on the html side. Like this:

public class MyPage extends WebPage implements IAjaxIndicatorAware{
 public MyPage(){
  //Do what ever you need to do in your contructor
 }

public String getAjaxIndicatorMarkupId() {
return veil;
}
}

div id=veil style=display:none;position:absolute;top:0;left:0;
 z-index=9;background-color:grey;
 width:100%;height:100%;color:white;
 opacity:0.4;filter:alpha(opacity=40)
h1 style=position:absolute;top:25%;left:25%Loading .../h1
/div

Hope this helps,

Natalie

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Veil-behavior-of-wicketstuff-minis-tp2228127p2231564.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



Ajax wizard and page anchor

2010-05-19 Thread nmetzger

Hi all,

I've upgraded my wizard to use the AjaxWizardButtonBar etc. as suggested
by a couple of other people. It works great, so thanks!

My problem is more html/css oriented. All wizard pages seem to be anchored
around the buttons, so if I have a longer wizard page, then the user is not
directed to the top of the page. Instead the user sees the bottom, and
he/she needs to scroll up to start reading. I would like to keep the button
bar at the bottom of the page, but is there any way I can jump to the top of
the next page when the user clicks the next button?

Thanks for your help,
Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Ajax-wizard-and-page-anchor-tp2223007p2223007.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: wicketstuff-minis status?

2010-05-07 Thread nmetzger

Yes, they changed the mootools a lot. I haven't had time to look into it, nor
search for something else as I'm approaching my deadline. So I'm probably
just going to go with the old mootools 1.1, as this already works.

Thanks for checking, though!

Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-minis-status-tp1867557p2134155.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: wicketstuff-minis status?

2010-05-05 Thread nmetzger

It works for me, but I like using the newest libraries that are out there. I 
tried copying your code to my project and using the new mootools libs, but 
couldn't run it. Probably it's my IDE again. 

In short, if you have time to update it, it would be greatly appreciated. But 
if not, it's no big deal either.

Thanks,
Natalie

From: nino martinez wael [via Apache Wicket] 
[ml-node+2131419-210954253-229...@n4.nabble.com]
Sent: Wednesday, May 05, 2010 2:19 PM
To: Metzger, Natalie J.
Subject: Re: wicketstuff-minis status?

Well I have nothing planed but as I dont think it'll take me long I'll
look into and see i can do it soon. Are you needing it right now or?

2010/5/3 nmetzger [hidden 
email]/user/SendEmail.jtp?type=nodenode=2131419i=0:


 Hi Nino,

 is there any update planned for mootools 1.2.4?

 Thanks,
 Natalie
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/wicketstuff-minis-status-tp1867557p2124092.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: [hidden 
 email]/user/SendEmail.jtp?type=nodenode=2131419i=1
 For additional commands, e-mail: [hidden 
 email]/user/SendEmail.jtp?type=nodenode=2131419i=2



-
To unsubscribe, e-mail: [hidden 
email]/user/SendEmail.jtp?type=nodenode=2131419i=3
For additional commands, e-mail: [hidden 
email]/user/SendEmail.jtp?type=nodenode=2131419i=4




View message @ 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-minis-status-tp1867557p2131419.html
To unsubscribe from Re: wicketstuff-minis status?, click 
herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=bm1ldHpnZXJAb2R1LmVkdXwyMTI0MDkyfDE0MzE4ODE3Njg=.


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-minis-status-tp1867557p2131911.html
Sent from the Wicket - User mailing list archive at Nabble.com.


Re: wicketstuff-minis status?

2010-05-03 Thread nmetzger

Hi Nino,

is there any update planned for mootools 1.2.4?  

Thanks,
Natalie
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-minis-status-tp1867557p2124092.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: Example for presenting pdf in modal window

2010-04-21 Thread nmetzger

Hi Ernesto,

I tried using your code, but unfortunately I run into a NullPointerException
when trying to load the pdf file. I placed the test.pfd file in the same
directory as the MyPdfResource.java, but obviously the system can't find it.
Any idea what I might have overlooked?

ERROR - RequestCycle   - 
java.lang.NullPointerException
at java.io.ByteArrayInputStream.init(ByteArrayInputStream.java:89)
at
org.apache.wicket.markup.html.DynamicWebResource$1.getInputStream(DynamicWebResource.java:221)

Thanks for your help,
Natalie
-- 
View this message in context: 
http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2018922.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: Example for presenting pdf in modal window

2010-04-21 Thread nmetzger

Ernesto,

I checked, but this was only a typo in my post, the file is called test.pdf.
And fyi, I'm using wicket 1.4.6.

My use case is this: I would like to have help pages displayed in my system
that other people besides me edit. So I'd like to put them in a directory
outside of my application and just load them whenever a user clicks on a
help page. 

Any help is greatly appreciated,
Natalie
-- 
View this message in context: 
http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2018993.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: Example for presenting pdf in modal window

2010-04-21 Thread nmetzger

Hi Ernesto,

yes, please email those.

And I tried putting in a complete path to a pdf file, but I'm getting the same 
error.

Thanks for your help,
Natalie

From: reiern70 [via Apache Wicket] 
[mailto:ml-node+2019010-1360852028-229...@n4.nabble.com]
Sent: Wednesday, April 21, 2010 10:10 AM
To: Metzger, Natalie J.
Subject: Re: Example for presenting pdf in modal window

Natalie,

As far as I can see you can use the same approach: the only thing that
is different is the you will load the resource from somewhere else not
from the class path. Do you want me to mail you the test pages (along
with the wiki files) I just made to test it?

Best

Ernesto

On Wed, Apr 21, 2010 at 3:57 PM, nmetzger [hidden 
email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=2019010i=0 
wrote:


 Ernesto,

 I checked, but this was only a typo in my post, the file is called test.pdf.
 And fyi, I'm using wicket 1.4.6.

 My use case is this: I would like to have help pages displayed in my system
 that other people besides me edit. So I'd like to put them in a directory
 outside of my application and just load them whenever a user clicks on a
 help page.

 Any help is greatly appreciated,
 Natalie
 --
 View this message in context: 
 http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2018993.html
 Sent from the Wicket - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: [hidden 
 email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=2019010i=1
 For additional commands, e-mail: [hidden 
 email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=2019010i=2



-
To unsubscribe, e-mail: [hidden 
email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=2019010i=3
For additional commands, e-mail: [hidden 
email]http://n4.nabble.com/user/SendEmail.jtp?type=nodenode=2019010i=4



View message @ 
http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2019010.html
To unsubscribe from Re: Example for presenting pdf in modal window, click here 
(link removed) =.


-- 
View this message in context: 
http://n4.nabble.com/Example-for-presenting-pdf-in-modal-window-tp1879547p2019020.html
Sent from the Wicket - User mailing list archive at Nabble.com.


Re: Wizard button label

2010-03-03 Thread nmetzger

So far I have only succeeded in setting a new label in the .properties file
of the page. 
-- 
View this message in context: 
http://old.nabble.com/Wicket-button-label-tp27758421p27776134.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