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 (ON/SELENIUM_COMPAT

{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. > >wicketpath CDATA #IMPL

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 wrote: > yes - the id path > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Tue, Apr 27, 2010 at 8:00 PM, Joe Fawzy wrote: > > > Hi dear > > what is wicket:path? do you me

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() { StockQuo

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 refac

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 nee

wicket:message attribute in regular html tags with child components

2010-04-28 Thread Xavier López
Hi, I have just bumped into a particular situation, I think I know what's happening but I'd like to share and, if possible, have it confirmed here. Additionally, some info on this subject could be added to the wiki page https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-At

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 To: users@wicket.apache.org Sent: Wed, April 28,

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 > th

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 wh

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 aj

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 wrote: > Hi all, > > I am trying to replace panels in modal window. > I have two panels: > 1) with datatable and link

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")){ add(HeaderContri

Re: Modal window and panels replacement

2010-04-28 Thread Ivan Dudko
Yes, i want replace whole Modal content via AJAX. 2010/4/28 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 wrote: > > Hi all,

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 Wi

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 > > 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.

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 wrote: > James, can y

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 2

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 status

Re: YUI 3 anyone?

2010-04-28 Thread Fernando Wermus
+1 On Tue, Apr 27, 2010 at 8:02 PM, Joe Fawzy 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 commited to the l

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 wrote: > +1 > > > On Tue, Apr 27, 2010 at 8:02 PM, Joe Fawzy 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 g

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 wha

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 wrote: > +1 Jquery I mean > > On Wed, Apr 28, 2010 at 10:34 AM, Fernando Wermus < > fernando.wer...@gmail.

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 D&D, 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 wrote: > I also agree that we should use jQuery.  jQuery seems more aligned with > Wicket than YUI. > > -- > Jeremy Thomerson

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 neede

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, A

DropDownChoice problem

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

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 wrote: > Hi team > > I need your help > > I am using a DropDownChoice in a form as follows: > > DropDownChoice lstNationality = new > DropDownCh

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,

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

2010-04-28 Thread Igor Vaynberg
when you have markup like: > > where do you expect your localized message to go? -igor On Wed, Apr 28, 2010 at 2:51 AM, Xavier López wrote: > Hi, > > I have just bumped into a particular situation, I think I know what's > happening but I'd like to share and, if possible, have it confirmed h

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 recommen

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 fo

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 s

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 wrote: > most likely this concurrent access happens when you are iterating over > pages in the pag

Re: DropDownChoice problem

2010-04-28 Thread Swanthe Lindgren
I had the same problem you do. Solved it by doing lstNationality.setDefaultModel(new PropertyModel(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 team I nee

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 Ig

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 wrote: > Hi, I'd expect it to lie in the ContainerComponent's folder, assuming > ContainerComponent is the the Page or Panel

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 Message--

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 wic

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 wrote: > Hi, > > Wicket n00b here.  How good is Wicket Bench?  I read on the site that

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 wrote: > wicket does not require any tooling because it is 90% java code and > 10% markup. so none of ide plugi

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 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, 2010 at 3:36 PM, I

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 si

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 (http://wicketinaction.com/2008/10/building-a-

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 h

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 http://w

inmethod grid / contributing?

2010-04-28 Thread nino martinez wael
Hi I have a deletecolumn and a editabledropdownpropertycolumn i'd like to contribute.. So how should I do it? Are Matej still project lead or? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additio

Re: Wicket Bench

2010-04-28 Thread Martin Grigorov
Take a look at http://sourceforge.net/projects/stump/ I don't use it so I cannot tell anything about it. On Wed, 2010-04-28 at 14:50 -0700, Igor Vaynberg wrote: > if it was still supported i would recommend it. > > -igor > > On Wed, Apr 28, 2010 at 12:44 PM, Brian Mulholland > wrote: > > Would