Re: [Wicket-user] How can I do URL mapping in wicket?
I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already. In fact, I need the uri mapping work with authorization scheme, is it not possible? And even I remove that AbstractPageAuthorizationStrategy, I still have this behaviour. On 12/19/06, Erik van Oosten [EMAIL PROTECTED] wrote: Perhaps you made Registration protected with some kind of authorization scheme? Erik. Carfield Yim schreef: I don't know why but I cannot get it to work, After I add the map, say mountBookmarkablePage(/signup, Registration.class); If I go to URL: http://192.168.1.79:8080/wicket/app/signup then wicket forward me to http://192.168.1.79:8080/wicket/app/signup?wicket:bookmarkablePage=:com.xxx.base.Logon And just show the login page instead of registration page -- Erik van Oosten http://www.day-to-day-stuff.blogspot.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 - 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] Directly map a bean to HTML form
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
Re: [Wicket-user] Directly map a bean to HTML form
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 - 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] wrung acquaintance
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 hypotheekrenteaftrek. CONTEST: Win Huge Prizes from We Are Marshall! He's the king, says his friend, sometime business partner and New York antique dealer Martin Lane. This visual, step by step guide to performing a clean installation of Windows XP will help you through every step of the way! The more an item penetrates the culture, the more applications it has and the more we rely on it, she says. Na bijna anderhalf uur was het aardoppervlak dusdanig afgekoeld dat het ook bleef liggen. But if things turn sour, look out. CONTEST: Win The Charlotte's Web Soundtrack! With the day light on economic news, a rash of merger news fueled activity. Changing a light bulb seems like such a small thing but when you add up all the energy-saving light bulbs being installed all over the country, we're making BIG changes. 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. Low-growing plants are preferred, but if using taller plants, pinch back their tips occasionally. liberally.gif Description: GIF image - 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
this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. but i made something similar for a project where i needed dynamic forms. wait i could even zip up the small sample i used to experiement this. just attach to any existing wicket project and use the sample bean On 12/19/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: 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 -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: 234 9 273 2 555 Mobile: +234 803 589 1780 Email: [EMAIL PROTECTED] Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.net/ dynamicform.rar Description: application/rar-compressed - 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] Why I recommended Wicket...
Indeed. One might say that Wicket is better than most other frameworks for the same reason that C++ is better than C, that Java is better than Pascal, or that Smalltalk is better than Basic. Wicket allows you to use inheritance to help re-use webpages. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sonnek Sent: Thursday, December 14, 2006 5:02 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Why I recommended Wicket... Other points of consideration is long term maintenance. A component oriented framework like Wicket encapsulates component functionality into a black box that can be used in many different contexts and still work as designed. The same effect is very difficult to achieve with custom tags (especially when they have external dependencies like javascript, etc). Well said. I think this is one of the best accomplishments of wicket. IMO, re-usable JSP tags are nearly impossible, while reusable wicket components are extremely quick and easy to use. - 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] Why I recommended Wicket...
Wicket is the framework that I've been looking for for a long time. The certain feature of wicket that made itself the fovorite of mine is it doesn't allow me (and anyone from my co-programmers) to put programming logic in the markup. A little wicket-specific tags, one wicket:id attribute and that's it. Page authors in my team is very happy because they don't have to learn and memorize gazillions of web framework tags anymore. All they have to concern about is html/css/javascript and their beloved Dreamweaver. And aside from this, they can preview the page that they are designing. And they don't have to be bothered anymore by programmers very often. IMO, this is the true separation of concerns between programmers and visual designers. Programmers have concern only about java code. They don't have to intervene frequently with the designer's markup (majority of programmers can't do visually appealing pages, in the first place). Likewise, designers have concern only about the html pages. They don't have to, or they hate to, see programming logic in the html markup. On 15/12/06, Ryan [EMAIL PROTECTED] wrote: A few months ago I wrote to the Wicket user list explaining that I was investigating view frameworks for a large enterprise project. This is a follow up to that post explaining why I recommended Wicket. It may be useful for other people who are going through the same decision process. First a bit about my background. I have been building java web applications for about 6 years. During this time I worked with custom jsp view frameworks, struts, spring mvc, and tapestry. I spent the last two years working very closely with Tapestry 3 (and a small amount with Tapestry 4) on several high throughput/high availability web applications for a large dot com. Assume for the rest of this email I am evaluating web frameworks for large projects that will be maintained and enhanced for the foreseeable future (choosing a view framework for a quick, small, one-off application is a very different discussion). --- I have read a considerable amount about the different view frameworks out there the past few months. While each have their merits I decided to focus on JSF (myfaces), Spring MVC, and Wicket for the purpose of doing a deeper examination and small prototype application. That does not mean that Seam, Rife, Trails, Tapestry, etc are not worth looking at but in my opinion the three I choose were the best of breed for their type. I quickly determined that myfaces was not for me. I liked its form handling and navigation support but I did not like all the javascript and extra markup that was inserted into every page without me asking for it. Spring in general is a great project and I can not speak highly enough about the products they produce. One very important contrast between Spring MVC and other frameworks (especially Wicket) is that Spring MVC is bare bones. It really is just a MVC framework. If you want infrastructure for ajax, redirect after post, poups, and other common webisms you will need to build them yourself with Spring MVC. This can be a good thing if you have unique requirements that should be custom built in the first place but for most projects this is not the case. Other points of consideration is long term maintenance. A component oriented framework like Wicket encapsulates component functionality into a black box that can be used in many different contexts and still work as designed. The same effect is very difficult to achieve with custom tags (especially when they have external dependencies like javascript, etc). The Benefits of Wicket: 1. All configuration is done in java. In my opinion this is a huge plus. This helps development as well as long term maintenance because there is one place to look for view logic. Frameworks like Tapestry or JSP that allow you to place configuration in any number of places which makes it difficult to track down the source of a bug. Using java also allows you to use refactoring tools which can be a big boost in productivity during development and makes it easier to verify what your changes may effect. 2. Well thought out support for common webisms (ajax, redirect after post, etc). Instead of spending development time figuring out how you are going to wire dwr or your own ajax framework Wicket provides a great foundation for building ajax enabled components. The redirect after post problem is something that every web application has to solve at one point or another and Wicket provides 3 very good solutions out of the box. 3. Strong community with active core members. The project looks very healthy and has a bright future ahead. 4. Powerful model abstraction. At first the Model abstraction doesn't look very impressive but in practice it is a very powerful design pattern that works well with the rest of the framework. Negatives of Wicket: 1. Session support. Many other web frameworks do not use sessions out of the box. Wicket uses the session
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
[Wicket-user] Custom AttributeModifier - Add attribute even when not pre-existing?
I wrote a custom AttributeModifier as below and it works great if there's an existing CSS class attached to a tag. Is there another method I could implement? c.add(new AttributeModifier(class, new Model(cls)) { private static final long serialVersionUID = 1L; protected String newValue(final String currentValue, final String replacementValue) { System.out.println(Current, New: + currentValue + , + replacementValue); return + replacementValue + + currentValue; } }); Cheers, -js - 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] Custom AttributeModifier - Add attribute even when not pre-existing?
Use SimpleAttributeModifier instead, or in the case of appending the value to your attribute, use AttributeAppender Martijn On 12/19/06, Jonathan Sharp [EMAIL PROTECTED] wrote: I wrote a custom AttributeModifier as below and it works great if there's an existing CSS class attached to a tag. Is there another method I could implement? c.add(new AttributeModifier(class, new Model(cls)) { private static final long serialVersionUID = 1L; protected String newValue(final String currentValue, final String replacementValue) { System.out.println(Current, New: + currentValue + , + replacementValue); return + replacementValue + + currentValue; } }); Cheers, -js - 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 -- Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now! http://wicketframework.org - 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
Stefan, you are absolutely right. I agree with you that to achive a production result you need to write a detailed html. But a BeanPanel would be very useful in the first project iterations or to make an application prototype. This could improve a lot a project startup time. - Paolo On 12/19/06, Stefan Lindner [EMAIL PROTECTED] wrote: 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
Thanks. igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950919 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
Re: [Wicket-user] How can I do URL mapping in wicket?
working fine over here, make sure your auth strategy really is skipping that class -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already. In fact, I need the uri mapping work with authorization scheme, is it not possible? Just wonder, is it really cannot be done? - 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 - 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
i have a bean panel, and what i do is put the label and the formcomponent/panel into a border. i have a factory method on the panel that lets users define their own borders so they can easily change the look and feel of the panel. -igor On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: the only thing that actually limits the feature is what has been mentioned. Styling the generated forms to taste. On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. but i made something similar for a project where i needed dynamic forms. wait i could even zip up the small sample i used to experiement this. just attach to any existing wicket project and use the sample bean On 12/19/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: 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 -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: 234 9 273 2 555 Mobile: +234 803 589 1780 Email: [EMAIL PROTECTED] Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.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 - 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 - 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 - 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
[Wicket-user] Can I hangle some html without WebMarkupContainer
HTML: a href=# id=mapFindLink wicket:id = mapFindLink img src=imgs/map_find.gif name=mapFind width=122 height=51 border=0/ /a Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class)); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class)); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
there is also this from a post yesterday that makes working with static imgs simpler class staticimage extends webcomponent { public staticimage(string id, imodel model) { super(id, model); } protected void oncomponenttag(tag) { checkcomponenttag(tag, img); tag.put(src, getModelObjectAsString()); } } -igor On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: where would you put the code that changes the src attr? -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class)); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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
the only thing that actually limits the feature is what has been mentioned. Styling the generated forms to taste. On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. but i made something similar for a project where i needed dynamic forms. wait i could even zip up the small sample i used to experiement this. just attach to any existing wicket project and use the sample bean On 12/19/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: 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 -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: 234 9 273 2 555 Mobile: +234 803 589 1780 Email: [EMAIL PROTECTED] Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.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 - 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 - 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 can I do URL mapping in wicket?
On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: I have, but in the AbstractPageAuthorizationStrategy, I have skip the registration.class already. In fact, I need the uri mapping work with authorization scheme, is it not possible? Just wonder, is it really cannot be done? - 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] Can I hangle some html without WebMarkupContainer
I don't quite understand how panel helps me here... I have nested tag and when I try to add(new BookmarkablePageLink(awicketid).add(new Image(imgwicketid))) I get WicketMessage: Unable to find component with id 'imgwicketid' in [MarkupContainer [Component id = awicketid ... what is wrong here, can you point it out ? How can I handle nested tags ? igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7951949 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
class bookmarkablepageimglink extends panel { public bookmarkablepageimglink(string id, class page, string image) { super(id); setrenderbodyonly(true); bookmarkablepagelink link=new bookmarkablepagelink(page); add(link); link.add(new staticimage(img, new model(image)); } } bookmarkablepageimglink.html wicket:panel a href=# wicket:id=linkimg wicket:id=img//a /wicket:panel then in your code add(new bookmarkablepageimglink(mylink, mypage.class, foo.gif)); and in html a href=# wicket:id=mylinkmy image link/a -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: I don't quite understand how panel helps me here... I have nested tag and when I try to add(new BookmarkablePageLink(awicketid).add(new Image(imgwicketid))) I get WicketMessage: Unable to find component with id 'imgwicketid' in [MarkupContainer [Component id = awicketid ... what is wrong here, can you point it out ? How can I handle nested tags ? igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7951949 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since a href=#img src=foo//a is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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] Can I hangle some html without WebMarkupContainer
Never would guessed myself too complex. Maybe it's because it's my first web framework experience :-) THANK YOU for running into my troubles. igor.vaynberg wrote: class bookmarkablepageimglink extends panel { public bookmarkablepageimglink(string id, class page, string image) { super(id); setrenderbodyonly(true); bookmarkablepagelink link=new bookmarkablepagelink(page); add(link); link.add(new staticimage(img, new model(image)); } } bookmarkablepageimglink.html wicket:panel # /wicket:panel then in your code add(new bookmarkablepageimglink(mylink, mypage.class, foo.gif)); and in html # my image link -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: I don't quite understand how panel helps me here... I have nested tag and when I try to add(new BookmarkablePageLink(awicketid).add(new Image(imgwicketid))) I get WicketMessage: Unable to find component with id 'imgwicketid' in [MarkupContainer [Component id = awicketid ... what is wrong here, can you point it out ? How can I handle nested tags ? igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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 -- View this message in context:
Re: [Wicket-user] Directly map a bean to HTML form
we dropped it from extensions because there was not enough interest in it and it was a pita to maintain. if there is interest now then you guys can feel free to start a wicket-stuff project, once it has evolved there to something useful we wouldnt mind readding it to extensions. -igor On 12/19/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: this is not so difficult to do on a base level in wicket...it just that i wished the wicket committers could work on a very robust infastructure for this because really we eventually get tired of typing textfields for each property in various beans. there used to be bean panel in wicket but suddenly they dropped it from the extensions. but i made something similar for a project where i needed dynamic forms. wait i could even zip up the small sample i used to experiement this. just attach to any existing wicket project and use the sample bean On 12/19/06, Paolo Di Tommaso [EMAIL PROTECTED] wrote: 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 -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: 234 9 273 2 555 Mobile: +234 803 589 1780 Email: [EMAIL PROTECTED] Web: www.dabarobjects.com Blog: blog.dabarobjects.com Participate, Collaborate, Innovate Join Community: http://www.cowblock.net/ Get A Free Blog: http://blogs.cowblock.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 - 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] Can I hangle some html without WebMarkupContainer
where would you put the code that changes the src attr? -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class)); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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] ListMultipleChoice selected List
could someone provide me with code to retrieve the selected options from a ListMultipleSelect. I tried looking at isSelected which is protected and not public for some reason and could not figure out what parameters it wanted.for the future public List ListMultipleChoice.getSelected(); would be a very useful addition - 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] Russian community
Are there russian/ukrainian speaking people here ? It would be great to form a community if such is not already somewhere there :-) -- View this message in context: http://www.nabble.com/Russian-community-tf2847957.html#a7953639 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
Re: [Wicket-user] Russian community
It's possible. Nobody knows what Igor is. :) On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: Are there russian/ukrainian speaking people here ? It would be great to form a community if such is not already somewhere there :-) -- View this message in context: http://www.nabble.com/Russian-community-tf2847957.html#a7953639 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 - 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] AjaxSubmitButton and not adding it to a Form
a button should be in a form (one of its parents) or a button should get the form through its constructor. So what goes wrong exactly? Can you have a small test case? johan On 12/18/06, ChuckDeal [EMAIL PROTECTED] wrote: It gets there fine, its this line: if (submit.getForm() == Form.this that is the problem. submit (which is the button) does not belong to a Form, it is supposed to contain a reference to a Form instead. SInce it can't find a Form object for the button it throws an exception throw new WicketRuntimeException(Could not find Form parent for + this); Thus killing the execution. To Igor: It didn't make a difference when I renamed (wicket:id) the button from submit to submitButton. Chuck Johan Compagner wrote: It should work AjaxSubmitButton is a IFormSubmittingComponent component so this code: IFormSubmittingComponent submit = (IFormSubmittingComponent)getPage().visitChildren( IFormSubmittingComponent.class, new IVisitor() { public Object component(final Component component) { // Get button final IFormSubmittingComponent submit = (IFormSubmittingComponent)component; // Check for button-name or button-name.xrequest string if (submit.getForm() == Form.this (getRequest().getParameter( submit.getInputName()) != null || getRequest() .getParameter(submit.getInputName() + .x) != null)) should find the ajax button no matter if it is in the page or not (this is 1.3 code but as far as i know this isn't really changed) Frank are you reading with us? I believe you worked on this. johan On 12/13/06, ChuckDeal [EMAIL PROTECTED] wrote: I have a Page that has a Form with some select boxes in it and, outside the Form, I have three buttons (submit[AjaxSubmitButton], reset[AjaxLink], cancel[AjaxLink]). In Wicket 1.2.3 (Actually, I have been using the latest 1.2-SNAPSHOT releases) The submit button works as advertised and submits the page. In 1.3-incubating-SNAPSHOT (latest as of 13DEC2006 7am EST), the page fails with the following exception: wicket.WicketRuntimeException: Could not find Form parent for [MarkupContainer [Component id = submit, page = com.csc.aims.issuetracker.wicket.TestSelectionPage, path = 0:submit.TestSelectionPage$7, isVisible = true, isVersioned = false]] at wicket.markup.html.form.FormComponent.getForm( FormComponent.java:409) at wicket.markup.html.form.Form$5.component(Form.java:633) at wicket.MarkupContainer.visitChildren(MarkupContainer.java :749) at wicket.markup.html.form.Form.findSubmittingButton(Form.java :624) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:333) at wicket.ajax.form.AjaxFormSubmitBehavior.onEvent( AjaxFormSubmitBehavior.java:87) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java :165) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest( AbstractDefaultAjaxBehavior.java:225) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents (BehaviorRequestTarget.java:98) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents( DefaultEventProcessorStrategy.java:64) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents (AbstractCompoundRequestCycleProcessor.java:56) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java :912) at wicket.RequestCycle.processEventsAndRespond( RequestCycle.java :950) at wicket.RequestCycle.step(RequestCycle.java:1026) at wicket.RequestCycle.steps(RequestCycle.java:1100) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java :243) at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java :122) After consulting the Migration Wiki Page (http://cwiki.apache.org/WICKET/migrate-13.html) it shows that both AjaxSubmitButton and AjaxSubmitLink have changed to extend Button. (Actually, I checked AjaxSubmitLink and it does NOT extend button...). But according to the javadoc for AjaxSubmitButton, since you pass a form to the constructor, you don't need to add the component to a Form object. In practice this was not true. Once I added the button to the form, it worked as advertised. I'm guessing the change was necessary as a result of the hierarchy change of AjaxSubmitButton, but maybe the Form arg is no longer needed since you must add it to the Form object? Chuck -- View this message in context: http://www.nabble.com/AjaxSubmitButton-and-not-adding-it-to-a-Form-tf2815470.html#a7857386 Sent from the Wicket - User mailing list archive at Nabble.com.
Re: [Wicket-user] ListMultipleChoice selected List
the selected options will be added to the model object (which is a collection) after the submit. -igor On 12/19/06, Scott Lusebrink [EMAIL PROTECTED] wrote: could someone provide me with code to retrieve the selected options from a ListMultipleSelect. I tried looking at isSelected which is protected and not public for some reason and could not figure out what parameters it wanted.for the future public List ListMultipleChoice.getSelected(); would be a very useful addition - 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 - 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] Russian community
until i was 12 i was a ukrainian, now im an american :) -igor On 12/19/06, Nick Heudecker [EMAIL PROTECTED] wrote: It's possible. Nobody knows what Igor is. :) On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: Are there russian/ukrainian speaking people here ? It would be great to form a community if such is not already somewhere there :-) -- View this message in context: http://www.nabble.com/Russian-community-tf2847957.html#a7953639 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 - 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 - 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] AjaxSubmitButton and not adding it to a Form
The AjaxSubmitButton specifically says that it does NOT have to be attached to a form; from the javadoc * A button that submits the form via ajax. Since this button takes the form as * a constructor argument it does not need to be added to it unlike the * [EMAIL PROTECTED] Button} component. However, in practice, this is not the case. I believe it is associated with the change (1.2-SNAPSHOT - 1.3-SNAPSHOT) to extend from Button. What goes wrong? The exception says something to the effect of Could not find Form parent for [the button component] (see the full stacktrace in my original message way down below); when debugging, it calls the getForm() method of my button which instead of returning the Form that was supplied to the Constructor, calls findParent() As for the test case, I'll see if I can put something together. Chuck Johan Compagner wrote: a button should be in a form (one of its parents) or a button should get the form through its constructor. So what goes wrong exactly? Can you have a small test case? johan On 12/18/06, ChuckDeal [EMAIL PROTECTED] wrote: It gets there fine, its this line: if (submit.getForm() == Form.this that is the problem. submit (which is the button) does not belong to a Form, it is supposed to contain a reference to a Form instead. SInce it can't find a Form object for the button it throws an exception throw new WicketRuntimeException(Could not find Form parent for + this); Thus killing the execution. To Igor: It didn't make a difference when I renamed (wicket:id) the button from submit to submitButton. Chuck Johan Compagner wrote: It should work AjaxSubmitButton is a IFormSubmittingComponent component so this code: IFormSubmittingComponent submit = (IFormSubmittingComponent)getPage().visitChildren( IFormSubmittingComponent.class, new IVisitor() { public Object component(final Component component) { // Get button final IFormSubmittingComponent submit = (IFormSubmittingComponent)component; // Check for button-name or button-name.xrequest string if (submit.getForm() == Form.this (getRequest().getParameter( submit.getInputName()) != null || getRequest() .getParameter(submit.getInputName() + .x) != null)) should find the ajax button no matter if it is in the page or not (this is 1.3 code but as far as i know this isn't really changed) Frank are you reading with us? I believe you worked on this. johan On 12/13/06, ChuckDeal [EMAIL PROTECTED] wrote: I have a Page that has a Form with some select boxes in it and, outside the Form, I have three buttons (submit[AjaxSubmitButton], reset[AjaxLink], cancel[AjaxLink]). In Wicket 1.2.3 (Actually, I have been using the latest 1.2-SNAPSHOT releases) The submit button works as advertised and submits the page. In 1.3-incubating-SNAPSHOT (latest as of 13DEC2006 7am EST), the page fails with the following exception: wicket.WicketRuntimeException: Could not find Form parent for [MarkupContainer [Component id = submit, page = com.csc.aims.issuetracker.wicket.TestSelectionPage, path = 0:submit.TestSelectionPage$7, isVisible = true, isVersioned = false]] at wicket.markup.html.form.FormComponent.getForm( FormComponent.java:409) at wicket.markup.html.form.Form$5.component(Form.java:633) at wicket.MarkupContainer.visitChildren(MarkupContainer.java :749) at wicket.markup.html.form.Form.findSubmittingButton(Form.java :624) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:333) at wicket.ajax.form.AjaxFormSubmitBehavior.onEvent( AjaxFormSubmitBehavior.java:87) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java :165) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest( AbstractDefaultAjaxBehavior.java:225) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents (BehaviorRequestTarget.java:98) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents( DefaultEventProcessorStrategy.java:64) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents (AbstractCompoundRequestCycleProcessor.java:56) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java :912) at wicket.RequestCycle.processEventsAndRespond( RequestCycle.java :950) at wicket.RequestCycle.step(RequestCycle.java:1026) at wicket.RequestCycle.steps(RequestCycle.java:1100) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java :243) at
Re: [Wicket-user] Russian community
On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: now im an american :) that is still to be seen ofcourse. johan - 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] Russian community
i have a passport that says so :) -igor On 12/19/06, Johan Compagner [EMAIL PROTECTED] wrote: On 12/19/06, Igor Vaynberg [EMAIL PROTECTED] wrote: now im an american :) that is still to be seen ofcourse. johan - 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 - 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] Can I hangle some html without WebMarkupContainer
Panel is too complicated for my needs. Used this: BookmarkablePageLink bpLink= new BookmarkablePageLink(wicketbpLinkidhere, MyCustomClassHere.class); add(bpLink); bpLink.add(new WebComponent(wicketimgidhere) { protected void onComponentTag(ComponentTag componentTag) { checkComponentTag(componentTag, img); is it excessive here ? componentTag.put(src, mycustomresourcefolderintherootofwebapp/myimage.gif); } }); igor.vaynberg wrote: class bookmarkablepageimglink extends panel { public bookmarkablepageimglink(string id, class page, string image) { super(id); setrenderbodyonly(true); bookmarkablepagelink link=new bookmarkablepagelink(page); add(link); link.add(new staticimage(img, new model(image)); } } bookmarkablepageimglink.html wicket:panel # /wicket:panel then in your code add(new bookmarkablepageimglink(mylink, mypage.class, foo.gif)); and in html # my image link -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: I don't quite understand how panel helps me here... I have nested tag and when I try to add(new BookmarkablePageLink(awicketid).add(new Image(imgwicketid))) I get WicketMessage: Unable to find component with id 'imgwicketid' in [MarkupContainer [Component id = awicketid ... what is wrong here, can you point it out ? How can I handle nested tags ? igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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 - 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
Re: [Wicket-user] Can I hangle some html without WebMarkupContainer
the idea with the panel was that you dont have to repeat the code below for every time you have a bookmarkable page link with an img inside :) -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: Panel is too complicated for my needs. Used this: BookmarkablePageLink bpLink= new BookmarkablePageLink(wicketbpLinkidhere, MyCustomClassHere.class); add(bpLink); bpLink.add(new WebComponent(wicketimgidhere) { protected void onComponentTag(ComponentTag componentTag) { checkComponentTag(componentTag, img); is it excessive here ? componentTag.put(src, mycustomresourcefolderintherootofwebapp/myimage.gif); } }); igor.vaynberg wrote: class bookmarkablepageimglink extends panel { public bookmarkablepageimglink(string id, class page, string image) { super(id); setrenderbodyonly(true); bookmarkablepagelink link=new bookmarkablepagelink(page); add(link); link.add(new staticimage(img, new model(image)); } } bookmarkablepageimglink.html wicket:panel # /wicket:panel then in your code add(new bookmarkablepageimglink(mylink, mypage.class, foo.gif)); and in html # my image link -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: I don't quite understand how panel helps me here... I have nested tag and when I try to add(new BookmarkablePageLink(awicketid).add(new Image(imgwicketid))) I get WicketMessage: Unable to find component with id 'imgwicketid' in [MarkupContainer [Component id = awicketid ... what is wrong here, can you point it out ? How can I handle nested tags ? igor.vaynberg wrote: noep, this is not how component oriented frameworks work. in wicket a component is attached to a markup tag. since # foo is two tags then you need two components however, the nice thing about component oriented frameworks is that you can composite components so you can make a panel that houses a bookmarkablepagelink and an img component, and then its use within your code would be like what you described -igor On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: igor.vaynberg wrote: where would you put the code that changes the src attr? -igor it is my question :-) I thought of something like: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class).componentInternals(img tag full string here)); On 12/19/06, Konstantin [EMAIL PROTECTED] wrote: HTML: # imgs/map_find.gif Code: add(new BookmarkablePageLink(mapFindLink, MapFindPage.class )); Now I need to change src of img. Can I do that without boring WebMarkupContainer and add(new Image().add(new SimpleAttributeModifier()) in constructor of that ? Wicket 1.2. -- View this message in context: http://www.nabble.com/Can-I-hangle-some-html-without-WebMarkupContainer-tf2846969.html#a7950328 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 - 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 -- View this message in context: http://www.nabble.com/Can-I-handle-some-html-without-WebMarkupContainer-tf2846969.html#a7950433 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
Re: [Wicket-user] How can I do URL mapping in wicket?
On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: working fine over here, make sure your auth strategy really is skipping that class The strangle thing is that even if I remove the auth. logic, It still forward to http://192.168.1.79:8080/wicket/app/signup?wicket:bookmarkablePage=:com.xxx.base.Logon Any possible reason of this? Do I need to have any setup of using mountBookmarkablePage? The way I use it is just one line of code mountBookmarkablePage(/signup, Registration.class); Do I need to do anything else? - 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 can I do URL mapping in wicket?
no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? -igor On 12/19/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: working fine over here, make sure your auth strategy really is skipping that class The strangle thing is that even if I remove the auth. logic, It still forward to http://192.168.1.79:8080/wicket/app/signup?wicket:bookmarkablePage=:com.xxx.base.Logon Any possible reason of this? Do I need to have any setup of using mountBookmarkablePage? The way I use it is just one line of code mountBookmarkablePage(/signup, Registration.class); Do I need to do anything else? - 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 - 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 can I do URL mapping in wicket?
On 12/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no, you shouldnt, its really funny that it forwards to your logon page, is that your homepage? No, my homepage is other class. And eventually I found the solution, If I do mountBookmarkablePage(/signup, Registration.class); Then it forward to login page, but mountBookmarkablePage(/signup/, Registration.class); Then it work as expected... I guess wicket is looking for a url directory like http://localhost:8080/wicket/app/signup/ ?? - 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