Re: Wicket and Guice / legup / warp persist?

2010-04-28 Thread nino martinez wael
Yes it should work on 1.4.x I believe.. Regarding the method question, I think it has something todo with that the ldm gets serialized and the dao does not get reloaded on deserialization. 2010/4/28 Douglas Ferguson doug...@douglasferguson.us: Does this work on the 1.4.6 version of wicket? D/

RE: Wicket survey?

2010-04-28 Thread Karolina Rusin
I was able to resolve the issue. Survey should work now correctly. Best regards Karolina Rusin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-survey-tp2068318p2068707.html Sent from the Wicket - User mailing list archive at Nabble.com.

{Spam?} Re: wicketpath is not valid html

2010-04-28 Thread Emond Papegaaij
Our validator is always on in development mode, so that would require completely turning off the attribute (which is what I did now), but the attribute can be very useful for debugging, so I'm loosing that functionality right now. Can't it be a tri-state configuration option

{Spam?} Re: wicketpath is not valid html

2010-04-28 Thread Emond Papegaaij
I don't like changing the DTD, but I could always add it as a known wicket bug to HtmlValidationResponseFilter. Emond On Wednesday 28 April 2010 02:12:06 b...@actrix.gen.nz wrote: Hi, You can extend the DTD of the validator to accept the attribute. !ATTLIST yourtag wicketpath CDATA

Re: using selenium

2010-04-28 Thread Joe Fawzy
Hi any tutorials, how to,or best practice? thanks Joe On Wed, Apr 28, 2010 at 4:15 AM, Jeremy Thomerson jer...@wickettraining.com wrote: yes - the id path -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 27, 2010 at 8:00 PM, Joe Fawzy joewic...@gmail.com wrote: Hi dear

type safe field references

2010-04-28 Thread Jesper Tejlgaard Pedersen
Hi all I am new to Wicket and investigating if usable for our project or not. I have a minor question related to type safety and the creation of models. It seems to me, that existing bean models are used by referencing the bean fields using Strings, e.g. public PojoStockQuotePage() {

Re: type safe field references

2010-04-28 Thread Leo . Erlandsson
Hi, Perhaps this is what you're looking for? http://code.google.com/p/bindgen-wicket/ add(new Label(state, new PropertyModel(person, address.state.code))); becomes add(new Label(state, new PropertyModel(person, new PersonBinding().address().state().code().getPath(; Type safe and refactor

Re: inmethod grid / Delete/add a row?

2010-04-28 Thread Swanthe Lindgren
The row model is probably easily accessible from your proposed delete column, but I don't know how to rerender a single row. //Swanthe On 2010-04-27 17:48, nino martinez wael wrote: True... I am in the process of doing my own delete column, and expect to have it working by tomorrow. I just

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Jimi
Thanks for the link. I've already looked at that page and besides the fact that alot of the xml/code is missing in the beginning (like web.xml) I was shocked by the amount of boilerplate code needed to get the wicket side working. That tells me that either 1) people actually copy-paste all this

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Giovanni
James, can you share your SpringSecurityWebApplication and SpringSecurityWebSession classes? If you also write a small tutorial on how to use them, it will be great. Best regards, giovanni From: James Carman jcar...@carmanconsulting.com To:

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Jimi
Thanks for that kind suggestion, but I already have working SecurityWebApplication and SecurityWebSession implementations. And my problem was never a lack of code examples, but instead my problem was the need for so much boilerplate code in the first place. I get the feeling most of this code can

Wizards, urls parameters

2010-04-28 Thread Rommert de Bruijn
Hi all, I'm maintaining a web application that's mostly based on wizard steps. My question is about the way the wizard modifies the urls. I realize that once I've entered the wizard flow, my url's are modified by wicket to look like [url]/?wicket:interface=:1. I've read earlier posts on

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Reinout van Schouwen
Op dinsdag 27-04-2010 om 16:20 uur [tijdzone -0700], schreef Jimi: 2. Seems old. [wicket auth roles + WASP/SWARM] Found a two year old discussion labeled is wicket-auth-roles discontinued?. And the comments on the Getting started with Swarm wiki page is from 2007 and 2008, plus that they talk

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

Extract DNS web-url from Wicket request

2010-04-28 Thread allgo
Hi all, I am trying to find a solution to the following situation - We have a server architecture where, all requests to say the url https://my-server-one.com first hits a Apache webserver in the front end. Apache then uses Mod-proxy to forward the request over a firewall to our internal server

Notice: PDF Creator toolbar causes modal window onShow redirect

2010-04-28 Thread Martin Asenov
Hello everyone! I noticed that the PDF Creator toolbar, installed on the browser, causes ModalWindows to get closed and the page to be immediately redirected to some other page (usually a search engine page). Please advice... Best, Martin

Modal window and panels replacement

2010-04-28 Thread Ivan Dudko
Hi all, I am trying to replace panels in modal window. I have two panels: 1) with datatable and link to second panel 2) with edit form and link to datatable Each panel have a feedback. For the first panel all is fine. But when i am replace first panel with second i see this difference through

