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

2009-12-29 Thread Pieter Degraeuwe
This seems to be quite useful. However, do you have a solution to avoit the 'sleep(...)' methods for ajax calls? When you have a lot of these tests, your testcyclus will be too long... (Maybe there is a way to detect when the ajax calls are ended?) Pieter On Tue, Dec 29, 2009 at 8:43 AM, Kent

SV: Handling Ajax session expired

2009-12-29 Thread Wilhelmsen Tor Iver
I guess the servlet container handles jsessionid transparently. Yes, coming in (either cookie or in the URI) and setting the cookie; but it does not normally add it to links in the output from your webapp, that is the framework or developer's responsibility. - Tor Iver

Wicket-security: Login component access

2009-12-29 Thread Marek Šabo
Hi, I would like to ask a few question regarding wicket-security. I got my wicket page uprunning with basic auth and two principals. However, I'm not using login page but login panel which is in header of all pages. What I did is that I have HeaderFooter class (contains condition that makes

Re: Wicket feedback

2009-12-29 Thread Ricardo Mayerhofer
Sorry, when I wrote Scala and Grails I meant Scala and Groovy. Em 28/12/2009 18:43, Ricardo Mayerhofer escreveu: Hi Igor, Em 23/12/2009 20:28, Igor Vaynberg escreveu: On Wed, Dec 23, 2009 at 12:51 PM, Ricardo Mayerhofer ricardo.ekm.lis...@gmail.com wrote: Good discussion. Em 23/12/2009

Re: strange classcastexception

2009-12-29 Thread Per Newgro
Not without the stacktrace. Please add it. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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

2009-12-29 Thread Kent Tong
Pieter Degraeuwe wrote: This seems to be quite useful. However, do you have a solution to avoit the 'sleep(...)' methods for ajax calls? When you have a lot of these tests, your testcyclus will be too long... (Maybe there is a way to detect when the ajax calls are ended?) The call to

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

2009-12-29 Thread Pieter Degraeuwe
ah, ok. I didn't notice that. Any idea how to that javascript condition should look like in a general way? (Is there some wichet hook available for this?) I'm looking for a generic approach; I don't want to clutter my tests with code like wait until component contains value x, etc.) On Tue, Dec

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

2009-12-29 Thread Kent Tong
Pieter Degraeuwe wrote: ah, ok. I didn't notice that. Any idea how to that javascript condition should look like in a general way? (Is there some wichet hook available for this?) I'm looking for a generic approach; I don't want to clutter my tests with code like wait until component

Login+ authentication

2009-12-29 Thread chinedu efoagui
hello, Please can someone please direct on any resource other than the sample wicket examples on how i can implement login with authentication and authorization with wicket. I will really appreciate that. Thank you - To

Re: Login+ authentication

2009-12-29 Thread Martin Makundi
Pro Wicket book on google books has nice tutorial 2009/12/29 chinedu efoagui chinedub...@gmail.com: hello, Please can someone please direct on any resource other than the sample wicket examples on how i can implement login with authentication and authorization with wicket. I will really

Re: Login+ authentication

2009-12-29 Thread Juan E Kipes
http://wicketstuff.org/confluence/display/STUFFWEB/Home in wicket-core the project ki-security with examples De: Martin Makundi martin.maku...@koodaripalvelut.com Para: users@wicket.apache.org Enviado: martes, 29 de diciembre, 2009 12:59:37 Asunto: Re: Login+

GAE MemcachePageStore | Re: GAE big table PageStore

2009-12-29 Thread A. Maza
I am not sure why you want to have a BigTable PageStore since it would have quite negative performance implications (imho). you may consider also the presentation of Guido van Rossum https://sites.google.com/site/appengineappstats/AppStats_Meetup09.pdf?attredirects=0 I attach an

How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Hello everynone, Does anyone know how can I override the default CSS of the rating panel and use a custom CSS class e.g. .myrating instead of .WicketRating? Thanks, Jerry

Re: How to override RatingPanel default CSS?

2009-12-29 Thread Martin Makundi
Make new MyRatingPanel.html for MyRatingPanel extends RatingPanel ** Martin 2009/12/29 Jerouris jerou...@gmail.com: Hello everynone, Does anyone know how can I override the default CSS of the rating panel and use a custom CSS class e.g. .myrating instead of .WicketRating? Thanks, Jerry

