Hi,
I am using CookieUtils to store a cookie. Here's the catch though: after
setting the cookie, I want to redirect the user to a new page, so that
is followed immediately by a RestartResponseException:
new CookieUtils().save(some-key, some-value)
throw new
!
On 26/12/12 18:19, Sven Meier wrote:
Use NonResettingRestartException
Sven
On 12/26/2012 07:11 PM, Alexandros Karypidis wrote:
Hi,
I am using CookieUtils to store a cookie. Here's the catch though:
after setting the cookie, I want to redirect the user to a new page,
so that is followed
page's class
getRequestCycle().setResponsePage(getPage().getClass(),
getPage.getParameters());
}
On 23/8/2011 10:41 μμ, Alexandros Karypidis wrote:
Hi Gregor,
I've found a way to do this by manipulating the request cycle.
However, it will only work if you don't mind losing any page
Hello,
I have written a locale selector by extending DropDownChoice (you can
see the essential stuff of the implementation below). The problem is
that when the user changes the locale, the page needs to be re-rendered
using the newly selected locale. This does NOT happen. Instead, only the
could suggest a better alternative?
On 23/8/2011 9:13 μμ, Gregor Kaczor wrote:
I have exactly the same problem, though i use an xml file for the
translations. Any help out there?
On 08/23/2011 02:09 PM, Alexandros Karypidis wrote:
Hello,
I have written a locale selector by extending
Hi,
I'm trying to plug into the new request cycle processor of 1.5-RC5.1. I am
following the instructions in the wiki page, but I seem to have run into some
out-of-date info. So, according to:
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-RequestCycle:
1) I
to
improve that is welcome!
On Tue, Jul 19, 2011 at 12:35 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hi,
I'm trying to plug into the new request cycle processor of 1.5-RC5.1. I am
following the instructions in the wiki page, but I seem to have run into some
out-of-date info. So
Hello,
First of all, there is ambiguity in your question. I'm not sure how the
above would tie into a wicket-specific question, unless you want to
create an XForm--XHTML renderer/processor using Wicket as the
underlying technology (which is not a good idea IMHO). In any case:
1) Are you
Hello,
1) I have a custom validator that implements INullAcceptingValidator.
2) A TextField component in my form has validator (1) attached to it and
is setRequired(false).
3) When I submit my form with the text input empty, the validator does NOT
get called. It only gets called if there is
by
org.apache.wicket.markup.html.form.AbstractTextComponent.isInputNullable()
On Fri, Jun 3, 2011 at 12:00 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello,
1) I have a custom validator that implements INullAcceptingValidator.
2) A TextField component in my form has validator (1) attached to it
and is
setRequired(false
));
I really can't see how my INullAcceptingValidator could ever get a chance
to process a null value, unless the check of validateValidators() is
changed...
On Fri, 03 Jun 2011 12:47:57 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello again,
I'm in a weird place. I've stepped
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov mgrigo...@apache.org
wrote:
Yes. It looks like a bug
On Fri, Jun 3, 2011 at 12:47 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello again,
I'm in a weird
https://issues.apache.org/jira/browse/WICKET-3767
On Fri, 03 Jun 2011 12:56:06 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Ok, I'll open a JIRA and refer to this thread. Fix seems easy enough.
On Fri, 03 Jun 2011 12:50:40 +0300, Martin Grigorov
mgrigo...@apache.org wrote:
Yes
Hello,
I am trying to create a web page that lists contact addresses in a table.
My repeater can easily lay out one address per row, but I need to be able
to list 2 addresses per row (actually, ideally I'd like to list N
addresses per row). The problem is that ListView's operation
Hello,
Can anybody recommend how to achieve the following:
I need to repeat two tags at the same level, without placing them in a
container. For example, the below markup shows a static div containing
two dynamic div tags(one for the repeater and one for the two tags I
need alongside each
Žilvinas Vilutis
E-mail: cika...@gmail.com
On Thu, Apr 28, 2011 at 4:47 PM, Zilvinas Vilutis cika...@gmail.com
wrote:
use wicket:container tag instead
Regards
Žilvinas Vilutis
E-mail: cika...@gmail.com
On Thu, Apr 28, 2011 at 4:38 PM, Alexandros Karypidis
akary...@yahoo.gr
On Mon, 25 Apr 2011 13:13:22 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Posted:
https://issues.apache.org/jira/browse/WICKET-3640
for investigation. Is there really no alternative to this with Wicket
1.5?
On Mon, 25 Apr 2011 09:19:02 +0300, Martin Grigorov
mgrigo
, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello,
Here's my next question regarding migration to 1.5. I used to publish
dynamic image resources (retrieved from DB) as follows:
protected void init() {
super.init();
getSharedResources().putClassAlias
converted into a separate MenuBar
component.
On Mon, 25 Apr 2011 00:13:46 +0300, James Carman
ja...@carmanconsulting.com wrote:
Check out the YUI menu support in wicketstuff. It works great for us.
On Sun, Apr 24, 2011 at 4:41 PM, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello,
I want
Hello Rene,
I understand that you probably currently DON'T have a favicon for your
site and you are disturbed by the browser's attempt to fetch it.
First of all, you should read http://en.wikipedia.org/wiki/Favicon to see
what this is about. It's the icon that browser use to decorate the
I would reverse the question and ask: why was wicket broken into multiple
packages in the first place? I assume there are use cases where:
- someone would need only the content of wicket-core and none of the extras
- someone would need only wicket-core + wicket-request
- someone would need
Hello,
Here's my next question regarding migration to 1.5. I used to publish
dynamic image resources (retrieved from DB) as follows:
protected void init() {
super.init();
getSharedResources().putClassAlias(org.apache.wicket.Application.class,
Hello,
I want to add menus (as in a menu bar with drop-down menus) on my pages.
In order to achieve that, I must use a nested RepeatingView (see further
down for the explanation). What I need (and don't know how to do) is to be
able to have markup like this:
ul class=web-menu
Hello,
Could you post some pseudo-code on what your request mapper looks like? I
have a similar use-case but I wasn't able to follow. I created a
MyRequestMapper class that wraps the default root mapper:
setRootRequestMapper(new MyRequestMapper(getRootRequestMapper()));
public
Thx!
On Sat, 23 Apr 2011 14:11:56 +0300, Alexandros Karypidis
akary...@yahoo.gr wrote:
Hello,
Could you post some pseudo-code on what your request mapper looks like?
I have a similar use-case but I wasn't able to follow. I created a
MyRequestMapper class that wraps the default root
Hi,
I've just started preparing for 1.5 and have been modifying my code in
order to conform with the new API. I've managed to get my application to
compile and launch, but in my first attempt to render a page I get an NPE
as follows:
java.lang.NullPointerException
at
Hello,
I have a page with a simple HTML unordered list (ul), where part of the
list items are static, whereas the rest of them are dynamic. To that end,
I've injected a span tag at the end of the static items, adding a
ListView in order to fill in the dynamic part, as follows:
HTML
Hello,
I have the following case which I do not know how to handle with Wicket:
I have an element (specifically it is an a href=.../a link) for which I
need to generate an attribute's value dynamically (specifically, I need to set
the href attribute at runtime), but I need to preserve the
Hi,
I'd like to be able to observe Wicket's (de)serialization activity and
model attachment/detachment at runtime. Is there some setting (e.g.
specifying a DEBUG or TRACE log level) that would cause Wicket to log
the relevant actions?
I am using Wicket 1.4.15.
Thank you.
Hello,
I'm using SLF4J and was wondering whether pages should declare:
private transient final Logger log = LoggerFactory
.getLogger(SomePage.class);
as members. I guess that accessing a page that was saved and then re-loaded
would result in breaking logging, as the variable
Hi,
I have an AutoCompleteTextField, for which I need to react to user
selections from the choices list. For example, if a user enters Au and
the choices Austria and Australia are shown, I need to be able to
execute some code via a callback if the user scrolls down to one of the
two choices
Hi,
I have an AutoCompleteTextField, for which I need to react to user
selections from the choices list. For example, if a user enters Au
and the choices Austria and Australia are shown, I need to be able
to execute some code via a callback if the user scrolls down to one of
the two
Hi,
I'm using AutoCompleteTextFiled with Wicket 1.4.9. My model is a POJO
that is specified as a generic:
searchTextField = new AutoCompleteTextFieldSomePOJO(...
Therefore I return an Iterator of such POJOs with:
protected IteratorSomePOJO getChoices(String input) {
Hi,
I am unsing GMap2 from WicketStuff
(http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2)
and need to display a map in a pop-up dialog. I use JQuery for the
dialog. When the Dialog comes up, the map's viewport is offset in
relation to the window and only the
if there's only one map in the page...
On 16/5/2010 15:55, Alexandros Karypidis wrote:
Hi,
I am unsing GMap2 from WicketStuff
(http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2)
and need to display a map in a pop-up dialog. I use JQuery for the
dialog. When the Dialog
is simpler than my previous
one, but hey, it IS Sunday afternoon...
On 16/5/2010 16:16, Martin Funk wrote:
sorry my mind is in Sunday afternoon mode, and not able to wrap itself around
this...
could you come up with a Quickstart example?
mf
Am 16.05.2010 um 14:55 schrieb Alexandros Karypidis
Hi,
I'm using the RadioChoice component on a form with a
CompoundPropertyModel. I'd like the form to come up witn a specific
radio option selected. So I try:
RadioChoiceSex sexRadio = new RadioChoiceSex(profile.sex,
Arrays
.asList(Sex.values()));
Hi,
When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextFieldString in particular though I don't think that matters),
Wicket assigns an HTML id attribute to the component by taking the
wicket:id value I specified and appending a character.
So, if my original HTML had:
Ok, I get it, thank you.
On 22/4/2010 21:55, Martin Makundi wrote:
Hi!
You can call component.setMarkupId(component.getId());
**
Martin
2010/4/22 Alexandros Karypidisakary...@yahoo.gr:
Hi,
When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextFieldString in particular
Hi,
I'm using a wicket:message tags, property files and a ChoiceRenderer
to allow users to switch the Locale. My ChoiceRenderer overrides
wantOnSelectionChangedNotifications() to have the browser send a Locale
change event to the server and when this call returns, all
wicket:message content
Aha! ...the joys of learning Wicket! :-)
On 19/4/2010 10:58 μμ, Pedro Santos wrote:
Your ChoiceRenderer can implement IHeaderContributor and add your javascript
to IHeaderResponse object, since when the user change the value on the
selection component, the page will to be re-rendered
On Mon,
Hi,
How can I have Wicket resolve a key to some localized messages with my
own code at runtime? The reason I ask is because I have this use case:
1) I use Java enumerations to strongly-type a RadioChoice control:
public enum RadioOptions { ONE, TWO, THREE }
2) I strongly-type a RadioChoice
Hi,
I'm a new Wicket user who is also getting familiar with the GMap2 module
from wicket-stuff. I'm using the geocode example as a basis for
creating a form which allows you to search for a location and set the
map viewport to display it:
.
I'm not sure how to properly fix this... Any ideas?
On 21/3/2010 11:38 πμ, Alexandros Karypidis wrote:
Well, if I force the class to be loaded early this way, destroy()
simply fails a little bit further down, when trying to load a nested
class.
java.lang.NoClassDefFoundError:
org/apache/wicket
Hi,
I'm having problems with deployment/undeployment of Wicket apps on
Tomcat (and also JBoss, though I think it's related to the fact that it
embeds Tomcat). Basically, in both cases undeployment comes back with an
Exception, leaving the server in a dirty state and I have to restart
the
45 matches
Mail list logo