A simple Wicket component to render a Vue app

2024-01-19 Thread Kent Tong
t. Note that the AjaxRequestTarget one of the parameters, you can add other ajax Wicket components to the target to have them refreshed. <https://github.com/freemant2000/WicketVueApp#handling-vue-events-in-wicket> -- Kent Tong IT author and consultant, child education coach

Re: can't update wiki

2015-08-31 Thread Kent Tong
> I've added you to the group of collaborators.> You should be able to edit the > page now. Dear Martin, Thanks a lot! -- Kent Tong IT author and consultant, child education coach

can't update wiki

2015-08-30 Thread Kent Tong
Hi, I'm trying to update my book's info and the tutorial URL address on https://cwiki.apache.org/confluence/display/WICKET/Documentation+Index but it seems that editing is disabled. Any help? thanks! -- Kent Tong IT author and consultant, child education coach

Re: can't update wiki

2015-08-30 Thread Kent Tong
for the help! I've created a pull request on github for the site. However, I'd also like to update the wiki page at https://cwiki.apache.org/confluence/display/WICKET/Documentation+Index: ...It covers Wicket v7 and v6... ... Tutorials by Kent Tong (the URL should be http

Re: can't update wiki

2015-08-30 Thread Kent Tong
Done! Dear Martin, Thanks! My Id is: KentTong. Also thanks for the update! I'd like to fix the URL for Tutorials by Kent Tong: it should be http://www.ttdev.com/EWDW/Chapters1-2.pdf instead of http://www.agileskills2.org/EWDW/chapters1-3.pdf thanks! -- Kent Tong IT author and consultant

Wicket page test 3.0.1 is now available (for Wicket 7.0 and 6.x)

2015-08-26 Thread Kent Tong
from maven central. Check out the tutorial at http://wicketpagetest.sourceforge.net to get started! -- Kent Tong IT author and consultant, child education coach

Wicket page test 3.0.0 is now available (for Wicket 6.x)

2015-02-23 Thread Kent Tong
://wicketpagetest.sourceforge.net to get started! -- Kent Tong IT author and consultant, TipTec Development

my book updated for Wicket 1.5.x

2011-12-29 Thread Kent Tong
Hi, I've updated my book for Wicket 1.5.x. You may check it out or download the first two chapters at http://agileskills2.org/EWDW Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

what could have caused this: a page ID in listener URL getting a wrong page instance

2011-11-03 Thread Kent Tong
as it only took a few minutes to occur. We're using Wicket 1.4.9. Thanks in advance! -- Kent Tong Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: what could have caused this: a page ID in listener URL getting a wrong page instance

2011-11-03 Thread Kent Tong
Hi Martijn, Thanks for the pointer! I'll give it a go. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Strange issue in RequestCycle

2011-10-16 Thread Kent Tong
Hi, In 1.5, the request cycle (indirectly) contains a stack of request handlers. According to the Java docs, it seems the purpose is to allow a request handler to execute another request handler in its respond() method by calling the execute() method in the request cycle. However: a) There seems

Re: Strange issue in RequestCycle

2011-10-16 Thread Kent Tong
() method, but it is immediately removed after its execution. -- Kent Tong Useful news for CIO's at http://www2.cpttm.org.mo/cyberlab/cio-news - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

why generate hybrid URL for stateless page?

2011-09-13 Thread Kent Tong
Hi, In 1.5 I found that even if a page is stateless, Wicket still generates hybrid URLs (with PageInfo) for stateless links/forms. This is done in AbstractBookmarkableMapper (see below). Any idea why? Thanks! if (requestHandler instanceof BookmarkableListenerInterfaceRequestHandler) {

Re: how to test what radio is checked in a radiogroup?

2011-08-22 Thread Kent Tong
In my unit test, I try to check what radio is selected, but I don't find how... You may check out http://wicketpagetest.sourceforge.net which will work for this use case. - To unsubscribe, e-mail:

Re: Unit testing wicket

2011-07-19 Thread Kent Tong
Hi Niranjan, If I add more than one test case, setUp method is called more than twice and wicket throws the exception Application name can only be set once.. You may want to take a look at http://wicketpagetest.sourceforge.net which is much easier to use.

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-04 Thread Kent Tong
Hi, As the guy who started that old thread and the old vote, I vote +1 for (2). -- Kent Tong Useful news for network admins at http://www2.cpttm.org.mo/cyberlab/netadmin-news - To unsubscribe, e-mail: users-unsubscr

Re: Strange behaviour in WicketTester when Ajax-clicking on a deselected checkbox

2011-04-04 Thread Kent Tong
) You may take a look at http://wicketpagetest.sourceforge.net which supports true Ajax testing. -- Kent Tong Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware - To unsubscribe, e-mail: users-unsubscr