Re: How to override RatingPanel default CSS?

2009-12-29 Thread Per Newgro
If you want to overwrite the .WicketRating definition by your own, simply add a .WicketRating class to your own css and load it after the original one. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Modal Popups and Forms

2009-12-29 Thread Corbin, James
Hi, I have a modal popup (implemented using YUI 2.8). The modal popup contains a form and the popup's markup is rendered (via YUI js) explicitly to document.body. The reasoning for rendering the YUI javascript to document.body is to address some issue we had with css inheritance that was

Re: Modal Popups and Forms

2009-12-29 Thread Martin Makundi
I am not sure..but with normal wicket modal popup you must have: form wicket:id=parent-form ... div wicket:id=modal-popup form .../ /div ... /form So with regular modal popups if parent form is not there, it will not work. Don't know if this is related because I am not

Re: Modal Popups and Forms

2009-12-29 Thread Igor Vaynberg
how can there be a parent form if the markup is rendered into a div that is a child of the body. the problem is you are creating a mismatch between wicket component hierarchy and the browser's dom. the wicket serverside thinks that it will be getting a multipart form, while the wicket clientside

Re: How to override RatingPanel default CSS?

2009-12-29 Thread Jerouris
Thank you Martin, That worked! Jerry 2009/12/29 Martin Makundi martin.maku...@koodaripalvelut.com Make new MyRatingPanel.html for MyRatingPanel extends RatingPanel ** Martin 2009/12/29 Jerouris jerou...@gmail.com: Hello everynone, Does anyone know how can I override the default CSS

RE: Modal Popups and Forms

2009-12-29 Thread Loritsch, Berin C.
AJAX and forms highlight some issues with HTML forms in general. Unless you have declared a brand new form for your modal popup, and are absolutely sure that you are submitting that new form, you will be submitting the original form that was on the base page. Keep in mind that to the browser,

Re: Problem with palette components

2009-12-29 Thread victorTrapiello
Hello guys I´m new in the Wicket world, I´m developing an online application with my development team, we are using the component Palette, we display the palette on the screen but we can´t/ we do not know how to get the list of choices that we have selected, we have tried like in the example

RE: Modal Popups and Forms

2009-12-29 Thread Corbin, James
Hi Igor, I misspoke. Obviously with rendering the popup markup to the body, there is no parent form. I was able to get passed this by doing exactly what you mention as in forcing the dialog's form to be multipart via the setter method. I didn't like that because it seemed like a hack to

Re: Tag Oriented Development

2009-12-29 Thread Altuğ B . Altıntaş
Agreed 2009/12/25 b...@actrix.gen.nz JSF == Standard? My question is: What should become a standard? When I think about standards, then things that come to mind are: - SQL - ODBC - Java - JDBC - EJB - JPA but not JSF. And not Spring. And not ... - you name it. For some reason,

RE: Tag Oriented Development

2009-12-29 Thread Loritsch, Berin C.
The good thing about standards is that there are so many to choose from. .Net is a standard, Java is a standard, PERL is a standard, JavaScript is a standard. As are CSS, HTML, etc. As we all know, just because something is a standard does not mean that it is good, fits the problem, or is

Disable action

2009-12-29 Thread Marek Šabo
Hi, How would a declaration of disable action for swarm look like? Suppose you have one login-panel that is granted for everyone to see and logoof-one which is for logged users and they cant see each others panel. So I would define component permission on that component as disabled what would

wizard's AbstractFormValidator code occasionally execute, occasionally not execute

2009-12-29 Thread 新希望软件 -- 俞宏伟
wizard has two steps: A and B A step contains some formcomponent, i add AbstractFormValidator in A step, but i found that AbstractFormValidator's sometime execute, sometimes do not execute. i also found A step's formcomponent value has not convert to data object. my code detail in attachment

Re: Too Many Open Files Wicket 1.4.1

2009-12-29 Thread Doug Leeper
Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build

Re: Problem with palette components

2009-12-29 Thread Ernesto Reinaldo Barreiro
Did you tried Palette.getSelectedChoices() method? It will return an IteratorT where T is the type of Model object. Ernesto On Tue, Dec 29, 2009 at 8:09 PM, victorTrapiello vic...@trapiello.netwrote: Hello guys I´m new in the Wicket world, I´m developing an online application with my