Re: Modal window and panels replacement

2010-04-28 Thread Ernesto Reinaldo Barreiro
I do not understand well what is you problem... Do you want to change Modal contents without reloading whole Modal via AJAX? Ernesto On Wed, Apr 28, 2010 at 1:17 PM, Ivan Dudko ivan.du...@gmail.com wrote: Hi all, I am trying to replace panels in modal window. I have two panels: 1) with

Re: inmethod grid / Delete/add a row?

2010-04-28 Thread Thierry Peng
Hello I solved this problem some months ago and created a SubmitCancelDeleteColumn. A custom Grid Class provides the possibility to add a row. I had to fork the inmethod-grid because some changes were necessary. Drop me an email if you want the source code of this fork and the client code.

Re: Extract DNS web-url from Wicket request

2010-04-28 Thread allgo
Got the solution.. log.info(x-forwarded-host -+getWebRequestCycle().getWebRequest().getHttpServletRequest().getHeader(x-forwarded-host)); if(getWebRequestCycle().getWebRequest().getHttpServletRequest().getHeader(x-forwarded-host).equals(my-server-one)){

Re: Modal window and panels replacement

2010-04-28 Thread Sven Meier
See ModalWindow javadoc: If you want to use form in modal window component make sure that you put the modal window itself in another form ... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Modal-window-and-panels-replacement-tp2068998p2069096.html Sent from the

Re: Modal window and panels replacement

2010-04-28 Thread Ivan Dudko
Thank you a lot, Sven, for notice. Now all works! 2010/4/28 Sven Meier s...@meiers.net See ModalWindow javadoc: If you want to use form in modal window component make sure that you put the modal window itself in another form ... -- View this message in context:

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread James Carman
Those two classes are here: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/common/security/ They're part of my advanced wicket demo code. The project already has them set up and working, so you can look there for a tutorial.

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread James Carman
Those two classes are here: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/common/security/ They're part of my advanced wicket demo code. The project already h On Wed, Apr 28, 2010 at 6:18 AM, Giovanni pino_o...@yahoo.com

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Jimi
Reinout wrote: Op dinsdag 27-04-2010 om 16:20 uur [tijdzone -0700], schreef Jimi: 2. Seems old. [wicket auth roles + WASP/SWARM] Found a two year old discussion labeled is wicket-auth-roles discontinued?. And the comments on the Getting started with Swarm wiki page is from 2007 and

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Martijn Dashorst
Confluence and JIRA for Wicket Stuff have been down since the JIRA attacks. I've enabled service to Confluence as I didn't see any files that were tampered with, nor was there any indication that it had been compromised in other installations. Confluence hasn't been updated with the release

Re: YUI 3 anyone?

2010-04-28 Thread Fernando Wermus
+1 On Tue, Apr 27, 2010 at 8:02 PM, Joe Fawzy joewic...@gmail.com wrote: Hi i hope the dev team to consider jQuery , it seams it is the standard now , used by all the big companies , even microsoft and although YUI is great, Yahoo has its own problem these days and we cannot consider the

Re: YUI 3 anyone?

2010-04-28 Thread Fernando Wermus
+1 Jquery I mean On Wed, Apr 28, 2010 at 10:34 AM, Fernando Wermus fernando.wer...@gmail.com wrote: +1 On Tue, Apr 27, 2010 at 8:02 PM, Joe Fawzy joewic...@gmail.com wrote: Hi i hope the dev team to consider jQuery , it seams it is the standard now , used by all the big companies , even

BreadcrumbPanel Form Model

2010-04-28 Thread Dr. Wolf Blecher
Hi everybody, For the last two days I'm stumbling around the following problem. I have a BreadCrumbPanel (UserEditPanel) and a form inside this panel. In the form there are two textfields (Name, ChristianName), a DropDownChoice (role), a link (Edit Roles) and two buttons (Save, Cancel). The idea

pagemap locking

2010-04-28 Thread Frank van Lankvelt
Hi all, hoping to get some debugging tips on a concurrency issue I've run into. What we're seeing is concurrent access to a Page instance, when our application is under a lot of stress. The backend is taking a lot of time, which should be handled by Wicket by locking on the pagemap. This is

Re: YUI 3 anyone?

2010-04-28 Thread Jeremy Thomerson
I also agree that we should use jQuery. jQuery seems more aligned with Wicket than YUI. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 28, 2010 at 8:34 AM, Fernando Wermus fernando.wer...@gmail.comwrote: +1 Jquery I mean On Wed, Apr 28, 2010 at 10:34 AM, Fernando Wermus

Re: YUI 3 anyone?

2010-04-28 Thread Ernesto Reinaldo Barreiro
I remember there was a long discussion on this list, some time ago, about this... About jQuery... jQuery isn't perfect either and I have heard of people having bad experiences about their support. For instance, I have reported a bug related to DD, IE and its usage in combination with Wicket AJAX

Re: YUI 3 anyone?

2010-04-28 Thread Martijn Dashorst
iirc the new implementation of Wicket ajax is slated for post 1.5. Something with too many irons in the fire... Martijn On Wed, Apr 28, 2010 at 3:50 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I also agree that we should use jQuery.  jQuery seems more aligned with Wicket than YUI.

Re: BreadcrumbPanel Form Model

2010-04-28 Thread Dr. Wolf Blecher
I'm not quite sure if this is the perfect way of doing this, but here is a workaround: Instead of placing a BreadCrumbPanelLink, I placed a SubmitLink and in the onSubmit method I use the IBreadCrumbPanelFactory-Method to create the new BreadCrumbPanel. So the form gets submitted (which is needed

Re: YUI 3 anyone?

2010-04-28 Thread nicolas melendez
+1 YUI. I have been working with it, and it is a very good js framework, non intrusive with the markup, also was easy (i mean REALLY easy) to integrate to wicket. i used YUI components, like rich text editor or modal windows. I don't know the ajax how it is, because i use wicket ajax. NM On Wed,

DropDownChoice problem

2010-04-28 Thread Josh Kamau
Hi team I need your help I am using a DropDownChoiceT in a form as follows: DropDownChoiceNationality lstNationality = new DropDownChoiceNationality(nationality,getNationalities()); The form has a CompoundPropertyModel After adding the dropdown to the form, i am able to save the record

Re: DropDownChoice problem

2010-04-28 Thread Ernesto Reinaldo Barreiro
I remember having a similar problem because missing the equal on some bean. Could that be the case? Ernesto On Wed, Apr 28, 2010 at 4:20 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi team I need your help I am using a DropDownChoiceT in a form as follows: DropDownChoiceNationality

SV: DropDownChoice problem

2010-04-28 Thread Wilhelmsen Tor Iver
After adding the dropdown to the form, i am able to save the record properly. However, when i display a form with an existing record, the DropDownChoice is not showing the current 'nationality' and it is only showing Choose One; Sounds like Wicket gets confused regarding value/id, try

Re: wicket:message attribute in regular html tags with child components

2010-04-28 Thread Igor Vaynberg
when you have markup like: table wicket:message=summary:myresource trtdspan wicket:id=myComponent/span/td/tr /table where do you expect your localized message to go? -igor On Wed, Apr 28, 2010 at 2:51 AM, Xavier López xavil...@gmail.com wrote: Hi, I have just bumped into a particular

Re: pagemap locking

2010-04-28 Thread Igor Vaynberg
most likely this concurrent access happens when you are iterating over pages in the pagemap and invoking listeners on them and another thread access one of the pages you are iterating over. you will have to lock your iteration loop on the same lock wicket uses. as a rule of thumb we do not

Form, panel and model reuse (newbie)

2010-04-28 Thread Anatoliy Knyazev
Dear Wicket users, I'm seeking your advice on designing a small Wicket application. I'm new to the list, hope I'm not violating any rules with such newbie questions. I've studied the examples, the sample phonebook app and the mailing list archive on Nabble, yet I haven't find the best practices

Re: DropDownChoice problem

2010-04-28 Thread Xavier López
Hi, I also bumped into this matter when starting with Wicket, make sure the Collection returned by getNationalities() contains the value of the 'nationality' attribute of the CPM's backing object, or use a suitable ChoiceRenderer, as Wilhelmsen suggests, in order to be able to put as choices the

Re: pagemap locking

2010-04-28 Thread Frank van Lankvelt
yeah, that's why I thought that I would be safe when only dispatching events during the request processing to a page from the page-map. thanks, Frank On Wed, Apr 28, 2010 at 4:48 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: most likely this concurrent access happens when you are iterating

Re: DropDownChoice problem

2010-04-28 Thread Swanthe Lindgren
I had the same problem you do. Solved it by doing lstNationality.setDefaultModel(new PropertyModelNationality(getDefaultModel(), nationality)); but I bet you that Igor is gonna jump right in an say how its supposed to be done and why. //Swanthe On 2010-04-28 16:20, Josh Kamau wrote: Hi

Re: wicket:message attribute in regular html tags with child components

2010-04-28 Thread Xavier López
Hi, I'd expect it to lie in the ContainerComponent's folder, assuming ContainerComponent is the the Page or Panel associated with that markup... In other words, getString(myresource) from that component would find it. Does this have something to do with that error ? Thanks, Xavier 2010/4/28

reload a tab from TabbedPanel

2010-04-28 Thread tubin gen
I am using AjaxTabbedPanel and it contains several tabs all of them are PanelCachingTab , can I reload any one tab through ajax ?

Re: wicket:message attribute in regular html tags with child components

2010-04-28 Thread Igor Vaynberg
i meant where do you expect the localized message to be rendered into? if wicket:message is attached to the table tag? -igor On Wed, Apr 28, 2010 at 9:52 AM, Xavier López xavil...@gmail.com wrote: Hi, I'd expect it to lie in the ContainerComponent's folder, assuming ContainerComponent is the

RE: Wicket survey?

2010-04-28 Thread Russell Morrisey
Ok, great =) Do you need me to resubmit my responses? It sounds like you got them already. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057 -Original

