Weird feedback message formats

2010-03-25 Thread Sigmar Muuga
Hello, how to customize error / feedback messages in wicket? At the moment wicket displays quite stupidly password errors: mysecret is too short and so on. I would like to use translated field labels in feedback messages instead of field names, that are not so user friendly. Sigmar

Re: Weird feedback message formats

2010-03-25 Thread Martin Makundi
Use same label localization property name as wicket component id: Application.properties: mysecret=My password labelwicket:message key=mysecret//label: input type=password wicket:id=mysecret/ Ofcourse there are other ways too, but the above is way simplest.

RE: Wicketstuff updated!

2010-03-25 Thread Stefan Lindner
Hi Boris, thank you for doing the job. I have tested jWicket again and everything looks fine. Stefan -Ursprüngliche Nachricht- Von: Boris Goldowsky [mailto:bgoldow...@cast.org] Gesendet: Mittwoch, 24. März 2010 22:14 An: users@wicket.apache.org Betreff: Wicketstuff updated! As

Wicket DatePicker memory leak during ajax rerender?

2010-03-25 Thread Jomar Lorentzen
Hi, we are using the DatePicker in a panel that is rerendered through ajax at a certain interval, and we have noticed that the DOM reporter in firebug reports that a new function is added each time the DatePicker is rerendered. As none on our team are really into javascript we're wondering if

Re: RE: RE: RE: Regarding TreeTable Horizontal Scrollbar

2010-03-25 Thread Leo . Erlandsson
Hi, Still a CSS issue, not a Wicket one ;) I used Google to search for css table locked column scroll First result was a good StackOverflow-question: http://stackoverflow.com/questions/296020/how-can-i-lock-the-first-row-and-first-column-of-a-table-when-scrolling-possibly Try the Horizontal

Re: Weird feedback message formats

2010-03-25 Thread Xavier López
Hi Sigmar, I went fine just setting the component's Label with setLabel(). This method sets a Model which will be used instead of the wicket:id in the built-in validator's error messages. Cheers, Xavier 2010/3/25 Sigmar Muuga meedi...@gmail.com Hello, how to customize error / feedback

Wicket Models Class Diagram

2010-03-25 Thread corneliu.petrescu
Hi guys, I've made a diagram relating to the wicket models. Can you tell me what you think about it, and what extra information it should contain? I'm also thinking of creating a sequence diagram regarding the lifecycle of a wicket application.

Re: Wicket Models Class Diagram

