Re: New Window/Tab Scope

2010-03-17 Thread Benjamin Ernst
Hi, in my Application I need an Window/Tab-Scope to store data which is only relevant for the current window/tab. So I tried what Johan said: I made an override of createPageMap() in the SecondLevelCacheSessionStore an wrapped the SecondLevelCachePageMap with my own IPageMap. Now want to put my

Portlets - Loosing state in wicket portlets

2009-03-10 Thread Benjamin Ernst
Hi, I am using two Wicket-Portlets in a Liferay 5.2.1 Portal. Both Portlets have a link which switches to another page within the portlet (via setResponsepage(new Page()) ). When I click the link in Portlet_1 the page within the portlet one changes as desired. After that I click the link in

Portlet 2.0 and Events

2009-02-10 Thread Benjamin Ernst
Hi, I am trying to get the Event-Support for Portlets working with the Patches I found in https://issues.apache.org/jira/browse/WICKET-1620;. But I am not able to apply any of the patches properly. Can anyone tell me on which revision of the trunk they base, or in which order I have to apply

Re: Portlet 2.0 and Events

2009-02-10 Thread Benjamin Ernst
on wicket truck *before* WICKET-2058 was committed. Nobody has updated the patches since then. Thijs On 10-2-2009 10:25, Benjamin Ernst wrote: Hi, I am trying to get the Event-Support for Portlets working with the Patches I found in https://issues.apache.org/jira/browse/WICKET-1620

Re: Problems Ajax with Portlet 2.0 in Liferay 5.2.1

2009-02-06 Thread Benjamin Ernst
url-pattern are identical (portlet.xml web.xml) On 2/5/09 4:30 PM, Benjamin Ernst wrote: Hi, I am Testing the new Portlet 2.0 with Liferay and have some problems with Ajax-calls. I am using wicket 1.4-SNAPSHOT(Revision 741130) and Liferay Portal Standard Edition 5.2.1 (Augustine

Problems Ajax with Portlet 2.0 in Liferay 5.2.1

2009-02-05 Thread Benjamin Ernst
Hi, I am Testing the new Portlet 2.0 with Liferay and have some problems with Ajax-calls. I am using wicket 1.4-SNAPSHOT(Revision 741130) and Liferay Portal Standard Edition 5.2.1 (Augustine / Build 5201 / February 3, 2009). I have a simple page with one label and one Ajaxlink: public

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
shadow models help? On Mon, Dec 8, 2008 at 7:06 AM, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi everybody, I have a little Problem with LDMs: I have a page with a ListView and for each item in the ListView the user can open a modalWindow to edit the item. My Problem is, that I don't

LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
Hi everybody, I have a little Problem with LDMs: I have a page with a ListView and for each item in the ListView the user can open a modalWindow to edit the item. My Problem is, that I don't want to persist the item to the DB from the modalWindow. Only after the User confirms the changes in the

Problems with wicket-autocomplete.js

2008-10-23 Thread Benjamin Ernst
Hi, I have two Problems with the AutoCompleteBehavior in wicket: 1. Type-Conflict in line 287 of wicket-autocomplete.js: function showAutoComplete(){ var position=getPosition(wicketGet(elementId)); var container = getAutocompleteContainer(); var

Re: Wicket Portlets in Liferay 5

2008-05-16 Thread Benjamin Ernst
: Hi Benjamin I'll see if I have some time left tomorrow, otherwise hopefully before next tuesday. Thijs Benjamin Ernst wrote: Hi Thijs, We are currently trying to integrate Liferay 5 with wicket 1.3. Can you give us the advise you offered? That would be very nice. Thank you in advance

Re: Wicket Portlets in Liferay 5

2008-05-14 Thread Benjamin Ernst
Hi Thijs, We are currently trying to integrate Liferay 5 with wicket 1.3. Can you give us the advise you offered? That would be very nice. Thank you in advance, Benjamin On Mon, May 5, 2008 at 11:33 PM, Thijs Vonk [EMAIL PROTECTED] wrote: Hi, Currently without building wicket against

Re: JmxPanel

2008-04-30 Thread Benjamin Ernst
Hi Paolo, I had just the same problem as you. The display:none has nothing to do with this. It just hides the root of the tree. The problem was that the domain is skipped, because it doesen´t have the same name as my Application. So I removed the the filter part from the

Re: long Rendertime with many AjaxLinks

2008-03-04 Thread Benjamin Ernst
to get the callbackURL and the markupID. But where is the time lost? Thanks for any answers in advance! Benjamin 2008/3/3, Benjamin Ernst [EMAIL PROTECTED]: Hi, I have a a HTML-Table with about 500 cells and each cell has one AjaxLink. A table-cell represents an 10 minute timeslot

Re: long Rendertime with many AjaxLinks

2008-03-04 Thread Benjamin Ernst
I found out that this is an IE issue. In Firefox it works fine and takes about 300ms. But unfortunatly i have to use IE6. So does anyone know how to speedup the javascript handling in IE6? Benjamin 2008/3/4, Benjamin Ernst [EMAIL PROTECTED]: Hi, I am trying to figure out where the time

long Rendertime with many AjaxLinks

2008-03-03 Thread Benjamin Ernst
Hi, I have a a HTML-Table with about 500 cells and each cell has one AjaxLink. A table-cell represents an 10 minute timeslot in a calendar. And when a user clicks on one timeslot I want to show this timeslot in an an other panel. This works fine, but the page takes a long time to render in the

get ParentWebPage from PopupWindow?

2008-02-26 Thread Benjamin Ernst
Hi, I have got two questions concerning popupWindows: 1) I am opening a popupWindow from a WebPage and in this popupWindow I want to access the (parent-) WebPage. Is there any way to do this in wicket? 2) When the (parent-)WebPage is closed, i want to close the popupWindow as well. Is this

