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
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.
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
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
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
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
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.
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
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:
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
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
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
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:
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:
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
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
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
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
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
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
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
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.
I did as u said
public class AuditSignOutPage extends SignOutPage
{
public AuditSignOutPage() {
((AuditWebSession)(Session.get())).signout();
setRedirect(true);
throw new RestartResponseException(SSISignOutPage.class);
}
}
This works for me:
final Link signOutLink = new Link(signOutLink)
{
public void onClick()
{
getSession().invalidate();
setResponsePage(getApplication().getHomePage());
setRedirect(true);
}
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
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
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
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
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:
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
46 matches
Mail list logo