Re: Wickettester, cookies and redirects in Wicket 1.4.15

2011-02-02 Thread Kent Tong
Hi, I currently have an application reading a cookie in my session. All of my unit tests where the pattern is: Create page - submit form - redirect to new page fails to read this cookie after the redirect to new page. Have you tried http://wicketpagetest.sourceforge.net which supports this

some thoughts on the component hierarchy hell

2010-11-07 Thread Kent Tong
Hi, I've a blog entry on this issue: http://www.dzone.com/links/r/scala_exercise_6_tackling_the_wicket_hierarchy_mi.html definitely not a solution, but just some ideas. -- Kent Tong, Msc, PMP, CISSP, ITIL Foundation Senior manager of IT dept, CPTTM Authorized training for Adobe, Aruba, Cisco

Re: how to pass initial request parameters with WicketTester

2010-11-02 Thread Kent Tong
Wicket's server side processing. -- Kent Tong Post questions on our IT support forum (http://www2.cpttm.org.mo/forum). Responses are guaranteed in 3 working days. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: New App - Best Practices

2010-10-04 Thread Kent Tong
is the above brief description :-) My suggestion is to avoid writing any code at all :-) For example, check out the open source, free or paid applications that can do what you want (eg, sql-ledger for accounting), then customize them as needed. -- Kent Tong Useful news for network admins at http

Re: WicketTester and https

2010-09-01 Thread Kent Tong
is there a way to test Pages that have the @RequireHttps annotation? You can try http://wicketpagetest.sourceforge.net which should support https testing. -- Kent Tong Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware

Wicket page test 2.0.0 is now available (for Wicket 1.5)

2010-08-14 Thread Kent Tong
Dear all, Wicket page test 2.0.0 is now available. It is the first version that works with Wicket 1.5-M1 and onwards. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. Get it from maven as described in

Re: Testing modal window

2010-08-13 Thread Kent Tong
Hi Anna, I am trying to write a test case to test that the parent page gets updated with new values once the modal window closes. If you use http://wicketpagetest.sourceforge.net, you can test it easily like: DefaultSelenium selenium = ...; WicketSelenium ws = ...;

Wicket page test 1.6.1 is now available

2010-08-11 Thread Kent Tong
Dear all, Wicket page test 1.6.1 is now available. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. This minor release contains the follow changes: * Fixed issue 3043110[1]. * Fixed issue 3037392[2]. *

Re: Disabling serialization in wicket tester....

2010-07-31 Thread Kent Tong
I would like very much to disable serialization in wicket tester. I am using pages with mockito mocks that are not serializable (and why should they in a unit test). I am using workarounds now. You can take a look at http://wicketpagetest.sourceforge.net which allows you to inject

Re: WicketTester and Palette component

