Exception when detaching/serializing a page

2012-05-03 Thread Philipp
result. Anybody else already experienced some error like that and can point me into a direction where I can further investigate the issue? Philipp

Why everything is stored in Session?

2012-04-24 Thread Philipp Oppermann
will be loaded. So why you need to store so much in the session? Philipp Oppermann - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Bug in wicket tiny mce 1.4.18

2011-12-10 Thread Philipp
) ~[tinymce-1.4.18.jar:1.4.18 null -mike] at org.apache.wicket.Component.renderHead(Component.java:2806) ~[wicket-1.4.18.jar:1.4.18] Shall I file a bug report on this? Philipp - To unsubscribe

Re: DropdownChoice with ChoiceRenderer does not use idValue for setting Model

2011-11-28 Thread Philipp Schreiber
Ok. Now im holding a map, using its keys as choices and a choicerenderer gives the values for rendering.. its working... nice Thanks! -- View this message in context:

Re: add resources to javascript

2011-11-24 Thread Philipp Schreiber
So.. ok nevermind... just mounted the resources as PackageResourceReference and used it in JS -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/add-resources-to-javascript-tp4101004p4103562.html Sent from the Users forum mailing list archive at Nabble.com.

GMap2 in a Wiquery Dialog

2011-06-27 Thread Philipp
I am trying to open a Google Map using GMap2 in a WiQuery Dialog modal window. The goal is to use the modal window in order to show a large map (800 x 500 px). However, when I open the modal window only the small part of the map is shown, whereas the rest is only a grey area. If I open the

Re: facebook like iframe in wicket

2011-05-24 Thread Philipp
As far as I can guess your iframe has nothing to do with the velocity issue. The velocity error occurs, if the global library cannot be found. Nevertheless, that error is not crucial and should rather considered as a warning. See https://issues.apache.org/jira/browse/VELOCITY-86 for more

How to access SwitchProtocolRequestTarget

2011-05-17 Thread Philipp
, because it is not defined as public. What would you suggest in this case? Make a local copy of the class (which would work). However, that does not seem to be nice Java coding to me. I was wondering what the other members of the mailing list think about it. Kind regards Philipp

Re: CheckboxMultipleChoice in Ajax style

2009-05-14 Thread Philipp Daumke
Mathias, I changed a bit of code and now it works without problems. I even can't reproduce what was the problem. Thank's a lot for your help Philipp When I try this code it works. Can you please post some code for us -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan

Re: CheckboxMultipleChoice in Ajax style

2009-05-11 Thread Philipp Daumke
happens. Does anyone have an explanation for that? Thank you Philipp This may confuse the web user quite a bit. It's preferred to send the request each time or cache it maybe. Form form = new Form( form ); List SITES = Arrays.asList(new String[] { The Server Side, Java Lobby

CheckboxMultipleChoice in Ajax style

2009-05-09 Thread Philipp Daumke
to wicket, any code fragment would be greatly appreciated. All the best Philipp -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan-Meier-Strasse 26 D-79104 Freiburg Fon: +49 (0) 761 - 203 6707 Fax: +49 (0) 761 - 203 6800 E-Mail: dau...@averbis.de Geschäftsführer: Dr. med. Philipp

Re: Servlet container authentication in Wicket

2009-02-11 Thread Philipp Daumke
Hi, I had a look at that specification but it doesn't give any more hints how to use it. Does somebody have any more working examples? Or is there a tutorial how to connect wicket to the local LDAP? Thanks for your help. Philipp j_security_check is part of the Servlet Specification section

Re: Servlet container authentication in Wicket

2009-02-02 Thread Philipp Daumke
the error mentioned below. Maybe some more configuration in tomcat? Thank you for your help Philipp Hi Timm, I also tried to add my application name in it (like you proposed), but no difference, still doesn't work. Philipp http://localhost:5080/j_security_check?j_username=testj_password=test

Servlet container authentication in Wicket

