Re: [Wicket-user] Localized Attributes

2007-07-10 Thread antonyb
shumbola-2 wrote: Здравствуйте, antonyb. Вы писали Tuesday, July 10, 2007, 9:08:51 AM: Hello, Just spent a while reading through the forum archives trying to find out how to localize attributes, particularly input type=submit value=XX / There's a couple of very long

Re: [Wicket-user] Problem with Close the top-level modal window first message

2007-07-10 Thread Matej Knopp
No it does not. When you click the second window's close button, it tells you to close the window with the link inside window instead. That's intentional and demonstrates that you can suppress the action on close button. Your problem is that you have modal window with panel inside modal window

[Wicket-user] Displaying Modal Window to capture and display error message

2007-07-10 Thread Dipu Seminlal
Hi All, Is there a way to display a modal window when a submit button is clicked Use Case is Button button = new Button(bbutton) { protected void onSubmit() { if(isValidInput()) { // do process and traverse to

Re: [Wicket-user] Displaying Modal Window to capture and display error message

2007-07-10 Thread Maurice Marrink
The button has a setDefaultFormProcessing option, if you turn it off, you manually have to do whatever form.process now does for you, which is amongst other things form validation. Maurice On 7/10/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Hi All, Is there a way to display a modal window when

Re: [Wicket-user] Displaying Modal Window to capture and display error message

2007-07-10 Thread Frank Bille
On 7/10/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Is there a way to display a modal window when a submit button is clicked I would use an AjaxButton on then in it's onError method open the modal window. Frank - This

[Wicket-user] Wicket with acegi security.

2007-07-10 Thread ernie25
Hi i am Marcin and i am interested in project Acegi and Wicket-auth-roles. I have a question for this project. Is acegi only takes care of the authentication and Wicket-auth-roles does authorization? Or acegi can take care of authorization and Wicket take a authentication ? SO my question is

Re: [Wicket-user] Wicket with acegi security.

2007-07-10 Thread Thies Edeling
i am Marcin and i am interested in project Acegi and Wicket-auth-roles. I have a question for this project. Is acegi only takes care of the authentication and Wicket-auth-roles does authorization? Or acegi can take care of authorization and Wicket take a authentication ? SO my question is

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-07-10 Thread Frank Bille
On 6/26/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: 1. Testing Wicket apps 2. Some Wicket Hibernate 3. Showing of the stuff we've done with wicket? Should we order something to eat as well? We could order some pizzas or sandwiches for around 18.30? Frank

Re: [Wicket-user] Optional bindings controlled by the markup

2007-07-10 Thread Martijn Dashorst
Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting. Martijn On 7/10/07, Chris Colman [EMAIL PROTECTED] wrote: I can understand that an error needs to be raised when some

Re: [Wicket-user] Displaying Modal Window to capture and display error message

2007-07-10 Thread Dipu Seminlal
great, it works now !!! On 7/10/07, Frank Bille [EMAIL PROTECTED] wrote: On 7/10/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Is there a way to display a modal window when a submit button is clicked I would use an AjaxButton on then in it's onError method open the modal window. Frank

Re: [Wicket-user] Wicket-user Digest, Vol 14, Issue 85

2007-07-10 Thread Chris Colman
Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting. Martijn Would it be an easy enhancement to implement? - just an option to not raise an error if the Java component

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-07-10 Thread Flemming Boller
That sounds like a good idea, I might get hungry :-) On 7/10/07, Frank Bille [EMAIL PROTECTED] wrote: On 6/26/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: 1. Testing Wicket apps 2. Some Wicket Hibernate 3. Showing of the stuff we've done with wicket? Should

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-07-10 Thread Nino Saturnino Martinez Vazquez Wael
might be a good idea, lets see how many wants to eat at the meeting... We would have around .5 hour to eat then... Jayway will provide some snacks and some Coca Cola:) Frank Bille wrote: On 6/26/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Re: [Wicket-user] Wicket-user Digest, Vol 14, Issue 85

2007-07-10 Thread Johan Compagner
On 7/10/07, Chris Colman [EMAIL PROTECTED] wrote: Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting. Martijn Would it be an easy enhancement to implement? - just an

[Wicket-user] PageParameters and bookmarkable page

2007-07-10 Thread Goran
I have a problem with passing request parameters to a Wicket page. Bookmarkable page is defined in init method in WebApplication class like this: mountBookmarkablePage(/somepage, SomePage.class); When I try to send parameters to that page from the form below: form

[Wicket-user] [bug] MixedParamUrlCodingStrategy : no symmetric url encoding/decoding

2007-07-10 Thread David Bernard
Hi, I'm new to wicket, and I found a bug (I suppose) into MixedParamUrlCodingStrategy. I join the test case (below) I use MixedParamUrlCodingStrategy for BookmarkablePageLink where the first parameter is a String, an human label. And I've got a bug, bad url when I try to link something like

[Wicket-user] Autocomplete field sends me right to Expired error page (v.1.3 beta 1)

2007-07-10 Thread Francisco Diaz Trepat - gmail
Hello, I am still having this problem and I don't know what could be. Can someone help? -- Forwarded message -- From: Francisco Diaz Trepat - gmail [EMAIL PROTECTED] Date: Jul 6, 2007 5:52 PM Subject: Autocomplete field sends me right to Expired error page (v.1.3 beta 1) To:

Re: [Wicket-user] Autocomplete field sends me right to Expired error page (v.1.3 beta 1)

2007-07-10 Thread Johan Compagner
make a test case and attach that to a jira issue. johan On 7/10/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hello, I am still having this problem and I don't know what could be. Can someone help? -- Forwarded message -- From: Francisco Diaz Trepat - gmail

Re: [Wicket-user] Autocomplete field sends me right to Expired error page (v.1.3 beta 1)

2007-07-10 Thread Francisco Diaz Trepat - gmail
Ok. I'll do that. f(t) On 7/10/07, Johan Compagner [EMAIL PROTECTED] wrote: make a test case and attach that to a jira issue. johan On 7/10/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hello, I am still having this problem and I don't know what could be. Can someone

Re: [Wicket-user] Wicket-user Digest, Vol 14, Issue 85

2007-07-10 Thread Philip A. Chapman
On Tue, 2007-07-10 at 13:50 +0200, Johan Compagner wrote: On 7/10/07, Chris Colman [EMAIL PROTECTED] wrote: Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more

[Wicket-user] Editable grid

2007-07-10 Thread Sanjay Gupta
I have recently started playing with wicket to see if we can use it to rewrite a legacy enterprise. I really like the simplicity of the architecture. A good chunk of our screens (35%) require editable grid. For example maintenance screens for small tables. I have seen bunch of examples in wicket

[Wicket-user] Optional wicket components

2007-07-10 Thread Chris Colman
On 7/10/07, Chris Colman [EMAIL PROTECTED] wrote: Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting. Martijn Would it be an easy enhancement to implement?

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread Tremelune
I'm having a great deal of trouble getting this to fire. How does one accomplish this in the middle of, say, some run-of-the-mill Wicket page? If I do something like this, I get an error that /pages has already been mounted (which it has, during my app's initialization). I also tried to do all

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread David Bernard
Why do you mount in the WebPage and not in the Application.init() ? I'm new to wicket. A problem, I see is that each time the Welcome page is instantiated, then you try to mount (re add the rules). (You copy from the staticpage examples but you don't paste in Application like in the examples.)