2010-07-31 Thread Kent Tong
Hi Loic, If you use wicket page test (http://wicketpagetest.sourceforge.net), you can test it like: DefaultSelenium selenium = WebPageTestContext.getSelenium(); WicketSelenium ws = new WicketSelenium(selenium); ws.openBookmarkablePage(PalettePage.class); String[] allProducts =

Re: Browser Back Button and WicketTester

2010-07-17 Thread Kent Tong
Does WicketTester emulate the browser back button? E.g. Please take a look at http://wicketpagetest.sourceforge.net which supports the back button. -- Kent Tong Useful news for software developers at http://www2.cpttm.org.mo/cyberlab/softdev/newsletter

Wicket page test 1.6 is now available

2010-07-10 Thread Kent Tong
Dear all, Wicket page test 1.6 is now available. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. This release contains the follow changes: * Support manual testing: allow some things to be mocked, without

Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Kent Tong
Hi, I've written a tutorial on this topic. You may check it out at http://www.dzone.com/links/getting_started_with_scala_spring_hibernate_wicket.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Kent Tong
Hi James, Why is spring-orm version 3.0.1.RELEASE and not 3.0.3.RELEASE? Why not just uset a {spring.version} property in your POM so that it all stays in synch? Thanks for your good advice. I've updated the tutorial. Why do you have page - service - dao? Why not just talk directly to

Re: Encoding for wicket:message tag

2010-06-18 Thread Kent Tong
We are using wicket:message tag to generate content for WAP. Wap is strict XML so it does not allow special characters. Is there a way to force wicket:message tag to escape encode its message? I think you've found an enhancement opportunity for Wicket. You may file an enhancement request for

Re: Confirmation dialog during file upload

2010-06-18 Thread Kent Tong
I have a form which allows a user to upload a file. The form is patterned after upload Wicket example. If the file being uploaded will overwrite an existing file I need to prompt the user if they want to replace the existing file or not. What's the best way to implement this functionality?

Re: Confirmation dialog during file upload

2010-06-18 Thread Kent Tong
Sorry, there is a bug in the code: You should never keep a FileUpload object across requests. So, you need to copy the data into somewhere else. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Confirmation dialog during file upload

2010-06-18 Thread Kent Tong
1. User clicks Upload button and form submission request is sent to the server 2. The code on the server detect the file name collision and causes a ModalWindow to display These can be done with an AjaxButton to send the upload request. Then show the ModalWindow in onSubmit(). 3.1 If the

Re: Unit Test InMethod DataGrid

2010-06-03 Thread Kent Tong
, then you can test it easily like: Selenium s = ...; assert s.getText(wicket=//storyGrid//body//row[2]//item[3]).equals(foo; In this example you're checking the the 3rd cell in the 2nd row (both are 0-based). -- Kent Tong Useful news for CIO's at http://www2.cpttm.org.mo/cyberlab/cio-news

Re: How to test a link in wicket:links

2010-06-03 Thread Kent Tong
unittests of the GUI!! thing. That's exactly the point. If your tests are touching the database, then they aren't really unit tests anymore. -- Kent Tong Borrow IT books for free at http://www2.cpttm.org.mo/cyberlab/mslib

Re: How to test a link in wicket:links

2010-05-28 Thread Kent Tong
Hi Peter, If I use wicket:link around a link, how can I click on it with WicketTester.clickLink()? It don't have a wicket:id so what would the path be? Please try http://wicketpagetest.sourceforge.net which supports testing the links. You can do it like: selenium.click(link=My Page); ...

Wicket page test 1.5 is now available

2010-05-15 Thread Kent Tong
Dear all, Wicket page test 1.5 is now available. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. New features implemented in this version: * Start the Selenium server automatically. * Support JUnit4 in

Re: Testing wicket pages in isolation (wickettester)

2010-05-13 Thread Kent Tong
Hi Vincent, You can use a page navigator interface. See the example Checking if a Wicket page is passing the correct data to the next page on http://wicketpagetest.sourceforge.net/examples.html -- Kent Tong, Msc, PMP, CISSP, ITIL Foundation Senior manager of IT dept, CPTTM Authorized training

Wicket page test 1.4 is now available

2010-04-30 Thread Kent Tong
Dear all, Wicket page test 1.4 is now available. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. New features implemented in this version: * Provide a super easy way to locate a DOM element with the Wicket ID. For

Re: using selenium

2010-04-28 Thread Kent Tong
Hi Joe, Take a look at http://wicketpagetest.sourceforge.net which allows you to locate an html element with something like wicket=//myTextField -- Kent Tong Case studies on ITIL, Linux, OpenOffice and Extreme Programming at http://www2.cpttm.org.mo/cyberlab

Re: WicketTester fails with a custom WebRequestCodingStrategy

2010-04-24 Thread Kent Tong
Hi Martin, You may take a look at http://wicketpagetest.sourceforge.net/ which will work for your case. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

my book updated for Wicket 1.4.x

2010-04-16 Thread Kent Tong
Hi, I've updated my book for Wicket 1.4.x. You may check it out or download the first two chapters at http://agileskills2.org/EWDW - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

WICKET-2832

2010-04-13 Thread Kent Tong
Dear all, Any idea on https://issues.apache.org/jira/browse/WICKET-2832 ? If it is fine, I may take some time to create submit a patch. -- Kent Tong Case studies on ITIL, Linux, OpenOffice and Extreme Programming at http://www2.cpttm.org.mo/cyberlab

Re: WICKET-2832

2010-04-13 Thread Kent Tong
wicket=//my-component-id. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View this message in context: http://old.nabble.com/WICKET-2832-tp28228278p28237092.html Sent from the Wicket

Re: FormTester with dynamic fields

2010-04-11 Thread Kent Tong
://wicketpagetest.sourceforge.net. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View this message in context: http://old.nabble.com/FormTester-with-dynamic-fields-tp28193951p28207809.html Sent from the Wicket

Wicket page test 1.3 is now available

2010-03-26 Thread Kent Tong
Dear all, Wicket page test 1.3 is now available. It is a library allowing you to unit test your Wicket pages easily, supporting AJAX and Javascript without changes to your pages. New features implemented in this version: * Provide a generic starter page to launch another page whose

Re: FormTester - submitting more than once

2010-03-12 Thread Kent Tong
://wicketpagetest.sourceforge.net/ - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View this message in context: http://old.nabble.com/FormTester---submitting-more-than-once-tp27873217p27874748.html

Re: FormTester - submitting more than once

2010-03-12 Thread Kent Tong
Tony Wu-5 wrote: Any way to do it without running Selenium? Not that I know of. What's the problem of running Selenium? - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View

Re: Configure wicketpagetest to multi eclipse project layout

2010-03-10 Thread Kent Tong
of how to make it take effect, see the Overriding web.xml example at http://wicketpagetest.sourceforge.net/examples.html. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://agileskills2.org) -- View this message

Announce: wicket page test 1.2 is now available

2010-03-06 Thread Kent Tong
Dear all, Wicket page test allows you to unit test Wicket pages easily including its AJAX functionality. Major enhancements in 1.2 is that now you can wait for the completion of Ajax easily, without writing any Javascript. For example, in a test case, do something like: WicketSelenium

Re: Can't get FormTester.submitLink to work (required testfield always missing)

2010-03-04 Thread Kent Tong
jn73 wrote: My problem is that even when i set a value on the RequiredTextField the form submission is failing - because of that the required field is missing. Please try http://wicketpagetest.sourceforge.net. It should work. - -- Kent Tong Better way to unit test Wicket pages (http

Re: Wicket tests without FormTester

2010-03-04 Thread Kent Tong
alexander.elsholz wrote: exists a possibility to test, for example a dropdownchoice without formtester? Try http://wicketpagetest.sourceforge.net which should work fine. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2

Re: How to write a testcase for CheckGroupSelector.

2010-02-06 Thread Kent Tong
vermas wrote: How to write a testcase for CheckGroupSelector. Try http://wicketpagetest.sourceforge.net/ which supports execution of Javascript in the tests. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF

Re: Wicket, Spring 3 and UnitTesting

2010-01-29 Thread Kent Tong
Jochen Mader-2 wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. An alternative is to use http://wicketpagetest.sourceforge.net. It works fine with Spring 3.0 without changing any of your code. - -- Kent Tong Better way to unit test Wicket pages (http

Re: functional testing

2010-01-24 Thread Kent Tong
For functional testing, I'd suggest Selenium. For unit testing of Wicket pages, I'd suggest Wicket Page Test (http://wicketpagetest.sourceforge.net). - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://http

Announce: wicket page test 1.1.0 available

2010-01-16 Thread Kent Tong
Dear all, wicket page test allows you to unit test Wicket pages including its AJAX functionality. Major enhancements in 1.1.0: * It now supports Google Guice along with the existing support for Spring (Thanks to our new member developer, Andy Chu). * It is now organized in modules so that you

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-08 Thread Kent Tong
it can't be used in system tests. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://http://agileskills2.org) -- View this message in context: http://old.nabble.com/Wicket-and-Spring---mocking-a-particular-bean

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Kent Tong
to sleep() method is used to simulate a slow responding method. It is not needed at all. The detection is done by selenium.waitForCondition(some javascript). - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://http

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Kent Tong
of the expected behavior that is specific to the function concerned. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) Books on CXF, Axis2, Wicket, JSF (http://http://agileskills2.org) -- View this message in context: http://old.nabble.com/Re%3A

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-28 Thread Kent Tong
alecswan1 wrote: So, how do I test AjaxSubmitLink#onSubmit(AjaxRequestTarget target, Form form) method? You may try using http://wicketpagetest.sourceforge.net/ to test it instead. It supports real AJAX. - -- Kent Tong Better way to unit test Wicket pages (http

Re: unit test of AjaxLazyLoadPanel and ModalWindow

2009-12-16 Thread Kent Tong
/examples.html which supports AJAX without any special work by you. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/unit-test-of-AjaxLazyLoadPanel-and-ModalWindow-tp16851306p26809771.html Sent from

Re: Canoo WebTest

2009-12-11 Thread Kent Tong
events. Take a look at http://wicketpagetest.sourceforge.net which allows you to test AJAX. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Canoo-WebTest-tp26724748p26755311.html Sent from

Re: Wicket tester test coverage

2009-11-27 Thread Kent Tong
would fear the time needed for proper testing quite hard to justify. Am i wrong here ? I test my code based on risk. If it is the code that is frequently use, has a high impact if it breaks, or is likely to contain bugs, I'll test it more thoroughly. - -- Kent Tong Better way to unit test

Re: Wicket tester test coverage

2009-11-25 Thread Kent Tong
that it may be pointless to test the position or the color of a button in automated tests. On the other hand, functionality of GUI can definitely be tested. For example, I am writing a Wicket application with TDD (sort of) with the library shown in my signature. It is working very well. - -- Kent Tong

Re: Wicket tester test coverage

2009-11-25 Thread Kent Tong
Pierre Goupil wrote: I use it, and what I'm looking for is a mean to ensure my test coverage. If you're using TDD, you will have developed the page and the unit test for that page at the same time and by definition you won't have a page that is not tested. - -- Kent Tong Better way

Re: Wicket tester test coverage

2009-11-24 Thread Kent Tong
tool) has covered all my pages as well (more deeply). What you need is TDD. Once you adopt TDD, you will have every page tested. - -- Kent Tong Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net) -- View this message in context: http://old.nabble.com/Wicket-tester

Re: Can i convince WicketTester to click a label?

2009-11-18 Thread Kent Tong
://wicketpagetest.sourceforge.net for more info. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://old.nabble.com/Can-i-convince-WicketTester-to-click-a-label

small library to unit test Wicket pages

2009-11-08 Thread Kent Tong
. -- Kent Tong Useful FREE software at http://www2.cpttm.org.mo/cyberlab/freeware - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Kent Tong
[x] Can best be done in a limited fashion, where we only generify IModel but not components. [x] Whatever choice ultimately made, I'll happily convert/ start using 1.4 and up. I basically agree to what Igor says on this issue. - -- Kent Tong Wicket tutorials freely available at http

Re: VOTE: Generics of IDataProvider

2008-04-29 Thread Kent Tong
(IteratorT source) { ... } abstract IModelT map(T sourceElement); } - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/VOTE

