[Wicket-user] How can I prevent a WebPage from being serialized
How can I prevent a WebPage from being serialized to the FilePageStore? I have a page that ist to be displayed within a modal window. The page recieves an object as parameter but this object is not serializable. Can I tell wicket not to serialize this page? I have tried to set page.isVersioned() to false but this does not the trick. Stefan Lindner - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Live Examples
The live examples link from www.wicketframework.org points to http://www.wicket-library.com/wicket-examples This site shows Proxy Error The document has moved here [http://www.kattare.com/error502.kvws]; - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to Enable debug messages for wicket.util.resource
I have a Page class that extends an abstrct class. Do I need a markup for the abstract class too? And if so: ho can I manage to override the markup of the abstract class by the markup of the page class? And: How can I Enable debug messages for wicket.util.resource in Jboss? Stefan Lindner - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Roadmap for wicket 2.0 users
Dear wicket developers, can you provide us wicket 2.0 users with a timeline for wicket 1.4? I remember that the discussion about constructor change, generics, models, and other things ended up wit 1. Backport everything from wicket 2.0 to wicket 1.3 (except generics = Java5) 2. Add generics to 1.3 and call it 1.4 Going to wicket 1.3 and dropping all generic support is no option for us. So we are still using wicket 2.0. The possible target for us ist wicket 1.4 and it would be nice to know when the starting shot for 1.4 will happen and when the home stretch for 1.4 will be passed. Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multiple Modal Windows (sunraider)
I think this is a general IE problem. The ModalWindow maintainers have taken care of this only for one level (modal window opended on a normal window). In this case all dropdowns are hidden befere the model window opens and re-displayed afterwards. This was an error message 2 or 3 weeks before but the wickt gurus only stated crazy what people are doing with wicket :-) If work around this problem by hiding the dropdowns and re-displying them by myself. I use some code like private ListBoolean visibilityBeforeHide; private ListComponenthideThemBefore; if (visibilityBeforeHide == null) visibilityBeforeHide = new ArrayListBoolean(); else visibilityBeforeHide.clear(); for (Component c : hideThemBefore) { visibilityBeforeHide.add(c.isVisible()); c.setVisible(false); target.addComponent(c); } modalWindow.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { private static final long serialVersionUID = 1L; public void onClose(AjaxRequestTarget target) { int i = 0; for (Component c : hideThemBefore) { c.setVisible(visibilityBeforeHide.get(i).booleanValue()); target.addComponent(c); i++; } // You must add the parent panel (the panel that opende the popup window) to the target // The components will not be re-displayed otherwise. target.addComponent(parent panel); } modalWindow.show(target); I am having a strange problem in IE 6.0 with modal windows. The use case follows: I have one modal window with drop downs and I have another modal window called from first modal window, when the second modal window opens I can see the drop downs from the first modal window in the second. I have tried setting the cookie name, but no change. The same works on IE 7.0 and Mozilla 2.0. I am unable to figure out the issue. Has someone encountered the same issue, please help me. Thanks, Sajeev winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Reverting the constructor change of 2.0
Al Maw wrote I don't want to do any of A, B or C. I am not a developer of wicket and it's completely up to yours how you do it, but why not the following way: 1. Keep Wicket 2 and do the constructor change there. Now you have a java 1.4 branch (wicket 1.x) and a java 5 branch (wicket 2.0 or call the thing wicket 1.5 or whatever). The very most of Wicket 2 users will not have big trouble to change the constructor. Do the packet name change in 2.0. It's easy to replace wicket with org.apache.wicket... 2. Create a branch from 2.0 and call it 1.4. Remove all generic stuff. So you have a Java 1.4 version with classic constructor and without generics but the code is equivalent to 2.0 3. Now you have two branches that are based on the same codeline and backporting from 2.0 to 1.4 is easy. Create new features in wicket 2 and backport them (just drop the generics and add some type casts) to 1.4. 4. You can release current 1.3 as a beta and release it soon as it is. Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AJAX completely broken in current wicket 2.0 trunk?
I built wicket 2.0 from current trunk and my application that worked well with last week#s wicket trunk no lnger works at all. No AJAX functionality at all. AjaxSelfUpdatingTimerBehavior, AjaxFormComponentUpdatingBehavior no longer work. The AJAX debug window shows no activity at all. Any general change in AJAX-behavior that I have to adopt? Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set TABPanels'titel to EscapeModel(false)
Dear Igor, should I send you a propsal (a modified class as source)? The Modificatoin is very trivial. Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] : How to set TABPanels'titel to EscapeModel(false)
I have created an enhancment request for Wicket 2 as http://issues.apache.org/jira/browse/WICKET-380 winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to set TABPanels'titel to EscapeModel(false)
How can I set the TabPanel'S title labe to excapteModelStrings(false)? Of cource, I can make my OwnTabPanel extends TabPanel and overwrite the whole constructor but I think this is not a good design. The panel title is simly created in a leeop with new label(.); And I can't see how to get a reference to this title label. Any ideas? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Getting value of a text field via Ajax, no form
Try something like startDate.getModelObject() or address the form's model vacationForm.getModelobject.getTextfield's property name Stefan LIndner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Getting value of a text field via Ajax, no form
In Wicket 2 thete is a thing called AjaxFormComponentUpdatingBehavior A behavior that updates the hosting FormComponent via ajax when an event it is attached to is triggered. This behavior encapsulates the entire form-processing workflow as relevant only to this component so if validation is successfull the component's model will be updated according to the submitted value. NOTE: This behavior does not support persisting form component values into cookie or other IValuePersister. If this is necessary please add a request for enhancement. NOTE: This behavior does not validate any IFormValidators attached to this form even though they may reference the component being updated If you want validating too use VAjaxFormValidatingFeedback Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Future of Wicket 2
We are a little bit confused about the future directions of the wicket project. We startet switching from wicket 1.x to 2.0 in june 2006 and are working with wicket 2 now for more then 10 months. One year ago it seemed that wicket 2.0 (with generics and new constructor) will be the future and was designed to overcome some problems that were within the design of wicket 1.x. In other words, wicket 2.0 will become the new and better wicket with the 1.x problems solved and 1.x will be put in a maintenace only state when wicket 2.0 is ready. Now it sees that the main development is like implementing new features in 2.0 and backport them to 1.x and if the process of backpüorting becomes too expensive, 2.0 has to be modified to make it easier (go back to old constructor, degenerify etc.). Some postings on the developer list sound like let's drop the whole 2.0 thing and concnetrat on 1.3, 1.4 and so on. Can you help us to see a clear roadmap for wicket? What verson should we concentrate on in further application development? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2 and Java SE 6
Dear wicket users, is there anybody out there who uses wicket with Java SE 6 / JEE 5? Any experiences, warnings, hints? What is the official status of Wicket 2.0 against Java SE 6? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] IMPORTANT: your opinion on the constructor
To speak as an end-user: 1) Who uses 2.0 for serious projects? We use 2.0 in a serious project for mobile patient data acquisition. We plan the rollout for about next week (despite wicket 2.0 is not even in beta status). 2) What do you think of the constructor change? Do you prefer 1.3's We prefer the 2.0 constructor. At the first sight it looked a little bit strange. The 1.3 style felt much more java like, having an object and activationg a method of this object instead of just creating new objects with no anchor (no variable addressing the newly created object). But the discussion about the advantages was convincing and after using it for some months now, the top down style was very usefull. 3) If we would ever backtrack on the constructor change (*if*, don't panic for now) how much trouble would that give you? I don't believe that this would be a real problem. The task consists for changig changing new Component(this into this.add(new Component in most cases. But I was convinced of the advantages that the new constructor has and the question is now 1. Are the proposed advantages no longer advantages 2. Does the new constructor make anything impossible that was possible with the old style contructor? 3. What does the wicket 1.x users prevent to switch to the 2.0 style that goes beyond a simple syntax change? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Directly map a bean to HTML form
Maybe that this feature sounds/looks great at first sight. But in every web application I wrote with other tools than wicket, which had this feature, I quickly ran into situatins where this did not lead any further. And the automatically generated forms often look really ugly. The order and the size of the input fields. I prefer the wicket way where i'm totally free in designing my forms. Stefan Lindner Von: [EMAIL PROTECTED] im Auftrag von [EMAIL PROTECTED] Gesendet: Di 19.12.2006 15:12 An: wicket-user@lists.sourceforge.net Betreff: Wicket-user Digest, Vol 7, Issue 117 Send Wicket-user mailing list submissions to wicket-user@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/wicket-user or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of Wicket-user digest... Today's Topics: 1. Directly map a bean to HTML form (Carfield Yim) 2. Re: Directly map a bean to HTML form (Paolo Di Tommaso) 3. wrung acquaintance (Reg K. Pike) 4. Re: Directly map a bean to HTML form (Ayodeji Aladejebi) -- Message: 1 Date: Tue, 19 Dec 2006 18:19:47 +0800 From: Carfield Yim [EMAIL PROTECTED] Subject: [Wicket-user] Directly map a bean to HTML form To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8; format=flowed This look really cool, I just define the bean and the framework determine HTML input type for me, is that similar support from wicket for this? http://beanform.sourceforge.net/ -- Message: 2 Date: Tue, 19 Dec 2006 12:49:15 +0100 From: Paolo Di Tommaso [EMAIL PROTECTED] Subject: Re: [Wicket-user] Directly map a bean to HTML form To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Quite interesting. Although Wicket use a different approach that requires explicitly to map html fields to java objects - and this is what makes it so great - there are situation where would be very useful to have a component like that (for example for fast application prototyping ..). Moreover it would be quite easy to implement extending a panel and using a just bit of reflection . Wicket gurus what do you think about? - Paolo On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: This look really cool, I just define the bean and the framework determine HTML input type for me, is that similar support from wicket for this? http://beanform.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- next part -- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=wicket-user/attachments/20061219/3f496798/attachment.html -- Message: 3 Date: Tue, 19 Dec 2006 18:44:15 +0700 From: Reg K. Pike [EMAIL PROTECTED] Subject: [Wicket-user] wrung acquaintance To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=windows-1252 Such feelings are also influenced by advertising and a consumer culture run amok, which Wallin says suggests to her that people are always looking for something to make our lives easier. To prevent this way-too-fast reboot, follow these easy to follow instructions to disable the automatic restart on system failure. We willen hiernaartoe voor een sneeuw-actief week. The more an item penetrates the culture, the more applications it has and the more we rely on it, she says. Maar voordat de topkok aan de slag gaat met het kerstmenu moet hij eerst zelf de witvis vangen en een rendierfarm bezoeken voor het vlees. PST in the Academy's Samuel Goldwyn Theater. The front garden uses the structural form of succulent plants such as euphorbias and yuccas to reinforce the design of the . None showed signs of having been subjected to significant trauma or serious sexual assault before dying, fueling speculation that the killer might have been a drug dealer who doped them. Infrequently handled cavies are not. Buiten is het een kerstkaart! Wat mij nog niet helemaal duidelijk is geworden is de regeling die we in Nederland kennen als de
Re: [Wicket-user] New year's present
Dear Igor, Eelco and others, Where can We sent our bribe presents to? Any real address for some small chistmas presents for you? Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Review: Wicket course
Maybe we could provide the wicket world with an online demo of our Wicket based application. It is an application for public health care organisations in germany, especially post op. pain management. The application runs on a tablet pc (with a local database that synchronizes with a central database), on normal pcs an on mobile phones with java me. A short preview ot the tablet pc component may be viewed under http://visiopad.visionet.de/VisioPAD. The PIN is 05142. It is currently best viewed with Internet Explorer (because of Windows XP Tablet PC Editon). We plan to put the whole application online for public viewing. It is based upon Wicket 2.0, EJB3 (backend Ingres, PostgreSL, HSQLDB, Oracle etc) and JBoss. If you select Annerose Duffner as patient and klick on PCA = Patient Controlled Analgesie you may view a funny embeded SVG graphic (if you have installed the SVG viewer from adobe). Currently we are stuck with the not working ImageMap class in Wicket 2 (http://issues.apache.org/jira/browse/WICKET-146). Maybe someone could help us at this point. Any suggestions and opinions eare wollcome. Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] ImageMap with Wicket 2
In the current trunk for WicketExamples I found // FIXME image map doesn't work anymore! // Image map link example in file linkomatic\home.java. Is this still true? Does ImageMap not work with current wicket 2? Is there a timeline for fixing this? If it should already work, I have another question? When I want to add an AjaxFallbackLink to an ImageMap, I must do something like ImageMap map = new ImageMap(this, mapName); map.addRectangleLink(1,1, 100, 100, link); But when I add the RectangleLink, the Link object must already be created. So, what sould be the parent for this link? The ImageMap? And an AjaxFallback Link needs an Id in it's constructor, so what is the ID for the AjayFallbackLink? Link l = new AjaxFallbackLink(parent?, id?) If the ImageMap does not work with Wicket 2, is there a workaround? Would it be possible to make the map with html and place a link inside of the area tags? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to remove a AjaxSelfUpdatingTimerBehavior form a Component
If I add a AjaxSelfUpdatingTimerBehavior to a Wicket Component the timer is triggered endlessly. Is it possible to remove the AjaxSelfUpdatingTimerBehavior from the Component or to deactivat it? Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to remove a AjaxSelfUpdatingTimerBehavior from a Component
Dear Martijn, sorry for asking again. Woogle is fine, but http://woogle.billen.dk/search/q/AjaxSelfUpdatingTimerBehavior%20stoppin g points to a method named isComplete and a developer issue https://sourceforge.net/tracker/?func=detailatid=684978aid=1539101gro up_id=119783 The only classes in wicket that have a isComplete methods are in wicket.extensions...wizzard and do not seem to be that right thing. I can't open the https://sourceforge.net/tracker/?func=detailatid=684978aid=1539101gro up_id=119783 I found another hint under http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg19068.h tml but I cant' find the cited ajax poller anywhere in wicket. Sorry once again for my dumb question, maybe it is because my English is not good enough to understand the thread in woogle but can you tell me a little bit more how to stop an AjaxSelfUpdatingTimerBehavior? Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] General ProgressIndicator (wicket 2)
The fiel upload example contains an upload progress bar. But this component seems to be hard wired to an file upload. Is there a general progress indicator component? A mechanism thats reports the status of an operatioin that is processes somewhere in the backend of n applicatioin? Stefan Linder winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AjaxSubmitButton and Umlauts with ISO-8859-1 (Wicket 2)
Title: AjaxSubmitButton and Umlauts with ISO-8859-1 (Wicket 2) I have a form with tow submit buttons (just for testing). A "normal" submit button and an AjaxSubmitButton. If I submit the form's fields with the "normal" button, umlauts are submitted corretly. If I submit the form's fields with the AjaySubmitButton, the umlauts are converted into smething else. Each characters is split into two characters. Maybe the typed ISO-8859-1 which is encoede in eight bits is converted to something like UTF-8 wich is stored in 16 bits. In Application.init() I have IMarkupSettings markupSettings = getMarkupSettings();markupSettings.setDefaultMarkupEncoding("ISO-8859-1"); IRequestCycleSettings requestCycleSettings = getRequestCycleSettings();requestCycleSettings.setResponseRequestEncoding("ISO-8859-1"); My HTML lokks like ?xml version='1.0' encoding='ISO-8859-1'?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de" xmlns:wicket="http://wicket.sourceforge.net/" headtitle wicket:id="pageTitle"Visiomedic: Anmeldung/titlemeta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/I use Tomcat 5.5 with JBoss 4 and in Tomcat's server.xml I have URIEncoding="ISO-8859-1" What am I doing wrong? Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AJAX XML parse error in IE6 (Wicket 2.0)
Title: AJAX XML parse error in IE6 (Wicket 2.0) With the current wicket 2.0 trunk I have a problem with IE 6. With FireFox everything works fine. The Ajax-response looks like this: INFO: INFO: Initiating Ajax GET request on /Visiomedic/app?wicket:interface=:1:bla4:refreshLink::IBehaviorListenerwicket:behaviorId=0random=0.33907153877121726INFO: Invoking pre-call handler(s)...INFO: Received ajax response (3807 characters)INFO: ?xml version="1.0" encoding="ISO-8859-1"?ajax-responsecomponent id="bla5" ![CDATA[td style="border: 1px solid rgb(42,42,0);" id="bla5" wicket:id="bla5"wicket:panel table width="100%" trtddiv style="width:30px;height:1px;font-size:0px;"//td/tr trtda href="" title="Schmerzwert 5" id="bla5_refreshLink" wicket:id="refreshLink"span wicket:id="label"5/span/a/td/tr trtddiv style="width:30px;height:1px;font-size:1px;"//td/tr /table /wicket:panel/td]]/componentcomponent id="bla3" ![CDATA[td style="border: 1px solid; background-color:rgb(255,214,151);" id="bla3" wicket:id="bla3"wicket:panel table width="100%" trtddiv style="width:30px;height:1px;font-size:0px;"//td/tr trtda href="" title="Schmerzwert 3" id="bla3_refreshLink" wicket:id="refreshLink"span wicket:id="label"3/span/a/td/tr trtddiv style="width:30px;height:1px;font-size:1px;"//td/tr /table /wicket:panel/td]]/componentcomponent id="bla1" ![CDATA[td style="border: 1px solid; background-color:rgb(255,214,151);" id="bla1" wicket:id="bla1"wicket:panel table width="100%" trtddiv style="width:30px;height:1px;font-size:0px;"//td/tr trtda href="" title="Schmerzwert 1" id="bla1_refreshLink" wicket:id="refreshLink"span wicket:id="label"1/span/a/td/tr trtddiv style="width:30px;height:1px;font-size:1px;"//td/tr /table /wicket:panel/td]]/componentcomponent id="bla4" ![CDATA[td style="border: 1px solid; background-color:rgb(255,214,151);" id="bla4" wicket:id="bla4"wicket:panel table width="100%" trtddiv style="width:30px;height:1px;font-size:0px;"//td/tr trtda href="" title="Schmerzwert 4" id="bla4_refreshLink" wicket:id="refreshLink"span wicket:id="label"4/span/a/td/tr trtddiv style="width:30px;height:1px;font-size:1px;"//td/tr /table /wicket:panel/td]]/componentcomponent id="bla2" ![CDATA[td style="border: 1px solid; background-color:rgb(255,214,151);" id="bla2" wicket:id="bla2"wicket:panel table width="100%" trtddiv style="width:30px;height:1px;font-size:0px;"//td/tr trtda href="" title="Schmerzwert 2" id="bla2_refreshLink" wicket:id="refreshLink"span wicket:id="label"2/span/a/td/tr trtddiv style="width:30px;height:1px;font-size:1px;"//td/tr /table /wicket:panel/td]]/component/ajax-responseINFO: Response parsed. Now invoking steps...ERROR: Error while parsing response: Unbekannter LaufzeitfehlerINFO: Invoking post-call handler(s)...INFO: Invoking failure handler(s)... Any idea? workaround? Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AJAX XML parse error in IE6
You can't replace td, tr or tbody using ajax in IE. It's probably IE DOM bug. There's nothing we can do about it. Ahh! Thank you very much! That's a easy workaround! Maybe this is a point for a Wicket FAQ? The more people will use AJAX with wicket, the more this will lead to questions on the list. Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] DataTable and AjaxFallbakcLink (Wicket 2.0)
Dear Wicket wizzards, my current problem is a little bit hard to explain: 1. I have a Panel P1 contianing an AjaxTabbedPanel 2. One of the AjaxTabbedPanell panels (P2) contains a DataTable 3. Panel P1 has a AjaxFallbackLink. The AjaxFallBackLink's onClick method adds P2 to the AjaxRequestTarget targets. This means, whenever the AjaxFallbackLink is clicked, the mehtod onclick is activated and the method adds P2 to the AjaxRequestTarget list. 4. When the link is clicked, the size() method of the DataTables's SortableDataProvider is called at first.. Then the iterator() method. 5. The onBeforeRender methods of P2 and the DataTable are called afterwards. What I want to do is to provide the DataTable with actual data. So I expected taht the size() and iterator() methods ware called after beforeRender(). But they are called before. Is this the intened behavior? Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DataTable and AjaxFallbackLink (Wicket 2.0)
To explain my problem a little bit more: The DataTable is built from a database. To avoid unnecessary transactions, I want to minimize the access to the database. The SortableDataprovider's size() and iterator() methods are called every time I display the panel by klicking on his AjaxTabbedPanels's link. So I place a special link on the page that means now update the content of all panels in my AjaxTabbedPanel panels. But not all of the Panels in My AjaxTabbedPanel may be chosen by the user so I do not need to reload all their contents from database unless the panel is re-displayed. Is there any event/method I can catch/override that is called before a Panel is re-displayed? The beforeRender method doesn't the trick, because the size() and iteraotr() methods of the Panels's DataTables are called before. Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tabbed Panel
When navigating to the wicket example for tabbed panel using IE on OS/X, the tabs are stacked vertically. I get the same behavior in my application. You must provide a sufficient CSS for your desired tabpanel appearance. If you download the source for the wicket-examples, you will find an example css at src\webapp\style.css that reproduces the look and feel thatyou can see in wicket examples. Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] ModalWindow's initial size (Wicket 2)
I have a modal window with a Panel inside. If I understand the javadoc for ModalWindow, it's size can be determinded by it's contents by setting setResizable(false) setUseInitialHeight(true) Is this only true for it's height? I can't find a similar method for the width of the ModalWindow. Ok, the Panel is displayed complete, but the surronding frame is smaller than the content. Did I understand it correctly that the size can only determined automatically, if the contents is a component? This means if I use ModalWindows in page mode (because of java script components) the size is not determined automatically? And if so: Is this a limitation of HTML/JavaScript or is it a current limitation of ModalWindow's implementation? Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Am I in a ModalWindow
How can a component decide wheter it is displayed within a Modalwindow? If I have A page that can displayed normally or inside of a ModalWindow, how can the page class retrieve information whether it is displayed inside of a ModalWindow to do special handlig? Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Move to Apache: Namespace?
This question is currently not so very imnportant but, for XHTML users, will the xmlns:wicket=http://wicket.sourceforge.net/ wicket namespace change too? Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Form, FeedbackPanel and AjaxSubmitbutton's default behavior (Wicket 2)
The following still happens with actual trunk: On a form like form wicket:id=myForm table trtd class=rightAlignedlabel for=AnmeldenameAnmeldename/label/td tdinput tabindex=4 id=Anmeldename size=30 maxlength=40 wicket:id=login type=text class=formInput//td/tr trtd colspan=4 align=centerdiv wicket:id=feedbackTu den Mecker hierhin/div/td/tr trtd align=rightinput tabindex=7 class=formButton type=submit value=speichern wicket:id=ajax-submit-button/ /table ... I have a FeedbackPanel and AjaxSubmitButton The JavaCode looks like this: public MyPanel() { super(parent, id); new MyForm(this, myForm, ); } private class MyForm extends Form { private static final long serialVersionUID = 1L; FeedbackPanel fp1; public MyForm(final MarkupContainer parent, final String id, IModel model) { super(parent, id, model); fp1 = new FeedbackPanel(this, feedback); new TextField(this, login).setRequired(true); new AjaxSubmitButton(this, ajax-submit-button, this) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget target, Form form) { System.out.println(AjaxOnSubmit called); target.addComponent(form); } @Override protected void onError(AjaxRequestTarget target, Form form) { System.out.println(AjaxOnSubmit called); target.addComponent(form); } }; } I must override AjaxSubmitButtons's onError method like above to see a FeedbackPanel if the input for a required field is missing. Shouldn't this happen automatically as default behavior of the original onError mehtod of AjaxSubmitButton? currently I havt to ovveride the onErrorMethod in every AjaxSubmitButton of a Form. Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form, FeedbackPanel and AjaxSubmitbutton's default
-Ursprüngliche Nachricht- My FeedbackPanel is inside of the form. Ist this wrong? If I have it inside of the Form, nothing happens if I do not override onError. Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] FeedbackPanel, Form, which component is caousing feedback?
I have a form with required input fields. The Form has an AjaxsubmitButton. Now I want to mark each missing required field. How can I determine which field is missing? Unless each missing field is provieded, the Form's model object remains null. My idea was to place a hidden FeedbackPanel on the Panel ofr Form. The feedback Panel has a (protected) method getCurrentMessges which results in a List of FeedbackMessages. Each FeedbackMessage has e mehtoc called getReporter that gets the reporting component. So I could do something like @Override protected void onError(AjaxRequestTarget target, Form form) { ListFeedbackMessge list = feedbackPanel.getCurrentMessages(); for (FeedbackMessage message : list) { if (message.getReporter == componentA) { componentA.add(new AttributeModifier(class, true, new ModelString(requiredFormInput))); target.addComponent(componentA); } But the getCurrentMessages method is protected and I have to declare my own FeedbackPanel with an overwritten getCurrentMessagesmethod. is there another mechanism to determine the Form comonents, that cause errors (not only required fields)? Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Form, FeedbackPanel and AjaxSubmitbutton's default
I see! Perhaps you are right when you say that there is no food default behavior. Thank you for answering my stupid question. :-) But maybe the documentation should be updated. the examle in wicket-examples did not make it clear that a FeedbackPanel inside of a Form needs an overwritten onErrorMethod. A Feedbackpanel outside of the form (on the Panel) does not (see wicket.examples.ajax.builtin.FormPage). Stefan Lindner igor.vaynberg wrote: it is not wrong, you can have a feedback panel anywhere you like. nothing happens because nothing is added to the target. all im saying is that there is no good default behavior because everyone structures their components differently. -Igor On 10/11/06, Stefan Lindner [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- My FeedbackPanel is inside of the form. Ist this wrong? If I have it inside of the Form, nothing happens if I do not override onError. Stefan Lindner - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Re%3A-Form%2C-FeedbackPanel-and-AjaxSubmitbutton%27s-default-tf2425580.html#a6765901 Sent from the Wicket - User mailing list archive at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Generics for Button and AjaxFormButton (Wicket 2)
The onSubmit mehtod of a form is generic that mean if I call getModelobject inside of an overridden onSubmit I get an object of my Form's model object class MyForm extends FormsMyModelobjectsclass on Submit() { getModelobject() - MyModelObject The AjaySubmitButton that is placed in side of my Form is not generic and therefore onSubmit(AjaxRequestTarget target, Form form) { getModelobject() - Object simply results in an Object. Wouldn't it make sense to have onSubmit(AjaxRequestTarget target, FormT form) { and public abstract class AjaxSubmitButtonT extends ButtonT Stefan Lindner winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] DataTable header manipulation
I can manipulate the data grip part of a DataTable by overriding newCellItem. But if I e.g. need a speical layout for the table header, I must add a class or id attribute to the th elements of the headline (different layout on the left and right side e.g.). I can see no way to manipulate the generation of the headline. O.K. I can design my own Toolbar according to HeadersToolbar but in most cases that's much too compülicated. Is there an easy way to control the generation of the table head? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DataTable header manipulation
If you want to have the first column of a table in a special layout or the last, a special css treatment is needed. In this cases it is very helpful to have an id-attribute in the td tag. So I overwrite cellContainer @Override protected Item newCellItem(MarkupContainer cellContainer, final String id, int index, final IModel model) { cellContainer.add(new AttributeModifier(id, true, new ModelString(BLAFASELTRALALA))); Item item = new Item(cellContainer, id, index, model); int columns = getColumns().length; String idAttribute = single; if (columns 1) { if (index == 0) idAttribute = left; else if (index == columns - 1) idAttribute = right; else idAttribute = middle; } item.add(new AttributeModifier(id, true, new ModelString(idAttribute))); return item; } And each cell is marked as left, middle or right or single if the table has only on column. Now I can easily do things like this in css: #left { border-left: 2px solid rgb(34,69,104); } To complete the appearence, it would be nice to have the same thing for the table header. Yes, of cource, I saw the examle cde and the resulting tables look very pretty, but the customer's whish I think, the integration of something like the above code would help some people (see Leszek Gawron's reply) Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2: DefaultDataTable and HeadersToolbar
Title: Wicket 2: DefaultDataTable and HeadersToolbar stopped working in current svn: WicketMessage: Unable to find component with id 'label' in [MarkupContainer [Component id = auto-body, page = de.visiomedic.wicket.pages.patientenliste.Patientenliste, path = 7:patientenlistePanel:table:topToolbars:2:toolbar:headers:1:header:orderByLink:auto-body.Border$BorderBody, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=label in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match.[markup = jar:file:/P:/JBoss/jboss-4.0.4-EJB3RC8/server/all/tmp/deploy/tmp10375Visiomedic-exp.war/WEB-INF/lib/wicket-extensions-2.0-SNAPSHOT.jar!/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html, index = 1, current = 'span wicket:id="label"' (line 4, column 27)] Root cause: wicket.markup.MarkupException: Unable to find component with id 'label' in [MarkupContainer [Component id = auto-body, page = de.visiomedic.wicket.pages.patientenliste.Patientenliste, path = 7:patientenlistePanel:table:topToolbars:2:toolbar:headers:1:header:orderByLink:auto-body.Border$BorderBody, isVisible = true, isVersioned = true]]. This means that you declared wicket:id=label in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match.[markup = jar:file:/P:/JBoss/jboss-4.0.4-EJB3RC8/server/all/tmp/deploy/tmp10375Visiomedic-exp.war/WEB-INF/lib/wicket-extensions-2.0-SNAPSHOT.jar!/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html, index = 1, current = 'span wicket:id="label"' (line 4, column 27)] at wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:436) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1327) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:918) at wicket.markup.html.border.Border$BorderBody.onComponentTagBody(Border.java:356) at wicket.Component.renderComponent(Component.java:1848) at wicket.MarkupContainer.onRender(MarkupContainer.java:863) at wicket.Component.render(Component.java:1682) at wicket.markup.html.border.Border.resolve(Border.java:228) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1293) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:918) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DataTable header manipulation
I think there are two cases: 1. Improve the look of all tables generated by DefaultDataTable This can be done by adding id and class attributes to th and td 2. Tune the appearence of a special table. This can still be done by surrounding the table with a span tag having an id. E.g. HTML: span id=mySpecialTable wicket:id=tableHere goes the table/span Css: #mySpecialTable ... { } Wicket will never be able to serve any of the designers needs out of the box. If I need a speical DataTable, I can modify the existing one. And in this case, it would be nice to have a method to override that controls header generation and not to write a header for my own. Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Menu bar implementation
I have uploaded a first initial implementation of a menu bar to https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-extensions-menubar https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-extensions-menubar Please not the following items 1. Only one menu bar per page 2. Currently 3 types of links supported 3. Example code in MenuBarPanel's javadoc Ejoy it and tell me about your experience Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Second feedbackPanel (Wicket 2)
How can I put a second FeedbackPanel in a Form and feed this second FeedbackPanel with custom feedback messages? I can't overwrite getCurrentMessages, it is final. Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Second feedbackPanel (Wicket 2)
How can I put a second FeedbackPanel in a Form and feed this second FeedbackPanel with custom feedback messages? I can't overwrite getCurrentMessages, it is final. Stefan Lindner -- View this message in context: http://www.nabble.com/Second-feedbackPanel-%28Wicket-2%29-tf2386721.html#a6653368 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] lists.sourceforge
What happens to Messages goint to [EMAIL PROTECTED] Are they crossposted to nabble and vice versa? I saw nearly now mailing list activity in the last days, not a single message on Oct. 4. Stefan Lindner -- View this message in context: http://www.nabble.com/lists.sourceforge-tf2386771.html#a6653547 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Creating Panels inside of Loop (Wicket 2)
I have a Panel that looks like this (html) hr / ul id=nav wicket:id=menus !-- Place menus here-- span wicket:id=menuPlace menus here/span /ul hr / Now I want to generate Panels for wicket id menu like this new Loop(this, menus, menus.size()) { private static final long serialVersionUID = 1L; @Override protected void populateItem(LoopItem item) { final int index = item.getIteration(); final Menu menu = MenuBarPanel.this.menus.get(index); new MenuPanel(?, menu, menu.getModel(), menu.getMenuItems()); I can't use the item for ? because it's not a markupContainer. So, what is the correct MarkupContainer for the panels? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Menu bar (first version)
I completed a first test version for a menu bar. It is based upon an article on A List Apart (http://www.alistapart.com/articles/dropdowns) The current implementation has a few restrictions 1. Only one menu bar per page 2. No submenus for menu items 3. Css code is needed to have the menus work with IE 4. Javascript is needes vor FireFox 5. No other browsers testet yet. 6. Test-Implementation only supports IPageLink as link type for menu items. This can be easily be expanded. But for Discussion of Interface design it's enough. 7. No javadoc yet, only a simple example provided. Where can I put he code? Stefan Linder - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Menu bar
Is there anybody out there who is already working on a manu bar component for wicket-extensions? If not: perhaps I can generalize my quick and dirty solution. Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to get complete URL for application
I need to have the complete url form y application (e.g. myhost.com:8080/myapp). How can I do this? Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket2: table inside of tabpanel
The span class=tab-panel markup is generated by the tab panel component of wicket extensions automatically. I have no chance to change this. The source code for the tabpanel component must be modified. Stefan Lindner --- It's up to you to use a div instead of a span. Just change your html markup, replacing span wicket:id=myid class=tab-panel with div wicket:id=myid class=tab-panel Pierre-Yves Stefan Lindner a ?crit : The content of tabpanel is always surronded with a span tag, e.g. span class=tab-panel !-- The content of the panel -- /span Now, if the panel contains a table it looks like span class=tab-panel !-- The content of the panel -- table ... /table /span But a span tag must not contain a table tag. Wouldn't it be better, do render the contents of a tab panel as div? That means div class=tab-panel !-- The content of the panel -- table ... /table /div Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-user Digest, Vol 4, Issue 234
The source for TabbedPanel.html (wicket 2.0 svn checkout today) reads wicket:panel div class=tab-row ul li wicket:id=tabs a href=# wicket:id=linkspan wicket:id=title[[tabtitle]]/span/a /li /ul /div span wicket:id=panel class=tab-panel[panel]/span /wicket:panel As you see, the content of the panel is enclosed in span wicket:id=... and /span. As span is an inline tag and it should not surround e.g. a table tag. I think a div tag would be correct here. This means wicket:panel div class=tab-row ul li wicket:id=tabs a href=# wicket:id=linkspan wicket:id=title[[tabtitle]]/span/a /li /ul /div div wicket:id=panel class=tab-panel[panel]/div /wicket:panel Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket2: table inside of tabpanel
just committed this change into trunk. -Igor Thank you Igor! Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket2: table inside of tabpanel
The content of tabpanel is always surronded with a span tag, e.g. span class=tab-panel !-- The content of the panel -- /span Now, if the panel contains a table it looks like span class=tab-panel !-- The content of the panel -- table ... /table /span But a span tag must not contain a table tag. Wouldn't it be better, do render the contents of a tab panel as div? That means div class=tab-panel !-- The content of the panel -- table ... /table /div Stefan Lindner - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] form with wicket:child
because in markup you have ajaxSaveButton but in java you have ajaxSubmitButton for id values. That's not the point. This happened when I stripped down the real code for this email. not sure this usecase will work period though _right now_. you see form components need to be children of the form. so you need to let your panel implement IAlternateParentProvider and redirect children to the form. the markup resolution of wicket:child and wicket:body is not working right now because it doesnt take into account that it is embedded. juergen and i are working on it, well - much more juergen then i since im just creating failing unit tests for him to look at right now. give it a try and see if it works, i have only tested borders that fail in this usecase not panels. keep as apprised and i will do the same. With the correct id values in both html and jave it does not work. Is there a timeline for the fix you mentioned (juergen is workin on it as you wrote)? Perhaps I could produce a testcase for you? Where can I put this testcase? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] form with wicket:child
I have a panel with a form wicket:panel form wicket:id=testForm table trtd wicket:child/ /td/tr trtd align=rightinput tabindex=17 class=formButton type=submit value=save wicket:id=ajaxSaveButton/ /td /tr /table /form /wicket:panel The idea behind this is to have a template for forms that must have an ajax submit button. Now I try to create the java part of the panel and form like this ... Form f = new Form(this, testForm); new AjaxSubmitButton(f, ajaxSubmitButton, f); ... But this results in an error message: wicket.WicketRuntimeException: Unable to find the markup for the component: ajaxSubmitButton ... wicket.markup.MarkupNotFoundException: Couldn't find the markup of the component 'ajaxSubmitButton' in parent 'testPanel:testForm' What goes wrong? Stefan Lindner winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2, modal window, ListChoice, auto completion
I successfully cheched out and built wicket from svn. I use a panel with a form that contains - a ListChoice - a AutoCompleteTextField Both works well in a normal page. But in a modal window both do not work: - the ListChoice is not displayed - the AutoCompleteTextField triggers no event when a letter is typed in the input field. Are thesses known bugs? O are these two elements forbidden in modal windows? Or am I doing something wrong? Stefan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to build wicket 2.0 from svn download
I checked out wicket 2.0 from svn. Now I build wicket base (in subdir 'wicket') eith mvn -Dmaven.test.skip=true package to skip the failing tests. This creates a file named wicket-2.0-SNAPSHOT.jar in subdir wicket/target. Now I change to subdir 'wicket-extensions'. I do the same as above but now I get wicket-extensions\src\java\wicket\extensions\markup\html\repeater\ RepeatingView.java:[26,31] cannot find symbol symbol : class AbstractRepeater location: package wicket.markup.html.list But the wicket.markup.html.list.AbstractRepeater class is part of wicket base and it seems to be compiled without any error. What am I doing wrong? How can I build the current wicket extensions? Stefan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2.0: Form within a modal Window
I tried to put a Panel with a Form inside a model window. The form is displayes very well but I notice some strange behavior. So my questionis: are modal windows designed to work with forms and are my problems related to the early state of wicket 2.0 or were modal windows never ment to contain all wicket components? I observe the following problems 1. Pressing the tab key does not navigate to the next input field. The cursor jumps into the browser's address input field 2. When I press the submit button (i have overwritten the onSubmit mehtod of the Form) the browser (IE5+6.x/FireFox1.5) pops up a question whether I (retranslated from german) really want to change to this page or if I want to stay on the dislayed page. 3. If I press change the onSubmit method is called if all required fields are complete. The window closes, as expected. 4. If I press change the onSubmit method is NOT called if any required fiel dis missing. No feedback is dieplayed, the window closes; Stefan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DateTable with alternating row color
From: Igor Vaynberg [EMAIL PROTECTED] i just tried examples in the trunk and it seems to work just fine using the DefaultDataTable. Dear Igor, you tried it with wicket 2.0 from current trunk? Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DateTable with alternating row color
Dear Igor, the problem is solved. The wicket-extensions-version that is downloadable from http://maven.sateh.com/wicket/wicket/ ist a little bit outdated. With the current trunk (shipping around compile errors in dropdownlist code) everything works well. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor
Works well with the current wicket 2.0 trunk. The wicket-extensions-version that is downloadable from http://maven.sateh.com/wicket/wicket/ ist a little bit outdated. With the current trunk (shipping around compile errors in dropdownlist code) everything works well. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] DateTable with alternating row color
I just wonder about the place where in the DataTableExample (in wicket examples) the alternating style for the table rows (tr class=even... and tr class=odd.. has to be set? Or does this the DefaultDataTable class for me. Or does it the SortableDataProvider? Or do I have to it on my own (as in the displaytag examples)? If it should happen automatically, it does not work in Wicket 2.0. Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] DateTable with alternating row color (Gwyn Evans)
Well, with the DefaultDataTable, it overrides DataTable's newRowItem() method in order to return an new OddEvenItem rather than a new Item. The OddEvenItem overrides on ComponentTag in order to add the odd or even class. Could you, however, have overridden one of these yourself? No, I don't override any mehtods, I just use the code as contained in wicket-examples 1.2.2 (just modified for the new wicket 2.0 constructor). In the Wicket 1.2 Examples I noticed that DefaultDataTable sets the odd/even attribute, and an external .CSS file interpreted the attribute to color the rows. I don't believe DataTable comes with any such row-coloring rules built in. So if you're using DefaultDataTable and not getting odd-even row colors, check your .CSS file. No, it is not a css problem. The odd/even atttributes are missing in the generated html code. Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor
A little supplement: The other javascript resources are present: script type=text/javascript src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js/script script type=text/javascript src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script and the Ajax debugger can be activated. If I add the missing resource by hand, firefox reports an error in the wicket-autocompletion.js file in the line Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){ Wicket is not defined Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor
Dear Igor, it's a 2.0 error too. But thank you for your response! I hope it will be fixes in 2.0 soon. Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode
In wicket 1.2.x it was possilbe to switch the mode in the application construktor like public class MyApplication extends WebApplication{ public MyApplication() { configure(Application.DEPLOYMENT); } now this leads tho an exception during deployment wicket.WicketRuntimeException: Use Application.init() method for configuring your application object at wicket.Application.getSettings(Application.java:543) at wicket.Application.getResourceSettings(Application.java:499) at wicket.Application.configure(Application.java:338) at wicket.Application.configure(Application.java:298) if I move the call of configure to the init method the message You are in DEVELOPMENT mode appears during deployment. What is the correct way to switch to deployment mode while application initialization/deployment? winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2.0: continueToOriginalDestination
continueToOriginalDestination seems not to work as expected. If I have 1. A page SomePage 2. In Application.init mountBookmarkablePage(/somepage, SomePage.class MyAuthorization authorizationStrategy = new MyAuthorization(); getSecuritySettings().setAuthorizationStrategy(authorizationStrategy); getSecuritySettings().setUnauthorizedComponentInstantiationListener(authorizationStrategy); Now, if I call http:./somepage the following happens 1. The page SomepPage is to be instantiated 2. The MyAuthorization class calls throw new RestartResponseAtInterceptPageException(Login.class); 3. The Loginclass class (after successfull login) continueToOriginalDestination 4. The continueToOriginalDestination is not successfull (retruns false) In former wicket versions it was possible the jump directly to a mounted page. Am I wron in doing what I do or did somethin change in Wicket 2.0 behind the scene? Stefan winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode
Thank you all for your comments. Now I set the configuration in Application.init. I was jutst wondering about seeing the You are in DEVELOPMENT mode during deployment, what breaks our deployment checker wich reports an error if the deploy,ment ready application still reports You are in DEVELOPMENT mode. Thank you all! winmail.dat- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.2.2 available
-Ursprüngliche Nachricht- Wow! Really great looking new fetures! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 2.0 build
Dear wicket developers, now that I have seen some Wicket 1.2.2 components (e.g. modal diaglos inside of browser) I would really like to try Wicket 2.0. Did someone build a binary distribution? And if so, two questions: 1. where can I download it an 2. Will the wicket extensiions be part of this download, will they be in a separate file oder will be not available at this time (I can't miss tabbed panels) Thank you in advance Stefan Lindner, Visionet GmbH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0, when?
I think that an API change is neccessary and that ist is just the right point of time to do it. Most of the projects based on wicket are not very old, therefore good enogh in mind of the developers to perform an api change. Some of them (the new component constructor) can be handled by an intelligent pattern replace. BUT: where can I get wicket 2.0? The official link to SVN on the sourceforge page points to http://svn.sourceforge.net/wicket. And e.g. in trunk, the project.xml file still has 1.2-SNAPSHOT as the curretn version. I really would like to try Wicket 2.0 for a new project. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 2.0, when?
But we could throw out a snapshot of 2.0 at this time This would be a helpful Johan! I think this would be a good kick off for Wicket 2.0. Stefan -- Message: 1 Date: Fri, 25 Aug 2006 11:09:06 +0200 From: Johan Compagner [EMAIL PROTECTED] Subject: Re: [Wicket-user] Wicket 2.0, when? To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 then it has to be automated. Because if it is constant a manual thing then it cost us to much work. But we could throw out a snapshot of 2.0 at this time. So that people can download it easier. johan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Radio, AJAX and Model: What ist he correct type for a radio button property model
Hi all, What ist he correct type for a radio button property model? I want to use RadioButtons with AJAX. I have found a hint in the mailing list archive that I have to use RadioGroup and add an ajax event to each Radio Object in the radio group. This works. But now: when I want one of the radio buttons to be preselected I need to bind a model to the radio button. Let's assume that I have HTML like this form wicket:id=form span wicket:id=group table style=border: 2px dotted #fc0; width: 400px; padding: 5px; tr td valign=topSelect a person/td td table cellspacing=0 cellpadding=2 trtd wicket:id=persons input type=radio wicket:id=radio/ span wicket:id=name[this is where name will be]/span/td /tr /table span valign=top /span /td ... The java part looks like this final RadioGroup group = new RadioGroup(group); Form form = new Form(form); add(form); form.add(group); ListView persons = new ListView(persons, getPersons()) { protected void populateItem(ListItem item) { Radio r = new Radio(radio, item.getModel()); r.add(new AjaxEventBehavior(onchange) { protected void onEvent(AjaxRequestTarget target) { System.out.println(-- + getComponent().getModelObject().toString); } }); item.add(r); item.add(new Label(name, new PropertyModel(item.getModel(), name))); } }; group.add(persons); This works well in one way: I can receive the AJAX event when a radio button is selectd. But now I want to have one radio buttln preselect when I display the panel. When I try to add a PropertyModel to the radio button Radio r = new Radio(radio, new PropertyModel(item.getModel(), radio)); I can see calls to getRadio in my ModelClass when the components are rendered the first time. But when I klick into a radio butteln a class cast Exception is thrown. I tried a boolean, a Boolean and a String as type for the radio button but alway a class cast exception is thrown. Now once again the question: What ist he correct type for a radio button property model and what ist he default value to have one radio button selected. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Radio, AJAX and Model: What ist he correct type for a radio button property model
This works very well. Thank you! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: Post 1.2 roadmap
Dear Martijn, dear wicket users, I think that Wicket is still such a young project that a major API-Change, like the one you suggest for constructors, is still possible. I don't believe that such really big projects are already realized with wicket that an API-Change would drop them. And if this leads to a better JavaScript/Ajax integration I think it's necessary. And to your second question for votes: We do not need Java 1.4 support any longer. To summarize my opinion: I think now is the right time for essential changes. There is enough experience with wicket, it's advantages and it's limitations. If we go further with this limitations, a lot of workarounds and strange constructs will appear. And if, after some time, the wicket API needs to be modified in the future it will be much more a problem than now. I want to thank you all for the time you spend on wicket and on answering questins in this mailing list. Stefan Lindner winmail.dat
[Wicket-user] AJAX: updating a label by klicking a check box
Dear wicket supporters, I am looking for some hints for the following: I have a form containing a check box. This form uses AJAX to submit the check box value after klicking it. Not I want to update a label on the page when the check box is klicked. I found the ajax with prototype - Ajax example using prototype.js example that does something similar. But I found no way to manipulate the on click script for the check box. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: AJAX: updating a label by klicking a check box
Thank You Igor, this works very well! Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AjaxTabbedPanel
Dear Wicket Gurus, what should happen, if I klick on a tab of an AjaxTabbedPanel? The generated HTML code looks like this: form action=/Visiomedic/VisioPAD?wicket:interface=:1:seiteninhalt:tabs:panel :inputForm::IFormSubmitListener method=post id=seiteninhalt_tabs_panel_inputForminput type=hidden name=seiteninhalt_tabs_panel_inputForm:hf:0 id=seiteninhalt_tabs_panel_inputForm:hf:0/ But when a tab link is selected, no onSubmit method of the form is called. I was expectiong to see the onSubmit mehtod to be called when swiothing between AJAX tabs. Am I wrong? What are AjaxTabbedPanels are for? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Manu bar
Does anybody on the list know of a good drop down menu bar component that can be easily embedded into a wicket page? Does anybody work on such a menu bar for wicket extensions? Stefan Lindner [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Set default value for DropDownChoice (Was can't get rid of Choose One in DropDownChoice)
I'm glad that I don't see Choose One anymore. But how can I really set the default value for a DropDownChoice? It doesn't matter which value I return in the getDefaultChoice method. It's always the first item of the DropDownChoice that is displayed. The only way I found to set a default value was to call setModel(new CompoundPropertyModel(new Integer(3))); for list Items One, Two, Three, ... to select item 3. But that's no way for creation a reusable component to locally set a model. Am I wrong? Is this the corect way to specify a default value? Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re:Set default value for DropDownChoice (Was can't get rid of Choose One in DropDownChoice)
-igor writes initialize the drop down choice' model to the default value when you first render the page. Does that really mean, that I can't create a subclass of DropDownChoice that konws of it's default value by itself? Only when the page gets rendered I have to add code for the default value? How about a panel with a standard component that should be reused at several pages? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: TabbedPanel, InputForm and submit
Dear Eelco, you wrote A different approach is to use ajax enabled fields so that everytime you leave an input field your changes are immediately applied to the models. That way it doesn't matter at all which link you click anywhere. I try the 1.2beta2examples ajax/Form Example: shows ajax form processing this leads to the folowing error message (JBoss4.0.4RC2, Java 5_6) wicket.WicketRuntimeException: Internal error cloning object. Make sure all dependent objects implement Serializable. Class: wicket.examples.ajax.builtin.FormPage wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:132) wicket.Session.setAttribute(Session.java:794) wicket.Session.update(Session.java:845) wicket.protocol.http.WebSession.update(WebSession.java:116) wicket.RequestCycle.cleanUp(RequestCycle.java:794) wicket.RequestCycle.steps(RequestCycle.java:1028) wicket.RequestCycle.request(RequestCycle.java:452) wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:210) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) winmail.dat
[Wicket-user] RE: TabbedPanel, InputForm and submit
Thank you all for your hints, an AjaxTabbedPanel together with an AjaxCheckBox does the trick. Works really fine! BUT: Now I need a text input field with the same functionality. As I can't find an AjaxTextField I tried an AjaxEditableLabel. But this does not work. The HTML part input wicket:id=freitext id=freitext type=text/ And the Java part AjaxEditableLabel stringTextField = new AjaxEditableLabel(freitext, new PropertyModel(model, freitext)) { protected void onUpdate(AjaxRequestTarget target) { System.out.println(onUpdate); } }; add(stringTextField); Resuts in the HTML sequence input type=text wicket:id=freitext id=seiteninhalt_tabs_panel_inputForm_freitext wicket:panel span wicket:id=label onClick=var wicketAjaxCallMade=wicketAjaxGet('/Visiomedic/VisioPAD?wicket:interface= :1:seiteninhalt:tabs:panel:inputForm:freitext:label:-1:IUnversionedBehav iorListenerwicket:behaviorId=0'); id=seiteninhalt_tabs_panel_inputForm_freitext_label/span /wicket:panel /input Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] TabbedPanel, InputForm and submit
I use Wicket 1.2beta2 and I have the followin question: I have a TabbedPanel with several tabs (according to the example). Each Panel contains an InputForm. Weh I change from one pane to another by klicking at the tab label I receive no onSubmit event and the input is lost. is there a way to make the tab label act as a submit button for the form? Oder is there any other mechanism to do such things? Thanks in advance and thaky you for Wickt. winmail.dat
[Wicket-user] Re: Post 1.2 roadmap and Java 5
Dear Wickt people, here is my choice: Java 5. We ere working with java 5 for more than a year and with EJB3 coming up we have no plans to start a new project with java 1.4. And: java 1.6 is coming! Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: Tab / Tabed-Page /Tabview Component?
Dear Dave, dear wicket developers, I had the same question some weeks ago. There once was an example called TabPage and is still available in a silent corner of the CVS. But the Example no longer works with Wicket 1.1. I think a tabbed page is a core component for web development and should be availabe with wicket. Please hel pus, Wicket developers! Thanks in advance Stefan Lindner --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] tabpanel
Dear wicket experts, where has the tabpanel gone? I can't find it in the examples? But I remember, there was a tabpanel sometime ago. Stefan Lindner --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] tabPanel revisited
After a lot of investigation I found the tabPanel example in CVS but it seems that te example no longer works with wicket 1.1RC1. - Is there a working example of tabPanel? - Should tabPanel still work with wicket 1.1RC1? - Or is this former example going to be replaced with something else? There is still some confusion with a upper and lower case version of this example. Stefan Lindner --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] java.sql.Timestamp in form input fields
When I replace java.util.Date with java.sql.Timestamp in the wicket-example forminput, the dateProperty is no longer set. Does Wicket (1.1RC1) not support java.sql.Timestamp in input fields? And if this is true: how can I have an input field for date AND time without coding everythin on my own? Stefan Lindner --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Re: Character encoding problem
Dear Juergen, my problem is solved. The reason was that I have a link from a non-ISO88591-page to a ISO88591-page. Setting the response-encoding via getApplicationSettings().setResponseRequestEncoding(ISO-8859-1); has no immedaiate effetct. The encoding is permanently changed from UTF-8 to ISO-8859-1 but this helps only when I re-desply the IOS88591-page because now the the request encoding is also ISO88591. There seems to be a problem, when the encodeing is changed during 2 pages. I try to strip down the case to a few words: 1. page1.html has UTF-8 encoding and links to page2.html 2. page2.html contains some wickt markup an has ISO-8859-1 encoding. 3. page3.html has ISO-8859-1 encoding 4. Start from page1 and navigate to page2: ISO-characters are displayed wrong 5. Start from page3 and navigate to page2: ISO-characters are displayed correctly. Once again: my problem is solved now, I use the same ncoding for all files but maybe there is a problem with wicket's internal encoding handling. Stefan From: Juergen Donnerstag [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Character encoding problem Reply-To: wicket-user@lists.sourceforge.net Yes, something has changed compared to the wiki entry: The response (and request) encoding is no longer determined by the page's markup xml declaration (?xml..), it is now an appication setting set/getResponseRequestEncoding(). The reason why we changed it is described here http://www.crazysquirrel.com/computing/general/form-encoding=.jspx). But I have the impression that this is not your problem. I assume your markup (page as well as panels and borders etc.) contain a ?xml encoding=3D..? xml declaration? Wicket will use the encoding this information while reading (FileReader) the markup file. Thus, if the encoding is ISO-8859-1 your text editor should save the file in iso-8859-1 encoding. Similiar, if your encoding is UTF-8 you must make sure the file's content is realy saved utf-8 encoded. Usually only XML editors automatically read the ?xml? and save the file with the proper encoding. Most text editors (and IDEs) must be explicitly told which encoding to use (save as dialog, or file properties, ... that realy depends on the editor you are using) --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Creating Reusable Components
Thank you all for your quick answers to my Validatoin questions. Now a new one: Is there any guid or good example for creating reusable components? The Users's Guide is not complete for this topic. :-) My question is especially how to deal with the HTML-part of reusable components. Copy a piece of HTML into a page every time a component is used? Best Regards Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Validators
Hello all, two things about validators: 1. In ...17beta there was an Interface AbstractValidator() with the method public ValidationErrorMessage validate(FormComponent component) now the validate method does not return any value, it's a void method. How can I mark the component as invalid? 2. Now I use a preddfined validator. TextField.add(IntegerValidator.range(0, 100)); When the input in this text field is invalid an exception is thrown: wicket.WicketRuntimeException: Method public abstract void wicket.markup.html.form.IFormSubmitListener.onFormSubmitted() of interface IFormSubmitListener threw an exception at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.jav a:406) at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.jav a:424) at wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCyc le.java:333) at wicket.protocol.http.WebRequestCycle.onRender(WebRequestCycle.java:205) at wicket.RequestCycle.render(RequestCycle.java:436) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:163) at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:185) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) ... Beside this problems: I am new to Wicket but it seems to be the framework I was looking for For a long time. Great work! Keep on going! Regards Stefan Lindner -- Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen Tel.: (09131)691-230, FAX: (09131)691-111 E-Mail: mailto:[EMAIL PROTECTED], Internet: http://www.visionet.de --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Validators
Just one step forward to the solution: If you use a CustomValidator and bind it to an TextField (and perhaps other input fields) you MUST have a resource file with the name schemea name of your class associated with the form element.properties. The ressource file should contain the ressource name of your class associated with the form element starting with lower case letter.name of the TextField.name of the class ot the CustomValidator. In my case datenForm.text1.DatumsValidator. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user