Re: Tools for Managing a Wicket Project

2009-05-19 Thread Steve Swinsburg
You can get Eclipse to auto refresh if you modify files externally. Check preferences. cheers, Steve On 19/05/2009, at 1:15 AM, 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

Re: Wicket architecture diagram?

2009-05-19 Thread jWeekend
Manuel, I had a chat with Jonathan recently and this came up then too. He was also going to mention it to Eelco as well, but we have all been pre-occupied, for our part (and ironically) partly due to growing numbers of corporate Wicket projects and on-site training requests! If you do come up

How to validate unique constraint?

2009-05-19 Thread Christian Helmbold
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

What is the correct way to include the Wicket DTD?

2009-05-19 Thread Erik van Oosten
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

London Wicket Event - 3rd June @ Google (2 years on)

2009-05-19 Thread jWeekend
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

Re: Tools for Managing a Wicket Project

2009-05-19 Thread Vladimir K
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

Re: Building 1.3.6 from the source, test failures

2009-05-19 Thread Martin Dietze
On Mon, May 18, 2009, Martijn Dashorst wrote: [quote order fixed] On Mon, May 18, 2009 at 4:49 PM, Martin Dietze d...@fh-wedel.de 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

Re: Building 1.3.6 from the source, test failures

2009-05-19 Thread Martijn Dashorst
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.

Re: Building 1.3.6 from the source, test failures

2009-05-19 Thread Martin Dietze
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

Wicket Web Beans 1.1 Released

2009-05-19 Thread jWeekend
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

AutoComplete results disappear when using scrollbar in IE

2009-05-19 Thread Jan Grathwohl
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

Re: How to validate unique constraint?

2009-05-19 Thread Clint Popetz
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

AW: How to validate unique constraint?

2009-05-19 Thread Dorothée Giernoth
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?

Why I'm getting an empty list?

2009-05-19 Thread HHB
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 ArrayListGroup selectedGroups = new ArrayListGroup();

File retrieval vulnerabilities, bugs #1992, #1996

2009-05-19 Thread Martin Dietze
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

Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-05-19 Thread alf.redo
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

Re: Can't find Wicket ajax resources

2009-05-19 Thread Mark Sloan
Here is the Wicket portion of the my web.xml filter filter-name ULandingWicketApp /filter-name filter-class org.apache.wicket.protocol.http.WicketFilter /filter-class init-param param-name

Re: Can't find Wicket ajax resources

2009-05-19 Thread Jeremy Thomerson
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 mark.sl...@sri.com wrote:

Re: Can't find Wicket ajax resources

2009-05-19 Thread Mark Sloan
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

ModalDialog in a SubmitLink

2009-05-19 Thread Werner Caacbay
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

Selenium + Wicket.

2009-05-19 Thread Fernando Wermus
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

Adding Javascript using Wicket onto a page that is not the header

2009-05-19 Thread Patrick Fong
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

Re: AW: How to validate unique constraint?

2009-05-19 Thread Vladimir K
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