Re: Just 1 hour to introduce Wicket (Friday)

2007-10-31 Thread Eelco Hillenius
I like these points. 1. All code is Java, which enables end-to-end refactoring and gives you clean html. And static typing gives you also good means to navigate your code. Use your IDE to find the uses, overrides, etc. Make unsupported (due to API breaks) methods final so that your clients

SV: Setting up Wicket with Tomcat

2007-10-31 Thread Alexander Landsnes Keül
I looked at that one, and for some reason my exact copy of the web.xml file wasn't exact enough. We're implementing wickets in another project, so setting up a new project wasn't practical. However good old copy-paste worked wonders. Thanks :) -Opprinnelig melding- Fra: Igor Vaynberg

RE: Just 1 hour to introduce Wicket (Friday)

2007-10-31 Thread Maeder Thomas
One thing I always think is totally awesome is this: you develop your demo application, introduce some AJAX, etc. Just be sure to use stuff that has non-AJAX fallbacks. Then, at the end you can just turn off javascript and everything still just works. Dropped my jaw for sure;-) Thomas

Re: Wicket Session Management?

2007-10-31 Thread Johan Compagner
- Also it looks like wicket requires code changes when more pages are added and each page needs to have separate handler and it can not be done in configuration file. This may become an issue when number of pages increase in future. what do you mean with this? You want to have the flow

wicket-contrib-datepicker

2007-10-31 Thread Juha Alatalo
Hi, could it be possible to fix old DatePicker in 1.2 and 1.X? At least Scandinavian letters like ä and ö is replaced with rubbish like ö or ?. I can sen fixed Finnish and Swedish versions but I also need languages like Polish. This problem was fixed year ago but now it occurs again. -

Tabbed panels

2007-10-31 Thread Alexander Landsnes Keül
I have two questions regarding tabbed panels. I've read the example, so I've been able to create a navigation with it but it's a bit limited. First thing, is it possible to nest tabbed panels? I tried to do so, but then all the wickets in the panels stopped working. Way I set it up was create

Re: Non-serializable objects and efficiency

2007-10-31 Thread WicketKeeper
For anyone who is interested (new users) the appropriate resource is here: http://cwiki.apache.org/WICKET/request-processing-overview.html WicketKeeper wrote: Thanks for prompt reply. Yes, I was thinking having 1 DataConn for every new request. So what i envision is: 1. User goes to

Re: Dynamically changing CSS

2007-10-31 Thread Cristi Manole
works perfectly. tks a mill. On 10/31/07, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Wed, 31 Oct 2007, Cristi Manole wrote: Tks a lot for your reply, but how do I do get wicket to change the style color of that speciffic row, exactly? that part I don't know... :( Something like final

Re: Security message when using popup dialog

2007-10-31 Thread hillj2
Martijn Dashorst wrote: look in the source of the page, and possibly try to capture the headers. This will help us in discovering what goes wrong. Haven't been able to find anything in the source referencing this bizarre address. Of course 'View Source' doesn't keep up with dynamic

Re: YUI vs Wicket AutoComplete

