AW: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Stefan Lindner
Override a methode calles something like wantChangeNotificatoin and meke it return true Stefan -Ursprüngliche Nachricht- Von: Advanced Technology® [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. Dezember 2007 08:32 An: users@wicket.apache.org Betreff: AjaxCheckBox not receiving

Re: Ajax Feedback Problem in 1.3

2007-12-19 Thread SantiagoA
No exceptions in the console. Debug shows that the onError() is never called. -Santiago igor.vaynberg wrote: any exceptions in the log/console? seems pretty damn strange to me. can you verify onerror() is being called on the ajax behavior? -igor On Dec 18, 2007 11:27 PM, SantiagoA

Re: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Advanced Technology®
Thanks Stefan, But the error persist , still not notifing when Checkbox is unchecked. AT 2007/12/19, Stefan Lindner [EMAIL PROTECTED]: Override a methode calles something like wantChangeNotificatoin and meke it return true Stefan -Ursprüngliche Nachricht- Von: Advanced

AjaxEditableLabel not saving

2007-12-19 Thread Advanced Technology®
Hi, I am this exception when editing an AjaxEditableLabel : java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 at

Re: Form/Enter Key Problem

2007-12-19 Thread SantiagoA
'Enter' is bound to the default Button on your page. You can prevent the submit by adding some javascript, which intercepts the onKeyPress() public static final String JS_SUPPRESS_ENTER = if(event.keyCode==13 || window.event.keyCode==13){return

RE: tree with modalwindow interaction

2007-12-19 Thread rik rik
Thanks Stefan! I removed from code collapseAll and expandAll, and I had problems with node selection, but with them it works correctly It seems that AjaxRequestTarget is the magic solution to some problems, but it's not too easy to obtain info about it and how to use it Rik Subject: RE:

Re: Help for custom textfield component w/ javascript

2007-12-19 Thread freak182
I already make some debugging but i have no luck to get the value.Anyways, thanks for the reply...i will just look for other way to do the trick. Johan Compagner wrote: That should work fine then. The field should in initModel find the compound and then get the stdid property of that.

Re: FeedbackPanel and page refresh (f5) after submit

2007-12-19 Thread SantiagoA
feedbackMessages are stored to show them once, aftewards they were deleted. Perhaps, try to store them in your own List and feed the FeedbackPanel with the List when the page is displayed again. Maybe this work, i´m not sure about that. ;-) -Santiago Thomas Lutz wrote: Hi, First of all,

Dynamic menu component

2007-12-19 Thread timmy.storms
Hi guys, I recently started developing with the Wicket framework. Here's my first (newbie?) question. Please visit http://wicketstuff.org/confluence/display/STUFFWIKI/DojoWiperMenuTutorial. Is there any way to make this Wiper Menu more dynamic? All our menu items are stored in a database so

Re: Suckerfish Dropdowns contributed to Wicketstuff

2007-12-19 Thread Ryan Sonnek
Whoo hoo! Nice work. I hope that this is well accepted by the wicket community. Yet another example of how easy it is to integrate some *excellent* javascript libraries into wicket. On Dec 18, 2007 6:47 PM, JulianS [EMAIL PROTECTED] wrote: I've checked in wicketstuff-suckerfish and

Re: Component not found on Page Error

2007-12-19 Thread ramabf
In my case it is not related to back button. Since it is intermittent, I cant send a test case. The workaround I used is using bookmarkable links and it doesnt happen anymore. I looked at the parameters on the link and both pages have 0:. Does this mean both of them have an Id of 0? even on

Re: Accessing username from Page Unit test

2007-12-19 Thread Ravi_116
Igor, Thanks for the reply. How can i set the MockWebSession on the session object ? Is there an api available through wicket tester to set mockwebsession ? Ravi -- View this message in context: http://www.nabble.com/Accessing-username-from-Page---Unit-test-tp14411574p14419916.html Sent from

Re: Dynamic menu component

2007-12-19 Thread Doug Leeper
Have you taken a look at org.wicketstuff.yui.markup.html.menu2? I believe this should meet your requirements. This provides Menu, MenuBar, GroupMenu, and ContextMenu menu options. It is based on YUI not Dojo...but should not matter to you. It is available in wicket-contrib-yui and has

Re: AjaxEditableLabel not saving

2007-12-19 Thread Artur W.
Azarias Tomás wrote: Hi, I am this exception when editing an AjaxEditableLabel : java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 at I had the same

Re: AjaxEditableLabel not saving

2007-12-19 Thread Igor Vaynberg
and what about rc3? -igor On Dec 19, 2007 9:54 AM, Artur W. [EMAIL PROTECTED] wrote: Azarias Tomás wrote: Hi, I am this exception when editing an AjaxEditableLabel : java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class

Re: AjaxEditableLabel not saving

2007-12-19 Thread Eelco Hillenius
I am this exception when editing an AjaxEditableLabel : java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 at I had the same problem after migration

Re: Ajax Feedback Problem in 1.3

2007-12-19 Thread Igor Vaynberg
is onupdate called? -igor On Dec 19, 2007 12:34 AM, SantiagoA [EMAIL PROTECTED] wrote: No exceptions in the console. Debug shows that the onError() is never called. -Santiago igor.vaynberg wrote: any exceptions in the log/console? seems pretty damn strange to me. can you verify

Re: Accessing username from Page Unit test

2007-12-19 Thread Igor Vaynberg
class mockwebapp extends webapplication { newsession() { return new mockwebsession(); }} new WicketTester(new mockwebapp()); -igor On Dec 19, 2007 8:11 AM, Ravi_116 [EMAIL PROTECTED] wrote: Igor, Thanks for the reply. How can i set the MockWebSession on the session object ? Is there an api

Re: AjaxEditableLabel not saving

2007-12-19 Thread Artur W.
Eelco Hillenius wrote: I had the same problem after migration from rc1 to rc2 :( Not sure what changed, but did you upgrade both wicket and wicket-stuff to rc2? Yes, I upgraded everything to rc2. wicket-extensions too. Artur -- View this message in context:

Re: AjaxEditableLabel not saving

2007-12-19 Thread Artur W.
igor.vaynberg wrote: and what about rc3? I didn't try it yet. The diffrence is in method newEditor. In RC1 it is: protected FormComponent newEditor(MarkupContainer parent, String componentId, IModel model) { TextField editor = new TextField(componentId,

How to flush the markup stream in getMarkupResourceStream() method

2007-12-19 Thread venky221
Hi, I am trying to create the markup(generating html) using IMarkupResourceStreamProvider at runtime. The scenario is as follows. I am using a java class called DisplayPage public class DisplayPage extends WebPage implements IMarkupResourceStreamProvider{ String HTMLString=;

Writing Ajax applications that gracefully degrade

2007-12-19 Thread oliverw
Being totally new to Wicket I would like to know if it would be technically feasible to write Ajax applications in Wicket that gracefully fallback to ordinary links and full page loads depended on wether the client supports javascript or not. Would it be possible to implement this cleanly or

In appfuse example, UserForm instantiate static abstract inner class ?

2007-12-19 Thread bryan0101
I have googled this question in many forms without much success. The problem is I'm trying to understand the appfuse wicket example. And the only thing I'm not getting is the use of private static abstract class inner member class. code public class UserForm extends BasePage { @SpringBean

Re: Writing Ajax applications that gracefully degrade

2007-12-19 Thread igor . vaynberg
yes it is possible and not too hard. Don't know if we support it thoroughly enough, but start with *ajaxfallback* components. -igor On 12/19/07, oliverw [EMAIL PROTECTED] wrote: Being totally new to Wicket I would like to know if it would be technically feasible to write Ajax applications in

Re: Writing Ajax applications that gracefully degrade

2007-12-19 Thread oliverw
Excellent. Thanks! igor.vaynberg wrote: yes it is possible and not too hard. Don't know if we support it thoroughly enough, but start with *ajaxfallback* components. -igor On 12/19/07, oliverw [EMAIL PROTECTED] wrote: Being totally new to Wicket I would like to know if it would be

RE: [AuthenticatedWebSession] Constructor called twice

2007-12-19 Thread Dan Kaplan
I see you're using eclipse. I'm using IDEA. I noticed with IDEA that when it opened the home page for me, it always hit the home page twice. Maybe Eclipse uses the same call and that's why you're seeing what you're seeing. If your IDE is the one that's starting up the homepage, you should try

How to call the clear() method on MarkupCache class from my webpage

2007-12-19 Thread venky221
Hi, I am trying to clear the markupstream as my markup content will keep changing but the container remains same. How can I get the handle to this MarkupCache class to call the clear() method in my webpage. Thanks, Venky -- View this message in context:

Re: Strange wicket bug in DataView?

2007-12-19 Thread Matej Knopp
This is definitely strange. However without posting more code (or preferably a complete testcase to reproduce) I don't really know how to help you with it. -Matej On Dec 20, 2007 12:05 AM, Tauren Mills [EMAIL PROTECTED] wrote: Does anyone have any thoughts on this problem? I realize this it

Re: In appfuse example, UserForm instantiate static abstract inner class ?

2007-12-19 Thread Gwyn Evans
The point is that in the constructor, you're actually instantiating an anonymous class that *extends* EditForm. It won't work without the abstract, because the onXXX methods are abstract and need implementing. /Gwyn On 19/12/2007, bryan0101 [EMAIL PROTECTED] wrote: I have googled this

Re: AjaxCheckBox not receiving onUpdate Event

2007-12-19 Thread Gwyn Evans
Something else going on, as that's fine without the onChangeNotification - try simplify it to a test case (which'll work) then work back is all I can suggest. /Gwyn On 19/12/2007, Advanced Technology(R) [EMAIL PROTECTED] wrote: Thanks Stefan, But the error persist , still not notifing when

Re: [AuthenticatedWebSession] Constructor called twice

2007-12-19 Thread Igor Vaynberg
you can generate the stack traces -igor On Dec 19, 2007 1:45 PM, Pills [EMAIL PROTECTED] wrote: igor.vaynberg wrote: can you show us the two stack traces? -igor There is no really stack trace. I have this output in my console when I launch it from eclipse. code 19 déc.

Re: In appfuse example, UserForm instantiate static abstract inner class ?

2007-12-19 Thread bryan0101
Absolutely... thank you. Gwyn wrote: The point is that in the constructor, you're actually instantiating an anonymous class that *extends* EditForm. It won't work without the abstract, because the onXXX methods are abstract and need implementing. /Gwyn On 19/12/2007, bryan0101

Re: Strange wicket bug in DataView?

2007-12-19 Thread Tauren Mills
Thanks. I will try to put together a quickstart, but I'm not sure I can duplicate the problem in it. Tauren On Dec 19, 2007 3:23 PM, Matej Knopp [EMAIL PROTECTED] wrote: This is definitely strange. However without posting more code (or preferably a complete testcase to reproduce) I don't

Wicket Page lifecyle management (session perspective)

2007-12-19 Thread Ravi_116
Our wicket web application uses spring to inject beans into the Page Class. Our application also has login page with user credentials. The Engine (our domain service class) class is injected with user credentials. Unfortunately, the Page class seems to be instantiated only once (even when logging

Re: Suckerfish Dropdowns contributed to Wicketstuff

2007-12-19 Thread tsuresh
Thank you JulianS for this panel and improving the previous version. JulianS wrote: I've checked in wicketstuff-suckerfish and wicketstuff-suckerfish-examples. I've improved my original code as follows: - Dropdowns are built hierarchically from fragments so in theory there's no limit to

Re: How to call the clear() method on MarkupCache class from my webpage

2007-12-19 Thread Igor Vaynberg
see IMarkupCacheKeyProvider class mypage extends webpage implements IMarkupCacheKeyProvider { } -igor On Dec 19, 2007 3:15 PM, venky221 [EMAIL PROTECTED] wrote: Hi, I am trying to clear the markupstream as my markup content will keep changing but the container remains same. How can I

Re: Getting Error Field not serializable on one of the constructor attrib ?

2007-12-19 Thread mfs
the work around is to pass in a locator that can be serialized without serializing the dependency yet knows how to look it up when it is needed. kinda like a serializable lookup. this is what wicket's @SpringBean proxies do. the other option is to have that service available via a static lookup.

Re: Getting Error Field not serializable on one of the constructor attrib ?

2007-12-19 Thread Igor Vaynberg
class DependencyProviderT implements ProviderT, Serializable { private String typeName; public final DependencyProvider(Class dependencyType) { typeName=dependencyType.getName(); } public T get() { return ((MyApplication)Application.get()).getDependency(Class.forName(typeName));

Re: How to flush the markup stream in getMarkupResourceStream() method

2007-12-19 Thread Gabor Szokoli
Me Too! Well, not exactly, but similar issue: We read markup files from the file systems, and consider implementing a JMX trigger for reloading them, but what should the triggered method actually do? (In the mean time I realised the solution to my problem is probably different from vekys, but I

Re: How to flush the markup stream in getMarkupResourceStream() method

2007-12-19 Thread Igor Vaynberg
public class DisplayPage extends WebPage implements IMarkupResourceStreamProvider, **IMarkupCacheKeyProvider** {...} -igor On Dec 19, 2007 11:34 PM, Gabor Szokoli [EMAIL PROTECTED] wrote: Me Too! Well, not exactly, but similar issue: We read markup files from the file systems, and consider

Problem with JavaScript when using Wicket AJAX Components

2007-12-19 Thread thomas jaeckle
Hi there. I wanted to implement Tooltips for my DataTable as described in the Wiki: http://cwiki.apache.org/WICKET/how-to-add-tooltips.html So in every page I want to use them I add this in the page constructor: add(HeaderContributor.forCss(AbstractBorder.class, resource/css/sweetTitles.css));