How to render Enum values as RadioGroup and set default value
I have an User class with a gender field using a Gender-Enum: public class User implements DomainObjectLong { ... private Gender gender; I want to bind this gender field to a radiogroup (representing all enum values) in a registration form. This is what I did so far: code public enum Gender { MALE, FEMALE }; public class RegistrationEntryPanel extends Panel { private User user = new User(); public RegistrationEntryPanel(String id) { super(id); // default value user.setGender(Gender.MALE); CompoundPropertyModel userModel = new CompoundPropertyModel(user); final RadioGroupGender genderGroup = new RadioGroupGender( genderGroup, userModel.bind(gender)); Form form = new Form(form, userModel) { @Override protected void onSubmit() { System.out.println(USER: + user); } }; add(form); form.add(genderGroup); // gender Gender[] genderValues = Gender.values(); ListGender genders = Arrays.asList(genderValues); ListViewGender genderList = new ListViewGender(genderList, genders) { @Override protected void populateItem(ListItemGender item) { item.add(new RadioGender(radio, item.getModel())); item.add(new Label(label, getString(item.getModelObject() .toString(; } }; genderGroup.add(genderList); } } /code This works so far: I can select a radio button and the value in the user object is changed on submit. But as I have to use different models for the group and the listview, the default setting with user.setGender has no effect. How can I preselect the first radio button of the listview or better the dedicated MALE radio button? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Re: Re: RE: Rich Text Editors and Wicket
I did not use it (yet), but found this improvement requirement from the year 2007: [CMS-794] - Inline image-upload in editor should have a configurable maxFileSize So I assume the answer is: yes. Quoting wicketyan wicket...@gmail.com: thanks eichinger,Is this integration contains image uploading? 2010-06-02 wicketyan ralf.eichinger ? 2010-06-01 15:40:27 users ??? ??? Re: Re: RE: Rich Text Editors and Wicket have a look at the powerful xinha editor (http://www.xinha.org/). A Wicket integration can be found here: http://svn.hippocms.org/repos/hippo/hippo-ecm/trunk/addon/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Re: RE: Rich Text Editors and Wicket
have a look at the powerful xinha editor (http://www.xinha.org/). A Wicket integration can be found here: http://svn.hippocms.org/repos/hippo/hippo-ecm/trunk/addon/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Javascript template as linked header contribution?
Finally I made it working after finding this WIKI entry: https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html Just used it the same way for Javascript file. Igor: This very useful class should be integrated into Wicket core! (under org.apache.wicket.markup.html.resources) Am Montag, den 19.04.2010, 17:52 -0700 schrieb Igor Vaynberg: i meant you have to create the classes... -igor On Mon, Apr 19, 2010 at 4:10 PM, Ralf Eichinger ralf.eichin...@pixotec.de wrote: Am Montag, den 19.04.2010, 09:08 -0700 schrieb Igor Vaynberg: you will have to create a TextTemplateResource to serve such resources and a TextTemplateResourceReference to create urls for them. -igor as there are no TextTemplateResource and TextTemplateResourceReference classes in Wicket 1.4.7, I tried this: PackagedTextTemplate jsTemplate = new PackagedTextTemplate(this.getClass(), js/lightbox.js); TextTemplateSharedResourceFactory ttsr = new TextTemplateSharedResourceFactory(jsTemplate, this.getClass()); String webappContext = WebApplication.get().getServletContext() .getContextPath(); MapString, Object parameters = new HashMapString, Object(); parameters.put(webappContext, webappContext); TextTemplateLink ref = new TextTemplateLink(lightbox, ttsr, parameters); add(ref); and in panels html: wicket:head script wicket:id=lightbox src=# language=JavaScript/script /wicket:head this resulted in a rendered URL (that looks weired): script wicket:id=lightbox src=resources/LightBox2Panel/%2fnetcms language=JavaScript/script And this link returns a 404 error... So what's wrong? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
order of javascript sources
How can I ensure that lightbox JavaScriptReference (see below) is loaded after the two HeaderContributions (prototype and scriptaculous)? - Headercontributions: add(JavascriptPackageResource.getHeaderContribution(this.getClass(), js/prototype.js)); add(JavascriptPackageResource.getHeaderContribution(this.getClass(), js/scriptaculous.js?load=effects,builder)); - JavaScriptReference: add(new JavaScriptReference(lightbox, new TextTemplateResourceReference(this.getClass(), js/lightbox.js, text/javascript, new LoadableDetachableModelMapString, Object() {...}}))); and in HTML of this Panel: wicket:head script wicket:id=lightbox src=# language=JavaScript/script /wicket:head The result is always this order in the HTML: script wicket:id=lightbox src=resources/LightBox2Panel/js/lightbox.js language=JavaScript type=text/javascript/script script type=text/javascript src=resources/LightBox2Panel/js/prototype.js/script script type=text/javascript src=resources/LightBox2Panel/js/scriptaculous.js?load=effects,builder/script I already tried to load the HeaderContributions as JavaScriptReference, too, and defining the order in the Panel-HTML-template, but then I can not pass the URL-params to scriptaculous.js... Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Javascript template as linked header contribution?
Am Montag, den 19.04.2010, 09:08 -0700 schrieb Igor Vaynberg: you will have to create a TextTemplateResource to serve such resources and a TextTemplateResourceReference to create urls for them. -igor as there are no TextTemplateResource and TextTemplateResourceReference classes in Wicket 1.4.7, I tried this: PackagedTextTemplate jsTemplate = new PackagedTextTemplate(this.getClass(), js/lightbox.js); TextTemplateSharedResourceFactory ttsr = new TextTemplateSharedResourceFactory(jsTemplate, this.getClass()); String webappContext = WebApplication.get().getServletContext() .getContextPath(); MapString, Object parameters = new HashMapString, Object(); parameters.put(webappContext, webappContext); TextTemplateLink ref = new TextTemplateLink(lightbox, ttsr, parameters); add(ref); and in panels html: wicket:head script wicket:id=lightbox src=# language=JavaScript/script /wicket:head this resulted in a rendered URL (that looks weired): script wicket:id=lightbox src=resources/LightBox2Panel/%2fnetcms language=JavaScript/script And this link returns a 404 error... So what's wrong? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Javascript template as linked header contribution?
How to change add(JavascriptPackageResource.getHeaderContribution(this.getClass(), js/lightbox.js)); so that variables inside lightbox.js are replace on delivery? I tried something like this: PackagedTextTemplate jsTemplate = new PackagedTextTemplate(this .getClass(), js/lightbox.js); TextTemplateSharedResourceFactory resourceReference = new TextTemplateSharedResourceFactory(jsTemplate, this.getClass()); String webappContext = WebApplication.get().getServletContext() .getContextPath(); MapString, Object parameters = new HashMapString, Object(); parameters.put(webappContext, webappContext); TextTemplateLink ref = new TextTemplateLink(, resourceReference, parameters); ??? what to do with link ??? or when I try ... add(TextTemplateHeaderContributor.forJavaScript(jsTemplate, new Model((Serializable) parameters))); the content is rendered into head, what I do not want. I just want a header contribution to a parsed template like this: script type=text/javascript src=.../script Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Bugs in PropertiesFactory?
loading my own properties-file with PropertiesFactory (1.4.6) does not work: placed myfile.properties in com.mycompany.webapp (where also MyApplication.java resides) and wanted to load it in the init()-method of MyApplication with: PropertiesFactory propertiesFactory = new PropertiesFactory(this); Properties myProps = propertiesFactory.load(getClass(), myfile); Bug 1: PropertiesFactory.load(): /** * * @see org.apache.wicket.resource.PropertiesFactory.IPropertiesLoader#load(java.lang.Class, * java.lang.String) */ public Properties load(final Class? clazz, final String path) { String fullPath = path + getFileExtension(); produces: myfileproperties so should be corrected to: public Properties load(final Class? clazz, final String path) { String fullPath = path + . + getFileExtension(); Bug 2: seems that clazz is not taken into account... Is not searching in com.mycompany.webapp! Workaround: I placed the file in root of classpath... Should I create a JIRA entry or am I doing something wrong? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [whishlist] JS libraries
YUI library, especially DataGrid and SplitPanes... nino martinez wael wrote: Hi This is a whishlist for js that should be integrated with wicket but arent.. So please go ahead and whish, I just might do an integration if it's something I need aswell :) regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket Wiki: create attachments permission
I would like to ask some screenshots and descriptive images to my documentations in the wiki. Can anybody give me these permissions? (I think of some screenshots ot the liferay portal when started first. Then in the future screenshots of wicket widgets, to promote them better...) I swear that I will not misuse the permission! This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket Examples as portlets in Liferay
Hi, I try to get the wicket-examples-WAR running as portlets in Liferay according to my description here: http://cwiki.apache.org/confluence/display/WICKET/Wicket+Examples+as+portlets But after drag'n'drop e.g. the echo example portlet, it is not shown. When I look in the HTML-source of the portal page I see: div id=p_p_id_EchoApplication_WAR_wicketexamples_ class=portlet-boundary portlet-boundary_EchoApplication_WAR_wicketexamples_ a id=p_EchoApplication_WAR_wicketexamples/ script type=text/javascript 1/*![CDATA[*/Liferay.Portlet.onLoad({canEditTitle:true,columnPos:0,isStatic:no,namespacedId:p_p_id\u005f\u0045\u0063\u0068\u006f\u0041\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u005f\u0057\u0041\u0052\u005f\u0077\u0069\u0063\u006b\u0065\u0074\u0065\u0078\u0061\u006d\u0070\u006c\u0065\u0073\u005f,portletId:\u0045\u0063\u0068\u006f\u0041\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u005f\u0057\u0041\u0052\u005f\u0077\u0069\u0063\u006b\u0065\u0074\u0065\u0078\u0061\u006d\u0070\u006c\u0065\u0073});/*]]*/ /script /div So it seems added, but does not contain anything to show... What is wrong?
Wicket Examples as portlets in Liferay
Hi sending again, as I do not see it in user list...: Hi, I try to get the wicket-examples-WAR running as portlets in Liferay according to my description here: http://cwiki.apache.org/confluence/display/WICKET/Wicket+Examples+as+portlets But after drag'n'drop e.g. the echo example portlet, it is not shown. When I look in the HTML-source of the portal page I see: div id=p_p_id_EchoApplication_WAR_wicketexamples_ class=portlet-boundary portlet-boundary_EchoApplication_WAR_wicketexamples_ a id=p_EchoApplication_WAR_wicketexamples/ script type=text/javascript 1/*![CDATA[*/Liferay.Portlet.onLoad({canEditTitle:true,columnPos:0,isStatic:no,namespacedId:p_p_id\u005f\u0045\u0063\u0068\u006f\u0041\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u005f\u0057\u0041\u0052\u005f\u0077\u0069\u0063\u006b\u0065\u0074\u0065\u0078\u0061\u006d\u0070\u006c\u0065\u0073\u005f,portletId:\u0045\u0063\u0068\u006f\u0041\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u005f\u0057\u0041\u0052\u005f\u0077\u0069\u0063\u006b\u0065\u0074\u0065\u0078\u0061\u006d\u0070\u006c\u0065\u0073});/*]]*/ /script /div So it seems added, but does not contain anything to show... What is wrong?
Re: Fw: new to wicket
have a look at http://cwiki.apache.org/WICKET/newuserguide.html perhaps it helps... sharief Mohammed wrote: Hi, i am resending this message .i thought question would be missed since iam not subscribed to the list .since i sent the message for subscription i hope the subscription is complete now. this is first time i am trying to learn or trying to write code through the wicket.i know iam asking very basic question and i look stupid asking this question i went to http://wicket.apache.org/examplehelloworld.html i created a project in eclipse and added the 2 java and html file and web.xml and created a war ( placed wicket-1.4.3 as external library) and deployed in websphere it doesn't work. i did use the maven example even then it is more confusing for me with jetty i couldn't come to conculsion about the exact jar files used by jetty and one used by maven and jars exactly required for the simple hello world example to work. and one more observation in web.xml init-param param-nameapplicationClassName/param-name param-valueorg.apache.wicket.examples.helloworld.HelloWorldApplication/param-value /init-param no where earlier java files package name org.apache.wicket.examples is mentioned ---or --- do i need any other jar file needed for the example to run since iam getting --Start of DE processing-- = [10/25/09 23:39:58:425 EDT] , key = java.lang.ClassNotFoundException com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter 298 Exception = java.lang.ClassNotFoundException Source = com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter after i deployed the war into the websphere Thanks in advance for your help. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Open Source projects using Wicket
added it to http://cwiki.apache.org/confluence/display/WICKET/Websites+based+on+Wicket Quoting Pedro Santos pedros...@gmail.com: Nice site, it was deployed in development mode and has a nice performance :) On Fri, Oct 16, 2009 at 5:16 PM, Vytautas Racelis turi...@gmail.com wrote: Hi, i've been working with Wicket for a while. It is not my primary job, but i've implemented some ideas at http://www.xaloon.org/blog such as: * enhanced @MountPage annotation in order to generate sitemap.xml for google, dynamic menu with spring security * VirtualPageFactory - to mount panels as pages * other additional stuff Currently i am working on open source sports betting component: http://www.xaloon.org/blog/xaloon-sports-betting-open-source-sports-component-for-apache-wicket First release may be found at http://www.leenle.com Since it is my first email to this group this might sound like introduction of myself :) Dave B wrote: Hi, I'm in the process of evaluating Wicket (after an arduous JSF project, that has made us re-evaluate our web platform.) I've read Wicket in Action and whole bunch of blog and mailing list posts, done some proof-of-concept work and am now interested in reading source code from a project using Wicket, since I want to see Wicket in the wild. I know Artifactory uses Wicket, but their Subversion access instructions seem to be out of date. Does anyone know of an open source project using Wicket, so that I can peruse the source code? Many thanks, Dave -- Regards, Vytautas Racelis --- phone:+370-600-34389 e-mail: turi...@gmail.com www.xaloon.org www.leenle.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Pedro Henrique Oliveira dos Santos This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Open Source projects using Wicket
added mistletoe to http://cwiki.apache.org/confluence/display/WICKET/Related+Projects+and+Tools Quoting Ceki Gulcu c...@qos.ch: When I wrote: it is possible to create a web-application quickly and cleanly, I meant to say that was possible to create a web-application quickly and cleanly *with* *Wicket*. Ceki Gulcu wrote: I started working with Wicket just a week ago in order to develop a junit extension for integration testing called Mistletoe. See http://mistletoe.qos.ch for details. Mistletoe's design imposes a strict separation between the data-model layer and the presentation layer. I am mentioning this because after designing the data-later, I started writing the presentation layer using Wicket. It's was a very pleasant experience. Wicket just clicked in my mind. By the way, wicket encouraged me to re-design my data-model slightly and I am quite happy with the results. *After* the wicket implementation, I did a simpler implementation of the presentation later using servlets (without any .jsp files). Given the experience of the wicket-based implementation, the servlet-based version was pretty straightforward, thanks to wicket's component-based architecture. For small projects, I now know for certain that it is possible to create a web-application quickly and cleanly. I do not have experience with larger projects. Dave B wrote: Hi, I'm in the process of evaluating Wicket (after an arduous JSF project, that has made us re-evaluate our web platform.) I've read Wicket in Action and whole bunch of blog and mailing list posts, done some proof-of-concept work and am now interested in reading source code from a project using Wicket, since I want to see Wicket in the wild. I know Artifactory uses Wicket, but their Subversion access instructions seem to be out of date. Does anyone know of an open source project using Wicket, so that I can peruse the source code? Many thanks, Dave -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Open Source projects using Wicket
see here: http://cwiki.apache.org/WICKET/products-based-on-wicket.html Igor Vaynberg wrote: keeping that in mind, i wouldnt look at brix, most wicket-related code there has to do with plumbing and implementing a development model that is unlike wicket but works better for cmses. maybe look at http://www.jtrac.info/ , i think that uses wicket... -igor On Thu, Oct 15, 2009 at 4:40 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Beware - just like any other app, OS or not, you will find OS projects out there that will teach you all kind of wrong ways to use Wicket. I know of a couple because I tried to use them, thinking they would be easier to build on because they used Wicket. But they were so poorly written that it would be a bad place for someone new to the framework to start. http://code.google.com/p/brix-cms/ was written by some of the core committers, so the Wicket code in it will be good. Not sure how much of the code is actually Wicket specific, though. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 15, 2009 at 6:35 PM, Dave B d...@davebolton.net wrote: Hi, I'm in the process of evaluating Wicket (after an arduous JSF project, that has made us re-evaluate our web platform.) I've read Wicket in Action and whole bunch of blog and mailing list posts, done some proof-of-concept work and am now interested in reading source code from a project using Wicket, since I want to see Wicket in the wild. I know Artifactory uses Wicket, but their Subversion access instructions seem to be out of date. Does anyone know of an open source project using Wicket, so that I can peruse the source code? Many thanks, Dave - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Open source Wicket blog
added elephas blogging system to Wiki: http://cwiki.apache.org/confluence/display/WICKET/Products+based+on+Wicket Quoting danisevsky danisev...@gmail.com: It would be nice, I am very interested. BTW there is another great open-source blogging system - http://code.google.com/p/elephas/ 2009/10/14 Anton Veretennikov anton.veretenni...@gmail.com I'm interested. This will be definitely something desirable for many website builders. I want to assist in developing because I need such functionality in several sites. -- Tony On Wed, Oct 14, 2009 at 2:30 PM, Daniel Frisk dan...@jalbum.net wrote: Hi, we have developed a blog tool in Wicket for our website. I just wanted to see if there is any interest in having that as an open source project? The code would have to be adopted for general use and be untangled from some dependencies that we don't want to open source, so I just want to check if there is any interest before doing the initial work. Not promising anything so don't start haunting me, but let me know if you are interested. Check it out at: http://jalbum.net/blog // Daniel jalbum.net - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [WIKI] Websites based on Wicket page presentation
Hi guys, this is Ralf (being the reason for starting this discussion) ;-). Yes, I started to work on the Wiki, not only on the products page, but also adding how to start setting up a development environment. As Cemal said, there is a discussion about sort order in the list. I am ok with providing something sortable, but is it possible in the Confluence Wiki to add jQery and use it for a table? If so, would be very interested how to do this. Quoting Jeremy Thomerson jer...@wickettraining.com: I was thinking the same - just make it a table and use jQuery sortable plugin. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 13, 2009 at 9:42 PM, Jonathan Locke jonathan.lo...@gmail.comwrote: shouldn't it be one of igor's famous tables with the sort headers? then we wouldn't need to argue over how to order it. jWeekend wrote: I've been having some very brief communication with Ralf Eichinger who has been making a valuable contribution over the last few weeks by starting to improve documentation on the Wiki, especially with a view to help people evaluating Wicket get a fairer appreciation of it, who's using it and what they are doing with it. Now obviously it is extremely valuable for newcomers to have a page like our Websites based on Wicket [1] to get a feel for who's doing what with Wicket already. And, for apps built on Wicket, like Leg Up and all those other Wicket sites, it is nice to have a central place to put a link on that others may come across and therefore be aware it's out there, and enjoy visiting/using it. It's also encouraging to see this list of apps and sites grows, albeit steadily (I recommend anyone with a public Wicket app to mention it there, it can only do good for all concerned, AFAICS). All the same, there are increasingly more sophisticated and impressive sites highlighting the strength and depth of the community/developers and what magic can be weaved using Wicket (whilst developers amongst us also know that in Wicket such magic is possible at the same time as keeping your application design and code neat, tidy, maintainable and extensible and even rather pleasant to work with). One question that came up is whether the pages listed by URL there should be ordered alphabetically or chronologically. For me, chronological (newest at top, as had been the case originally) makes much more sense because when I look at the site, I can see how things have evolved, quickly identify what's new since I last looked and also answer questions like what were the first public Wicket sites listed here?. This is also a much more robust sorting scheme (people _like_ to add their shiny new apps/sites to the top of the list!) and with no arbitrary rules there's not such a likelihood of breaking the sort order every time anyone adds their site (eg should http://www.eropuit.nl go before or after fabulously40.com), as it was when I went in to add LegUp. Chronological ordering is a scheme that was always quite naturally maintained and therefore required no further maintenance to keep right. What's more, I don't see what the benefit of an artificial sort ordering like alphabetically ordered by URL would be in this context as I doubt anyone looking at the page is not familiar with Ctrl+F if they come looking for some specific page/site/URL. I doubt anyone else has ever been worried about this, but if anyone else has a view on it I'd be pleased to know about it and if there are some good reasons for alphabetically ordering too the list that I have missed I can stop messing up Ralf's order! Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/-WIKI--%22Websites-based-on-Wicket%22-page-presentation-tp25880274p25884516.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Separate Different Wicket Applications Into One
perhaps have a look on www.devproof.org. it is a portal like wicket application, which hosts different modules (JARs). Quoting Carlo Camerino carlo.camer...@gmail.com: Hi, I was wondering what are the most efficient ways to separate different applications into one application? We have this use case in which we need to integrate two different wicket applications and make them appear as if they are running in one platform only. I tried using portlets but it introduced a lot of coding complications. I tried running it using Jetspeed 2 and found out that several components are having problems. Most of the problem seems to come from the fact that we are using the indicatingajaxbutton. I have this issue in which I cannot easily transfer page from one page to another. I don't really know if portlets are the way to go because the applications by themselves are rich in functionality. I just need to be able to access them all in one page. I know that it seems to be some sort of portal but i think 'd have to take portlets out for the mean time due to the strict timeline and it's actually the first time we tried using portlets in our company. I'm thinking of using iframes for each application instead which will lead me to a grand total of three different applications running with only one entry point... Is this the proper way of doing it? My issue will be with regards to the httpsessions i'd have to have a total of three unlike in the portlets... My idea is I have a main application which serves as my entry point. In that application I lay out the available functionalities via menu links. When I click on a menu link, I will place redirect my iframe to point to that page enabling me to do that transaction? My main issue would be I think the httpsession expiry. If the user spends a lot of time using the application, the outside session could expire if the links outside are not clicked. What are other possible solutions that I could use for this one? As of now I could think of two ways using portlets and the other one using iframes.. As of now we are considering one application and just provide remoting for accessing business objects. Is there anyway of getting html coming from another application and showing it into my application? For example, i have three applications 1 ,2 and 3, 3 is my main application but I get the html coming from 1 and 2, without using iframes. Somewhat like WSRP (Web Service for Remote Porlets). Or i just need to get the servlet response from the third aplication/ I'm not sure if it's possible. Would appreciate your insights on this one.. Thanks Carlo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Open source Wicket blog - Open Source CMS with Wicket
Hi Erik, this was already on this list: http://cwiki.apache.org/confluence/display/WICKET/Products+based+on+Wicket As it is a product and not a tool... it is a project, but not one that is a extension to wicket... ok, I understand that everyone thinks different about the lists Quoting Erik Post eriksen...@gmail.com: I added this and a couple of other projects to the wiki, since it seems to come up all the time... http://cwiki.apache.org/confluence/display/WICKET/Related+Projects+and+Tools On Wed, Oct 14, 2009 at 5:01 PM, Jeremy Thomerson jer...@wickettraining.com wrote: http://code.google.com/p/brix-cms/ -- Jeremy Thomerson http://www.wickettraining.com On Wed, Oct 14, 2009 at 9:54 AM, Bernhard Grünewaldt bernh...@gruenewaldt.net wrote: Hello, It is very interesting to have a wicket blog, but for me even more interesting would be a cms based on wicket that integrates very smoothly into an existing wicket webapp. At the moment we use typo3 together with our java webapp. Would be nice to have a solution where everything is java and the same framework :) Is there such a thing? Bernhard Maarten Bosteels schrieb: I got some really cool ideas from the elephas code, but it seems the project has stalled a bit ? The last commit was 18 dec 2008 Maarten On Wed, Oct 14, 2009 at 2:30 PM, ralf.eichin...@pixotec.de wrote: added elephas blogging system to Wiki: http://cwiki.apache.org/confluence/display/WICKET/Products+based+on+Wicket Quoting danisevsky danisev...@gmail.com: It would be nice, I am very interested. BTW there is another great open-source blogging system - http://code.google.com/p/elephas/ 2009/10/14 Anton Veretennikov anton.veretenni...@gmail.com I'm interested. This will be definitely something desirable for many website builders. I want to assist in developing because I need such functionality in several sites. -- Tony On Wed, Oct 14, 2009 at 2:30 PM, Daniel Frisk dan...@jalbum.net wrote: Hi, we have developed a blog tool in Wicket for our website. I just wanted to see if there is any interest in having that as an open source project? The code would have to be adopted for general use and be untangled from some dependencies that we don't want to open source, so I just want to check if there is any interest before doing the initial work. Not promising anything so don't start haunting me, but let me know if you are interested. Check it out at: http://jalbum.net/blog // Daniel jalbum.net - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Integrating Separate Different Wicket Applications Into One
in my former company I implemented a framework that integrates different webapplications into one. I made a integration-application which takes a template with placeholders for the foreign parts, gets the contents from the different servers, parses all content (within 100 ms), changes every link, css, everything to target everything to the integration-application-framework, which handles every action/link, etc. It worked like a charme... Quoting Carlo Camerino carlo.camer...@gmail.com: thanks, will take a look... however, have you encountered instances in which you want to have distributed web applications and still be able to shared httpsession? The distributed web application however are different applications and are not of the same kind unlike that of clustering one function will go to this application server, another function will go to this application server. On Wed, Oct 14, 2009 at 11:28 PM, ralf.eichin...@pixotec.de wrote: perhaps have a look on www.devproof.org. it is a portal like wicket application, which hosts different modules (JARs). Quoting Carlo Camerino carlo.camer...@gmail.com: Hi, I was wondering what are the most efficient ways to separate different applications into one application? We have this use case in which we need to integrate two different wicket applications and make them appear as if they are running in one platform only. I tried using portlets but it introduced a lot of coding complications. I tried running it using Jetspeed 2 and found out that several components are having problems. Most of the problem seems to come from the fact that we are using the indicatingajaxbutton. I have this issue in which I cannot easily transfer page from one page to another. I don't really know if portlets are the way to go because the applications by themselves are rich in functionality. I just need to be able to access them all in one page. I know that it seems to be some sort of portal but i think 'd have to take portlets out for the mean time due to the strict timeline and it's actually the first time we tried using portlets in our company. I'm thinking of using iframes for each application instead which will lead me to a grand total of three different applications running with only one entry point... Is this the proper way of doing it? My issue will be with regards to the httpsessions i'd have to have a total of three unlike in the portlets... My idea is I have a main application which serves as my entry point. In that application I lay out the available functionalities via menu links. When I click on a menu link, I will place redirect my iframe to point to that page enabling me to do that transaction? My main issue would be I think the httpsession expiry. If the user spends a lot of time using the application, the outside session could expire if the links outside are not clicked. What are other possible solutions that I could use for this one? As of now I could think of two ways using portlets and the other one using iframes.. As of now we are considering one application and just provide remoting for accessing business objects. Is there anyway of getting html coming from another application and showing it into my application? For example, i have three applications 1 ,2 and 3, 3 is my main application but I get the html coming from 1 and 2, without using iframes. Somewhat like WSRP (Web Service for Remote Porlets). Or i just need to get the servlet response from the third aplication/ I'm not sure if it's possible. Would appreciate your insights on this one.. Thanks Carlo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [ANN] wicket-dnd project
Sven Meier wrote: I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket. http://code.google.com/p/wicket-dnd/ I added it to the Wicket Wiki: http://cwiki.apache.org/confluence/display/WICKET/Related+Projects - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: FYI: new wicket site
I added it to this Wiki page: http://cwiki.apache.org/confluence/display/WICKET/Sites+and+Products+based+on+Wicket Sites and Products based on Wicket -- View this message in context: http://www.nabble.com/FYI%3A-new-wicket-site-tp17226228p25612209.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Twenty Six Wicket Tricks
Hi Jonathan, Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates something that people typically want to do and in the process builds a reusable and educational component. I would prefer to see - Javascript component integration: especially YUI split, resizable pane containing a panel in each pane or another split pane. see: http://developer.yahoo.com/yui/examples/resize/grids_resize.html - inmethod grid usage or (better if basic YUI is already integrated): YUI datatable control http://developer.yahoo.com/yui/examples/datatable/dt_complex.html (resizabel columns, sorting, selection with cursors, ...!!!) Would be a great step for Wicket also to have that mighty components! -- View this message in context: http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24725019.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
YUI integration (and is BSD License compatible with Apache license)?
as I am looking for good wicket widgets I found the datatable and layouting widgets from YUI very pleasant. look this: http://developer.yahoo.com/yui/examples/layout/adv_layout_source.html !!! there is a yui-project at wicketstuff, but hardly to find, which repository path is the right one for trunk... https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/plbogen-yui-testing/? https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-contrib-yui/? https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-contrib-yui-1.3.5/? oh myabe it is this: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/ am I right? So my second question: Why not integrate YUI library completely into Wicket 1.4 (or following version) as dynamic widgets? I think BSD license would allow this to be used in an Apache licensed product (what wicket is)... Wicket needs really those widgets/layouting etc. to compete with JSF or the other bad guys!
button-tag submitting a form?
I try to submit a form using a button-tag (button type=button/button). deleteButton does not work: as SubmitLink (inside Form), as AjaxButton (inside/outside), as Button (inside)... (tried them all) (I want to use the html-button-tag because of having nice icon and text under icon...) HTML (AjaxButton should work even when outside form): button type=button wicket:id=deleteButtonimg src=images/btn-delete.pngbrDelete/button form wicket:id=inputForm ... /form Java: add(new AjaxButton(deleteButton, inputForm) { public void onSubmit(AjaxRequestTarget target, Form form) { System.out.println(success!!!); } }); There is never success!!! printed... ;-( HOW? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Eelco's wicket-contrib-navmenu revival? OR: Doing menus in Wicket...
under wicketstuff for 1.2 I found the little project wicket-contrib-navmenu. I started to update it for Wicket 1.4-rc2. Does this make sense or is there a better way to create hierarchy-like menues? Eelco? I know there is a TabbedPanel component. But I somehow feel strange to implement my whole application's pages as Panels... So what is the best way to create the navigation for a big application having an upper tab-navigation and a corresponding hierarchical tree-navigation on the left... Wicket in Action did not address proper menu creation... ;-) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Eelco's wicket-contrib-navmenu revival? OR: Doing menus in Wicket...
Martijn Dashorst wrote: Wicket in Action does discuss menus: see page 185 (index entry: menu), though not multilevel menus. You are right, the easy way is described... Martijn Dashorst wrote: Just take a look at YUI-menu or some jquery plugin for menus. The reason for not continuing the menu component is that there are enough alternatives available for rendering a menu. And most folks want their own styling, and a typical menu is nothing more than a couple of nested ul's with css. Yes, menus should be nothing else than ul/li/a-trees styled with CSS. But when I have a foldable menu, clicking a page link which results in a new page (without ajax...), how can I restore the last menu state folding and deactivating the active page's link? (without cookies) So is it the best to use wicket:link for the links (which takes care about deactivating the link to the actual page) thrown into a hierarchically ul/li/a-tree? That would leave the question open, how to unfold the tree to the level where the active link resides... -- View this message in context: http://www.nabble.com/Eelco%27s-wicket-contrib-navmenu-revival--OR%3A-Doing-menus-in-Wicket...-tp23441481p23442248.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Using widgets from itmill?
is it possible (or wanted) to use the fine widgets of www.itmill.com? there is the wicketstuff-dojo project. but itmill seems easier to integrate? and it is apache license, too. would it be worth to elaborate how to bring the two together? anyone started, yet?
Need rich-widgets: splitpane and lazy loading table (by scrolling)
I am looking for some rich wicket 1.4rc2 widgets. for a lazy loading table I found this one: http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.lazylist.LazyTableSample But I want it for wicket 1.4rc2 and with more features (sorting, column resizing, etc.) like here: http://demos.dojotoolkit.org/demos/mail/ also I was looking for a vertical/horizontal resizable splitpane (like in the above mail demo). Is there somewhere a solution? Somewhere here perhaps?: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/tags/wicketstuff-core-1.4-rc2/ Anybody can give me a hint for an actual (means working under 1.4rc2) splitpane and scrollable/lazy loading table? If there is no solution: which wicketstuff project should provide such widgets? (dojo, scriptacolous, prototype, ?)