Re: Testing (Ajax)TabbedPanel

2008-02-29 Thread Kent Tong
knowledge. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/Testing-%28Ajax%29TabbedPanel-tp15739429p15772312.html Sent from

Re: Wicket Wizard form need to add custom validation to each panel

2008-02-29 Thread Kent Tong
to the wizard step? It has an add() method exactly for this purpose. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/Wicket-Wizard-form

Re: Page markup caching

2008-02-29 Thread Kent Tong
in the Page class in your own page class to retrieve the cached output. However, I really don't think this is necessary as Wicket pages involves no compilation of any kind like OGNL, the render time should be quite consistent. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2

Re: Small shared resource question...

2008-02-28 Thread Kent Tong
) { throw new RuntimeException(e); } } } - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/Re%3A-Small

Re: Small shared resource question...

2008-02-27 Thread Kent Tong
PDFResource(getLocale()); } }; resourceRef.setLocale(getLocale()); //THIS IS THE LINE ResourceLink link = new ResourceLink(link, resourceRef); add(link); } } - -- Kent Tong Wicket tutorials freely available

Re: Small shared resource question...

2008-02-27 Thread Kent Tong
. If it's ajax, you need to put the setLocale() call into a callback and refresh the link. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http

Re: Wicket as a front controller ?

2008-02-25 Thread Kent Tong
void onBeforeRender() { super.onBeforeRender(); throw new RestartResponseException(P2.class); } } -- Kent Tong Wicket book with free chapters at http://www.agileskills2.org/EWDW