Re: Wicket survey?

2010-04-28 Thread Russell Morrisey
I filled out the survey, and wanted to forward this to the mailing list. This is the author of the survey's response to my question about it. Thanks for your reply, Karolina. RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC

RE: DatePicker css

2010-04-28 Thread shetc
Stefan -- please show me what the trick was. Thanks, Steve -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DatePicker-css-tp1844715p2073801.html Sent from the Wicket - User mailing list archive at Nabble.com.

Wicket Bench

2010-04-28 Thread Brian Mulholland
Hi, Wicket n00b here. How good is Wicket Bench? I read on the site that it lacks maintainers and it didn't seem like it had alot of powerful features, just some nice convenience things. Is it a must have? Also, is it compatible with the latest Wicket release? I didn't see anything on the

Re: Wicket Bench

2010-04-28 Thread Igor Vaynberg
wicket does not require any tooling because it is 90% java code and 10% markup. so none of ide plugins provide must have features, only conveniences -igor On Wed, Apr 28, 2010 at 12:17 PM, Brian Mulholland blmulholl...@gmail.com wrote: Hi, Wicket n00b here.  How good is Wicket Bench?  I read

Re: Wicket Bench

2010-04-28 Thread Brian Mulholland
Would you say those conveniences are worth it? In other words, would you recommend Wicket Bench (or any other plugins)? Brian Mulholland On Wed, Apr 28, 2010 at 3:36 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: wicket does not require any tooling because it is 90% java code and 10%

