http://wicketpagetest.sourceforge.net to get started!
--
Kent Tong
IT author and consultant, TipTec Development
lable from maven central. Check out the tutorial at
http://wicketpagetest.sourceforge.net to get started!
--
Kent Tong
IT author and consultant, child education coach
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
us a Pull Request!
Dear Martin,
thanks 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...
...
Tutor
> 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 aut
> 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
exclamation mark added to it.
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
Hi,
I'm having some doubts about why the concept of resource reference is
needed; it seems resource already suffices. As I understand the purpose
of resource reference is to reduce the memory used and the need to
replicate changes in a cluster. However, a resource can also generate
or load the da
Matej Knopp gmail.com> writes:
> basically, there are two kinds of resources in wicket. One is
> application-scope resources, that don't need the context of a page
> (javascriptps, css...) and the other is component resources, which
> kind of belong to a component - so they have access to compone
Matej Knopp gmail.com> writes:
> Yeah, ResourceReference is like global resource factory. That is for
> resources that don't belong to any component/page (they can't touch
> any component instance while they are served).
However, I don't understand why we should not just use static class
members
David Leangen leangen.net> writes:
> Well... the end goal is to use the URL as the controlling input for the
> branding of my application. So I have a BrandingService with something like:
>
> Branding getBranding( String url );
Have you considered using mod_rewrite (in Apache) to convert the
igor.vaynberg wrote:
>
> i really dont think this is breaking encapsulation. i will concede that
> there is one case where it can break encapsulation and that is when you
> start out with what is publically accessible and then later you change
> your
> mind and make it completely private, but fo
igor.vaynberg wrote:
>
> cmon, there are plenty of things you can abuse in wicket, or any other
> framework. that is just the nature of the beast. as framework developers
> we
> put out features and hope that our users know how to use them responsibly.
> we cannot continuously cater to newbie u
igor.vaynberg wrote:
>
> yeah, but you are forgetting that you will also need the compound variant,
> blah blah. before you know it you have replicated a bunch of the
> hierarchy.
> like i said, lets have a vote, propose as many variants of this as you
> want
> and we can see where it goes/what
x.html for more info.
--
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
quot;internally" work? If so, please see
http://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:
ht
> (the automated functional testing 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 c
It is working very well.
-
--
Kent Tong
Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net)
--
View this message in context:
http://old.nabble.com/Wicket-tester-test-coverage-tp26505428p26509652.html
Sent from the Wicket - User mailing lis
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.
-
t; for pages that quite often are then not touched much, i 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
for eg onClick
> 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-tp267247
st.sourceforge.net/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-tp16851306p26809
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
ajax calls are ended?)
>
The call to sleep() method is used to simulate a slow responding method. It
is
not needed at all. The detection is done by selenium.waitForCondition().
-
--
Kent Tong
Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.net)
Books on CX
e-attr=\"foo\"')");
In my view, this is part of the test: it is part 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,
o reason why 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-
Douglas Ferguson-2 wrote:
>
> What is the recommended way to test autocomplete using wicket tester?
>
Have you tried http://wicketpagetest.sourceforge.net which supports testing
true Ajax.
-
--
Kent Tong
Better way to unit test Wicket pages (http://wicketpagetest.sourceforge.n
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 wo
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, Wick
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 pa
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, Axis
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 te
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)
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 w
your
webapp root. For
an example 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 (htt
make it work if you use http://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-t
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
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
construct
ou may try
http://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
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/cybe
, one only needs
to specify 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
S
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: u
hould be clean and easy to understand
despite the presence of an anonymous Form subclass.
Second, the structure of the Java code should match the structure of the
HTML file. This will make it easier to understand how they work together.
-
--
Kent Tong
Wicket tutorials freely available at h
> 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: users-unsubscr...@wicket.a
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)
{
//
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
ler is added to the linked-list is in the execute()
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: user
ession expiration
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-
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
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, e
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: users-h...@wicket.apache.or
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
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
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
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 addi
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");
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.
uot;Look, you can do 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
-
> 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 f
> 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 functionali
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 command
> 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 th
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 additional
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 t
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
start
> 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/newslet
> 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 non-seria
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 = selenium.g
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].
* F
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 = ...;
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 http://wicketpa
> 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/f
I am quite surprised to see so many suggestions, while all there
is known 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 cus
doesn't change 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.
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,
Dear all,
Wicket page test 2.0.1 is now available. It now works with Wicket 1.5-M3.
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 http://wicketpagetest.sourceforge.net/
--
> 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
th
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
(Breakpoints and
> jUnit-Asserts)
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 unsu
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.
-
101 - 180 of 180 matches
Mail list logo