Re: Question About Locale

2008-01-25 Thread Michael Sparer
steve, wicket by default checks the user's locale (i.e. the locale of the session) and looks for matching files. e.g. if your user accesses Foo.html with the german locale de wicket checks whether there is a Foo_de.html (and/or Foo_de.properties) file existing. Have a look at

Re: Multiple AjaxFormSubmitBehavior's on the same form

2008-01-25 Thread Michael Sparer
If your form has an AjaxFormSubmitBehavior you don't need AjaxButtons to submit it, regular buttons are sufficient (they don't even have to be controlled by wicket). If you'd like to add an additional Ajaxbutton that does its own stuff (i.e. you don't want it to submit the form) you can

OutOfMemoryError

2008-01-25 Thread Thomas Singer
Our Wicket-1.3.0-based website running on Tomcat 5.5.23 regularly dies after approx. 2 weeks with an OutOfMemoryError. Please excuse my ignorance, but we don't have any experience in profiling/stress testing web applications. What particular steps we could do to detect memory leaks? Thanks in

Re: openlayers

2008-01-25 Thread Edward Yakop
I'm interested :) Regards, Edward Yakop On 1/25/08, Peter Neubauer [EMAIL PROTECTED] wrote: Cool, I hope we can get this to a more stable state in the next couple of days so others can jump in and help out. Is anyone interested? The OL and GeoServer combo seems to be a very appealing

Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Mead
Hello All, Any Example or doucument of Rich Edit, such as YUI,FCK How to integration with wicket? There is so little doc about that's thanks to provide help Best regards, Mead [EMAIL PROTECTED] 2008-01-25

Maintain page state on a panel added as a listItem

2008-01-25 Thread Edvin Syse
I have created a CMS in Wicket 1.3 and have run into a problem. A CMS-page consits of multiple articles. The articles are laid out on the page using a ListView. Normally, an article just displays title, text etc, so each article is represented by a simple Fragment that holds the fields etc. A

Re: Localization

