Re: Tools for Managing a Wicket Project
We use Aptana plugin for eclipse as html editor. If you dont install the full suit its free. //Swanthe Eduardo Nunes wrote: I have just one problem with eclipse, I can't use the HTML formatter, that's very sucks. I tried tidy but it didn't work too. What do you use guys to format html code? On Mon, May 18, 2009 at 2:06 PM, Dane Laverty wrote: I just wanted to thank Jeremy, Scott, and Linda for recommending Effective Java. I read through the book this week. It's wonderful -- accessible and useful. Now I'm in the process of refactoring my project to start applying the concepts. On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino wrote: we used to be bugzilla, mediawiki, continuum statck.we moved to Trac. It was simply amazing with all those plugins. Code Review WIth Trac Is Good. Review Board is also good software but it doesn't suit our programming needs. On Fri, May 1, 2009 at 11:38 PM, Matt Welch wrote: Tools that our team is using (after some trial and error): IDE - Eclipse/IDEA Source Control - SVN Build - Maven Local Network Maven Repo - Nexus (after a year trying different ones) Build Server - TeamCity, which absolutely rocks (We actually purchased and used Bamboo for 9 months. I can't believe it comes from the same company as JIRA. Bamboo was terrible.) Story Mgmt/Defects - Rally (hosted commercial app for agile projects; not bad, but not fantastic either) Code Review - Code Collaborator (again not bad and I'd rather have it than nothing at all, but could be better) Our QA team has used various testing tools from expensive commercial tools like Mercury (now HP) Quality Center to Selenium. They use Rally for defect management. My highest recommendations are for TeamCity, Nexus, and SVN. -Matt -- View this message in context: http://www.nabble.com/Tools-for-Managing-a-Wicket-Project-tp23299396p23334970.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: London Wicket Event - 3rd June @ Google (2 years on)
Will the event be taped and made available onle? Kind regards: al_shopov - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: How to validate unique constraint?
Hibernate Validator is useful for bean validations but it has nothing to do with unique constraint for which you should consult database unless you cache all the instances. I would like to provide user with an early warning that the data it fills in is not unique but I haven't found solution out of the box that uses entity annotations, especially UniqueContraint. Dorothée Giernoth wrote: > > > > I would find this very useful! So a contribution to wicket-stuff would be > awesome. Thnx. > > - dg > > -Ursprüngliche Nachricht- > Von: Clint Popetz [mailto:cl...@42lines.net] > Gesendet: Dienstag, 19. Mai 2009 13:49 > An: users@wicket.apache.org > Betreff: Re: How to validate unique constraint? > > It's relatively straightforward to use the hibernate validator api to > apply JPA constraints: > > import org.hibernate.validator.*; > InvalidValue[] invalidValues = new > ClassValidator(MyModel.class).getInvalidValues(instanceOfMyModel); > > This can also be done per-property; see the javadocs. > > I've done this locally; if folks would find it useful I'll contribute > it to wicketstuff. > > -Clint > > On Tue, May 19, 2009 at 2:15 AM, Christian Helmbold > wrote: >> >> How can I validate a unique constraint with Wicket? Because only the >> value of an input field is passed to onValidate(IValidatable >> validatable), there is no chance to check if this value belongs to a >> specific object to update or if it would violate a unique constraint when >> creating a new object. onValidate would need another paremeter for the >> related object. >> >> I see two possibilities: >> >> a) Use a form validator and get the related model object from the form. >> >> b) Pass the related object to the constructor of the Validator. I'm not >> sure, if the validator would be recreated any time the model object >> changes. >> >> I would prefer a validator tied to the field and not to the form, because >> that would be more intuitive. >> >> Another idea is to use existing JPA annotations. @Column(unique=true) is >> already there but not used for validation (outside the database). Perhaps >> there is a way to use this annotation. I really like the domain level >> validation of Grails: >> http://grails.org/doc/1.1/guide/7.%20Validation.html >> >> How would you validate a unique constraint with wicket? >> >> Thanks in advance >> Christian >> >> >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > > -- > Clint Popetz > http://42lines.net > Scalable Web Application Development > > - > 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 > > > -- View this message in context: http://www.nabble.com/How-to-validate-unique-constraint--tp23610946p23629304.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: Adding Javascript using Wicket onto a page that is not the header
setEscapeModelStrings(false) on your label -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 19, 2009 at 8:57 PM, Patrick Fong wrote: > Hi > > I want to add Javascript which loads Javascript client side variables when a > page loads. It would call a Javascript function and pass in server-side > values. > > Typically to add HTML text I would do a add(new Label(id, "Blah")); > > However, I want to add a Javascript function that would be enclosed in >
Adding Javascript using Wicket onto a page that is not the header
Hi I want to add Javascript which loads Javascript client side variables when a page loads. It would call a Javascript function and pass in server-side values. Typically to add HTML text I would do a add(new Label(id, "Blah")); However, I want to add a Javascript function that would be enclosed in
Selenium + Wicket.
Hi all, I've set up setOutputComponentPath(true) in init method my app's. But I don't know how to instruct Selenium to look for wicket:path attributes. How can I instruct Selenium to look for wicket:path? Thanks in advance Fernando Wermus. www.linkedin.com/in/fernandowermus
ModalDialog in a SubmitLink
Hello I'm trying to submit a form with an AjaxSubmitLink which is in a modalwindow. I have to get a confirmation from the user during the submit process which controll the submit. I need suggestions on how I could realize the modaldialog for the user in the submitLink and how i could interrupt the submitLink to wait for the users choice. thanks Werner - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Can't find Wicket ajax resources
Thank you. That was the cause of my problem. I think the //* got into our url mapping because we had a resources dir in our project, and the resources in it were not being found. So to fix the problem I have renamed our resources dir to uLandingResources and changed the url mapping from //* to /*. It seems like it would be a good idea if Wicket could use some other less common name for its own resources use. Thanks again. Mark Sloan SRI International, San Luis Obispo Office 805-542-9330 x107 mark.sl...@sri.com On May 19, 2009, at 9:49 AM, Jeremy Thomerson wrote: At a glance it looks right, with the exception that your "/" is doubled up in the mapping. I don't think this would create your issue, but you should fix it and try again. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 19, 2009 at 11:47 AM, Mark Sloan wrote: Here is the Wicket portion of the my web.xml ULandingWicketApp org.apache.wicket.protocol.http.WicketFilter applicationClassName com.sri.uLanding.ULandingWicketApp ULandingWicketApp //* Mark Sloan SRI International, San Luis Obispo Office 805-542-9330 x107 mark.sl...@sri.com On May 18, 2009, at 6:33 PM, Jeremy Thomerson wrote: What's your web.xml mapping? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 18, 2009 at 6:41 PM, Mark Sloan wrote: I am trying to do some basic Ajax in Wicket (1.4rc4) I have the following code fragment: TextField loginField = new TextField("login", new PropertyModel(this, "login")); loginField.add(new AjaxFormComponentUpdatingBehavior("onblur") { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { // doUpdate } }); } It produces the follwing: [WARN] 404 - GET /resources/org.apache.wicket.ajax.WicketAjaxReference/wicket- ajax.js;jsessionid=l0s7hr4i8tev WARN] 404 - GET /resources/org.apache.wicket.markup.html.WicketEventReference/ wicket-event.js;jsessionid=l0s7hr4i8tev [WARN] 404 - GET /resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/ wicket-ajax-debug.js;jsessionid=l0s7hr4i8tev What am I doing wrong here? Mark Sloan SRI International, San Luis Obispo Office 805-542-9330 x107 mark.sl...@sri.com - 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 smime.p7s Description: S/MIME cryptographic signature
Re: Can't find Wicket ajax resources
At a glance it looks right, with the exception that your "/" is doubled up in the mapping. I don't think this would create your issue, but you should fix it and try again. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 19, 2009 at 11:47 AM, Mark Sloan wrote: > Here is the Wicket portion of the my web.xml > > > ULandingWicketApp > > > org.apache.wicket.protocol.http.WicketFilter > > > > > > > applicationClassName > > > com.sri.uLanding.ULandingWicketApp > > > > > > > > > ULandingWicketApp > > > //* > > > > Mark Sloan > SRI International, San Luis Obispo Office > 805-542-9330 x107 > mark.sl...@sri.com > > > On May 18, 2009, at 6:33 PM, Jeremy Thomerson wrote: > > What's your web.xml mapping? > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Mon, May 18, 2009 at 6:41 PM, Mark Sloan wrote: > > I am trying to do some basic Ajax in Wicket (1.4rc4) > > I have the following code fragment: > > TextField loginField = new TextField("login", > > new PropertyModel(this, "login")); > > loginField.add(new AjaxFormComponentUpdatingBehavior("onblur") { > > private static final long serialVersionUID = 1L; > > @Override > > protected void onUpdate(AjaxRequestTarget target) { > > // doUpdate > > } > > }); > > } > > It produces the follwing: > > [WARN] 404 - GET > > /resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js;jsessionid=l0s7hr4i8tev > > WARN] 404 - GET > > /resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=l0s7hr4i8tev > > [WARN] 404 - GET > > /resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js;jsessionid=l0s7hr4i8tev > > What am I doing wrong here? > > Mark Sloan > > SRI International, San Luis Obispo Office > > 805-542-9330 x107 > > mark.sl...@sri.com > > > > > - > 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: Can't find Wicket ajax resources
Here is the Wicket portion of the my web.xml ULandingWicketApp org.apache.wicket.protocol.http.WicketFilter applicationClassName com.sri.uLanding.ULandingWicketApp ULandingWicketApp //* Mark Sloan SRI International, San Luis Obispo Office 805-542-9330 x107 mark.sl...@sri.com On May 18, 2009, at 6:33 PM, Jeremy Thomerson wrote: What's your web.xml mapping? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 18, 2009 at 6:41 PM, Mark Sloan wrote: I am trying to do some basic Ajax in Wicket (1.4rc4) I have the following code fragment: TextField loginField = new TextField("login", new PropertyModel(this, "login")); loginField.add(new AjaxFormComponentUpdatingBehavior("onblur") { private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { // doUpdate } }); } It produces the follwing: [WARN] 404 - GET /resources/org.apache.wicket.ajax.WicketAjaxReference/wicket- ajax.js;jsessionid=l0s7hr4i8tev WARN] 404 - GET /resources/org.apache.wicket.markup.html.WicketEventReference/ wicket-event.js;jsessionid=l0s7hr4i8tev [WARN] 404 - GET /resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/ wicket-ajax-debug.js;jsessionid=l0s7hr4i8tev What am I doing wrong here? Mark Sloan SRI International, San Luis Obispo Office 805-542-9330 x107 mark.sl...@sri.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org smime.p7s Description: S/MIME cryptographic signature
Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)
Hi Berry, can you post some code to help me? The tutorial on http://cwiki.apache.org/WICKET/servlet-container-authentication.html doesn't work to me. I receive an error on j_security_check redirection about "resource not found" (or similar). Thank you alf Barry van Someren-5 wrote: > > I've decided to try the integration > as listed in the Wiki and use container authentication for now. For > now it seems to work... > -- View this message in context: http://www.nabble.com/Wicket-auth-roles-%2B-EJB-3-%28Authentication-and-Authorization%29-tp22649841p23619776.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
Why I'm getting an empty list?
Hey, This problem is really driving me crazy. I have this panel that I want to set it as the content of a ModalWindow. + public abstract class GroupsPalettePanel extends BasePanel { private ArrayList selectedGroups = new ArrayList(); public GroupsPalettePanel(String id) { super(id); setOutputMarkupId(true); ChoiceRenderer renderer = new ChoiceRenderer("name", "name"); final Palette groupsPalette = new Palette("groupsPalette", new Model(new ArrayList()), new GroupsModel(user), renderer, 15, false); AjaxLink add = new AjaxLink("add") { @Override @SuppressWarnings("unchecked") public void onClick(AjaxRequestTarget target) { Iterator it = groupsPalette.getSelectedChoices(); while (it.hasNext()) selectedGroups.add(it.next()); onOk(target); } }; add(groupsPalette); add(add); } public abstract void onOk(AjaxRequestTarget target); @SuppressWarnings("unchecked") public List getSelectedGroups() { return selectedGroups; } } + And here is the father panel: + final ModalWindow groupsModal = new ModalWindow("groupsModal"); final GroupsPalettePanel groupsPanel = new GroupsPalettePanel(groupsModal.getContentId()) { @Override public void onOk(AjaxRequestTarget target) { System.out.println("Selected Groups: " + getSelectedGroups()); groupsModal.close(target); } }; + The problem is when I select a group and click on the add button, the console shows that the selected choices are an empty list. Any ideas why I'm getting this behavior? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
File retrieval vulnerabilities, bugs #1992, #1996
Hi, I just ported the patch fixing #1992 and #1996 back to Wicket 1.3.6. Unfortunately there is still a different issue which may or may not be related to these two. If, for instance, you open the hello world example app and append the string "resources/org.apache.wicket.AbortException/Application_ru.xml" to the URL, you will get the .xml file from the wicket jar file. This problem has obviously not been fixed by the above patch, I can still reproduce it if I build wicket 1.4 from the SVN and load the examples war file. Is there a bug filed for this problem (I find it difficult to construct the right search term for this)? Or, even better, is there already a patch for it available? Also, as the patch for #1992/#1996 has not yet been integrated into wicket 1.3.x, is there any interest in the backport or is it not needed / does it not make sense in wicket 1.3? Cheers, Martin -- --- / http://herbert.the-little-red-haired-girl.org / - =+= Ed, the greatest WYGIWYG editor of all. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: How to validate unique constraint?
I would find this very useful! So a contribution to wicket-stuff would be awesome. Thnx. - dg -Ursprüngliche Nachricht- Von: Clint Popetz [mailto:cl...@42lines.net] Gesendet: Dienstag, 19. Mai 2009 13:49 An: users@wicket.apache.org Betreff: Re: How to validate unique constraint? It's relatively straightforward to use the hibernate validator api to apply JPA constraints: import org.hibernate.validator.*; InvalidValue[] invalidValues = new ClassValidator(MyModel.class).getInvalidValues(instanceOfMyModel); This can also be done per-property; see the javadocs. I've done this locally; if folks would find it useful I'll contribute it to wicketstuff. -Clint On Tue, May 19, 2009 at 2:15 AM, Christian Helmbold wrote: > > How can I validate a unique constraint with Wicket? Because only the value of > an input field is passed to onValidate(IValidatable validatable), there is no > chance to check if this value belongs to a specific object to update or if it > would violate a unique constraint when creating a new object. onValidate > would need another paremeter for the related object. > > I see two possibilities: > > a) Use a form validator and get the related model object from the form. > > b) Pass the related object to the constructor of the Validator. I'm not sure, > if the validator would be recreated any time the model object changes. > > I would prefer a validator tied to the field and not to the form, because > that would be more intuitive. > > Another idea is to use existing JPA annotations. @Column(unique=true) is > already there but not used for validation (outside the database). Perhaps > there is a way to use this annotation. I really like the domain level > validation of Grails: http://grails.org/doc/1.1/guide/7.%20Validation.html > > How would you validate a unique constraint with wicket? > > Thanks in advance > Christian > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Clint Popetz http://42lines.net Scalable Web Application Development - 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: How to validate unique constraint?
It's relatively straightforward to use the hibernate validator api to apply JPA constraints: import org.hibernate.validator.*; InvalidValue[] invalidValues = new ClassValidator(MyModel.class).getInvalidValues(instanceOfMyModel); This can also be done per-property; see the javadocs. I've done this locally; if folks would find it useful I'll contribute it to wicketstuff. -Clint On Tue, May 19, 2009 at 2:15 AM, Christian Helmbold wrote: > > How can I validate a unique constraint with Wicket? Because only the value of > an input field is passed to onValidate(IValidatable validatable), there is no > chance to check if this value belongs to a specific object to update or if it > would violate a unique constraint when creating a new object. onValidate > would need another paremeter for the related object. > > I see two possibilities: > > a) Use a form validator and get the related model object from the form. > > b) Pass the related object to the constructor of the Validator. I'm not sure, > if the validator would be recreated any time the model object changes. > > I would prefer a validator tied to the field and not to the form, because > that would be more intuitive. > > Another idea is to use existing JPA annotations. @Column(unique=true) is > already there but not used for validation (outside the database). Perhaps > there is a way to use this annotation. I really like the domain level > validation of Grails: http://grails.org/doc/1.1/guide/7.%20Validation.html > > How would you validate a unique constraint with wicket? > > Thanks in advance > Christian > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Clint Popetz http://42lines.net Scalable Web Application Development - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AutoComplete results disappear when using scrollbar in IE
Hi list, I am using Wicket's AutoCompleteTextField in my application, and the result list that is shown to the user by the autocomplete can be quite long in some situations, so that it does not fit into the browser window anymore, and the complete result list is only visible by scrolling down in the browser window. The problem with IE is now, if users try to use the browser's scrollbar to get to the end of the result list, the list immediately disappears. It looks like the click on the scrollbar in IE fires an onblur event, which hides the autocomplete's result list. As a result of this, the autocomplete can only be used in IE by scrolling down the page with the mouse's scroll wheel, but IE users without a mouse are in trouble... Funny thing is that this only happens if I use a HTML doctype declaration in the HTML page. If I remove the declaration from the HTML, IE runs in Quirks mode and does not fire onblur any more when clicking the scroll bar, and everything works. But removing the doctype declaration from my HTML then again breaks all the existing CSS, so this is not really a solution. Is this a known issue (or an issue at all)? Did anyone on this list have the same problem, and found a way to fix it or work around it? I know I could make the result list itself scrollable, by setting a height for div.wicket-aa, so users would scroll the div instead of the whole browser window. But if there is a possibility to keep the current behaviour of the autocomplete, only fix the problem with the click on the scrollbar, I would prefer that. BTW, the objectautocomplete component from wicket-stuff shows the same problem. Just add http://www.w3.org/TR/html4/loose.dtd";> to the example HTML page, and the autocomplete's result list disappears when you click on the scrollbar. Regards, Jan
Wicket Web Beans 1.1 Released
Wicket Web Beans 1.1 has been released. The project is now hosted on Google Code, learn more [1]. Try out the live samples [2]. Special thanks to Dan Syrstad and Daniel Toffeti. Regards - Cemal jWeekend http://jWeekend.com Training, Consulting, Development PS Let me know if you'd like a demo at one of our upcoming London Wicket Events [3]. [1] http://code.google.com/p/wicket-web-beans/ [2] http://jweekend.com/wicketwebbeans-examples-1.1/WebBeans/ [3] http://jweekend.com/dev/LWUGReg/
Re: Building 1.3.6 from the source, test failures
On Tue, May 19, 2009, Martijn Dashorst wrote: > http://lmgtfy.com/?q=wicket+java+6+fails+unit+tests > > gives you: > > https://issues.apache.org/jira/browse/WICKET-708 > > And in comment [1] Juergen says: > > "This is due to java 1.6. The hashmap hash code implementation has > changed which leads to a different internal sequence of values within > the map. Since tag attributes are based on hashmap ..." Oh, that explains it, thanks. Leaves the question whether it is such a good idea to depend on the order of hash map entries in the tests while of cause well knowing that it's probably not too easy to come up with a good alternative approach :) Cheers, Martin -- --- / http://herbert.the-little-red-haired-girl.org / - =+= This parrot is no more. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Building 1.3.6 from the source, test failures
http://lmgtfy.com/?q=wicket+java+6+fails+unit+tests gives you: https://issues.apache.org/jira/browse/WICKET-708 And in comment [1] Juergen says: "This is due to java 1.6. The hashmap hash code implementation has changed which leads to a different internal sequence of values within the map. Since tag attributes are based on hashmap ..." Martijn [1] https://issues.apache.org/jira/browse/WICKET-708?focusedCommentId=12508898&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12508898 On Tue, May 19, 2009 at 10:07 AM, Martin Dietze wrote: > On Mon, May 18, 2009, Martijn Dashorst wrote: > > [quote order fixed] >> On Mon, May 18, 2009 at 4:49 PM, Martin Dietze wrote: > >> > I just checked out wicket 1.3.6 from the svn, changed into the >> > wicket-1.3.6 directory, ran `mvn package' and ran across these > >> Don't run the tests with java 6 > > Thank you, the tests now do no longer fail. Just out of > curiousity, wasn't Java 6 supposed to be downward compatible? I > find this extremly confusing... > > Cheers, > > Martin > > -- > --- / http://herbert.the-little-red-haired-girl.org / - > =+= > * Free Speech Online!!! Support the Blue Ribbon Campaign! * > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Building 1.3.6 from the source, test failures
On Mon, May 18, 2009, Martijn Dashorst wrote: [quote order fixed] > On Mon, May 18, 2009 at 4:49 PM, Martin Dietze wrote: > > �I just checked out wicket 1.3.6 from the svn, changed into the > > wicket-1.3.6 directory, ran `mvn package' and ran across these > Don't run the tests with java 6 Thank you, the tests now do no longer fail. Just out of curiousity, wasn't Java 6 supposed to be downward compatible? I find this extremly confusing... Cheers, Martin -- --- / http://herbert.the-little-red-haired-girl.org / - =+= * Free Speech Online!!! Support the Blue Ribbon Campaign! * - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Tools for Managing a Wicket Project
Innate markup formatting in WTP is awful. It splits all tags between lines. I searched the web but didn't find information how to configure WTP. I returned back to myeclipse. How could WTP fans be ok with default formatting? Eduardo Nunes wrote: > > it's very strange, because if I hit ctrl+shift+f in some html code > with WTP, the source code will be completely unwell formatted. I will > try amateras plugin, thank you > > On Mon, May 18, 2009 at 9:15 PM, John Armstrong > wrote: >> I always have to do a 'Refresh' when changing the HTML. Its quite >> painful.. >> >> I tend to author the bulk of my html in an external editor that is >> more suitable to the purpose and fast ( the eclipse validators are >> painfully slow, particularly in Javascript intensive pages). Then I >> tweak it in Eclipse and hit F5. A Lot. >> >> John- >> >> On Mon, May 18, 2009 at 5:03 PM, pete swulius wrote: >>> It appears that using external html editors causes sync issues. >>> Apparently >>> eclipse doesn't monitor changes to the file system, except to warn you >>> that >>> it's out of sync. I would love the know the truth of it as I could very >>> well be missing something obvious. In fact, I would bet that I am, >>> considering that eclispe is so cool. >>> >>> I am currently using the Amateras plugin: >>> http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor. >>> I have no problems with it, but I use it only for the syntax coloring >>> and >>> the occasional content assist. >>> >>> --pete >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > > -- > Eduardo S. Nunes > http://e-nunes.com.br > > - > 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/Tools-for-Managing-a-Wicket-Project-tp23299396p23611513.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
London Wicket Event - 3rd June @ Google (2 years on)
We will hold our next London Wicket Event on Wednesday, 3rd June, from 18:30. Our event is being generously hosted by Google. Join us for some very interesting, high quality presentations and to chat with fellow Wicket users and developers at all levels. We had over 65 registrants last time, so book early [1] if you can make it. Event details and registration are at the usual place [1]. After Pizza (18:15), the schedule (from 18:30) will be: Cemal Bayramoglu: Introduction and Welcome Our guests will be invited to talk about their Wicket apps/architectures/issues Oli Evans: Our Wicket Jira Evening at jWeekend - How To Contribute! Alastair Maw: The Al Talk General Wicket Q&A with Al and Cemal I especially want to hear from anybody using Wicket with Google Apps - let me know if you would like to give us a 15 minute introduction. It is 2 years since we started running these events. Alastair and everyone at jWeekend would like to thank you all for your consistently kind feedback and solid support; we look forward to seeing you on June 3rd. To celebrate, I'm also pleased to say that Dima (AKA "syl" on the Wicket Wiki) from Moscow, one of our first jWeekend Wicket developers and course developer, and Richard Wilkinson, our latest recruit, will both be attending and will be helping us answer all your questions. Regards - Cemal jWeekend http://jWeekend.com Training, Consulting, Development [1] http://jweekend.com/dev/LWUGReg/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
What is the correct way to include the Wicket DTD?
Hi, I recently updated the page http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html for the new DTDs. However, now that I see that the DTD actually includes the whole xhtml spec I am doubting whether I wrote the correct text. So my question for the xhtml guru's here is: what is the correct way to include the DTD? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to validate unique constraint?
How can I validate a unique constraint with Wicket? Because only the value of an input field is passed to onValidate(IValidatable validatable), there is no chance to check if this value belongs to a specific object to update or if it would violate a unique constraint when creating a new object. onValidate would need another paremeter for the related object. I see two possibilities: a) Use a form validator and get the related model object from the form. b) Pass the related object to the constructor of the Validator. I'm not sure, if the validator would be recreated any time the model object changes. I would prefer a validator tied to the field and not to the form, because that would be more intuitive. Another idea is to use existing JPA annotations. @Column(unique=true) is already there but not used for validation (outside the database). Perhaps there is a way to use this annotation. I really like the domain level validation of Grails: http://grails.org/doc/1.1/guide/7.%20Validation.html How would you validate a unique constraint with wicket? Thanks in advance Christian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org