Re: Tools for Managing a Wicket Project

2009-05-19 Thread Swanthe Lindgren
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? O

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

2009-05-19 Thread Александър Шопов
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?

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

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

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

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

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

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

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

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 wrote: > Here is the Wick

Re: Can't find Wicket ajax resources

2009-05-19 Thread Mark Sloan
Here is the Wicket portion of the my web.xml ULandingWicketApp org.apache.wicket.protocol.http.WicketFilter applicationClassName com.sri.uLanding.ULandingW

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 de

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 ArrayList selectedGroups = new ArrayList(); public Gr

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 "resources/org.apache.wicket.AbortException/Applicati

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? It'

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 thi

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

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 a

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 le

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. Sinc

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 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 Tha

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 ctrl+shi

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

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 correc

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 object.