How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
Hi, I need some help in trying to get onclick() and onchange() working. Case 1: I'm trying to add an onclick behaviour to my button. Java: Button cancelButton = new Button("cancelButton") { @Override public void onSubmit() {

AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Giambalvo, Christian
Hi, case 1: if i'm not wrong you have to place a submit button inside a form otherwise this button doesn't work. Case 2: look at AjaxEventBehavior for on change Mit freundlichen Grüßen Christian Giambalvo -- Fachinformatiker für Anwendungsentwicklung EXCELSIS Informationssysteme GmbH Wilhelmspl

Re: AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
Hi Christian, Case 1: I've changed it to type submit but now I have an unintended side effect. Basically, in addition to processing my code, it seems to also perform the form submit which I was trying to prevent with the 2nd button. Java Code class MyForm extends Form { public MyFo

RE: AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Stefan Lindner
Looking into the JavaDoc /API is always a good approach: "One other option you should know of is the 'defaultFormProcessing' property of Button components. When you set this to false (default is true), all validation and formupdating is bypassed and the onSubmit method of that button is called

Re: AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
Thanks for the admonishment, I should read the manual. In fact I did before you replied and added setDefaultFormProcessing(false) to my code and almost got it working. I currently have a issue with the behavior still sometimes doing the default submit when I click cancel but I think it's probab

Where to put HTML files?

2009-10-29 Thread Gonzalo Aguilar Delgado
Hi, I'm just wondering were to put html pages. Currently I using the same path as .java files. I created two compilation units, one for java and one for resources. After compiling both units are joined and put into the same folder. But this is tricky to handle as sources are compiled into jar an

Re: Where to put HTML files?

