Ok ill stay with what I have then because it will work when you enhance your
respond method :)
I do not think being able to skin or extend the ExceptionErrorPage is so
custom as to be unsupported, but I do have an ugly solution that works
around this shortcoming.
Rgds
Ned
igor.vaynberg
Hi Ywtsang,
Not an answer to your question, but you can also consider using a ajax
timer to keep the session alive.
For example as outlined in
http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/.
Regards,
Erik.
ywtsang wrote
we want to
Guys,
I need some suggestions as to which of the above would be the right
framework for the the application i am currently working on..Some important
fact which would help are as follows :
1) All the pages in the application would be secure and hence would require
authentication.
2) There
Hi!
I have an user Form that is posted with AjaxFallbackButton. When the forms
gets submitted without error
I want to clear the form. How can I reset the form?
--
View this message in context:
http://www.nabble.com/Form-clear-tp16760778p16760778.html
Sent from the Wicket - User mailing list
Yes i also hope that these questions are finally dont come any more.
Checkout the current trunk and its way more clear
On 4/18/08, John Krasnay [EMAIL PROTECTED] wrote:
This has to qualify as one of the most common questions on the list!
Hopefully, generics in 1.4 will make it more clear.
The
you have to clear the model of the form(components).
so either set a new (empty) model object for the form (in combination
with a compoundpropertymodel) or you have to reset the models of
the formcomponents somehow one by one...
Gerolf
On Fri, Apr 18, 2008 at 8:53 AM, Mathias P.W Nilsson
Before I go and write my own, I just wanted to make sure that there is
no built-in Converter for Locale.
Looking through the code tells me that it's not supported by default. Is
this so?
Thanks,
David
-
To unsubscribe,
As you should reset the form's model object anyway, you could pass the form
to the AjaxRequestTarget
e.g.
onSubmit(AjaxRequestTarget t) {
Object o = getModelObject();
businessLayer.process(o.clone());
o.setFoo(null);
o.setBar(null);
if (t != null) {
what i do to accomplish this is something link that:
CheckGroup group = new CheckGroup(group, new ArrayListFoo());
group.add(new CheckGroupSelector(selector)); // -- selects all options
and in the listview's populateItem method
item.add(new Check(check, yourModelObject));
hope that helps
On Fri, Apr 18, 2008 at 2:00 AM, David Nedrow [EMAIL PROTECTED] wrote:
We use acegi for one purpose, and that is to authenticate and authorize
(AA) against our corporate SiteMinder server. We have existing Spring-based
applications that successfully auth against SiteMinder via acegi.
We're
nobody can help me??
Fabien D. wrote:
Hi everybody,
I have two problems with the Palette.
The first one is when the user submits the form and there are problems
with the other textfield (Validator), the left field for the selection is
reseted!!
The second problem is when all
no
what should such a converted do?
And what should people type in as a text string?
Most of the times locales are none editable select boxes or list choices
johan
On Fri, Apr 18, 2008 at 9:40 AM, David Leangen [EMAIL PROTECTED] wrote:
Before I go and write my own, I just wanted to make sure
Hi,
I want to recover the maxlength value of the year field rather than
...append(', 4, ')... as in the code below (4 is the maxlength value) :
final TextField year = new TextField(year);
myForm.add(year);
year.setOutputMarkupId(true);
final TextField month = new TextField(month);
Maybe some other people could respond also since i am a bit biased :)
but here goes.
On Fri, Apr 18, 2008 at 7:14 AM, mfs [EMAIL PROTECTED] wrote:
Guys,
I need some suggestions as to which of the above would be the right
framework for the the application i am currently working on..Some
Thanks, I will try it. Anyway strange that there's this still this issue ..
// Paolo
On Thu, Apr 17, 2008 at 2:20 PM, gumnaam23 [EMAIL PROTECTED] wrote:
Download the jmx panel source code and add an empty DIV element before the
the JmxPanel.html
here's patch, (you need stuff between
right, we have implemented the keep alive timer as well
but still, we also want to handle the ajax expiration exception at client
side, because we discovered that we can't preserve the session if the server
is restarted
Erik van Oosten wrote:
Hi Ywtsang,
Not an answer to your question,
no
Ok, thanks.
what should such a converted do?
And what should people type in as a text string?
Most of the times locales are none editable select boxes or list choices
Not for personal consumption. :-)
I'm just testing out an annotation-based means of controlling page
parameters and
Hi all,
is there a way to handle a connection lost problem from AJAX buttons? I mean,
right now when I click on an AJAX button and the server is down, nothing
happens. I'd like to show an alert instead..
I tried registering a handler with registerFailureHandler, but it doesn't fire
_only_ on
Hello,
I tried to test a form with a required field.
First I submitted without setting a value and got an error message as
expected.
Then I set the value and submitted again but again got the error message
as if it wouldn't be cleared or something.
Is there a problem with them or did I miss
ywtsang wrote:
because we discovered that we can't preserve the session if the server
is restarted
Ah, I understand. Well, you could if you use a servlet container that
support this, or if you use Terracotta.
Regards,
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
is way to add StringResourceModel with array of unknown size?
.properties
attendees.names=All attendees include: {0}
webpage
// example list, but do not know size of list at all times
ListString attendees = new ArrayListString();
attendees.add(Attendee 1);
attendees.add(Attendee 2);
Concat the elements of the array yourself before you add it as a parameter?
On Fri, Apr 18, 2008 at 8:17 AM, i ii [EMAIL PROTECTED] wrote:
is way to add StringResourceModel with array of unknown size?
.properties
attendees.names=All attendees include: {0}
webpage
// example list,
i use the captcha image, but sometime the image shows incompletely
e.g. it does not show the full image, it is just chopped
it happened randomly
my form also have an ajax link to allow refresh the captcha immediately
if i click the ajax link to refresh the image , the image chops randomly
with
Hi-
not sure if this helps in your case, but if you define the
wicketGlobalFailureHandler() JavaScript function, it will be called
if your ajax request fails (because of page expiration or any other
reason).
Or use Wicket.Ajax.registerFailureHandler(function() { ...}) (but I
never tried
On Fri, Apr 18, 2008 at 5:17 AM, i ii [EMAIL PROTECTED] wrote:
...
add(new Label(attendee-names, new StringResourceModel(attendees.names,
this, null, new Object[]{ attendees })));
desired output:
All attendees include: Attendee 1 Attendee 2 Attendee 3
Cool, I just had to do something
Also if someone could point to some examples of wicket-auth-roles usage...I
could still see many for swarm but have not really for auth-roles..may be I
an not looking at the right place..please point
mfs wrote:
Guys,
I need some suggestions as to which of the above would be the right
Hi,
that is correct, Hippo CMS 7 should be ready for release in a few months
time. It is a rewrite where the CMS itself is implemented in Wicket.
plug shameless=true
The repository is a JCR (JackRabbit) repository extended with workflow
and faceted navigation. The CMS is composed as a set of
provide a quickstart
-igor
On Fri, Apr 18, 2008 at 1:10 AM, Fabien D. [EMAIL PROTECTED] wrote:
nobody can help me??
Fabien D. wrote:
Hi everybody,
I have two problems with the Palette.
The first one is when the user submits the form and there are problems
with the
create a jira issue
-igor
On Fri, Apr 18, 2008 at 3:12 AM, Federico Fanton [EMAIL PROTECTED] wrote:
Hi all,
is there a way to handle a connection lost problem from AJAX buttons? I
mean, right now when I click on an AJAX button and the server is down,
nothing happens. I'd like to show an
On Fri, Apr 18, 2008 at 8:49 AM, Enrique Rodriguez [EMAIL PROTECTED] wrote:
...
Cool, I just had to do something similar yesterday. I ended up ...
I coded this up for your example:
MyApp.properties
label.attendees=All attendees include: ${attendees}
Usage
=
You want the Authentication and Authorization examples near the
bottom of the Wicket Examples.
http://wicketstuff.org/wicket13/
- Scott
On Fri, Apr 18, 2008 at 8:54 AM, mfs [EMAIL PROTECTED] wrote:
Also if someone could point to some examples of wicket-auth-roles usage...I
could still see
Frank van Lankvelt schrieb:
Hi Frank,
think we´ve talked at the meetup about that.
plug shameless=true
The repository is a JCR (JackRabbit) repository extended with workflow
and faceted navigation. The CMS is composed as a set of plugins. These
Wicket components can be configured and that
should be in core, no?
Date: Fri, 18 Apr 2008 09:22:12 -0700
From: [EMAIL PROTECTED]
To: users@wicket.apache.org
Subject: Re: StringResourceModel with unknown array parameters
On Fri, Apr 18, 2008 at 8:49 AM, Enrique Rodriguez [EMAIL PROTECTED] wrote:
...
Cool, I just had to do
I'm using wicket-spring-annot and ran into a small problem with maven
dependencies. The wicket-spring-annot project depends on wicket-spring.
Wicket-spring in turn depends on the entire monolithic spring.jar instead of
the now-preferred spring-core.jar. This caused a problem in my environment
Thanks for the fast response.
igor.vaynberg wrote:
On Thu, Apr 17, 2008 at 6:48 PM, Doug Donohoe [EMAIL PROTECTED] wrote:
I'm looking for a complete list of all wicket markup (e.g.,
wicket-panel,
wicket-child, wicket-exclude etc). I didn't find anything obvious via
Google or the
Hi Uwe,
plug shameless=true
The repository is a JCR (JackRabbit) repository extended with workflow
and faceted navigation. The CMS is composed as a set of plugins. These
Wicket components can be configured and that can be dynamically swapped
in and out of the application. We use
I am finishing my first app for production in wicket. As any newbie I try to
make a side relevant non-functional problems to focus in which I consider
important.
I was implementing Serializable in all my entities, but I have to change now
that. I ve done it using LoadableDetachableModel. But I
In this case, yeah I think the best way to go is with a DTO. You could use a
static Inner POJO class.
cheers
On Fri, Apr 18, 2008 at 5:50 PM, Fernando Wermus [EMAIL PROTECTED]
wrote:
I am finishing my first app for production in wicket. As any newbie I try
to
make a side relevant
I like for my entities to always be serializable. Is there some
special requirement to have a non-serializable field on your entity
class?
On Fri, Apr 18, 2008 at 4:50 PM, Fernando Wermus
[EMAIL PROTECTED] wrote:
I am finishing my first app for production in wicket. As any newbie I try to
Someones in this thread have ever seen Riot CMS ?!
*Riot is a web-based Open Source Content Management System written in Java.
It's quite different from other systems as it has been designed to match the
needs of custom applications, [..]*
http://www.riotfamily.org
I think would be relatively
I have a page that displays a lot of labels and two text field. It is
refreshed thru an AjaxFormSubmitBehavior that just refreshes the same page
with a new item using a LoadableDetachableModel. I need to update the item
displayed and retrieve a new one. I am doing this within the load method.
i think i've seen this before too at some point. what wicket version?
ywtsang wrote:
i use the captcha image, but sometime the image shows incompletely
e.g. it does not show the full image, it is just chopped
it happened randomly
my form also have an ajax link to allow refresh the
thanks, having proper setup of clustering with session replication should be
the correct way to go in long term
but for this stage, we are restricted to solve the problem at application
level
our application can afford to have ajax session expire if we restart our
server(s) occasionally,
but
we are using wicket 1.3.1
Jonathan Locke wrote:
i think i've seen this before too at some point. what wicket version?
ywtsang wrote:
i use the captcha image, but sometime the image shows incompletely
e.g. it does not show the full image, it is just chopped
it happened randomly
I try to spend the less memory I can using LoadableDetachableModel. But if
the user is filling up a form for a new entity I think I have two options,
one serialize and the other create a kind of dto. I don't like the first
because I don't want my domain model be modified by the web tier
Warren,
I am new using LoadableDetacheModel. I would like to know why is
called twice in your example.
Thanks.
--
Fernando Wermus.
dump the stack trace and see?
new Exception().printStackTrace();
On Fri, Apr 18, 2008 at 8:45 PM, Fernando Wermus [EMAIL PROTECTED]
wrote:
Warren,
I am new using LoadableDetacheModel. I would like to know why is
called twice in your example.
Thanks.
--
Fernando
47 matches
Mail list logo