IllegalStateException when delivering a PDF

2007-10-26 Thread Benjamin Ernst
Hi guys, I am delivering a PDF-Document with wicket like this: Document document = new Document(); String filename = bestandsfax.pdf; ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfWriter.getInstance(document, baos);

Re: IllegalStateException when delivering a PDF

2007-10-26 Thread Benjamin Ernst
Thanks for your help. It works great! - Benjamin 2007/10/26, martinf [EMAIL PROTECTED]: Hi, it's the flush() that's bad. Best answer to your question of streaming PDF's to the client is: http://www.nabble.com/Stream-Excel-to-the-client-tf1955606.html#a5364044 mf Benjamin Ernst

Re: ModalWindow serialization problem

2007-10-09 Thread Benjamin Ernst
PROTECTED]: More then 3 nested ModalWindows? Wow. Does this happen with the latest trunk? Also each modal window is supposed to by in own pagemap. Can you provide a quickstart? -Matej On 10/9/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi guys, we have a problem with some ModalWindows. We

Re: onNewBrowserWindow is not called

2007-09-25 Thread Benjamin Ernst
. The first page is loaded correctly and after that every request end up in Page-expired-Error. Benjamin 2007/9/19, Matej Knopp [EMAIL PROTECTED]: Application.getPageSettings().setAutomaticMultiWindowSupport(true); -Matej On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi, thanks for your

Re: onNewBrowserWindow is not called

2007-09-25 Thread Benjamin Ernst
yes, we are using tomcat 5.5.23 2007/9/25, Matej Knopp [EMAIL PROTECTED]: Disabling cookies should work. What servlet container are you using? There are certain problems with Tomcat 5.5. -Matej On 9/25/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi, we tried your suggestions

Re: sessionstore is too big

2007-09-24 Thread Benjamin Ernst
First of all: thanks for your help! Do you have any idea how to find that out? Where can I see how and when wicket tries to delete the session? Benjamin 2007/9/24, Eelco Hillenius [EMAIL PROTECTED]: we have a problem with the sessions that wicket stores in the filesystem. It seems that

Re: sessionstore is too big

2007-09-24 Thread Benjamin Ernst
And an other question: is there risk changing from wicket 1.3-beta2 to beta3 in nearly completely implemented application? 2007/9/24, Benjamin Ernst [EMAIL PROTECTED]: Because our Application in an intrannet-Apllication the user should stay logged-in their whole workday. So our session

onNewBrowserWindow is not called

2007-09-19 Thread Benjamin Ernst
Hi, when a new Browser-Window is opened, I want to start a new Session for this window. I implemented the method onNewBrowserWindow() in my HomePage.class, but it is never called. I tried opening a new Browser, a new Browser-Window and new Tab, but nothing. Is there any other way to determine if

