junit for wicket webpage/panel

2012-08-23 Thread wicket user
Hi, I am wondering how to cover the junit cases for the webpages/ panel as the constructors are only taking the id's , but in the constructors of the webpages/panel i have created the some methods for ex: My Panel extends Panel{ MyPanel(String id){ super(id); buildPage(); } private void bu

Re: how to get HttpServletRequest in My Application class

2012-08-13 Thread wicket user
I am getting java.lang.NullPointerException ((ServletWebRequest)RequestCycle.get().getRequest()).getContainerRequest() . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-HttpServletRequest-in-My-Application-class-tp4651189p4651196.html Sent from the Use

how to get HttpServletRequest in My Application class

2012-08-13 Thread wicket user
Hi, I need to get the HttpServletRequest object in My Application class. In the WebPage we can get from ((HttpServletRequest) ((ServletWebRequest) getRequest()).getContainerRequest()) but its not working in Application class. Please suggest any ideas. -- View this message in context: http

Re: enabling and disabling the components

2012-08-13 Thread wicket user
Thanks, it is working but some wierd thing is happening. I have checked the values in the object also it is getting populated but just one component is visible otherwise none. PriceVO priceVO if(priceVO.getOnSalePrice()!=null) add(new Label("onSalePrice", " " + p

Re: enabling and disabling the components

2012-08-09 Thread wicket user
Hi, I tried this . public class MyContainer extends WebMarkupContainer{ public MyContainer(String id, MyVO myVO) { super(id); if(myVO.getName()!=null) add( new Label("fName", myVO.getName())); else add( new Label("fName", " ")).setVisible(false); } public MyContainer(String i

Re: enabling and disabling the components

2012-08-09 Thread wicket user
I was reading about setEnable(false), will that will be sufficient for my requirement ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/enabling-and-disabling-the-components-tp4651107p4651108.html Sent from the Users forum mailing list archive at Nabble.com. --

enabling and disabling the components

2012-08-09 Thread wicket user
Hi, I am newbie to Wicket,My requirement is to show some components based on the conditions. I have written on WebMarkUpContainer and in that I am add the components based on the conditions, but on html i have added that wicket:id. It is throwing MarkupException "Unable to find component with id

Re: how to include jsp into wicket htmls

2012-07-18 Thread wicket user
Can you give a example of include jsp with g.apache.wicket.markup.html.include.Include -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-include-jsp-into-wicket-htmls-tp4650615p4650617.html Sent from the Users forum mailing list archive at Nabble.com. --

how to include jsp into wicket htmls

2012-07-18 Thread wicket user
I a newbie to Wicket, please can anyone guide how to include a jsp in the wicket. I have existing jsp's I need to include it. i am getting this jsp's dynamically from services. What I did is created a class extending WebMarkContainer. in my class i did like this ServletContext.getRequestDispa

Re: Form Submission problem

2012-07-18 Thread wicket user
custom filter is extended by the other framework which filter we cannot see as it is Out of the Box. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Submission-problem-tp4650575p4650614.html Sent from the Users forum mailing list archive at Nabble.com.

Form Submission problem

2012-07-17 Thread wicket user
Hi , I have inserted my custom filter in which i have specified url-pattern as /*, but now the form submission is not going just getting a blank page, Please advise how to handle this. I dont see any Exceptions on my logs too. Thanks, -- View this message in context: http://apache-wicket.18429

Re: jboss ignoring html request

2012-07-13 Thread wicket user
I dont have Wicket Filter in my web.xml though i can see this WicketApplication org.apache.wicket.protocol.http.WicketServlet I am assuming this will call WicketFilter intern. But before this i have make sure my filter is being called. -- View this message in context: http://apache-wi

Re: jboss ignoring html request

2012-07-12 Thread wicket user
Thanks for the quick reply , yes i checked FilterChain.doFilter(req,res), and i have verified also the url pattern in web.xml MyFilter com.xyz.util.MyFilter MyFilter *.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jboss-i

jboss ignoring html request

2012-07-12 Thread wicket user
Hi, We are using Jboss app server, we wrote a filter each wicket html's should pass through this filter(which is a j2ee servlet filter) and we added this filter/filter mapping in the web.xml for *.html ---url-pattern . But still this Request is not going through this filter. Wondering why ? is s

Re: Servlet Filter calling chain of Servlets

2012-07-04 Thread wicket user
so in this case i can get the Request/Response object by (WebRequest) getRequestCycle().getRequest() and (WebReponse) getRequestCycle().getResponse() right? and all the parameters or cookies can get from the WebRequest which will be passing thorough the Servlet Chain . -- View this message i

Servlet Filter calling chain of Servlets

2012-07-04 Thread wicket user
Hi, I was wondering we can write a custom servlet filter , and in that filter call the servlet chain. If so what would be Request and Reponse Objects if I dont write any Request/Response Wrappers, and how to get that. Thanks, -- View this message in context: http://apache-wicket.1842946.n4.n

Adding Cookie in 1.5.5

2012-06-27 Thread wicket user
Hi, I was trying to add a cookie getWebRequestCycle().getWebResponse().addCookie() but couldnt find getWebRequestCycle() in 1.5.5. i found getRequestCycle() but did not find addCookie in getResponse(). Please suggest how to add/get cookie in 1.5.5 Thanks -- View this message in context

Re: Sync up sessions

2012-06-21 Thread wicket user
Thank you guys , i got it what i was looking for. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650175.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Sync up sessions

2012-06-20 Thread wicket user
Yes taking Wicket Session and Spring Session and maintaining one session across layers (presentation and business layers) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650141.html Sent from the Users forum mailing list archive at Nabble.co

Re: Sync up sessions

2012-06-20 Thread wicket user
how can we sync up the session with the existing session of the business layer framework . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650137.html Sent from the Users forum mailing list archive at Nabble.com. --

Sync up sessions

2012-06-20 Thread wicket user
Hi, we are using Wicket as a Presentation layer, so we need to sync up with the Session of the Business Layer framework, we kept this in the same WAR. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134.html Sent from the Users forum mailing l

Re: handling user agent

2012-06-01 Thread wicket user
Awesome thanks alot !! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/handling-user-agent-tp4649565p4649658.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mai

Re: handling user agent

2012-05-31 Thread wicket user
just wondering how to implement it , i tried the following code not sure am i doing correct, public class MyMapper implements IRequestMapper { private final IRequestMapper delegate; public MyMapper(IRequestMapper delegate) { this.delegate = delegate; } public IR

Re: handling user agent

2012-05-30 Thread wicket user
Question was how to handle user agent on the application level , i dont wanna write same code on each page to check the user agent then render the appropriate page -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/handling-user-agent-tp4649565p4649584.html Sent from the

handling user agent

2012-05-30 Thread wicket user
Hi all, I wondering what will be the difference if i use *((WebRequest)RequestCycle.get().getRequest()).getHeader("User-Agent");* or *WebSession.get().getClientInfo().getUserAgent();* As the client info per session would be same . and If I need to control this on the WebApplication level ,

Re: Jackrabbit APi thorugh Apache wicket

2008-10-14 Thread wicket user
i have written some classes to access items in Jackrabbit repository and as Edmund mentioned it was specific to my node types and repository. Alternatively you can look at Brix http://code.google.com/p/brix-cms/ Cheers Dipu On Mon, Oct 13, 2008 at 4:22 PM, Edmund Urbani <[EMAIL PROTECTED]> wro

Re: build from the wicket-1.4-m3 source failing

2008-09-01 Thread wicket user
is > IIRC updated 16 so your JDK/JRE is really outdated. Please update your > JDK first before complaining. And when it still doesn't work let us > know. > > -Matej > > On Mon, Sep 1, 2008 at 3:34 PM, wicket user <[EMAIL PROTECTED]> > wrote: > > i am using the versi

Re: build from the wicket-1.4-m3 source failing

2008-09-01 Thread wicket user
i am using the version 1.5.0_04 thanks Dipu On Sun, Aug 31, 2008 at 12:39 PM, Timo Rantalaiho <[EMAIL PROTECTED]>wrote: > On Tue, 26 Aug 2008, wicket user wrote: > > when i try to build the wicket from the wicket-1.4-m3 source its failing > > with the following message >

build from the wicket-1.4-m3 source failing

2008-08-26 Thread wicket user
Hi, when i try to build the wicket from the wicket-1.4-m3 source its failing with the following message \wicket-1.4-m3\wicket\src\main\java\org\apache\wicket\util\tester\FormTester.java:[600,20] inconvertible types found : org.apache.wicket.markup.html.form.FormComponent required: org.apache.wi

Re: listchoice filtered by textfield ajax help

2008-07-10 Thread wicket user
force the user to select an > option from the list of choices. > > Any help would be greatly appreciated > > Thanks > > T > -- > View this message in context: > http://www.nabble.com/listchoice-filtered-by-textfield-ajax-help-tp183843

Re: sneak peek - brix - wicket/jcr cms

2008-07-10 Thread wicket user
ify any specific areas where > we could improve our documentation, let us know. > > > > wicket user-2 wrote: > > > > i am very impressed with what i see there, > > > > i had created a simple POC in my company for managing the contents in our > > wicket apps

Re: sneak peek - brix - wicket/jcr cms

2008-07-09 Thread wicket user
i am very impressed with what i see there, i had created a simple POC in my company for managing the contents in our wicket apps, i can see pretty much everything i used here like jackrabbit, code mirror, rich editor etc looking forward for the release and some more documentation. you guys rock

Re: sneak peek - brix - wicket/jcr cms

2008-07-09 Thread wicket user
cool , sounds very good On Tue, Jul 8, 2008 at 11:06 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > a few of us have been quietly working on a wicket/jcr cms called Brix > for a while now. it is almost at a point where we are ready to release > a beta, just waiting for wicket-m3 build to go offic

Re: update table with ajax

2008-06-19 Thread wicket user
add the DataTable in a WebmarkupContainer and repaint the container cheers dipu On Thu, Jun 19, 2008 at 4:27 PM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Hi, i have an input and a link. The link is an ajax link, and then i want > to > update a table on the same page according to the input.

Re: Javascript/Ajax in wicket, how to?

2008-06-09 Thread wicket user
this message in context: > http://www.nabble.com/Javascript-Ajax-in-wicket%2C-how-to--tp17733416p17733416.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

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

2008-06-02 Thread wicket user
1) Generifying* Wicket [X ] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you feel

Re: FYI: new wicket site

2008-05-15 Thread wicket user
Hi Lars, Very good site, i like it its, pretty cool Dipu On Wed, May 14, 2008 at 9:36 AM, lars vonk <[EMAIL PROTECTED]> wrote: > Hi all, > > A new Wicket site is born! It's a Dutch site on which you can search for > day > trips and such. See: www.eropuit.nl. > > Thanks to the user- and dev-grou

Re: Updating the wicket stuff wicket-contrib-tinymce with the latest version of tinyMCE

2008-04-16 Thread wicket user
i am more than willing to do it if i have the permission to do it. regards -dipu 2008/4/16 Uwe Schäfer <[EMAIL PROTECTED]>: > wicket user schrieb: > > > Can we please update the wicket-contrib-tinymce project to use the latest > > version of tinyMCE. > > &g

Updating the wicket stuff wicket-contrib-tinymce with the latest version of tinyMCE

2008-04-16 Thread wicket user
Hi, Can we please update the wicket-contrib-tinymce project to use the latest version of tinyMCE. I would like to use the HTML Source Editor Syntax Highlighting & Word Wrap using CodeMirror mentioned in this thread http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=31049#p31049 I grabbed the

Re: wicket support for page customisation at runtime

2008-04-03 Thread wicket user
>> > >> As I understand that unlike jsps , in wicket there is hardly any logic > >> for > >> presenting (for example displaying two divs different based on the > >> current > >> user preferences etc.,). > >> > >>

Page expiration error while using popup

2008-03-27 Thread wicket user
Hi everyone,

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread wicket user
+1 Regards Dipu

Re: How to implement values beans for http attributes

2008-03-03 Thread wicket user
Please take a look at the FormInputExample regards Dipu On Mon, Mar 3, 2008 at 3:43 PM, Daniel Weiss <[EMAIL PROTECTED]> wrote: > hey all, > > If i build a normal form (e.g. user register) - how could i save the input > http parameters in my page object / model object? > I found some examples

Re: Basic Knowledge on Wicket - reload content of a panel

2008-02-27 Thread wicket user
ti Luca > -- > View this message in context: > http://www.nabble.com/Basic-Knowledge-on-Wicket---reload-content-of-a-panel-tp15711163p15711163.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Re: Combining Ajax and non Ajax pages

2008-02-20 Thread wicket user
ome page navigation link (effectively > reloading the home page) > > 3. how to make the dropdown state survive a page refresh (much the same > same as 2). > > > Of course, if I am wasting my time because this is stupid, then I'd value > any other suggestions on how to deal

Re: Multi buttons in ajax form

2008-02-20 Thread wicket user
there is a method called findSubmittingButton() regards Dipu On Feb 20, 2008 10:41 AM, Pierre Gilquin <[EMAIL PROTECTED]> wrote: > hi all, > > I try to have to have 2 buttons in a form. This form is used in an ajax > window. > > in html, they are 2 standards buttons > > > > In the panel of the

Re: how to logout and redirect

2008-01-16 Thread wicket user
do you really need a Logout page can't you do some thing like Link logoutLink = new Link("logoutLink") { private static final long serialVersionUID = 1L; public void onClick() { session.invalidateNow();

Re: Update panel from lists

2008-01-14 Thread wicket user
//wmc.add(behavior) but not when > userList.add(behavior). >add(udp); > add(wmc); > >} > } > > Please suggest. > Thanks. > -- > View this message in context: > http://www.nabble.com/Update-panel-from-lists-tp14800898p14800898.html

Re: Using Forms

2008-01-14 Thread wicket user
Hi, Take a look at the FormInput example in wicket example projects. Wicket examples have everything to get you started. Regards Dipu On Jan 14, 2008 8:58 AM, j.bokobza <[EMAIL PROTECTED]> wrote: > Hello > I'm new with wicket and I'm looking for samples of basics forms. > I didn't find how to r

Re: How do I call my javascript after each wicket partial update?

2008-01-11 Thread wicket user
> Thanks :) > -- > View this message in context: > http://www.nabble.com/How-do-I-call-my-javascript-after-each-wicket-partial-update--tp14759508p14759508.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ---

Re: Script in RenderHead method of AjaxFormChoiceComponentUpdatingBehavior needs fixing

2008-01-09 Thread wicket user
done, *Key:* *WICKET-1271<https://issues.apache.org/jira/browse/WICKET-1271> Regards Dipu * On Jan 8, 2008 5:37 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > yes please, and attach a patch > > -igor > > > On Jan 8, 2008 2:31 AM, wicket user <[EMAIL PROTECTED]&g

Script in RenderHead method of AjaxFormChoiceComponentUpdatingBehavior needs fixing

2008-01-08 Thread wicket user
> > -igor > > On Jan 4, 2008 8:53 AM, wicket user <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup, > > > > I cant add the behaviour to the Radio as its not a FormComponent. >

AjaxFormComponentUpdateBehavior not working with Radio/RadioGroup

2008-01-04 Thread wicket user
Hi all, I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup, I cant add the behaviour to the Radio as its not a FormComponent. Adding the behaviour to RadioGroup is not working as well. Is there any work around to get it working. Regards Dipu

Re: How to dynamic load a HTML file

2007-12-14 Thread wicket user
You don't have to worry about the path. You should name your file like YourWebPage_variation.html and place the file where you would place it in normal case. For example If the variants of the page are YourWebPage_1.html, YourWebPage_2.html, YourWebPage_n.html ,.,YourWebPage_n.html String

Re: How to dynamic load a HTML file

2007-12-14 Thread wicket user
override getVariation() in your page to get the appropriate html/markup picked. regards -dipu On Dec 14, 2007 9:43 AM, qinyi lai <[EMAIL PROTECTED]> wrote: > Hi > I wanne to dynamic load a HTML file to mapping a JAVA class page! > a JAVA class file will have many HTML files(1:n mapping), and

Re: How to send a non-html response ?

2007-12-13 Thread wicket user
Create a YourResponsePage that extends Page instead of WebPage and set the appropriate mimeType. That will do the trick regards dipu On Dec 13, 2007 10:50 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Dear all, > > Is there any guide anyone can redirect me to send a non-html response > ? Whe

Re: When to use getModelObject, getConvertedInput, getInput

2007-12-12 Thread wicket user
hoiceRenderer > That first tries to convert the string to an option object. > > johan > > > On Dec 11, 2007 1:47 PM, wicket user <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > This is more a question of understanding models and input of a > particular

Re: How to get resources from our web-app context ?

2007-12-12 Thread wicket user
't know how to do this in wicket. > > Thanks in advance, > > On 12/12/07, wicket user <[EMAIL PROTECTED]> wrote: > > can't use ServletContext.getRealPath("") to get the actual file path and > > read the file as you read normally. > > > > ge

Re: How to get resources from our web-app context ?

2007-12-12 Thread wicket user
can't use ServletContext.getRealPath("") to get the actual file path and read the file as you read normally. getServletContext() method will return the ServletContext. Or are you looking for something different ? regards dipu On Dec 12, 2007 4:47 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote: >

When to use getModelObject, getConvertedInput, getInput

2007-12-11 Thread wicket user
Hi, This is more a question of understanding models and input of a particular component, lets say DropDownChoice (DDC) for example. You give it a model initially on creation, this has nothing to do with, in the case of a DDC the selected values as that is supplied by the Choices paramater in the

Re: SortableListView or wicketstuff-jquery

2007-12-10 Thread wicket user
else created a similar drag and drop list that I could take > a > look at? > > Thanks > Andrew > -- > View this message in context: > http://www.nabble.com/SortableListView-or-wicketstuff-jquery-tp14252086p14252086.html > Sent from the Wicket - User mailing list archive a

Re: Redirect After Exception

2007-12-10 Thread wicket user
are you looking to redirect to a different page on catching an exception ? if thats is the case can you please try this in your catch try{ // do things } catch (Exception e) { throw new RestartResponseAtInterceptPageException(new YourInterceptPage()); } regards dipu On Dec 10, 2007 10:3

Re: AutoCompleteTextField problem

2007-12-05 Thread wicket user
ID > > > > = 1L; > > > > > > > >@Override > > > >public void > onUpdate(AjaxRequestTarget > > > > target){ > > > >

Re: Using ajax to update a panel

2007-12-05 Thread wicket user
of understanding of what actually fires with > the > ajax call, as I need to be able to refresh the values from the database. > Should I be creating a Model overriding the setObject to do this? > > > > wicket user wrote: > > > > Hi Andrew, > > > > So wha

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread wicket user
; (ObjectStreamClas > s.java:1327) > at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java > :52) > at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437) > > > Any thoughts? > > On Dec 5, 2007 1:00 PM, James Perry <[EMAIL PROTECTED

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread wicket user
I'm getting a 503, HTTP Status 503 - This application is not currently available On 05/12/2007, James Perry <[EMAIL PROTECTED]> wrote: > > Dear all, > > I am deploying my first wicket based web app selling British > traditional sweets at http://www.thebritishsweetshop.co.uk/ > > There seems to be a

Re: Using ajax to update a panel

2007-12-05 Thread wicket user
gt; > > > > > --------- > The only thing is, don't feel like I've got my head completely around the > wicket models and I'm having trouble working out what I need to do to the &

Re: unable to lazily register a javascript file

2007-12-05 Thread wicket user
upgrading 1.3 RC1 fixed this by the way On 20/11/2007, wicket user <[EMAIL PROTECTED]> wrote: > > Hi, > > It's been a while since I've had to come and check the mailing list out > (always a good sign of a framework). Anyway 300 unit tests down and the > firs

Re: two dropdownchoice inputs combined as a fragment/panel/component ??

2007-12-05 Thread wicket user
omponentPanel("subscriber.phone", new Model(selectedPhone)); add(phonePanel); As always any assistance/ridicule in the right direction would be great. Cheers Simon On 04/12/2007, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > put them in a formcomponentpanel > > -ig

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread wicket user
AX error, so clicking finish > button > doesn't do the business operation , that it should do. It just closes the > modal window with wizard. > > > narup wrote: > > > > yes it worked for me.. > > thanks Matej. > > > > > > > > wicket

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread wicket user
t; > > -- > > View this message in context: > http://www.nabble.com/annoying-alert-message-while-closing-modal-window-with-wizard-tf4938532.html#a14136120 > > Sent from the Wicket - User mailing list archive at Nabble.com. > &

two dropdownchoice inputs combined as a fragment/panel/component ??

2007-12-04 Thread wicket user
Hi all, I'm now on the second phase of the project I'm working on and starting to find cases where I'm repeating code which means one thing : refactor. As an example I've got two dropdowns that select make and model with a bit of ajax to populate the second dropdown, these are always going to be

South African Wicket Users?

2007-11-20 Thread wicket user
Hey, Are there any South African wicket users, if so where are you base, JHB or CT? Cheers Simon

unable to lazily register a javascript file

2007-11-20 Thread wicket user
Hi, It's been a while since I've had to come and check the mailing list out (always a good sign of a framework). Anyway 300 unit tests down and the first version is live, that's the good part, the bad part is that I'm finding a few things I've obviously missed and I'm getting a few wierd exception

Re: WicketTester and Page parameters & Wicket Example Unit tests?

2007-09-12 Thread wicket user
hat's made my testing a lot more simple now. Thanks again Simon On 12/09/2007, cwilkes <[EMAIL PROTECTED]> wrote: > > > > wicket user wrote: > > > > 1) I've got a page that gets hit by an outside credit card merchant once > > they have validated the

Re: WicketTester and Page parameters & Wicket Example Unit tests?

2007-09-11 Thread wicket user
ant to take a look at that too. > > And you're not alone in your TDD. You may want to take a look at JDave > (jdave.org), which is a nice project for test lovers. I also know that > we have several folks that attain nearly 100% test coverage of their > user interface (during a vis

WicketTester and Page parameters & Wicket Example Unit tests?

2007-09-11 Thread wicket user
Ok, Two questions really: 1) I've got a page that gets hit by an outside credit card merchant once they have validated the card, they post me my transaction ID along with a whole host of other parameters. Getting them from the request is easy in the page itself but trying to unit test it is drivi

Page state, undo and versioning?

2007-09-06 Thread wicket user
Hi, My scenario is the following, I've got a page that allows a user to send an sms to themselves every 20 seconds to a maximum of two times just incase something in the network stopped the sms from getting to them in the first place. I have an ajax timer that enables the resend button after the

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
ester... Thanks again, Simon On 05/09/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > > * wicket user: > > > I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932 > > Thanks! > > > Jean, please excuse my ignorance but when you request a qui

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
file. Any improvements required for the issue description, first JIRA issue raised. Thanks Simon On 03/09/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > > * wicket user: > > > > I'm trying to test a form submission with SubmitLink, test code below: > >

WicketTester, testing Form and SubmitLink

2007-08-30 Thread wicket user
Hi Folks, I'm trying to test a form submission with SubmitLink, test code below: tester.setParameterForNextRequest("numberChangeForm:numberToChangeTo", numberToChangeTo); reset(smsServiceMock); smsServiceMock.sendActivationSms(isA(Subscriber.class)); replay(smsSer

Re: Testing AbstractAjaxTimerBehavior with WicketTester, executeBehavior???

2007-08-29 Thread wicket user
quot;Resend label has not updated", "in 19 seconds", resendLabel.getModel().toString()); Hope that helps some noob like me. Thanks Simon On 29/08/2007, wicket user <[EMAIL PROTECTED]> wrote: > > Hi, > > Another noob question here but I'm trying to setup a test case that te

Testing AbstractAjaxTimerBehavior with WicketTester, executeBehavior???

2007-08-29 Thread wicket user
Hi, Another noob question here but I'm trying to setup a test case that tests the abstract timer on my page, like the WorldClock example. I see there is the executeBehavior method in the WicketTester but I'm not entirely sure how to set this up. Basically I want to fire the timer event that I've

Forward of moderated message

2007-08-18 Thread wicket-user-bounces
(See Validator examples), >> >> > The validator can access the Textfield arrays and then check for >> >> validity >> >> > >> >> > its shouldn't be too difficult anyway >> >> > >> >> > &

Re: Unit testing - updating a DropDownChoice with Ajax : follow on from old mailing list

2007-08-17 Thread wicket user
I managed to solve it by setting the values directly using: tester.setParameterForNextRequest("wizard:form:view:phoneMaker", 1); and completely bypassing the ajax. sorry for the trouble. Simon On 17/08/07, wicket user <[EMAIL PROTECTED]> wrote: > > I'm not entire

Re: Unit testing - updating a DropDownChoice with Ajax : follow on from old mailing list

2007-08-17 Thread wicket user
I'm not entirely sure that this isn't bad mailing list form but this article in the old mailing list was so close to my existing problem that I thought that I would continue it: Ok, so I've got the first part of updating a DropDownChoice Ajax unit test working as described in the forum ( http://ww

Re: url mapping and wizards

2007-08-17 Thread wicket user
t url - a wicket page id. so once you > change the state of any page it is no longer bookmarkable and thus cannot > have a ncie url. > > -igor > > On 8/16/07, wicket user <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I've just started using Wi

url mapping and wizards

2007-08-16 Thread wicket user
Hi, I've just started using Wicket and I've managed to mount pages so that the urls are cleaned up but for the life of me I can't seem to get it to work with Wizard pages. Is there a trick to this? At the moment it looks like this: http://localhost:8080/myapp/app/?wicket:interface=:12 I've t