Re: Wicket as a front controller ?

2008-02-24 Thread Kent Tong
smallufo wrote: Thank you , but I want a (bookmarkable) page without HTML Is it possible ? What do you want to output? - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View

Re: Accessing prototype scoped panel beans using @SpringBean annotation

2008-02-23 Thread Kent Tong
for performance. Normal classloaders probable provide better caching support. It was introduced to fix concurrency problems. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View

Re: Wicket LinkTree subtree collapse/expand

2008-02-23 Thread Kent Tong
); } else { System.out.println(Arrays .toString(((DefaultMutableTreeNode) node) .getUserObjectPath())); } } }; - -- Kent Tong Wicket tutorials freely

Re: Custom validation message for 'int'?

2008-02-23 Thread Kent Tong
florin.g wrote: I cannot seem to find a way to provide a custom validation message for 'int'. (I learned for most others). fieldName.int does not work fieldName.Integer does not work fieldName.Number does not work fieldName.int - -- Kent Tong Wicket tutorials freely available

Re: Custom validation message for 'int'?

2008-02-23 Thread Kent Tong
. Otherwise, post your code. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/Custom-validation-message-for-%27int%27

Re: AjaxFormSubmitBehavior and setDefaultFormProcessing(false)?

2008-02-23 Thread Kent Tong
Juha Alatalo wrote: In this case I have to visit different page when browse is chosen. When I come back form is cleared, isn't it? Have you tried just clearing the feedback messages? - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials

