well the thing here is expressiveness. the way it is right now was done to
avoid api breaks.
but if you look at the idataprovider - how do you know that you can make the
impl also implement idetachable and that will work? same can be said for
models, why have IModel extend IDetachable? it is so t
the question is is this really necessary because we have already code that
does the detach:
"Note that if the IDataProvider implementation implements [EMAIL PROTECTED]
IDetachable}
* interface, the [EMAIL PROTECTED] IDetachable#detach()} method will be called
at the
end
* of request."
So if som
If you're not using 2.0 or 1.3 you have to use WicketServlet (as the
others said). Otherwise, you're having class path troubles and you
have to look at how you set up JBoss.
Eelco
On 12/8/06, Lost Still Lost <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am working on a rather simple example of a
Hi,
im currently wondering why the PagingNavigator allways issue a session ? (im
on wicket 2.0)
I mean if i create a mainpage and link to 2 subpages all is fine and no
session used. If i embed a PagingNavigator into any page a session will be
created on the moment i access that page, however I
On 12/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
shouldn't we extend from IDetachable in 1.3?
i dont see a problem with that
-igor
johan
On 12/7/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
>
> i guess if you are certain the size never changes this works ok
>
> -igor
>
>
> On 1
Hello,
I found a solution. The following code is actually all that was needed:
public class AjaxFormValidatingBehavior extends
*/AjaxFormComponentUpdatingBehavior /*{
private final Component feedbackPanel;
public AjaxFormValidatingBehavior(String event, Component
feedbackPanel) {
That did it. Thanks for the help.
igor.vaynberg wrote:
>
> well in that case just do
>
> new AjaxPagingNavigator() { onajaxevent(target) {
> target.add(dataviewparent);
> }}
>
> -igor
>
>
>
--
View this message in context:
http://www.nabble.com/DataView-and-Ajax-tf2771602.html#a7759052
Hello,
I am trying to use the AjaxFormValidatingBehavior like this:
AjaxFormValidatingBehavior.addToAllFormComponents(form, "onchange");
but unexpectedly the form is also submitted (and not just validated). Is
this intentional, a bug, or am I missing something? Is there a workaround?
I am using
Except if he is using trunk from wicket-1.x, but there can still be demons.
Martijn
On 12/8/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Hello Yuri,
>
> Which version of Wicket are you using?
>
> If it is not Wicket 2.0, you should replace WicketFilter with WicketServlet.
>
> Regards,
> E
Hmm, it is actually working, and I do agree that you write wouldn't work...
This is the output on the html generated by wicket:
As you see the \" apparently are escaped to ' when processed by wicket.. Im
running on wicket 1.2.
About the pattern script, yeah i
Nino Wael wrote:
>type="submit" value="Generer rapport" wicket:id="wordbutton"
> onclick="showContent('uglyfix');showContent('uniquename');" />
>
How can you run this example with wicket?? It escapes qoutes in a
strange wa so you should have the following code i
Hello Yuri,
Which version of Wicket are you using?
If it is not Wicket 2.0, you should replace WicketFilter with WicketServlet.
Regards,
Erik.
Lost Still Lost schreef:
> Hello,
>
> I am working on a rather simple example of a wicket-webapplication.
> Unfortunately it is not working prop
Hello, I am working on a rather simple example of a wicket-webapplication.
Unfortunately it is not working properly.I got this Exception in JBOSS-4.0.5
10:27:24,546 INFO [[/helloworld]] Marking servlet HelloWorldApplication as
unavailable10:27:24,546 ERROR [[/helloworld]] Servlet /helloworld th
With Listchoiec are no longer invoked, I meant listchoice.onchange.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 8. december 2006 12:51
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Help with AjaxFormComponentUpdati
No true:)
Why cant you use ID's?
IT is true that forexample dropdown options are created on a specific pattern
but it's somewhat easy to create some javascript which adapts that pattern. We
use a lot of onchange some which are added in the html at some which are added
with the attribute appen
As you write ListChoice are no longer invoked. The ajax event are called afaik
after all updates of model has occurred. I actually changed my coding style
after this and began using abstract models, its actually much easyer coding
this way, and all of your components will be ajax prepaered...:)
After 2 months working with Wicket I'm still quite impressed by this
smart framework, but IMHO the most weak part of it is client-side
scripting. So when you want to place a lot of javascript in html, using
handlers like onclick, onkeyup etc, without using server at all (no
ajax, no server call
Thanks Martijn. I'll check that out.
Francis
On 12/8/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
I think Dojo has that available. see wicket-contrib-dojo on wicket-stuff.
Martijn
On 12/8/06, Francis Amanfo <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> Anyone has a drag and drop wicket compon
IDataProvider should just have detach/attach methods
But i see this will happen:
* TODO 2.0: directly extend [EMAIL PROTECTED] IDetachable}
*
*/
public interface IDataProvider extends Serializable
So that you have a detach and an attach that are called before and after the
size/iterator
So that
19 matches
Mail list logo