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
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
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
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
'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
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:
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.
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,
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
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
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
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
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
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
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
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
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
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
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:
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,
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=;
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
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
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
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
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
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:
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
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
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
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.
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
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
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
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
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
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.
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));
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
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
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));
41 matches
Mail list logo