2009-10-29 Thread Pieter Degraeuwe
IMHO, I think it is not a good idea to pull them too far from eachother. It is actually a good thing that classes and their corresponding markup is packaged together. If the markup changes, your classes will change as well. (Otherwise, you probably add to much 'styling' in your markup; use css inst

Re: Tree markup

2009-10-29 Thread Pedro Santos
It can be done in the css, configure the overflow property of the component you want with the scrollbar On Wed, Oct 28, 2009 at 10:03 PM, Haulyn R. Jason wrote: > Hi, I know how to add links. override newLink method. Thanks again. > > On Thu, Oct 29, 2009 at 7:35 AM, Haulyn R. Jason > wrote: > >

Re: Any issues using @SpringBean in WebApplication

2009-10-29 Thread shetc
Is there an impact on performance if Spring beans are injected in a WebApplication and then shared for use in WebSession and WebPages (as opposed to injecting directly in WebSession and WebPages)? -- View this message in context: http://www.nabble.com/Any-issues-using-%40SpringBean-in-WebApplica

Re: Generate dynamic tables

2009-10-29 Thread vela
Hello again, Could you tell, which class to use to achieve this functionality -- View this message in context: http://www.nabble.com/Generate-dynamic-tables-tp26080641p26112012.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Generate dynamic tables

2009-10-29 Thread Pedro Santos
Hi, I had written some doc on wiki: http://wicketstuff.org/confluence/display/STUFFWIKI/Table hope it is enough to you evaluate if is what you need on your project and get start On Thu, Oct 29, 2009 at 10:24 AM, vela wrote: > > Hello again, > > Could you tell, which class to use to achieve this

Re: Generate dynamic tables

2009-10-29 Thread James Carman
You can use DefaultDataTable to achieve what you want. On Thu, Oct 29, 2009 at 8:42 AM, Pedro Santos wrote: > Hi, I had written some doc on wiki: > http://wicketstuff.org/confluence/display/STUFFWIKI/Table > hope it is enough to you evaluate if is what you need on your project and > get start > >

Re: Where to put HTML files?

2009-10-29 Thread Martin Grigorov
Check the sources of: http://wicketstuff.org/wicket14/customresourceloading/ El jue, 29-10-2009 a las 10:06 +0100, Pieter Degraeuwe escribió: > IMHO, I think it is not a good idea to pull them too far from eachother. It > is actually a good thing that classes and their corresponding markup is > pa

Re: Where to put HTML files?

2009-10-29 Thread Olivier Bourgeois
You can also override the template loader for the application. That's what I've done and our templates and properties are in a different project than the application. I also have two differents SVN repos. The pros : - you have instant template/properties reloading in development mode without rede

AccessControlException with Wicket on Google App Engine (GAE)

2009-10-29 Thread A. Maza
Hi, I've encountered now (and have seen reported by other users) several different cases where Wicket on GAE throws an AccessControlException when serializing an object to a byte array. Although this is clearly an issue of GAE permissions, I would like to ask if someone could give me a hint,

Re: Where to put HTML files?

2009-10-29 Thread Martijn Dashorst
On Thu, Oct 29, 2009 at 2:20 PM, Olivier Bourgeois wrote: > The pros : > > - you have instant template/properties reloading in development mode without > redeploying or complex IDE setup. This is something that the quickstart (http://wicket.apache.org/quickstart.html) already provides, no need fo

wickstuff-dojo-1.1 maintainer

2009-10-29 Thread Giambalvo, Christian
Hi all, who ist he actuall maintainer of wicketstuff-dojo-1.1 ? Mit freundlichen Grüßen Christian Giambalvo -- Fachinformatiker für Anwendungsentwicklung EXCELSIS Informationssysteme GmbH Wilhelmsplatz 8 - 70182 Stuttgart Mobile +49 176 196 32 406 Office +49 711 6 20 30 406 christian.giamb

Re: Tree markup

2009-10-29 Thread bvroling
That was what i figured too. It is working with the vertical scroll bar very nicely, but I cannot get it to display a horizontal one. Are there any trees out there in the real world that do work? > It can be done in the css, configure the overflow property of the > component > you want with the sc

[ANN] wicket-jasper-ui repository

2009-10-29 Thread Eman Nollase
Hello, Just to announce that the wicket-jasper-ui has finally got a maven 2 repository: in maven pom.xml com.ccti.jasper wicket-jasper-core 2.3 .. wicket-jasper Wicket-Jasper Repository http://wicket-jasper-ui.googlecod

Re: Exceptions and Ajax Events

2009-10-29 Thread Nicolas Melendez
Hi there, i want to keep alive this thread. Nobody knows how to access the component which generates the exception in his event from the onRuntimeException method? For example: I have a *Link*, and in his* onclick()* method throw a RuntimeException. So then in the onRuntimeException method, i wa

Re: wickstuff-dojo-1.1 maintainer

2009-10-29 Thread Martin Funk
oh, I'm just so command line YEAHHH svn log https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-dojo-1.1| less mf Am 29. Oktober 2009 14:27 schrieb Giambalvo, Christian < christian.giamba...@excelsisnet.com>: > Hi all, > > > > who ist he actuall maintainer of wickets

RE: Replacing a panel with another panel

2009-10-29 Thread Jeffrey Schneller
Thanks Igor. That did it. I knew it couldn't be that complicated. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Wednesday, October 28, 2009 11:16 PM To: users@wicket.apache.org Subject: Re: Replacing a panel with another panel class mycomponent { co

Re: Setup for stepping into wicket source in eclipse

2009-10-29 Thread Jim Pinkham
You may also want to check out JadClipse - it lets you step into de-complied-on-the-fly versions of source code from the jar/class files of any 3rd party tool. http://jadclipse.sourceforge.net/wiki/index.php/Main_Page Not as good as the fully commented source of course, but often good for a quick

Wicket Release Plans for 1.5

2009-10-29 Thread Corbin, James
I noticed that 1.5 maintenance releases are available. Can someone speculate on the release time frame for 1.5? We are contemplating an upgrade from 1.4.1 and want to avoid upgrading to 1.4.3 and then 1.5 immediately after that. Regards, J.D.

Re: Wicket Release Plans for 1.5

2009-10-29 Thread Martin Grigorov
it will take some time for 1.5 final I'll recommend to use 1.4.x for the next several months El jue, 29-10-2009 a las 09:55 -0600, Corbin, James escribió: > I noticed that 1.5 maintenance releases are available. Can someone > speculate on the release time frame for 1.5? > > > > We are contemp

Re: setResponsePage chaining

2009-10-29 Thread Ryan
Ahh yes, very simple order of operations. Can I chalk it up to being sleep and caffeine deprived? ;-) Thanks, Ryan On Wed, Oct 28, 2009 at 05:27:00PM -0700, bgooren exclaimed: > >Well, new P2() is executed _before_ it's result (a P2 instance) is passed to >setResponsePage(), so this behavior is

Re: Any issues using @SpringBean in WebApplication

2009-10-29 Thread Eelco Hillenius
> Is there an impact on performance if Spring beans are injected in a > WebApplication and then shared for use in WebSession and WebPages (as > opposed to injecting directly in WebSession and WebPages)? Sharing them (just don't keep references in your components) should be slightly more efficient.

Re: Wicket Release Plans for 1.5

2009-10-29 Thread dtoffe
Besides, it would be very interesting to know what changes and new features are planned. Cheers, Daniel Corbin, James-2 wrote: > > I noticed that 1.5 maintenance releases are available. Can someone > speculate on the release time frame for 1.5? > > We are contemplating an upgrade from 1

Re: Wicket Release Plans for 1.5

2009-10-29 Thread Igor Vaynberg
the focus of this release is to rewrite url and page handling. the focus is on flexibility and pluggability as well as simplification of use to the end user. the other major feature is the markupfragment implementation, which will allow users access to the markup the component is attached to, poss

Panels and Forms

2009-10-29 Thread hill180
I just need a little Advise I have three Panels 1 = Search with a text field and a search button 2 = Menu Panel 3 = Form Panel I would like to place a save button in the same area as the Search Panel What is the correct what of doing this? Thanks!

Re: Panels and Forms

2009-10-29 Thread Pedro - Gmail
The save button is for the Form Panel, right? Add it on this panel. Use only html and css to resolve your layout complexity. -- Pedro Henrique Oliveira dos Santos - Original Message - From: "hill180" To: Sent: Thursday, October 29, 2009 3:47 PM Subject: Panels and Forms I just ne

Re: Wicket Release Plans for 1.5

2009-10-29 Thread dtoffe
Thanks for your answer, Daniel igor.vaynberg wrote: > > the focus of this release is to rewrite url and page handling. the > focus is on flexibility and pluggability as well as simplification of > use to the end user. > > the other major feature is the markupfragment implementation, which

Re: Any issues using @SpringBean in WebApplication

2009-10-29 Thread shetc
Hi Eelco -- My colleague and I were thinking that putting them all in the WebApplication would make it easier to mock services for unit testing with WicketTester. Eelco Hillenius wrote: > > Sharing them (just don't keep references in your components) should be > slightly more efficient. Not t

Re: Any issues using @SpringBean in WebApplication

2009-10-29 Thread Eelco Hillenius
> Hi Eelco -- My colleague and I were thinking that putting them all in the > WebApplication > would make it easier to mock services for unit testing with WicketTester. Alternatively, you could use e.g. InjectorHolder.setInjector(new MockSpringInjector()); like is documented in org.apache.wicket.i

Glue for composing panels

2009-10-29 Thread Frank Silbermann
I was discussing glue for composing reusable panels into web pages on the blog of Erik van Oosten (http://blog.jteam.nl/2009/09/16/wicket-dos-and-donts/). I told him that my approach had been to create an abstract base page that constructs the common elements while leaving place-holders for page-

Re: Any issues using @SpringBean in WebApplication

2009-10-29 Thread shetc
Ok, I get it! I'll give a try and let you know how I get on. Thanks! Eelco Hillenius wrote: > > Alternatively, you could use e.g. InjectorHolder.setInjector(new > MockSpringInjector()); like is documented in > org.apache.wicket.injection.web.InjectorHolder (at least it is in > Wicket 1.3 which

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Hi Frank, about your final question, the ListView class is an component that partially use you approach: his children components are created on abstract method implementations. This abstract is called due an condition that test for reuseItems and size properties. And this call is originated in onBe

Re: Glue for composing panels

2009-10-29 Thread John Krasnay
Rather than having the base class "pull" in components from the subclass, recently I've been tackling this kind of problem by creating RepeatingViews in the base class and letting subclasses "push" components in by adding to the repeating view: public class BasePage extends W

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Nice approach, the only missing is that you hasn't how to prevent your component users from call addLeftNavChild after render phase at development time. But it is no big deal, since they will get an exception at runtime... On Thu, Oct 29, 2009 at 5:47 PM, John Krasnay wrote: > Rather than having

Re: Glue for composing panels

2009-10-29 Thread John Krasnay
On Thu, Oct 29, 2009 at 05:58:02PM -0200, Pedro Santos wrote: > Nice approach, the only missing is that you hasn't how to prevent your > component users from call addLeftNavChild after render phase at development > time. But it is no big deal, since they will get an exception at runtime... > By "

508 accessibility support

2009-10-29 Thread tubin gen
Will wicket ever provide support for 508 accessibility in current or any of the future releases ? here is 508 accessibility (http://www.section508.gov/)

Re: 508 accessibility support

2009-10-29 Thread Igor Vaynberg
how exactly does wicket hinder 508? -igor On Thu, Oct 29, 2009 at 1:04 PM, tubin gen wrote: > Will wicket ever provide support for 508 accessibility  in  current or  any > of the future releases  ? > here is 508  accessibility   (http://www.section508.gov/) > ---

Re: Glue for composing panels

2009-10-29 Thread Pedro Santos
Mean other programmes Em 29/10/2009, às 17:00, John Krasnay escreveu: On Thu, Oct 29, 2009 at 05:58:02PM -0200, Pedro Santos wrote: Nice approach, the only missing is that you hasn't how to prevent your component users from call addLeftNavChild after render phase at development time. But i

Re: AccessControlException with Wicket on Google App Engine (GAE)

2009-10-29 Thread Esteban Masoero
I'm sure the answer is "yes" but to be sure: have you done everything that is said here http://stronglytypedblog.blogspot.com/2009/04/wicket-on-google-app-engine.html ? Also, what versions of gae sdk and wicket are you using? A. Maza escribió: Hi, I've encountered now (and have seen reported

RE: Glue for composing panels

2009-10-29 Thread Frank Silbermann
Having sub-pages push components to the base page (where they will live in a ListView) looks like an effective solution. One advantage is that the writer of SubPage can add zero, one, or many components to (in his example) leftNavChildren. To do that with my base-page-pull approach, the base page

Re: 508 accessibility support

2009-10-29 Thread Andrew Lombardi
Wicket uses HTML as its template markup. So as long as you code your HTML properly, and it is 508 compliant, you're in the clear. Wicket doesn't present any roadblocks to 508 compliance. On Oct 29, 2009, at 9:04 PM, tubin gen wrote: Will wicket ever provide support for 508 accessibility i

migrating to 1.5

2009-10-29 Thread Douglas Ferguson
From what I've read 1.5 is going to be a big departure. Do you guys have any early indication of what the migration impact will be like? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-

Re: migrating to 1.5

2009-10-29 Thread Igor Vaynberg
you will have to rewrite whatever code that deals with urls directly (page mounting, custom webrequesturlcodingstrategies, etc), which should be minimal. other then that i think other changes will have an easier migration path. -igor On Thu, Oct 29, 2009 at 3:24 PM, Douglas Ferguson wrote: >  Fr

Re: migrating to 1.5

2009-10-29 Thread Eelco Hillenius
> Do you guys have any early indication of what the migration impact > will be like? I don't know if it is up-to-date, but: http://cwiki.apache.org/WICKET/migration-to-wicket-15.html Eelco - To unsubscribe, e-mail: users-unsubsc

OSGi Wicket

2009-10-29 Thread Tomáš Mihok
Hello, I'm currently designing a new application. One of the requests is to make it modular. I found out that one of the possibilities to enable loading of modules while application is running is OSGi. Is there a tool/plugin/guide to accomplish this or are there any other possibilities of acc

Re: OSGi Wicket

2009-10-29 Thread David Leangen
You can take a look at pax-wicket: http://wiki.ops4j.org/display/ops4j/Pax+Wicket The project is not very active these days, but I use it and it works. Regards, =David On Oct 30, 2009, at 8:12 AM, Tomáš Mihok wrote: Hello, I'm currently designing a new application. One of the reques

Re: Setup for stepping into wicket source in eclipse

2009-10-29 Thread Flavius
That's a good idea, Jim. I've used Jadclipse before. I just got in the habit of linking to the wicket source and was stumped at something basic like this not working right. That actually may be better in that as I move to newer wicket builds, I don't have to modify the project and link to the

Re: OSGi Wicket

2009-10-29 Thread Ernesto Reinaldo Barreiro
If you don't mind tying yourself to equinox these two projects http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter http://code.google.com/p/antilia/source/browse/#svn/com.antilia.wstarter.demo might be of some help. The launcher inlcuded with the demo http://code.google.com/