Getting position of elements in a ListView

2007-12-04 Thread Thomas Kappler
Hi all, I use a ListView holding Components to implement a dynamic form, i.e., where the user can add and remove DropDownChoices herself. (See http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html.) Now, a problem is the removal of elements when the user clicks the remove link next to

Re: How to secure passwords?

2007-12-04 Thread Sebastiaan van Erk
John Krasnay wrote: I see from your later posts that your requirements are not that strict, but if anyone else on the list needs to do password hashing, here's one of the best articles I've seen on it:

Important concept in wicket? Please advise

2007-12-04 Thread Edi
Hi to all, I want to display one label when I click one button. I have wrote the code. but i am not able to display that message. my code is looking like file name : FilterPanel.java public final class ReportForm extends Form { public ReportForm(String s, final Reports model)

Re: How to secure passwords?

2007-12-04 Thread Sebastiaan van Erk
Sebastiaan van Erk wrote: Next he goes on to state: Speed is exactly what you don’t want in a password hash function. You don’t care if password tests take twice as long, or even ten times as long, because password hashes aren’t in the 80/20 hot spot. Now the attacker. This is easy. The

wicket cluster on tomcat 6

2007-12-04 Thread michalb_cz
Lo, I have been trying to make Tomcat cluster with Wicket, but every time when there is some operation which use session bound information (backpage object, models...etc.) PageExpired error occures. It seems rather like problem in cluster configuration not in wicket, but maybe somebody here has

Re: Wicket Modal Window

2007-12-04 Thread michalb_cz
I had similar problem. I changed Button to AjaxButton and override onError() and everything was alright. Note that you must call setOutputMarkupId(true) on components which use in another ajax-enabled component (like AjaxButton is..). In case below I must call feedback.setOutputMarkupId(true)

Re: Wicket Modal Window

2007-12-04 Thread Edi
I am using AjaxSubmitLink saveButton = new AjaxSubmitLink(saveButton, this) { and I have set setOutputMarkupId(true); and setEscapeModelStrings(false); But I am not able to display the message. Could you tell me the reasons for not displaying the message in script? michalb_cz

Re: Thx everybody that attended the user group meeting in The Netherlands

2007-12-04 Thread Wouter Huijnink
darn, slideshare can't convert my presentation I'll try something else real soon, too busy now :( regards, Wouter -- Wouter Huijnink Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500 - To

Re: Important concept in wicket? Please advise

2007-12-04 Thread Michael Sparer
make filterPanelMsgLabel a member attribute add e.g. final Label l = new Label(validationMsgLabel, newtexthere); l.setOutPutMarkupId(true); filterPanelMsgLabel.replaceWith(l); target.addComponent(l); filterPanelMsgLabel = l; in the onclick method ... or am I missing the point? Michael Hi

Re: Important concept in wicket? Please advise

2007-12-04 Thread Alex Objelean
you must add the component you want to update to the target in onSubmit method, like this: target.addComponent(filterPanelMsgLabel); The code, tells to wicket which component to update on ajax request. Alex. Hi to all, I want to display one label when I click one button. I have wrote the

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread Matej Knopp
You need to use ajax button to properly close the window. Alternatively, you can put this script to your page (only for 1.3): script type=text/javascript Wicket.Window.unloadConfirmation = false; /script -Matej On Dec 3, 2007 7:48 PM, narup [EMAIL PROTECTED] wrote: Hello All, I am using a

Re: Wicket 1.3 rc1 Relative URLs not working properly

2007-12-04 Thread Oliver Lieven
Hi, I encountered this problem a week ago, too, and digged a little into code and forum. Here's my summary: the problem seems to be the /* filter mapping. If you specify a /app/* filter mapping, relative URLs work just fine. In my base-page-class (all my pages are derived from it through

Re: How to secure passwords?

2007-12-04 Thread John Krasnay
On Tue, Dec 04, 2007 at 09:36:21AM +0100, Sebastiaan van Erk wrote: John Krasnay wrote: I see from your later posts that your requirements are not that strict, but if anyone else on the list needs to do password hashing, here's one of the best articles I've seen on it:

Re: Wicket Modal Window

2007-12-04 Thread michalb_cz
could you attach your code? -- View this message in context: http://www.nabble.com/Wicket-Modal-Window-tf4937030.html#a14151291 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread wicket user
I tried the javascript and never got it to suppress the pop up, did it work for you? On 04/12/2007, Matej Knopp [EMAIL PROTECTED] wrote: You need to use ajax button to properly close the window. Alternatively, you can put this script to your page (only for 1.3): script type=text/javascript

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

Re: How to secure passwords?

2007-12-04 Thread Sebastiaan van Erk
John Krasnay wrote: For example: 1. take a “dictionary” —- say, of all combinations of alphanumerics less than 15 characters 2. hash all of them 3. burn the results onto a DVD. The keyspace is size is 62^15-1 = 76890970494878552634367. That means if you can save a hash

Re: wicket cluster on tomcat 6

2007-12-04 Thread michalb_cz
And the reason? Why back button won't work on cluster? Matej Knopp-2 wrote: Hi, at this point back button will not work across cluster (it's planned though). However, the failover for last accessed page should work anyway. If it doesn't, you have probably problem in your

Re: wicket cluster on tomcat 6

2007-12-04 Thread Sebastiaan van Erk
It has to do with the page store. Note that the back button will work, but clicking on links on the page after you use the back button will cause page expired. See: http://www.slideshare.net/jcompagner/session-stores-page-maps-and-pages/ if you want the nitty gritty details. But I still

Re: Ajax Memory Leak in IE

2007-12-04 Thread Alex Objelean
Matej, could the below exception also be caused by regression? This is the stack trace: 03ms server time taken for request app/?wicket:interface=:0:body:panel:leftToSellTab:panel:inventoryButtons:mainForm::IFormSubmitListener:: response size: 155862 [16:34:31.408] ERROR [http-8080-Processor6]

Re: Ajax Memory Leak in IE

2007-12-04 Thread Alex Objelean
Matej, could the below exception also be caused by regression? This is the stack trace: 03ms server time taken for request app/?wicket:interface=:0:body:panel:leftToSellTab:panel:inventoryButtons:mainForm::IFormSubmitListener:: response size: 155862 [16:34:31.408] ERROR [http-8080-Processor6]

component not coupled error

2007-12-04 Thread godin
Hi , the liste i encounter an error WicketMessage: This component is not (yet) coupled to a page. It has to be able to find the page it is supposed to operate in before you can call this method (Component#getMarkupId) i suppose this error is a classic for a newbie , i'd like on an ajax

Wrapping up the Amsterdam Wicket Meetup

2007-12-04 Thread Arje Cahn
Hi all, Thanks for all your kind words. I did have an excellent time last friday, and I'm very happy to hear everyone else did too. There were just a couple of things that didn't really work out - like the hackaton for example. Maybe it's because it was the first time, maybe it was because we

Re: Ajax Memory Leak in IE

2007-12-04 Thread Matej Knopp
Doesn't seem so. Is it reproducable? How does it happen? -Matej On Dec 4, 2007 3:43 PM, Alex Objelean [EMAIL PROTECTED] wrote: Matej, could the below exception also be caused by regression? This is the stack trace: 03ms server time taken for request

RE: Wrapping up the Amsterdam Wicket Meetup

2007-12-04 Thread Arje Cahn
Hi all, Just to warn you all - I've taken the liberty of making some reservations around the ApacheCon :) There's two possible locations: the building we were in, or another one which is quite NEXT to the ApacheCon venue (Pakhuis de Zwijger [1]). I've booked for the Friday before the

Re: San Francisco meetup

2007-12-04 Thread Orion Letizi
Al, If we have the meeting this Thursday, would you be able to do a presentation? Cheers, --Orion Al Maw wrote: I'm in California for three weeks starting next week, would be happy to come and do a presentation if you guys want one. Regards, Al

Re: Wrapping up the Amsterdam Wicket Meetup

2007-12-04 Thread jweekend
Congratulations, it sounds like you all had an experience to remember in Amsterdam. I've had a quick look at some of the slides (and photos); these seem to back up my hunch! It's already been around 6 months we since we started-up the http://jweekend.co.uk/dev/LWUGReg/ monthly London events (

Re: Ajax Memory Leak in IE

2007-12-04 Thread Alex Objelean
I can reproduce it only randomly and it seems that this happens in IE only. I am using wicket-1.3.0-rc1. Regards, Alex Matej Knopp-2 wrote: Doesn't seem so. Is it reproducable? How does it happen? -Matej On Dec 4, 2007 3:43 PM, Alex Objelean [EMAIL PROTECTED] wrote: Matej, could

Change: Tree has all nodes collapsed by default

2007-12-04 Thread Matej Knopp
Hi, before today the default behavior for wicket Trees was that all nodes were expanded by default. This caused problems with lazily initialized modes (e.g. file system model or JSR model) where wicket attempted to load the entire data during tree render. So I changed the default behavior to

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

2007-12-04 Thread Igor Vaynberg
put them in a formcomponentpanel -igor On Dec 4, 2007 6:14 AM, wicket user [EMAIL PROTECTED] wrote: 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

Re: How to dynamically generate HTML page?

2007-12-04 Thread Pen
thanks igor.. igor.vaynberg wrote: see how wicketstuff-crud does it in wicket-stuff svn -igor On Dec 3, 2007 6:30 PM, Pen [EMAIL PROTECTED] wrote: I am a new wicker user. We need to construct/generate a HTML page dynamically at runtime from the HTML elements like image and

Re: Ajax Memory Leak in IE

2007-12-04 Thread Alex Objelean
I'll give it a try. Thank you very much! Alex. Matej Knopp-2 wrote: This really shouldn't happen. Could you please try adding no-store Cache-Control header? e.g. override protected void setHeaders(WebResponse response) { response.setHeader(Pragma, no-cache);

replace textfield with dropdowncomponent - which html tag to use?

2007-12-04 Thread Marek Přibyl
hello, is there any html tag which could I use as html part for DropDownComponent and TextField simultaneously? Basic idea is, that type of the component is resolved in runtime, eg. depending of some another attribute I want to display text field for free user input or select element with list of

Re: replace textfield with dropdowncomponent - which html tag to use?

2007-12-04 Thread Igor Vaynberg
create two fragments/fragments and add one or the other -igor On Dec 4, 2007 9:12 AM, Marek Přibyl [EMAIL PROTECTED] wrote: hello, is there any html tag which could I use as html part for DropDownComponent and TextField simultaneously? Basic idea is, that type of the component is resolved

302 vs. 301 Redirect

2007-12-04 Thread Joe Toth
When you setRedirect(true), wicket does a 302, temporary, redirect. The basic rule of thumb in SEO is if you want to pass all authority to a different page use 301 (permanent). http://www.seotoday.com/browse.php/category/articles/id/477/index.php Thoughts on adding something to Wicket to support

Re: How to dynamically generate HTML page?

2007-12-04 Thread Pen
I looked into the example wicketstuff-crud, this is basically in memory database with basic CRUD operation. this is not what exactly I am looking. Let me restate the question. We have application where in user can create a webpages using web designer by drag-n-drop where is html elements like

Re: 302 vs. 301 Redirect

2007-12-04 Thread Johan Compagner
Long long time ago we had discussions about this, i think also related to what google expects. I guess what we now have is a result of that. But i cant remember what the pros and cons are 2007/12/4, Joe Toth [EMAIL PROTECTED]: When you setRedirect(true), wicket does a 302, temporary, redirect.

Re: How to dynamically generate HTML page?

2007-12-04 Thread Johan Compagner
Generate on one side the html by a servlet or special template generator, that reads in your db data and generate the component structure on the other side. Look at he slides i put on of the presentation that i did for the wicket user group in the netherlands 2007/12/4, Pen [EMAIL PROTECTED]:

Re: Wrapping up the Amsterdam Wicket Meetup

2007-12-04 Thread Johan Compagner
I already replied on wiki on eelco's popup about the meeting around apache con eu. My idea was also tue (on the training day) or fri (after conf) but fri is a bit to late, last sessions start at 15:00 and every body would be a bit worn down i guess. So maybe the friday before it does make sense

wicket + spring

2007-12-04 Thread zandile
I have been looking on the internet for a clear example of how wicket works with spring and still not clear. The closest thing I came across was this example: http://www.jroller.com/JonathanLocke/date/20060203 could someone please shed some light on this topic.. thanks -- View this message in

Re: wicket + spring

2007-12-04 Thread Gerolf Seitz
sure, we have a wiki page [0] about it. hth, Gerolf [0] http://cwiki.apache.org/WICKET/spring.html On Dec 4, 2007 8:38 PM, zandile [EMAIL PROTECTED] wrote: I have been looking on the internet for a clear example of how wicket works with spring and still not clear. The closest thing I

Re: wicket + swing

2007-12-04 Thread jweekend
Have a look at http://cwiki.apache.org/WICKET/spring.html this for starters. Regards - Cemal http://jWeekend.co.uk http://jWeekend.co.uk zandile wrote: I have been looking on the internet for a clear example of how wicket works with spring and still not clear. The closest thing I came

Re: Component toString() implementation and java.lang.StackOverflowError

2007-12-04 Thread Johan Compagner
This sounds famliar. I think we already fixed something like this but dont know if it is done in the 1.2.x stream Send in a patch if you like and attach it to a jira issue 2007/12/4, Seldon, Richard [EMAIL PROTECTED]: Working with Wicket 1.2.6. Having trouble with the implementation of

Re: Wicket 1.3 rc1 Relative URLs not working properly

2007-12-04 Thread Johan Compagner
But a mapping shouldnt matter to much. With the filter there should be no need for a filter mapping like a servlet. Johan 2007/12/4, Oliver Lieven [EMAIL PROTECTED]: Hi, I encountered this problem a week ago, too, and digged a little into code and forum. Here's my summary: the problem

Swing with Wicket -(sprockets according to Jonathan Locke)

2007-12-04 Thread zandile
I needed some clarification as to how to create swing gui objects in wicket .. here is an example I came across that I was not clear how things worked: http://www.jroller.com/JonathanLocke/date/20060203 thanks for assistance .. -- View this message in context:

Re: How to dynamically generate HTML page?

2007-12-04 Thread Pen
thanks Johan for your reply. I did take look into your slides. We can generate HTML pages, we have no issue with it. But how to display this newly created HTML pages which only exists in memory, there is no physical file. And also to navigate to this new HTML page. For example If I create a

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread narup
Oh i take back my words :( the window gets closed but due to some AJAX 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 user wrote: I tried

Re: replace textfield with dropdowncomponent - which html tag to use?

2007-12-04 Thread Marek Přibyl
works great, thanks Igor Vaynberg napsal(a): create two fragments/fragments and add one or the other -igor On Dec 4, 2007 9:12 AM, Marek Přibyl [EMAIL PROTECTED] wrote: hello, is there any html tag which could I use as html part for DropDownComponent and TextField simultaneously?

How to create the webpage(html) on the fly

2007-12-04 Thread venky221
Hi, I am new to wicket. I am working on a small scenario, where in I am trying to change the contents of an html page and navigating to that page while the application is running. The code is as follows . My first page is Demo.html, in which I am adding a simple link element. html body

How to create the webpage(html) on the fly

2007-12-04 Thread venky221
Hi, I am new to wicket. I am working on a small scenario, where in I am trying to change the contents of an html page and navigating to that page while the application is running. The code is as follows . My first page is Demo.html, in which I am adding a simple link element. html body

Re: Template Page and the URLs

2007-12-04 Thread NickCanada
Hey I managed to answer my own question. Sweet. If you change the Change Ad link component to an AjaxLink and then implement this onClick instead you don't end up with a non-bookmarkable url where once you had one. public void onClick(AjaxRequestTarget target) { if

Re: Swing with Wicket -(sprockets according to Jonathan Locke)

2007-12-04 Thread Eelco Hillenius
On Dec 4, 2007 12:04 PM, zandile [EMAIL PROTECTED] wrote: I needed some clarification as to how to create swing gui objects in wicket .. here is an example I came across that I was not clear how things worked: http://www.jroller.com/JonathanLocke/date/20060203 thanks for assistance .. That

Problem with 1.3 Validation and Conversion order

2007-12-04 Thread JulianS
We are migrating our app from 1.2.6 to 1.3-rc1 and we have certain form fields that have both a converter and a validator attached to them. In 1.2.6, the validator was called first, as it should be; in 1.3 it's the other way around and it's therefore broken. The only changes we've made are as per

Re: Problem with 1.3 Validation and Conversion order

2007-12-04 Thread Igor Vaynberg
yes. that is why our validation is more then just validators validate() { validateRequired(); convertInput(); validateValidators(); } this also has the advantage that type conversion is only performed once -igor On Dec 4, 2007 7:46 PM, rkanadam [EMAIL PROTECTED] wrote: Igor Vaynberg

IComponentResolver question. Was: How to dynamically generate HTML page?

2007-12-04 Thread Matthijs Wensveen
I was looking at the code of AutoComponentPanel and found similarities between this and IComponentResolver. AutoComponentPanel has an overridable getMarkupComponent(ComponentTag, MarkupStream) where IComponentResolver has resolve(MarkupContainer, MarkupStream, ComponentTag). Can someone