Re: [Wicket-user] Click a tree node link to load a local file

2007-07-10 Thread Igor Vaynberg
see source code of DownloadLink -igor On 7/9/07, kenixwong [EMAIL PROTECTED] wrote: Hi, is there anybody have the idea how to load a local file once click on the tree node link. Below is the part of the ResourceLink . ResourceLink exportAsPdf = new ResourceLink(exportAsPdf, new

Re: [Wicket-user] access to private fields

2007-07-10 Thread Al Maw
Igor Vaynberg wrote: On 7/7/07, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: two points: this is relatively new, i think it made it in just before 1.3-beta1 or somewhere there I think it's been in there for quite a while. But as I

Re: [Wicket-user] [bug] MixedParamUrlCodingStrategy : no symmetric url encoding/decoding

2007-07-10 Thread Al Maw
David Bernard wrote: I'm new to wicket, and I found a bug (I suppose) into MixedParamUrlCodingStrategy Hi David, Welcome to the community. :-) Please open a JIRA[1] issue for this and attach your Java test-case file to that. We'll get around to it soon! Kind regards, Al [1]

[Wicket-user] WicketTester and Spring

2007-07-10 Thread Evan Chooly
Does anyone have any documentation on using WicketTester with annotation based spring injection? I tried creating a WicketTester using my own Application rather then the DummyApplication that's used by default but spring complains with: java.lang.IllegalStateException: No WebApplicationContext

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread Tremelune
So here's a junit test: public void testThisThing() { System.out.println(Testing...); WicketTester tester = new WicketTester(new TestApp()); System.out.println(Testing page thing); tester.startPage(TestEmail.class); } private class TestApp extends WebApplication {

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread David Bernard
the email isn't displayed because : your rule is associated to the mount point /pages and you don't call it. You need to call /pages with a parameter (queryString) email not null. (I don't know how to simulate this with WicketTester) Tremelune wrote: So here's a junit test: public void

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread Tremelune
That's true, but the real problem is that decode() isn't firing at all. the email isn't displayed because : your rule is associated to the mount point /pages and you don't call it. You need to call /pages with a parameter (queryString) email not null. (I don't know how to simulate this with

Re: [Wicket-user] [bug] MixedParamUrlCodingStrategy : no symmetric url encoding/decoding

2007-07-10 Thread David Bernard
I open a Bug : https://issues.apache.org/jira/browse/WICKET-739 Thanks Al Maw wrote: David Bernard wrote: I'm new to wicket, and I found a bug (I suppose) into MixedParamUrlCodingStrategy Hi David, Welcome to the community. :-) Please open a JIRA[1] issue for this and attach your

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread David Bernard
decode() is fired when you call /pages url. In the init() you only define the method. Tremelune wrote: That's true, but the real problem is that decode() isn't firing at all. the email isn't displayed because : your rule is associated to the mount point /pages and you don't call it.

Re: [Wicket-user] access to private fields

2007-07-10 Thread Johan Compagner
Of course, if Java had compile-time MyClass#field syntax, then that could enforce the visibility and everyone would be happy. +1! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Re: [Wicket-user] do not want to log ERROR when visiting a nonexistant page

2007-07-10 Thread Johan Compagner
as far as i know in deployment mode we are only throwing an InternalExceptionPage on that page we don't give the exception. johan On 7/10/07, Ingram Chen [EMAIL PROTECTED] wrote: This anonys me too. IMHO I think by default, it should log error in development mode, and keep silent in

Re: [Wicket-user] StringResourceModel feature or bug??

2007-07-10 Thread Johan Compagner
is the string key 3 time exactly the same? or is the locale added to it and then stripped down? On 7/9/07, Murat Yücel [EMAIL PROTECTED] wrote: Hi All, I have some problems when using StringResourceModel. It seems like it is calling the IStringResourceLoader 3 times. I am currently using

[Wicket-user] Linking CSS

2007-07-10 Thread Juan Asensio Sánchez
Hi everybody I am trying to link a CSS file to my template using this code: wicket:head wicket:link link rel=Stylesheet type=text/css href=css/main.css media=screen / wicket:link /wicket:head Also tried with: wicket:head link wicket:id=CSSMain rel=Stylesheet type=text/css href=css/main.css

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Igor Vaynberg
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Hi everybody I am trying to link a CSS file to my template using this code: wicket:head wicket:link link rel=Stylesheet type=text/css href=css/main.css media=screen / wicket:link /wicket:head Also tried with: wicket:head link

Re: [Wicket-user] Editable grid

2007-07-10 Thread Maurice Marrink
An editable grid is certainly possible in wicket. I've build one of those monsters in our application. Unfortunately for you it has grown so much to be able to do everything you ever wanted and everything you never even knew you wanted that it is completely useless as an example. I can however

Re: [Wicket-user] How to get HTML source code from a wicket page

2007-07-10 Thread Tremelune
Ah, hm. How do I call a /pages URL? I think this may be the missing link. I thought tester.startPage() would hit that and call all those methods. Simplified version of test: public void testThisThing() { WicketTester tester = new WicketTester(new TestApp());

Re: [Wicket-user] Editable grid

2007-07-10 Thread Eelco Hillenius
On 7/10/07, Maurice Marrink [EMAIL PROTECTED] wrote: An editable grid is certainly possible in wicket. I've build one of those monsters in our application. Unfortunately for you it has grown so much to be able to do everything you ever wanted and everything you never even knew you wanted that

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Juan Asensio Sánchez
Well i had an error in my previous mail. Actually i am using this code (i am developing a theme engine), so i use this code in the html template: link wicket:id=CSSMain rel=stylesheet type=text/css href=css/main.css media=screen / And this in the associated webpage: add(new

Re: [Wicket-user] Editable grid

2007-07-10 Thread Eelco Hillenius
I have recently started playing with wicket to see if we can use it to rewrite a legacy enterprise. I really like the simplicity of the architecture. A good chunk of our screens (35%) require editable grid. For example maintenance screens for small tables. I have seen bunch of examples in

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Igor Vaynberg
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Well i had an error in my previous mail. Actually i am using this code (i am developing a theme engine), so i use this code in the html template: link wicket:id=CSSMain rel=stylesheet type=text/css href=css/main.css media=screen / And

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Juan Asensio Sánchez
OK. I enabled debug and i found this line: 2007-07-11 00:11:39,970 DEBUG [wicket.util.resource.locator.ResourceFinderResourceStreamLocator] Attempting to locate resource 'es/bytelecom/bujero/web/themes/mollio/es/bytelecom/bujero/web/pages/common/css/main.css' on path [folders =

[Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Ali Sakebi
Hi I have heard a lot about but new to Wicket. My question is not about objects living inside server and user session objects but about *how pages are composed*: Are Wicket HTML Pages OO? For example a site with a layout that all other pages should *extend*. I'm currently using Jamon as

Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Martijn Dashorst
Clicking on the examples of Wicket quickly uncovers: Markup Inheritance [1]. Martijn [1] http://incubator.apache.org/wicket/examplemarkupinheritance.html On 7/11/07, Ali Sakebi [EMAIL PROTECTED] wrote: Hi I have heard a lot about but new to Wicket. My question is not about objects living

Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Philip A. Chapman
On Wed, 2007-07-11 at 01:52 +0330, Ali Sakebi wrote: Hi I have heard a lot about but new to Wicket. My question is not about objects living inside server and user session objects but about *how pages are composed*: Are Wicket HTML Pages OO? For example a site with a layout that all

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Igor Vaynberg
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: OK. I enabled debug and i found this line: 2007-07-11 00:11:39,970 DEBUG [wicket.util.resource.locator.ResourceFinderResourceStreamLocator] Attempting to locate resource

Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Ali Sakebi
Martijn, Thanks for response. I think it was what I was searching for. Philip, I had put that link in my email to be clear about my question. you want us to do the work for you and read this documentation and compare? No, I didn't want any one to do any thing for me, but you could help me or any

[Wicket-user] Pages vs. Panels

2007-07-10 Thread Tauren Mills
I'm interested in how others typically build a web application in regards to using many Pages or very few Pages with Panels for different web pages of content. I'm not referring to using smaller reusable panels within pages/panels, but main Panels that encompass the majority of the content of a

[Wicket-user] What is AutoLinkResolver and why this error

2007-07-10 Thread Ayodeji Aladejebi
I did something like this on the homapage class signInPanel = new MemberSignInPanel(loginFrame); add(signInPanel); loggedInPanel = new AfterSignPanel(loggedInFrame); add(loggedInPanel); if (isSignedIn()) { signInPanel.setVisible(false);

Re: [Wicket-user] Wicket get together at O'Reilly Open Source convention? (Portland Oregon USA)

2007-07-10 Thread Tauren Mills
Sean, I'm in Portland too, but I may not be in town that week. Still working out the details. It does sound like a great idea. I got a friend here in town into wicket, so he might be interested as well. Tauren On 6/30/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Are there any Wicket

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-07-10 Thread Watter
Watter wrote: Jean-Baptiste Quenot-3 wrote: That's very interesting. It may be caused by some page deserialization not using the right classloader, when Wicket pulls pages out of the second-level cache. May be worth trying with

Re: [Wicket-user] What is AutoLinkResolver and why this error

2007-07-10 Thread Ayodeji Aladejebi
when the markup is like this, wicket:panel div style=height:250px; img src=images/default_logo.png width=152 height=61 /br / strongWorker Solutions Limited /strong br / ul style=padding-left:1px; margin:0; list-style:none; li1000 Resumes/li

Re: [Wicket-user] Pages vs. Panels

2007-07-10 Thread Eelco Hillenius
However, I discovered a navigation issue and am considering adding the Breadcrumb feature to this site. Unfortunately, it looks like the breadcrumb control uses Panels instead of pages. So it looks like I need to switch everything from being page-based to panel-based. Of course, doing that

Re: [Wicket-user] Wicket get together at O'Reilly Open Source convention? (Portland Oregon USA)

2007-07-10 Thread Eelco Hillenius
I'm in Portland too, but I may not be in town that week. Still working out the details. It does sound like a great idea. I got a friend here in town into wicket, so he might be interested as well. Not directly related to this conference, but if there's enough interest, Jonathan and I can

[Wicket-user] Refreshing hibernate models

2007-07-10 Thread Tauren Mills
I'm working on a site that allows people to rate services. There is a Services entity that contains a set of Report entities. Users can add new services and submit reports on those services. The reports have questions that users rate from 1 to 5 stars. I am using hibernate properties with

Re: [Wicket-user] Wicket get together at O'Reilly Open Source convention? (Portland Oregon USA)

2007-07-10 Thread Tauren Mills
That sounds great! All the action is overseas, lets get some here on the west coast! Planning it might be the hard part... Lets see... juggling 3 wicket projects right now.. can I find time to go to Seattle? :) I'm sure everyone else is in the same boat... Tauren On 7/10/07, Eelco Hillenius

Re: [Wicket-user] Pages vs. Panels

2007-07-10 Thread David Leangen
I'm currently working on a project that requires all (or almost all) pages to be bookmarkable. My solution is to have different views for each page depending on the input parameters. This is actually working out well, since the page is really a kind of container with an associated URL space, and

Re: [Wicket-user] Page getting redirected when accessing from mail reply

2007-07-10 Thread David Leangen
Excellent! Thank you, this did indeed solve the problem and seems like a reasonable temporary workaround. I really must try to fix my setup so I can step through the wicket code during debugging... :-( Thanks again! On Mon, 2007-07-09 at 15:58 +0200, Arnout Engelen wrote: David Leangen

Re: [Wicket-user] WicketTester and Spring

2007-07-10 Thread Ingram Chen
for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html for reference (button) Wicket 1.3 can use actual WebApplication so it should be no problem. On 7/11/07, Evan Chooly [EMAIL PROTECTED] wrote: Does anyone have any documentation on using WicketTester with annotation based spring

[Wicket-user] ugrade from wicket 1.2.4 to 1.3.0

2007-07-10 Thread kenixwong
hi, any impact if i ugrade from wicket 1.2.4 to 1.3.0? Is that only replace the 1) wicket-auth-roles-1.3.0-beta2.jar 2) wicket-extensions-1.3.0-beta2.jar will it effect the jetty also ? Currently i was using the jetty-6.0.1. Any additional jar file are need ? Thanks -- View this message in

[Wicket-user] AttributeModifier/SimpleAttributeModifier have no effect with ListView?

2007-07-10 Thread rc.china
It seems that AttributeModifier/SimpleAttributeModifier have no effect with ListView. For example, if we change wicket.examples.nested.RecursivePanel.java a little like this: 1)original public RecursivePanel(final String id, List list) { super(id);

Re: [Wicket-user] What is AutoLinkResolver and why this error

2007-07-10 Thread Juergen Donnerstag
From the javadoc /** * The AutoLinkResolver is responsible to handle automatic link resolution. Tags * are marked autolink by the MarkupParser for all tags with href attribute, * such as anchor and link tags with no explicit wicket id. E.g. lt;a * href=Home.htmlgt; * p * If href points to a

Re: [Wicket-user] ugrade from wicket 1.2.4 to 1.3.0

2007-07-10 Thread Juergen Donnerstag
wicket wiki is good source for information: http://cwiki.apache.org/WICKET/migrate-13.html Juergen On 7/11/07, kenixwong [EMAIL PROTECTED] wrote: hi, any impact if i ugrade from wicket 1.2.4 to 1.3.0? Is that only replace the 1) wicket-auth-roles-1.3.0-beta2.jar 2)

Re: [Wicket-user] AttributeModifier/SimpleAttributeModifier have no effect with ListView?

2007-07-10 Thread rc.china
Additionally, it seems that setRenderBodyOnly(true) has no effect with ListView. for example: 1)original public RecursivePanel(final String id, List list) { super(id); add(new Rows(rows, list)); setVersioned(false); }