2008-01-25 Thread tbt
Hi, I also found out that can also use input type=button class=button wicket:message=value=button.label / with WicketMessageTagHandler.enable = true in the application init method. Thanks Thomas Gier-2 wrote: tbt wrote: Hi I tried to add a attribute to a html tag using the

Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Edvin Syse
Hi! I once created a simple behaviour for WYMEditor like this: public class WymEditorBehaviour extends AbstractAjaxBehavior { private static final String EDITOR_CLASS = wymeditor; public static final String SUBMIT_CLASS = wymupdate; public WymEditorBehaviour() {

Re: Maintain page state on a panel added as a listItem

2008-01-25 Thread Edvin Syse
Hi Ned, Thanks a lot, that solved my problem. It just occured to me that I guess I could use some other Repeater-component instead, so that the adding of the articles takes place in the constructor :) You made my day! -- Edvin Ned Collyer skrev: Let me know if reading the big warning

Re: Multiple AjaxFormSubmitBehavior's on the same form

2008-01-25 Thread Thies Edeling
Thanks! I missed the first javadoc part in the AjaxFormValidationBehavior: //Ajax event behavior that submits the form and updates all form feedback panels on the page. //gr Thies// // Michael Sparer wrote: If your form has an AjaxFormSubmitBehavior you don't need AjaxButtons to

Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Mead
Hello All, Any Example or doucument of Rich Edit, such as YUI,FCK How to integration with wicket? There is so little doc about that's thanks to provide help Best regards, Mead [EMAIL PROTECTED] 2008-01-25

Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Edvin Syse
Btw, the postInit closure of the wymeditor is for adding extra buttons etc, all you really need in wyminit.js is: $(document).ready(function() { $(.${EDITOR_CLASS}).wymeditor(); }); -- Edvin Edvin Syse skrev: Hi! I once created a simple behaviour for WYMEditor like

Re: Pointer to example use of non-deprecated Fragment contructor

2008-01-25 Thread Paul T
neither the constructor summary nor detail in the javadoc online indicate which are deprecated or which to use instead - have to check source (or guess) Paul T igor.vaynberg wrote: javadoc on the nondeprecated constructor is not good enough? -igor On 10/27/07, skatz [EMAIL

Re: Maintain page state on a panel added as a listItem

2008-01-25 Thread Ned Collyer
ListView is appropriate, just make sure you set the setReuseItems to true. Other repeaters may well work too, but ListView is the most obvious choice, so might as well use it. (I'm a wicket noobie, and had the same problem a few days back) Edvin Syse wrote: Hi Ned, Thanks a lot, that

Re: openlayers

2008-01-25 Thread Nick Heudecker
What is openlayers? On Jan 25, 2008 1:59 AM, Peter Neubauer [EMAIL PROTECTED] wrote: Cool, I hope we can get this to a more stable state in the next couple of days so others can jump in and help out. Is anyone interested? The OL and GeoServer combo seems to be a very appealing combination

Re: binding problem :(

2008-01-25 Thread Beyonder Unknown
Actually when I do the form.getModelObject() the debugger shows that it added a nestedModel. Model:classname=[org.apache.wicket.model.CompoundPropertyModel]:nestedModel=[[false, false]] -- The only constant in life is change. - Original Message From: Martijn Dashorst [EMAIL

Re: About NiceUrl(s)/Mounting ?

2008-01-25 Thread mfs
anyone ? mfs wrote: It is..thanks.. But how to create link to these pages (i.e. the ones mounted through HybridUrlCodingStrategy or rather not mounted through bookmarkableURLCodingStrategy) such that the link on the status bar appear the same as in the address-bar when the page is

Re: a wicket tutorial

2008-01-25 Thread Nick Heudecker
I've spoken with a publisher about writing just such a cookbook, but my current work schedule doesn't allow me to pursue it. On Jan 25, 2008 1:49 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Jan 25, 2008 11:30 AM, karthik Guru [EMAIL PROTECTED] wrote: Hi All, Just to let you know that

Re: a wicket tutorial

2008-01-25 Thread Eelco Hillenius
Very soon we will have the eagerly awaited Wicket in Action. I was wondering what could be really cool next. We all know that the wicket team 'listens' to its users. So how about wicket cookbook, oreilly?, by..ahem one Mr..Vaynberg / the wicket team ??!! ;) Actually... what would be

Re: inMethod Grid component, id=main

2008-01-25 Thread Matej Knopp
Hi, this is actually a bug. The id 'main' should not be in markup at all. This will be fixed in svn soon. Thanks for reporting it. -Matej On Jan 25, 2008 6:24 PM, Ryan McKinley [EMAIL PROTECTED] wrote: First off - this component is excellent! thank you thank you! I could just drop it in to

Re: a wicket tutorial

2008-01-25 Thread Jonathan Locke
cool! is there a url where i can see this live? that would be fairly simple, but a big addition to the article because then people can see it working and decide that the article is worth reading from that. jon karthikg wrote: Hi All, Just to let you know that I posted a small

Re: create new model object of a Form from one of its FormComp values??

2008-01-25 Thread Igor Vaynberg
if account doesnt have these setters then how do you expect the form to mutate the object? -igor On Jan 25, 2008 3:03 PM, infodoc [EMAIL PROTECTED] wrote: [offline conversation returned to thread] Igor, I understand about using the AccountBean. That is not where the problem lies.

Re: About NiceUrl(s)/Mounting ?

2008-01-25 Thread mfs
So may be my question aint that clear enough..so i will put it in a better way.. I have got a LoginPage with no Default or PageParameter constructor, I do have a public constructor with object/interface taken in as an argument(as below) .. public LoginPage(final ILoginPageHandler

Re: DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
Yes, I have read all about it. It solved when I used just new Model() and not PropertyModel -- View this message in context: http://www.nabble.com/DropDownChoice-problem-tp15095051p15097813.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Model for previous pages

2008-01-25 Thread Daniel Frisk
Thanks Igor, with some restructuring of the pages this should be just as useful and without the need to access previous pages. // Daniel On 2008-01-25, at 18:11, Igor Vaynberg wrote: string url=urlfor(getpage()); url=requestutils.toabsolutepath(url); pass url onto paypal to use as the

Re: a wicket tutorial

2008-01-25 Thread karthik Guru
Yes sure - I will add it as a follow up blog post this weekend. thanks, Karthik On Jan 25, 2008 1:38 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: If you're using scriptaculous in your example, you might be interested in using the wicketstuff-scriptaculous project. it would simplify your custom

Re: a wicket tutorial

2008-01-25 Thread Ryan Sonnek
If you're using scriptaculous in your example, you might be interested in using the wicketstuff-scriptaculous project. it would simplify your custom component by: * automatically adding the javascript for you * using Java API to do effects instead of writing String javascript functions. On Jan

a wicket tutorial

2008-01-25 Thread karthik Guru
Hi All, Just to let you know that I posted a small tutorial on writing custom component here - http://karthikg.wordpress.com/2008/01/24/developing-a-custom-apache-wicket-component/ I just wrote it to get a breather from my day job which is all about processing xml schemas and wsdls that c'd get

Re: Question About Locale

2008-01-25 Thread Eelco Hillenius
On Jan 24, 2008 2:33 PM, Steve Thompson [EMAIL PROTECTED] wrote: I have a customer who has requested the ability to view multiple locales on a page. It looks like I can do this fine with Wicket through the use of properties files, Probably combined with overriding getLocale of component for

inMethod Grid component, id=main

2008-01-25 Thread Ryan McKinley
First off - this component is excellent! thank you thank you! I could just drop it in to some existing projects and it works no problem. But on one project it looked all funky. After inspecting what was happening, it looks like my layout used the id main, and the grid adds another main:

Re: Model for previous pages

2008-01-25 Thread Igor Vaynberg
string url=urlfor(getpage()); url=requestutils.toabsolutepath(url); pass url onto paypal to use as the return url and you will come back to the exact same page... -igor On Jan 25, 2008 5:13 AM, Daniel Frisk [EMAIL PROTECTED] wrote: We have a use case in our system where users are redirected

Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread Igor Vaynberg
there is wicket-contrib-tinymce in wicketstuff -igor On Jan 25, 2008 1:59 AM, Mead [EMAIL PROTECTED] wrote: Hello All, Any Example or doucument of Rich Edit, such as YUI,FCK How to integration with wicket? There is so little doc about that's thanks to provide help Best regards, Mead

Re: Question About Locale

2008-01-25 Thread Johan Compagner
you have to program that yourself. that is not somethign wicket or a framework can do On Jan 25, 2008 3:40 PM, Steve Thompson [EMAIL PROTECTED] wrote: On 1/25/08, Michael Sparer [EMAIL PROTECTED] wrote: steve, wicket by default checks the user's locale (i.e. the locale of the session)

Re: binding problem :(

2008-01-25 Thread Beyonder Unknown
Hi Martjin, No. I don't know about item resuse strategy. Thanks, Wen Tong -- The only constant in life is change. - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Thursday, January 24, 2008 11:42:26 PM Subject: Re: binding problem :(

Re: Any Example or doucument of Rich Edit, such as YUI,FCK

2008-01-25 Thread C S
Have you looked at the wicket stuff project for TinyMCE? The example code has all the documentation you should need. Mead-2 wrote: Hello All, Any Example or doucument of Rich Edit, such as YUI,FCK How to integration with wicket? There is so little doc about that's thanks to provide

Model for previous pages

2008-01-25 Thread Daniel Frisk
We have a use case in our system where users are redirected to a third party web site (Paypal), they later get redirected back to our site. How is it now possible to access the previous page or the model for that page (if we assume that the user continue with the same session)? // Daniel

Re: create new model object of a Form from one of its FormComp values??

2008-01-25 Thread infodoc
[offline conversation returned to thread] Igor, I understand about using the AccountBean. That is not where the problem lies. Problem: how to update encapsulated field(s) of the Account object from the AccountBean??? See details below. Account does NOT have set methods for these fields, so

Re: when cookies are disabled

2008-01-25 Thread Johan Compagner
Are you sure there isnt some cookie reuse of the previous sessions? All urls go through urlEncode so that should alter the url, just as it does the first time. What happens if you test it with http://wicketstuff.org/wicket13 ? On 1/25/08, mfs [EMAIL PROTECTED] wrote: Thats what i expected to

Re: a wicket tutorial

2008-01-25 Thread Eelco Hillenius
On Jan 25, 2008 11:30 AM, karthik Guru [EMAIL PROTECTED] wrote: Hi All, Just to let you know that I posted a small tutorial on writing custom component here - http://karthikg.wordpress.com/2008/01/24/developing-a-custom-apache-wicket-component/ Thanks Karthik! The jsf enthusiasm

Re: OutOfMemoryError

2008-01-25 Thread Martijn Dashorst
You can add a parameter to the JVM to dump the memory when the server goes OOM. This dump is readable by any tool, such as yourkit, jprofiler or the netbeans profiler if I remember correctly. -XXdumpheaponoutofmemoryerror (or something similar). Another option is to use a profiler in your dev

Re: OutOfMemoryError

2008-01-25 Thread Eelco Hillenius
Another option is to use a profiler in your dev environment, or a production-similar environment and run a jmeter script that simulates users. You can then create memory dumps and analyze them for leaks. Definitively a very good idea to use jmeter and a profiler. Might be a bit of a pain to

Re: Question About Locale

2008-01-25 Thread Steve Thompson
On 1/25/08, Michael Sparer [EMAIL PROTECTED] wrote: steve, wicket by default checks the user's locale (i.e. the locale of the session) and looks for matching files. e.g. if your user accesses Foo.html with the german locale de wicket checks whether there is a Foo_de.html (and/or

Re: openlayers

2008-01-25 Thread Erik van Oosten
http://openlayers.org/ My summary: A javascript library to combine spatial information from different sources on one page. Nick Heudecker wrote: What is openlayers? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

manual ajax..

2008-01-25 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im doing some manual ajax with wicketAjaxGet.. And I need to get a id from one of the things added upon the request, how can I get that? It's for the openlayers contrib, I need the content of the element containing the id to be shown in a popup. regards Nino -- Nino Martinez Wael Java

Re: openlayers

2008-01-25 Thread Nino Saturnino Martinez Vazquez Wael
it's about maps in a dozenz of ways. Erik van Oosten wrote: http://openlayers.org/ My summary: A javascript library to combine spatial information from different sources on one page. Nick Heudecker wrote: What is openlayers?

DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
Hi! I can't get the simples DropDownChoice to work! I want to return the object in my model but it returns string This is what I have so far. I have a ArrayList of Category objects. Each of this Objects have a list of child Categories. I want to render the Category id and name in the list and

Re: DropDownChoice problem

2008-01-25 Thread icecode
can you post some code? and wicket tags? Mathias P.W Nilsson wrote: Hi! I can't get the simples DropDownChoice to work! I want to return the object in my model but it returns string This is what I have so far. I have a ArrayList of Category objects. Each of this Objects have a list

Re: a wicket tutorial

2008-01-25 Thread Per Newgro
Hi Nick Heudecker: I've spoken with a publisher about writing just such a cookbook, but my current work schedule doesn't allow me to pursue it. Maybe you could add a chapter to the wiki. Then the community can collect some interesting themes and one by one could be filled up. Maybe that way

Re: DropDownChoice problem

2008-01-25 Thread icecode
sorry dudu, i am new to wicket as well, have you came across this link yet? http://cwiki.apache.org/WICKET/dropdownchoice-examples.html if not give it a shot Mathias P.W Nilsson wrote: html head titleWicket Quickstart Archetype Homepage/title /head body

Re: About NiceUrl(s)/Mounting ?

2008-01-25 Thread Igor Vaynberg
you cant. the whole point of a bookmarkable page is that it can be created without state (default constructor) or only from state encoded in the url (page params constructor). that is what makes bookmarkable urls possible. -igor On Jan 25, 2008 2:34 PM, mfs [EMAIL PROTECTED] wrote: So may be