2009-02-01 Thread Philipp Daumke
link aboe). Thank you for your help! Philipp public final class LoginPage extends WebPage { private String username; private String password; public LoginPage() { redirectToSecurityCheck(); /*if( ( ( MySession )getSession() ).isUserLoggedIn

Re: Servlet container authentication in Wicket

2009-02-01 Thread Philipp Daumke
Hi Timm, I also tried to add my application name in it (like you proposed), but no difference, still doesn't work. Philipp http://localhost:5080/j_security_check?j_username=testj_password=test Shouldn't there be an application named? http://localhost:5080/MYAPP/j_security_check

Budy indicator next to a checkbox

2009-02-01 Thread Philipp Daumke
to a checkbox? All the best Philipp public class CriticalCheckboxActionPanel extends Panel { Index index; private final AjaxIndicatorAppender indicatorAppender = new AjaxIndicatorAppender(); public MyCheckboxActionPanel(String id, final IModel model, final Item item, Index index

Re: Budy indicator next to a checkbox

2009-02-01 Thread Philipp Daumke
Thanks Igor, that was the point. Philipp ajaxcheckbox does not have a method public String getAjaxIndicatorMarkupId() so what are you trying to override? instead let your panel implement see IAjaxIndicatorAware -igor On Sun, Feb 1, 2009 at 3:49 PM, Philipp Daumke dau...@averbis.de wrote

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
().setResponseRequestEncoding(UTF-8); getMarkupSettings().setDefaultMarkupEncoding(UTF-8); } public Class getHomePage() { return Index.class; } } Still, it seems to convert my code from latin1 to utf8, even though I enter utf8-text. Thanks for further help Philipp Hi, have you

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
Hi Jonas, hi Johann, grrh, I forgot to set URIEncoding=UTF-8. Now it works, thank you for your help. All the best Philipp Hi Philipp, yes, thats correct. We had similar problems and fixed it that way, but maybe something else is still not set to UTF-8. I assume you have configured your

Re: Focus on component

2009-01-30 Thread Philipp Daumke
Hi Matthew, this solution works perfectly well, thanks a lot. Philipp You can write a behaviour for it so it will be more reusable. The following is based on http://cwiki.apache.org/WICKET/request-focus-on-a-specific-form-component.html and works for both regular and ajax requests. private

Focus on component

2009-01-29 Thread Philipp Daumke
javascript attribute via AttributeAppender, but then I get a null pointer exception in onClick (target is null). When I comment that line out (so don't add the Attribute), everything works fine except that focus doesn't work. Any help appreciated. Thanks a lot Philipp Here's my code

Re: textfield to take only numnbers

2009-01-29 Thread Philipp Daumke
Hi Miro, can't you use a PatternValidator such as: add(new TextField(textfieldname).add(new PatternValidator(^\\d+$))); Cheers Philipp I s there any textfield which takes only numbers, I dont want user to enter letters only numbers so I want a textfield which takes only numbers

Re: Focus on component

2009-01-29 Thread Philipp Daumke
don't have to use Javascript myself? Thanks for help Philipp use target.(pre|append)Javascript if you want additional JS executed before/after doing the wicket-ajax stuff if you only want to set the focus (without any ajax involved), don't use ajaxlink, use e.g. a simple WebmarkupContainer hth

UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Philipp Daumke
Hi all, when I enter German umlauts (e.g. äöü) in a wicket text field it's converted to äöü. Everything seems to be in UTF-8. I already tried to apply a filter as described in http://wiki.apache.org/tomcat/Tomcat/UTF-8 without success. Any ideas? Thanks for your help Philipp -- Averbis

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Philipp Daumke
? All the best Philipp Do you save it to a database and then display the text? How do you present it? -- Averbis GmbH c/o Klinikum der Albert-Ludwigs-Universität Stefan-Meier-Strasse 26 D-79104 Freiburg Fon: +49 (0) 761 - 203 6707 Fax: +49 (0) 761 - 203 6800 E-Mail: dau...@averbis.de

Render other components

2009-01-27 Thread Philipp Daumke
find anything. I appreciate your help or just a few links to some examples! All the best Philipp To make a silly example, I look for something like: class1 AjaxLink link = new AjaxLink(link, new PropertyModel(obj, id)) { public void onClick(AjaxRequestTarget target

Re: Render other components

2009-01-27 Thread Philipp Daumke
=null. Probably because relTable is something like the 2nd or 3rd ancestor on that page (see below)? Thanks for your help again Philipp My Main HTML-Page Index.html: ... span wicket:id=tabs class=tabpanel/span ... Includes this subpage Index$TabPanel1.html wicket:panel table class=relTable

Re: Render other components

2009-01-27 Thread Philipp Daumke
(); AjaxFallbackDefaultDataTable myADDT= (AjaxFallbackDefaultDataTable) page.get(tabs:panel:relTable); target.addComponent(myADDT); } } For tabs, panel and relTable I put setOutputMarkupId(true); (don't know whether this was necessary). Philipp Dear Cemal, thanks for your fast help. You understood

Re: Render other components

2009-01-27 Thread Philipp Daumke
looks like the one below. Agree? Thank you for your help Philipp public class TermIDLinkPanel extends Panel { Index indexInstance; Component componentInstance; public TermIDLinkPanel(Index indexInstance, Component component, String id, final IModel model, final Item item

How can FeedbackPanel show error message of AjaxEditablePanel ?

2009-01-27 Thread Philipp Daumke
Hi all, I try to show the error message of an AjaxEditablePanel in a FeedbackPanel, but it doesn't work. On the web I only find examples where FormComponents are validated. My AjaxEditablePanel is not part of a form? Any idea or example? Thank you Philipp -- Averbis GmbH c/o Klinikum der

DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
Dear all, I try to create an editable column using DefaultDataTable and AjaxEditableLabel. My current version is posted below but it's quite a hack and I wonder whether there's an official good solution for that before I go on with my work. Thanks al lot for your help Philipp HTML:table

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
data.table.IColumns (not tree.table.IColumns) , or am I wrong? Or can I just cast them? Another ideas? Not to be mentioned I'm a wicket newbie and there's maybe a very simple solution for that Thanks, Philipp Philipp Daumke schrieb: I try to create an editable column using DefaultDataTable