what i am afraid of is jetty or tomcat or whatever i deploy on will load the wicket.jar before my jar so that it will hit wicket's form and button classes instead of mine.

there are no guarantees as far as this goes are there?

-Igor


On 7/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
hmm i guess i have to read ##wicket becauase what is fugly ...

But if you create your own 2 classes in your own nice and perfect package..
then it should be ok. i guess maybe still fugly...

johan


On 7/21/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
hmm, so if i have my own Form and Button in wicket.markup.html they essentially override the default, but then the order in which the classloader looks for classes becomes a potential problem.

so then i have to have MyForm and MyButton which is fugly

-Igor


On 7/21/06, Johan Compagner < [EMAIL PROTECTED]> wrote:
you could also have your own buttons that make that method public...

But i guess thats to much work :)

johan


On 7/21/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
i guess i will just keep it in that package :) unless someone strongly feels it should be made public to avoid this hassle in da future


-Igor


On 7/21/06, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
Yeah, I forgot... damn.

Eelco


On 7/21/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> i will make it public in 2.0 but it will cause another migration headache :)
>
> -Igor
>
>
>
> On 7/21/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > It should be public then.
> >
> > Eelco
> >
> >
> > On 7/21/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > no because the validation is intertwined with other processing, its not
> > > always simple to separata the two.
> > >
> > > anyways, i fix0red it by having my own form impl. the only problem is
> that i
> > > have to have the form in wicket.markup.html package because button's
> > > onsubmit is protected
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 7/21/06, Johan Compagner < [EMAIL PROTECTED] > wrote:
> > > >
> > > > So in the end you just want a custom validation on the form or one is
> > > childs?
> > > >
> > > > Why not have a hook before the onSubmit calls (which shouldn't if
> possible
> > > have to much validation if you ask me)
> > > >
> > > > Would a FormValidatior with as a component the Form itself not do the
> job?
> > > >
> > > >
> > > > johan
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 7/21/06, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
> > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > >
> > > > > > But i don't think it matters to much. Because most have the
> > > form.submit OR a
> > > > > > button.submit () implemented.
> > > > >
> > > > > Well, I use both sometimes and actually like the option of being
> able
> > > > > to have a common piece in onSubmit (e.g . navigation or save), and
> some
> > > > > specific behavior in the button.
> > > >
> > > >
> > > >
> > > > i have a couple of usecases.
> > > >
> > > > one i have some very complex validation that would be difficult to
> express
> > > as a formvalidator because the form is dynamic. right now there is no
> good
> > > place for it because form.onsubmit runs last and we dont have
> > > form.onvalidate callback - i can override form.validate but then you
> must
> > > remember to call super() as i mentioned - so i dont think this is very
> safe.
> > > >
> > > > another usecase is where i have a form that has to preprocess some
> data. i
> > > reuse this form in a lot of places so i would like to encapsulate that
> > > prepreocessing logic in the form's onsubmit which is intuitive, but then
> i
> > > cant. i have 5 buttons in some cases on this form, so i need to call a
> util
> > > method on the form from each button which is very ugly.
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > > your
> > > > opinions on IT & business topics through brief surveys -- and earn
> cash
> > > >
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> > > > _______________________________________________
> > > > Wicket-develop mailing list
> > > > Wicket-develop@lists.sourceforge.net
> > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> -------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net 's Techsay panel and you'll get the chance to
> share
> > > your
> > > > opinions on IT & business topics through brief surveys -- and earn
> cash
> > > >
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> > > > _______________________________________________
> > > > Wicket-develop mailing list
> > > > Wicket-develop@lists.sourceforge.net
> > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > > >
> > > >
> > > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys -- and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > _______________________________________________
> > > Wicket-develop mailing list
> > > Wicket-develop@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> > >
> > >
> > >
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys -- and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-develop mailing list
> > Wicket-develop@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop


-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------------------------

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to