Re: onNewBrowserWindow is not called

2007-09-19 Thread Benjamin Ernst
support. But this is not really user overridable callback. Also, what do you mean by start new session? -Matej On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi, when a new Browser-Window is opened, I want to start a new Session for this window. I implemented the method

Re: onNewBrowserWindow is not called

2007-09-19 Thread Benjamin Ernst
to turn on the multiwindow support. -Matej On 9/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/19/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi I store some context-information in the session. When a new window is opened it has a new context, so I want to have a new Session

Too many open Files

2007-09-14 Thread Benjamin Ernst
Hi, We are having problems while testing our wicket-application with multiple users. Wicket says that there are too many open files. Do you have an Idea how we can avoid this problem? We are using Wicket 1.3.0-beta2 in Tomcat 5.5.23 with IBM JDK 5 on a Red-Hat Linux. This is the error-log:

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
it down in the code. Regards, Sebastiaan Benjamin Ernst wrote: Hi, We are having problems while testing our wicket-application with multiple users. Wicket says that there are too many open files. Do you have an Idea how we can avoid this problem? We are using Wicket 1.3.0-beta2

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
run out of file descriptors, opening anything that requires one is going to fail, whether it be opening a file, opening a socket, opening a pipe... But this is not the CAUSE of the issue... the cause is whatever is being repeatedly opened and not closed. Regards, Sebastiaan Benjamin Ernst

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
run out of file descriptors, opening anything that requires one is going to fail, whether it be opening a file, opening a socket, opening a pipe... But this is not the CAUSE of the issue... the cause is whatever is being repeatedly opened and not closed. Regards, Sebastiaan Benjamin Ernst

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
We did also get this Error: 2007-09-13 19:02:49,186 ERROR [FilePageSavingThread-MainApplication] org.apache.wicket.protocol.http.FilePageStore: Error saving page de.csg.fips.fe.main.MainPage [9,2] for the sessionid D95AA4FC47B08FA1EC718F8BA4E7AB29 2007-09-13 19:02:51,188 ERROR

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Benjamin Ernst
/10/07, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi, I solved the problem by changing the TinyMceBehavior.renderHead ()-method. It now looks like this: /** * @see org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead( org.apache.wicket.markup.html.IHeaderResponse

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
it, it may well have. What is the output of lsof | grep wicket | wc -l? Regards, Sebastiaan Benjamin Ernst wrote: Hi, I figured out that the same jars are opened multiple times. I don't know if this is the right behavior. the lsof looks like this: [EMAIL PROTECTED] ~]# lsof

Re: replace Panel inside a Form

2007-08-27 Thread Benjamin Ernst
it as a Class property? Kind regards Florian Sperber Benjamin Ernst wrote: Hi, I am trying to replace a Panel, which is inside a Form, which is inside a Page, which is inside a ModalWindow. The first time it works fine, but when I want to replace it a second time

replace Panel inside a Form

2007-08-24 Thread Benjamin Ernst
Hi, I am trying to replace a Panel, which is inside a Form, which is inside a Page, which is inside a ModalWindow. The first time it works fine, but when I want to replace it a second time, the Panel has no parent. Here is the code: listItem.add(new AjaxButton(pflege, MitarbeiterForm.this) {

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-21 Thread Benjamin Ernst
But no response so far. I can't help you any further but lets hoop the maintainer of the tinymce project picks it up... Thijs Benjamin Ernst wrote: Hi, has nobody an idea? Any help would be great! Thanks, Benjamin 2007/8/16, Benjamin Ernst [EMAIL PROTECTED]: Hi, I have

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-20 Thread Benjamin Ernst
Hi, has nobody an idea? Any help would be great! Thanks, Benjamin 2007/8/16, Benjamin Ernst [EMAIL PROTECTED]: Hi, I have a problem with the wicket-stuff Tinymce-Editor in the InternetExplorer: the first time the page is loaded, there are no tool-icons, just the text-area. And IE gives

Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-16 Thread Benjamin Ernst
Hi, I have a problem with the wicket-stuff Tinymce-Editor in the InternetExplorer: the first time the page is loaded, there are no tool-icons, just the text-area. And IE gives the following Error: Error: 'tinyMCE is undefined' It' s an Java-Script-Error and it might be, that the scripts are