Re: Wicket as a front controller ?

2008-02-23 Thread Kent Tong
page as the endpoint? Something like http://foo.com/MyApp/app/?wicket:bookmarkablePage=:com.foo.MyApp.MyPage - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message

Re: Accessing prototype scoped panel beans using @SpringBean annotation

2008-02-22 Thread Kent Tong
id) { Class? extends Panel c = Class.forName(config.getPanelClass()).asSubclass(Panel.class); Constructor? extends Panel constructor = c.getConstructor(String.class); return constructor.newInstance(id); } } - -- Kent Tong Wicket

Re: Helloworld Application cant be started

2008-01-23 Thread Kent Tong
direction. Most likely you're missing some jars. Wicket needs some jars not included in the distribution. You may follow my tutorial to get started (see my signature for the URL). - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely

required for Checkbox

2008-01-07 Thread Kent Tong
an CheckedValidator should be used, which can provide a much better default error message. Not that it's an important, but just to see what others think. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2

Re: facebook support

2007-11-08 Thread Kent Tong
Matt Jensen-2 wrote: I am working on this, though I'm trying to leave the door open to also supporting MySpace in the future. I have not done much yet--and nothing Wicket-specific--but I do plan to include a Wicket module. Have you considered Google's OpenSocial API? - -- Kent

Re: Locale change on Image with Resource results in broken images

2007-10-13 Thread Kent Tong
if the Image(String id, Resource imageResource) constructor was used. This indeed looks like a bug to me. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/Locale-change-on-Image-with-Resource-results

Re: Ajax paging navigation link exception

2007-10-13 Thread Kent Tong
in hierarchy starting from [MarkupContainer [Component id = pageLink, page = No Page, path = 0:pageLink.AjaxPagingNavigationLink]] Are you using the latest v1.3? - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http

Re: Configuring DatePicker

2007-10-13 Thread Kent Tong
); } }); - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/Configuring-DatePicker-tf4616962.html#a13195942 Sent from the Wicket - User mailing list archive at Nabble.com

Re: RFE: DataTable colgroup

2007-10-13 Thread Kent Tong
browsers don't support it due to an alleged contradiction between HTML4 and CSS (see https://bugzilla.mozilla.org/show_bug.cgi?id=915#c27). - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/RFE%3A-DataTable

Re: Empty ListChoice

2007-10-12 Thread Kent Tong
; } }; - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/Empty-ListChoice-tf4604759.html#a13172939 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Validating a NonZero Values and Validators Project in General

2007-10-12 Thread Kent Tong
. If you insist on using a pre-built validator, try PatternValidator([+|-]?(\\d)*[1-9](\\d)*) but then the model has to be a String, not a number. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/Validating

Re: Empty ListChoice

2007-10-12 Thread Kent Tong
it should be easier than this. Does ListChoice *intentionally* not allow for an empty list? I expected to find something like allowEmpty(boolean)...but no dice. Have you tried my code? The list has no selectable entry. - -- Kent Tong Wicket tutorials freely available at http

Wicket tutorials updated for beta4

2007-10-12 Thread Kent Tong
Hi, I've updated my free Wicket tutorials to beta4. They're available at http://www.agileskills2.org/EWDW/index.html - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/Wicket-tutorials-updated

Re: CompoundPropertyModel stops working when form validation fails.

2007-10-08 Thread Kent Tong
it is clear only when the form is submitted and validation is passed successfully. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW -- View this message in context: http://www.nabble.com/CompoundPropertyModel-stops-working-when-form-validation-fails

Re: CompoundPropertyModel stops working when form validation fails.

2007-10-05 Thread Kent Tong
, ...) { protected boolean wantOnSelectionChangedNotifications() { return true; } protected void onSelectionChanged(Object newSelection) { recommendationForm.clearInput(); } }; -- Kent Tong Wicket tutorials

  1   2   >