Re: Wicket Bench

2010-04-28 Thread Igor Vaynberg
if it was still supported i would recommend it. -igor On Wed, Apr 28, 2010 at 12:44 PM, Brian Mulholland blmulholl...@gmail.com wrote: Would you say those conveniences are worth it?  In other words, would you recommend Wicket Bench (or any other plugins)? Brian Mulholland On Wed, Apr 28,

close a modal window and setResponsePage

2010-04-28 Thread Fernando Wermus
Hi all, I have a modal window. There are some image avatars in it, and the user could click on them. In case the user click it, it should close the modal window an redirect to antoher page. But, I get the redirected page into the modal window instead. I am not findind any to solution to this

AjaxFormComponentUpdatingBehavior breaking wicket 's convention ? Which alternatives then?

2010-04-28 Thread Joseph Pachod
hi I was quite surprised, recently, by the AjaxFormComponentUpdatingBehavior, which directly updates the model. At the time it seemed pretty odd but I moved on. then I recently read this article from Igor, Building a ListEditor form component

Re: AjaxFormComponentUpdatingBehavior breaking wicket's convention ? Which alternatives then?

2010-04-28 Thread Jeremy Thomerson
I'm not sure I understand what your problem with this component is. The component is designed to mimic the entire submit process for a single component. It says this in the javadoc: This behavior encapsulates the entire form-processing workflow as relevant only to this component. It also warns

Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Jimi
Martijn wrote: Confluence and JIRA for Wicket Stuff have been down since the JIRA attacks. I've enabled service to Confluence as I didn't see any files that were tampered with, nor was there any indication that it had been compromised in other installations. Confluence hasn't been

Re: close a modal window and setResponsePage

2010-04-28 Thread Steve Swinsburg
Hi, close the modal, then do the setResponsePage in the window closed callback that you can provide. cheers, Steve On 29/04/2010, at 7:53 AM, Fernando Wermus wrote: Hi all, I have a modal window. There are some image avatars in it, and the user could click on them. In case the user

Re: Wizards, urls parameters

2010-04-28 Thread Jeremy Thomerson
On the form, could you try something like this? I've never tried it - but it might work: @Override protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); String action = tag.get(action); tag.put(action, action + myStep=foo); } -- Jeremy Thomerson

Re: Wizards, urls parameters

2010-04-28 Thread Jeremy Thomerson
Nevermind - you're most likely using redirect after post (since it's default). So, the URL you are referring to is most likely the one that actually appears after you redirect. If so, that means the solution I mentioned a minute ago won't work. I'm going to bed now. -- Jeremy Thomerson