2010-03-25 Thread corneliu.petrescu
It seems attachements are ignored... :( On Thu, 2010-03-25 at 10:51 +0200, corneliu.petrescu wrote: Hi guys, I've made a diagram relating to the wicket models. Can you tell me what you think about it, and what extra information it should contain? I'm also thinking of creating a sequence

Re: Wicket Models Class Diagram

2010-03-25 Thread corneliu.petrescu
Hi, I've uploaded the diagram to a free file-sharing website. You can download it from here: http://www.fileshare.ro/3936630672.98 On Thu, 2010-03-25 at 11:07 +0200, corneliu.petrescu wrote: It seems attachements are ignored... :( On Thu, 2010-03-25 at 10:51 +0200, corneliu.petrescu wrote:

Results of AutoCompleteTextField shown behind other form components

2010-03-25 Thread Andreas Maza
Hello, I am experiencing a strange problem with the AutoCompleteTextField (Wicket 1.4.7): The results of the AutoCompleteTextField are shown behind my other form components are not selectable, too. I am extending the DefaultCssAutoCompleteTextField and do not define any custom CSS for the

signout and redirect

2010-03-25 Thread tubin gen
here is my code to signout link. add(new LinkVoid(signout){ @Override public void onClick() { ((AuditWebSession)(Session.get())).signout(); throw new RestartResponseException(SSISignOutPage.class); } }); when user clicks on signout I expect to go to SSISignOutPage. but I end up with a different

Re: Results of AutoCompleteTextField shown behind other form components

2010-03-25 Thread Erik van Oosten
Don't use relative positioned divs. There is no golden solution, but here is an attempt anyway: https://issues.apache.org/jira/browse/WICKET-1355 Regards, Erik. Andreas Maza wrote: Hello, I am experiencing a strange problem with the AutoCompleteTextField (Wicket 1.4.7): The results of

Re: Results of AutoCompleteTextField shown behind other form components

2010-03-25 Thread Andreas Maza
thanks erik for that hint. I just got it working properly... it was simply a problem with my other divs z-index. regards, andr On 25.03.2010 13:18, Erik van Oosten wrote: Don't use relative positioned divs. There is no golden solution, but here is an attempt anyway:

Support for back button and new windows?

2010-03-25 Thread Sergey Olefir
Hi, I'm looking for a good source of information on Wicket's support for browser's back button and also on what happens when user opens a new tab/window. I feel this is something I need to understand well before we can deploy our first Wicket application in production. I found this:

Re: Feedback and field validation

2010-03-25 Thread Anna Simbirtsev
Thanks for your response. How do I get the components to hold the error messages? As I understand the messages get marked rendered once they are displayed. On Wed, Mar 24, 2010 at 6:39 PM, alexander.elsholz alexander.elsh...@widas.de wrote: hi anna, feedback-messages will clear after the

AW: signout and redirect

2010-03-25 Thread Giambalvo, Christian
Depends on what your SSISignOutPage.class does. But why don't use setResponsePage(SSISignOutPage.class) ?? -Ursprüngliche Nachricht- Von: tubin gen [mailto:fachh...@gmail.com] Gesendet: Donnerstag, 25. März 2010 12:59 An: users Betreff: signout and redirect here is my code to signout

Re: Feedback and field validation

2010-03-25 Thread alexander.elsholz
subclass your components and override error, warn and info. override validate and clear the message-list. that was our solution - any better ideas? alex Anna Simbirtsev wrote: Thanks for your response. How do I get the components to hold the error messages? As I understand the messages

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
I initially tried etResponsePage(SSISignOutPage.class) it did not worked , so used the new approach , regarding what my SSISignOutPage it does nothing except for showing a link , before to that the control never goes to the page constructor , I am assuming after a session is invalidated

AW: AW: signout and redirect

2010-03-25 Thread Giambalvo, Christian
setResponsePage(SSISignOutPage.class) creates a new page that will go into pagemap. Is your Page class in a protected area? -Ursprüngliche Nachricht- Von: fachhoch [mailto:fachh...@gmail.com] Gesendet: Donnerstag, 25. März 2010 15:19 An: users@wicket.apache.org Betreff: Re: AW: signout

Re: AW: signout and redirect

2010-03-25 Thread Mauro Ciancio
In order to implement my sign out page I've created a SignOutPage that invokes the signOut method in AuthenticatedWebSession, then setRedirect(true) and as final step I throw a: throw new RestartResponseException(HomePage.class). This makes the home page be processed (and the url in the

Re: AW: AW: signout and redirect

2010-03-25 Thread fachhoch
no it is not. christian.giambalvo wrote: setResponsePage(SSISignOutPage.class) creates a new page that will go into pagemap. Is your Page class in a protected area? -Ursprüngliche Nachricht- Von: fachhoch [mailto:fachh...@gmail.com] Gesendet: Donnerstag, 25. März 2010 15:19

Label update after change of radiochoice by ajax not working

2010-03-25 Thread Per Newgro
Hi *, i have a courious situation here. My TestHomePanel is running green, but in browser the label is not updated. If i remove the css-class from the choices it works as expected. It seems that the lookup of the radios in the group is not working. But i don't find the place in code to check.

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
I did as u said public class AuditSignOutPage extends SignOutPage { public AuditSignOutPage() { ((AuditWebSession)(Session.get())).signout(); setRedirect(true); throw new RestartResponseException(SSISignOutPage.class); } }

Re: AW: signout and redirect

2010-03-25 Thread James Carman
This works for me: final Link signOutLink = new Link(signOutLink) { public void onClick() { getSession().invalidate(); setResponsePage(getApplication().getHomePage()); setRedirect(true); }

[wicket-stuff] project sitemap-xml

2010-03-25 Thread Fernando Wermus
Hi all, I need to develop sitemap for my web app. I see that there is a project related to this problem. Which is its situation? Does anyone know? thanks in advance -- Fernando Wermus. www.linkedin.com/in/fernandowermus

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
does encryption has anything to do with this upon debugging I found its failing in CryptedUrlWebRequestCodingStrategy.java here is the method where it fails protected String decodeURL(final String url) { int startIndex = url.indexOf(?x=); if

Re: AW: signout and redirect

2010-03-25 Thread James Carman
By default, Wicket uses the KeyInSessionSunJceCryptFactory which stores the encryption key in the user's session. On Thu, Mar 25, 2010 at 11:50 AM, fachhoch fachh...@gmail.com wrote: does encryption has anything to do with this   upon debugging I found its failing  in

Re: AW: signout and redirect

2010-03-25 Thread fachhoch
so what is the solution for my case ? James Carman-3 wrote: By default, Wicket uses the KeyInSessionSunJceCryptFactory which stores the encryption key in the user's session. On Thu, Mar 25, 2010 at 11:50 AM, fachhoch fachh...@gmail.com wrote: does encryption has anything to do with this

DatePicker and visibility of the parent component

2010-03-25 Thread Anna Simbirtsev
Hi, I have date picker added to a date field. DateTextField field = new DateTextField(field, -MM-dd); field1.add(new DatePicker()); If the section the date picker is in is visible there is no problem. If the section is not visible using wicket:enclosure, I get an error:

Re: TypeNotPresentException

2010-03-25 Thread Swanthe Lindgren
Look more like a REST deserialization problem then a wicket. Could it be that se.**.core.domain.KmsUser only is available in your back end server? We use an environment very much like yours, with a back end which we send REST request to from our wicket layer, and we don't use the same classes

Re: [wicket-stuff] project sitemap-xml

2010-03-25 Thread MZemeck
I am also interested in a sitemap project. Check out the Wiki about dynamic sitemap below. Would be nice if someone encapsulated this into a project for reuse. http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html Fernando Wermus fernando.wer...@gmail.com 03/25/2010 11:49 AM

css resources location

2010-03-25 Thread Matias Pansa
Hi , i'm new to wicket . I been searching in the list archive for css resource problems but i can't found a solution . My app is developed under netbeans and there's no way to make de css ( file or html embedded ) to work with wicket . I try almost every way that i found on the archive of

Re: css resources location

2010-03-25 Thread corneliu.petrescu
You've probably got the path wrong. Try: String contextPath = ((WebRequest)getRequest()).getHttpServletRequest().getContextPath(); construct path like this String path = contextPath + relative_css_path; CSSPackageResource.getHeaderContribution(path); On Thu, 2010-03-25 at 14:08 -0300, Matias

RE: css resources location

2010-03-25 Thread Stefan Lindner
If you use background-image : url(' '), the path of the url is relative to the location of your css. So if you write background-image : url('images/myimg.png') you need a subdirectory imags where your css is e.g. /mypackage/mycss.css /mypackages/images/myimg.png Do you use images

Re: [wicket-stuff] project sitemap-xml

2010-03-25 Thread Fernando Wermus
Take a look at Xaloon project. It has a plug in about SEO. But It is a plug in for Brix, I dont know much about it. On Thu, Mar 25, 2010 at 2:03 PM, mzem...@osc.state.ny.us wrote: I am also interested in a sitemap project. Check out the Wiki about dynamic sitemap below. Would be nice if

Re: [wicket-stuff] project sitemap-xml

2010-03-25 Thread Fernando Wermus
Do you know why it is said in the page you mention, each pages should have a different title? On Thu, Mar 25, 2010 at 2:41 PM, Fernando Wermus fernando.wer...@gmail.comwrote: Take a look at Xaloon project. It has a plug in about SEO. But It is a plug in for Brix, I dont know much about it.

Re: [wicket-stuff] project sitemap-xml

2010-03-25 Thread MZemeck
I would gather they are eluding to the fact that search engines may not index url's with duplicate titles, so its a best practice to provide a title unique to the url. Fernando Wermus fernando.wer...@gmail.com 03/25/2010 01:46 PM Please respond to users@wicket.apache.org To

Using Tuckey URLRewrite in together with Wicket

2010-03-25 Thread Sluis, M. van der (Minto)
Hi folks, I am running into a bit of trouble using Wicket in conjunction with Tuckey UrlRewrite. Hopefully someone can push me in the right direction to get this resolved. My situation: - Existing JSP application that uses URLRewrite. - New version is wicket based that places a border around the

WicketFilter Config

2010-03-25 Thread MZemeck
Due to the fact that SpringWebApplication is deprecated, we evaluated several ways of configuring Wicket using WicketFilter. I found ContextParamWebApplicationFactory to work with a Spring Annotation approach. SpringWebApplicationFactory also works with a Spring Annotation approach, but

Re: [wicket-stuff] project sitemap-xml

2010-03-25 Thread Andreas Petersson
On Thu, 25 Mar 2010 12:49:14 -0300, Fernando Wermus fernando.wer...@gmail.com wrote: Hi all, I need to develop sitemap for my web app. I see that there is a project related to this problem. Which is its situation? Does anyone know? thanks in advance hi! the sitemap-xml micro-project

Re: css resources location

2010-03-25 Thread Alex Objelean
You may want to consider a different approach: wro4j (http://code.google.com/p/wro4j/wiki/GettingStarted). It can help you to keep all you resources organized, minimized merged. Alex Objelean pochoclo wrote: Hi , i'm new to wicket . I been searching in the list archive for css

Application addRenderHeadListener causing error

2010-03-25 Thread Josh Chappelle
Hi, On one of our pages we are having a strange error. The page renders and a few seconds later a wicket error occurs. Below is the stack trace. In our Application class we are calling addRenderHeadListener for a jquery library and one for google. It works great in most cases but on one

RE: Application addRenderHeadListener causing error

2010-03-25 Thread Josh Chappelle
Found the problem. We had two AjaxSelfUpdatingTimerBehaviors added to two different components and they were both set to 5 seconds. What's funny is that if we commented out the addRenderHeadListener calls in the Application class we would not get the error. My guess is the header listeners

Re: WicketFilter Config

2010-03-25 Thread Igor Vaynberg
recommended configuration is on our wiki's spring page -igor On Thu, Mar 25, 2010 at 11:22 AM, mzem...@osc.state.ny.us wrote: Due to the fact that SpringWebApplication is deprecated, we evaluated several ways of configuring Wicket using WicketFilter.  I found

RE: css resources location

2010-03-25 Thread Matias Pansa
Thanks for the quick response , i try this way and it's not working . The href is correct but the css file it's not loaded , even try using the same lines included in the wicket example app for netbeans using StyleSheetReference (...) and nothing. In the example app the style.css file is in

Re: WicketFilter Config

2010-03-25 Thread Cemal Bayramoglu
See if http://jweekend.com/dev/LegUp gives you an easy way to get started. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 25 March 2010 18:22, mzem...@osc.state.ny.us wrote: Due to the fact that SpringWebApplication is