2007-10-31 Thread Ryan Sonnek
don't forget about the scriptaculous autocomplete component as well. It allows for ajax/dynamic autocomplete, or using a static list of results. http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+AutoCompleteBehavior On 10/30/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I

Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Hi, i try to use the Effect class of the scriptaculous jar in a testApp. My Code: Java: import org.wicketstuff.scriptaculous.effect.Effect; ... final StaticImage stimg = new StaticImage(fehler); AjaxLink al = new AjaxLink(clickImg) { private static final long serialVersionUID = 0L;

ModalWindow windowClosedCallback and WicketTester

2007-10-31 Thread Federico Fanton
Hi everyone! I have a ModalWindow with a close button in it, the button's onclick calls modalWindow.close() via AJAX. My problem is that when I call the onclick via wicketTester.executeAjaxEvent(button, onclick) the modalWindow's windowClosedCallback doesn't fire.. Am I missing something? Or am

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread Ernesto Reinaldo Barreiro
Probably your are missing a HeaderContributor adding the actual effects.js and prototype.js to your page? Just guessing... SantiagoA wrote: Hi, i try to use the Effect class of the scriptaculous jar in a testApp. My Code: Java: import org.wicketstuff.scriptaculous.effect.Effect; ... final

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread Ryan Sonnek
Yep, you need to also do: add(AbstractScriptaculousBehavior.newJavascriptBinding()); On 10/31/07, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Probably your are missing a HeaderContributor adding the actual effects.js and prototype.js to your page? Just guessing... SantiagoA wrote:

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Excuse me the HTML should look like: ... lt;a href=# wicket:id=clickImggt; lt;divgt; lt;img wicket:id=fehler src=/pics/fehler_404_gross.jpeg border=none /gt; lt;/divgt; lt;/agt; -- View this message in context:

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Francisco Diaz Trepat - gmail
Hi Matej. Have you read the the forwarded part of the last message? Because that is where I explained the behavior. Basically in Firefox if I replace a panel with two subpanels the second subpanel doesn't get replaced. Please check out the message bellow, the one I forwarded. If you see the

Re: Problem with scriptaculous in wicket 1.3 beta3

2007-10-31 Thread SantiagoA
Thanks a lot, that was the solution! -- View this message in context: http://www.nabble.com/Problem-with-scriptaculous-in-wicket-1.3-beta3-tf4725430.html#a13511725 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Tabbed panels

2007-10-31 Thread Igor Vaynberg
On 10/31/07, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: I have two questions regarding tabbed panels. I've read the example, so I've been able to create a navigation with it but it's a bit limited. First thing, is it possible to nest tabbed panels? I tried to do so, but then all the

Re: how to use LinkTree in frame

2007-10-31 Thread aldous
I've given this approach a try and it didn't work for me. I just did an override on my derived LinkTree's newLink method and returned a bookmarkable link regardless of link type: @Override public MarkupContainer newLink(String id, final ILinkCallback callback) {

Re: how to remove 'choose one' from dropdownlist?

2007-10-31 Thread ChuckDeal
If it is just a matter of not wanting to see the phrase Choose One but that you are ok with a empty value, you could use the null property value to change the default text. There is also a null.valid property that you can define for the case where a null value is valid (used in conjuntion with

Browser back button and Wizard

2007-10-31 Thread Daniel Kröger
Hi, it's me again, and I'm still struggling with the Wizard component. :) When pressing the browser's back button on the let's say third WizardStep of a Wizard, the browser returns to the first WizardStep instead of the previous (the second) one. This is a very unintuitive behavior, especially

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Matej Knopp
Hi, I got your point. But I need a complete html file to be able to reproduce it with as little effort as possible :) My time is quite limited lately :( I don't mind fixing this in wicket, but I need to make sure that this is the right fix and has no side-effect. -Matej On 10/31/07, Francisco

Re: Dynamically Change css style of body tag

2007-10-31 Thread Jurjan
Tnx! Igor, it works! Jurjan igor.vaynberg wrote: hava you tried this? body wicket:id=foo... add(new webmarkupcontainer(body) { boolean istransparentresolver() { return true; } oncomponenttag(tag) { tag.put(class,green); }); -igor On 10/31/07, Jurjan [EMAIL PROTECTED]

Re: Stateless page and Pragma no-cache

2007-10-31 Thread Matej Knopp
Override Page.configureResponse() and add the flags you want there. -Matej On 10/31/07, John Patterson [EMAIL PROTECTED] wrote: Hi, I notice that Pragma no-cache is set for every WebPage and I cannot see how I can turn it off for my bookmarkable stateless pages could would benefit from

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Francisco Diaz Trepat - gmail
Ok I wanted to leave the QuickStart the last resort. I'll get right on it. Jira + QuickStart. We must all contribute. :-) f(t) On 10/31/07, Matej Knopp [EMAIL PROTECTED] wrote: So even better than html page would be a quickstart attched to jira issue that you create about this problem :-)

Re: Just 1 hour to introduce Wicket (Friday)

2007-10-31 Thread jweekend
As always on this forum we have managed to come up with some really helpful information and ideas in double quick time! Thanks for all the input ... I will now merge everything in with my original thoughts and see what I can realistically expect to cover in 1 hour. I also hope this bag of ideas

mvn netbeans:netbeans command for QuickStart Project

2007-10-31 Thread Francisco Diaz Trepat - gmail
Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create -DarchetypeGroupId=org.apache.wicket* then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans project. And got an error. I am very new to maven and I was wondering if some one could help me out. I

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Matej Knopp
Well, it's the last resort for you, but first resort for me :) Issues that are easily reproduce (quickstart) can expect to be resolved sooner, that's how it works. -Matej On 10/31/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Ok I wanted to leave the QuickStart the last resort.

Re: enclosure and repeater

2007-10-31 Thread Dmitry Kandalov
On Monday 29 October 2007 22:30:57 skatz wrote: Is there a way to get an enclosure to work with a repeater. Perhaps I am missing something, but I can't get: ... ul class=someclass wicket:enclosure child=item li wicket:id=repeater /li /wicket:enclosure /ul to work. What I get is an

Re: mvn netbeans:netbeans command for QuickStart Project

2007-10-31 Thread Martijn Dashorst
Netbeans has a module for direct maven support. I think you can download it in the plugin manager (I tried it once and that worked great, but I still didn't like netbeans). Martijn On 10/31/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi I just downloaded the maven 2.0.7 and ran

wicket:enclosure and authorization

2007-10-31 Thread Sebastiaan van Erk
Hi, I have a main menu with an admin link which only renders when the user has the ADMIN role (MainMenu.java): final BookmarkablePageLink adminLink = new BookmarkablePageLink(adminLink, AdminHomePage.class); MetaDataRoleAuthorizationStrategy.authorize(adminLink, RENDER, ADMIN);

Re: wicket:enclosure and authorization

2007-10-31 Thread Igor Vaynberg
enclosures work on the visibility level, not render level. since your adminlink is visible, but its rendering is aborted the enclosure still shows the content. to do this you have to put the link into a webmarkupcontainer, and authorize that container instead of a link. -igor On 10/31/07,

Re: mvn netbeans:netbeans command for QuickStart Project

2007-10-31 Thread Al Maw
Francisco Diaz Trepat - gmail wrote: Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create -DarchetypeGroupId=org.apache.wicket* then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans project. And got an error. That's because there is no such

Re: wicket:enclosure and authorization

2007-10-31 Thread Sebastiaan van Erk
Hi, OK, figured it might be something like this! Thanks for the fast reply. :-) Regards, Sebastiaan Igor Vaynberg wrote: enclosures work on the visibility level, not render level. since your adminlink is visible, but its rendering is aborted the enclosure still shows the content. to do this

Re: wicket:enclosure and authorization

2007-10-31 Thread Igor Vaynberg
there seems to be a bit of a disconnect between render in auth and our general component visibility concept. perhaps it might be an improvement to aligh auth strategy with visibility rather then render...what do others think? -igor On 10/31/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi,

Re: wicket:enclosure and authorization

2007-10-31 Thread Eelco Hillenius
On 10/31/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there seems to be a bit of a disconnect between render in auth and our general component visibility concept. perhaps it might be an improvement to aligh auth strategy with visibility rather then render...what do others think? Yeah. Eelco

Re: Stateless page and Pragma no-cache

2007-10-31 Thread John Patterson
That is already overridden by WebPage which adds the headers. It also calls super which looks necessary. So how can I override this but still have the Page.configureResponse() called? On 31 Oct 2007, at 13:20, Matej Knopp wrote: Override Page.configureResponse() and add the flags you

Disabling Wicket Ajax Debug in browser

2007-10-31 Thread boyinamadhavi
Hi I am new to wicket. I using Ajax autocomplete text field. It is working well. But i want to disable Wicket Ajax Debug. where i have to set wicketajaxdebug = false i am not having wicket-ajax-debug.js file can any one help me Thanks in Advance Madhavi -- View this message in context: