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 m

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 Portle

Re: Portlet 2.0 and Events

2009-02-10 Thread Benjamin Ernst
sed 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 >&g

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 th

Re: Problems Ajax with Portlet 2.0 in Liferay 5.2.1

2009-02-06 Thread Benjamin Ernst
-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(Revis

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 HomePage

Re: LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
[EMAIL PROTECTED]>wrote: > Would "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

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 input=wicketGet(elementId

Re: Wicket Portlets in Liferay 5

2008-05-15 Thread Benjamin Ernst
ECTED]> wrote: > 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

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 Li

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 createTreeModel()-Met

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 fi

Re: long Rendertime with many AjaxLinks

2008-03-04 Thread Benjamin Ernst
) {return Wicket.$('sa229') != null;}.bind(this));"); } }); I do not think it takes such a long time 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 PROTECTE

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 br

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 possi

Re: tinymce ajax submit

2008-02-19 Thread Benjamin Ernst
Hi Marc, I have the same problem. When i am submitting a textarea with a TinyMCEBehavior the model of the textarea does not get updated. I am interested in your solution, but I do not understand it. It would be nice if you (or anyone else) could explain it for me. Thanks in advance, Benjamin 20

Re: Ways of making components in a page optional?

2007-12-18 Thread Benjamin Ernst
Hi, what about setVisible(false)? - Benjamin 2007/12/18, wfaler <[EMAIL PROTECTED]>: > > > Hi, > I basically want to add a single component onto a page optionally, > dependent > on other data/state in a page. > > So far I have done this by using a ListView, and passing an empty List > into > it

Re: IllegalStateException when delivering a PDF

2007-10-26 Thread Benjamin Ernst
cel-to-the-client-tf1955606.html#a5364044 > > mf > > > Benjamin Ernst wrote: > > > > Hi guys, > > > > I am delivering a PDF-Document with wicket like this: > > > > > > Document document = new Document(); > >

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); doc

Re: ModalWindow serialization problem

2007-10-09 Thread Benjamin Ernst
AIL 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

ModalWindow serialization problem

2007-10-09 Thread Benjamin Ernst
Hi guys, we have a problem with some ModalWindows. We are using a lot of them in our application and they are often nested in other ModalWindows. The problem is when we refer to the to the parent that creates the ModalWindow in this ModalWindow that parent-object is not same as the parent-object t

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

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

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.

Re: sessionstore is too big

2007-09-24 Thread Benjamin Ernst
Because our Application in an intrannet-Apllication the user should stay logged-in their whole workday. So our session-timeout is 12 hours and the sessions don't expire for a long time. Could that be a problem too? And it could be that we killed the tomcat a few tims. I will watch for session-dire

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

sessionstore is too big

2007-09-24 Thread Benjamin Ernst
Hi, we have a problem with the sessions that wicket stores in the filesystem. It seems that the sessions that are stored here "[TOMCAT-DIR]\work\Catalina\[HOST]\[WEB-APP-NAME\sessions\" are not deleted after they are no longer in use. The size of this directory is now grown to 2.5Gb, which is way

Re: onNewBrowserWindow is not called

2007-09-19 Thread Benjamin Ernst
ourse, you have 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. W

Re: onNewBrowserWindow is not called

2007-09-19 Thread Benjamin Ernst
multi window 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

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: Too many open Files

2007-09-14 Thread Benjamin Ernst
, then the list below is nowhere > near going to cause the file handles to run out. On the other hand, if > you truncated it, it may well have. What is the output of "lsof | grep > wicket | wc -l"? > > Regards, > Sebastiaan > > > Benjamin Ernst wrote: > >

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

2007-09-14 Thread Benjamin Ernst
e know if is works as expected. > > > > good to be back to wicket ;) > > > > /iulian > > > > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > >> > >> Hi, > >> > >> I solved the problem by changing the TinyMceBe

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 [FilePageSavingThrea

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
On our development system it looks like this: [EMAIL PROTECTED] ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited max nice(-e) 0 file size (blocks, -f) unlimited pending signals (-i) 16384 max l

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
u/WEB-INF/lib/wicket- spring-annot-1.3.0-beta2.jar Benjamin 2007/9/14, Benjamin Ernst <[EMAIL PROTECTED]>: > > Hi, > our Application is running in deployment-mode. > > Unfortunately we are not directly able to debug the system, because it is > running on the server at our

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
tedly opened and not closed. > > Regards, > Sebastiaan > > > Benjamin Ernst wrote: > > Hi, > > as far as I know, we don´t open any files or streams. I now got the > > catalina.out and it says that it is a SocketException: > > > > 2007-09-13 18:53:24,

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
tedly opened and not closed. > > Regards, > Sebastiaan > > > Benjamin Ernst wrote: > > Hi, > > as far as I know, we don´t open any files or streams. I now got the > > catalina.out and it says that it is a SocketException: > > > > 2007-09-13 18:53:24,

Re: Too many open Files

2007-09-14 Thread Benjamin Ernst
roblem it's usually > quite easy to hunt 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

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

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

2007-09-10 Thread Benjamin Ernst
ttings.toJavaScript(ajax) + "\n});\n"); initBuilder.append(settings.getLoadPluginJavaScript()); initBuilder.append(settings.getAdditionalPluginJavaScript()); response.renderJavascript(initBuilder.toString(), "init"); } I don´t really know why the script was not imported thi

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

2007-09-03 Thread Benjamin Ernst
> let me take a look and see how i can fix that issue. > > /iulian > > On 8/21/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > > > > Hi Thijs, > > Thank you for opening the JIRA. At least there is someone who has the > same > > error. > > >

Re: replace Panel inside a Form

2007-08-27 Thread Benjamin Ernst
gt; > > > Hi Benjamin, > > > > where is the Panel einsatzPanel defined? > > > > Maybe it helps defining it as a Class property? > > > > > > Kind regards > > Florian Sperber > > > > Benjamin Ernst wrote: > > > Hi, > >

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
.org/jira/browse/WCTINYMCE-2 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! >

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

2007-08-19 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

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 not

convertToString in custom Converter is not called

2007-08-13 Thread Benjamin Ernst
Hi, I implemented a custom Converter. It looks like this: public class AnredeConverter implements IConverter { public Object convertToObject(String arg0, Locale arg1) { if(arg0 == null) return null; return Anrede.fromString(arg0); } public String convertToString(Obje