Wicket stuff core, archetypes?
Hi I were thinking that it would be nice to have archetypes for single wicketstuff core project and one with a multi module (the stuff project and a example one), I guess it would provide event more structure.. WDYT? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
https/http using wicket + swarm + acegi
Hello all, I am developing an application and have successfully configured swarm + acegi. I was just wondering if anyone has any experience with this authentication/authorization scheme and can switch to/from https. What I would like is to go to the login page using https and back to http after a successful login. Any pointers on this one? Thanks, David
Re: Wicket stuff core, archetypes?
hi nino, have you seen jon's idea of automatic component , and/or wickethub.org thread? discussion went around providing to wicket component developers some sort of archetype that can help to 'standardize'/ 'give more structure' - also useful to perhaps crawl those artifacts (with metadata) and keep them up-to-date in a sort of registry. it would be good to join efforts. http://www.nabble.com/idea:-automatic-component-repo-to17979177.html http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html http://www.nabble.com/wickethub.org-td20995774.html i'd really like to really tackle this one, once i'm back from holidays in about 2 weeks. gonna tidy up a bit and open source that wickethub code. cheers, francisco On Sat, Dec 20, 2008 at 9:22 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: Hi I were thinking that it would be nice to have archetypes for single wicketstuff core project and one with a multi module (the stuff project and a example one), I guess it would provide event more structure.. WDYT? 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
Re: Formatting dates in Inmethod DataGrid
Many thanks! On Thu, Dec 18, 2008 at 7:54 PM, TahitianGabriel glan...@piti.pf wrote: public class DatePropertyColumn extends PropertyColumn { /** * @see com.inmethod.grid.column.PropertyColumn#getConverter(java.lang.Class) */ @Override protected IConverter getConverter(final Class? varType) { return new IConverter() { /** serialVersionUID. */ private static final long serialVersionUID = 1L; public Object convertToObject(final String varValue, final Locale varLocale) { return null; } public String convertToString(final Object varValue, final Locale varLocale) { Date date = (Date) varValue; return new SimpleDateFormat().format(date); } }; } } Jurek Piasek wrote: How does one format a date in the inmethod datagrid? Thanks, Jurek. -- View this message in context: http://www.nabble.com/Formatting-dates-in-Inmethod-DataGrid-tp20614026p21084007.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: Wicket stuff core, archetypes?
Ahh, no did'nt follow the thing that far, will read up on it now.. I'll be looking forward to see some stuff in a couple of weeks :) francisco treacy wrote: hi nino, have you seen jon's idea of automatic component , and/or wickethub.org thread? discussion went around providing to wicket component developers some sort of archetype that can help to 'standardize'/ 'give more structure' - also useful to perhaps crawl those artifacts (with metadata) and keep them up-to-date in a sort of registry. it would be good to join efforts. http://www.nabble.com/idea:-automatic-component-repo-to17979177.html http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html http://www.nabble.com/wickethub.org-td20995774.html i'd really like to really tackle this one, once i'm back from holidays in about 2 weeks. gonna tidy up a bit and open source that wickethub code. cheers, francisco On Sat, Dec 20, 2008 at 9:22 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: Hi I were thinking that it would be nice to have archetypes for single wicketstuff core project and one with a multi module (the stuff project and a example one), I guess it would provide event more structure.. WDYT? 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Dynamic Simple (html) Components
Hi, I've been using Wicket at home for quite a while. The company I work for has an old Swing application and we've been trying to figure out how to migrate it and make it web based. Even though I've been pitching in for Wicket since day one, the team lead decided to go with standard stack (jsf,facelets,richfaces,webflow2...ughh). Anyways, the thing is that this Swing app generates panels dynamically based on info that is retrieved from a back-end service. This data contains all about which components to add to the panel, validations, drop-down data, order, how they are grouped together, etc... Our team is having a hard time figuring out how to add this same behaviour with the technology stack THEY picked :-) So my question is...Can I create dynamic components with Wicket that have no assoicated html markup? This would allow me to make a service call and retrieve all the data I need to generate a page on the fly by iterating through all the data and creating instances of Wicket components dynamically. I know this functionality can be done more easily using Wicket, but have a problem with it. AFAIK Wicket always expects to have associated html markup for a simple html component (DropDownChoice for example), so I searched around the forums and found several solutions: 1. Wrap every single Wicket html component with a Panel. I think it's a little bit overkill no? 2. Use a RepeatingView and when I want to add a specific Wicket html component, override its onComponentTag() so that Wicket doesn't complain about the actual html tag being missing in the html markup. Like this: RepeatingView rv = new RepeatingView(dynamic); add(rv); for (int i = 0; i 5; i++) { rv.add(new Label(String.valueOf(i), label_ + i)); rv.add(new DropDownChoiceString(dropDown_ + i, categories) { @Override protected void onComponentTag(ComponentTag tag) { tag.setName(select); super.onComponentTag(tag); } }); } Would this be a good approach? I've done an extensive search in this forum but that's all I got. Does anybody have any other ideas? I would be so happy if we ended up using Wicket where I work and in order to do that it would definitely help if it were possible to generate these dynamic panels. I'm sure it would be easier that doing it with jsf, for sure! Thanks! -- View this message in context: http://www.nabble.com/Dynamic-Simple-%28html%29-Components-tp21108904p21108904.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: WicketTester and BrowserInfoPage
wicketTester.processRequestCycle(), if I understand your question correctly Sujit Arungundram wrote: I have setGatherExtendedBrowserInfo(true) and inside my main entry page, the Login Page, I read the clientInfo object. When I try to test the rendering of the login page using WicketTester, the last rendered page is BrowserInfoPage. Is there a way to tell WicketTester to automatically follow the redirect back to the LoginPage? Thanks. -- View this message in context: http://www.nabble.com/WicketTester-and-BrowserInfoPage-tp21097788p21110410.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
Is there any collapsible container ?
Is there any collapsible container? -- View this message in context: http://www.nabble.com/Is-there--any-collapsible-container---tp21112328p21112328.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
code for DataGrid with vertical scrolling
please point me for the code with data grid vertical scrolling component. -- View this message in context: http://www.nabble.com/code-for-DataGrid-with-vertical-scrolling-tp21112343p21112343.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: Dynamic Simple (html) Components
Hi Mito, Basically you are asking for Label. Label can generate anything you want. Look at the source of Label for inspiration if you need more customization.1 Also take a look at TextTemplate. There is also a FreeMarker version, I think its in wicketq-extra. Regards, Erik. mito wrote: So my question is...Can I create dynamic components with Wicket that have no assoicated html markup? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org