Thank you very much for the repliesI got the problem and solved it using
the code:
*final RequiredTextField postTextField = new
RequiredTextField(
"postTextField",
Model.of(postDomain.getPost()));
*
But please tell me one thing...the first parameter in new
Req
Thanks Dan, possibly this should be downgraded from WARN.
-Original Message-
From: Dan Retzlaff [mailto:dretzl...@gmail.com]
Sent: Thursday, 3 May 2012 4:11 a.m.
To: users@wicket.apache.org
Subject: Re: deserialization - got nulll lastPage
Hi Dale,
Wicket keeps the most recent page from
Hey,
Sorry for spamming I couldn't figure out who to contact to (hopefully)
get this listet in your books section:
a few weeks ago my book on Wicket 1.5 got released:
http://www.amazon.de/Wicket-Komponentenbasiert-objektorientiert-alternative-Java-Webframework/dp/3868020810
It's written in German
It looks that since you aren't giving the text field a model to bind to,
it's walking up the component hierarchy to find a model to check for a
getter getPostTextField(). I'm guessing that PostDomain does have a
getPost() method, which it's finding and using. You'll either want to keep
the wicket
I'd guess that you're using CompoundPropertyModel. This kind of confusion
is common with CPM, which is why people often recommend against it.
On Wed, May 2, 2012 at 12:09 PM, Richard W. Adams wrote:
> It means it's looking for a method called getPostTextField() in your
> model, but not finding o
It means it's looking for a method called getPostTextField() in your
model, but not finding one.
From: kshitiz
To: users@wicket.apache.org
Date: 05/02/2012 02:08 PM
Subject:Unusual problem is coming in rendering component
Hi,
I am trying to render a text field :
Java code
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.MarkupStream;
import org.apache.wicket.markup.html.include.Include;
import org.apache.wicket.model.IModel;
public class MyInclude extends Include {
public MyInclude(String id, IModel model) {
super(id, model
Hi Dale,
Wicket keeps the most recent page from each session in a deserialized
state, in addition to writing it to disk. This is an optimization since
most requests interact with only the most recent page. After restart, these
deserialized pages will not be available, forcing Wicket to restore the
AH! Ok. Makes sense! Thanks.
Tom
On 2012-05-02 17:23, Igor Vaynberg wrote:
no. if you do not want to store the string then instead of a new Model
use new AbstratReadOnlyModel().
-igor
-
To unsubscribe, e-mail: users-uns
no. if you do not want to store the string then instead of a new Model
use new AbstratReadOnlyModel().
-igor
On Wed, May 2, 2012 at 8:25 AM, Tom Eugelink wrote:
>
> On 2012-05-02 17:16, Igor Vaynberg wrote:
>>
>> if it doesnt store anything then where would it get the value from
>> when the seco
call form.clearinput() after you change its model. otherwise form
components will use their cached values instead of pulling from the
form.
-igor
On Wed, May 2, 2012 at 7:19 AM, theAnthony wrote:
> Indeed, I'm using an AjaxEventBehavior listening for "onclick", in the
> onEvent method, I send an
On 2012-05-02 17:16, Igor Vaynberg wrote:
if it doesnt store anything then where would it get the value from
when the second request needs to be processed? wicket components live
across many requests.
Don't know. That exactly was my question. Is it possible to not store constant values in
th
if it doesnt store anything then where would it get the value from
when the second request needs to be processed? wicket components live
across many requests.
-igor
On Wed, May 2, 2012 at 4:47 AM, Tom Eugelink wrote:
>
> The Wicket application I'm developing is an internal app which will only be
On 2-5-2012 17:07, Eric Jablow wrote:
Actually, there are reasons to use resource files. If you use a label on
more than one page, or even more than once on a single page, and if your
application is changing as you develop it, you may want to change the text
for a label, and you probably will w
Sorry, that's Wicket version 4.1.15.
From: Bruce Pease
Sent: Wednesday, May 02, 2012 11:06 AM
To: 'users@wicket.apache.org'
Subject: Include Component
Good Morning:
I am using the Wicket 1.4.14 release in a Tomcat 7 windows server. I am
using the Include class to render a navigation p
On Wed, May 2, 2012 at 7:47 AM, Tom Eugelink wrote:
>
> The Wicket application I'm developing is an internal app which will only
> be available in English. In order to not unnecessarily bloat the code and
> the project, I'm often use hardcoded labels. I know this is not convention,
> but there is
Good Morning:
I am using the Wicket 1.4.14 release in a Tomcat 7 windows server. I am
using the Include class to render a navigation panel. I would like to
protect this call on the off chance that the file/url does not exist. Right
now, the framework throws a file io exception, and the page
Indeed, I'm using an AjaxEventBehavior listening for "onclick", in the
onEvent method, I send an event which is intercepted by the form where the
model of the form is changed and the elements to be refreshed are added to
the AjaxRequestTarget.
--
View this message in context:
http://apache-wicke
Hi,
what are you using to change form's values when user clicks on table (an
Ajax behavior ?) ?
Hi,
In my application, I'm developing a dynamic page with a table of currencies
per dates and on the side I have a form with a 'from' date and 'to' date.
Clicking on a cell of the table changes the
Hi,
take a look at FormInput.LocaleDropDownChoice or DropDownChoicePage in
wicket-examples
Sven
On 05/02/2012 02:17 PM, Brian Mulholland wrote:
For some reason I am finding that most Wicket examples have select box
examples that offer single dimension arrays. But most lookup
selection use c
For some reason I am finding that most Wicket examples have select box
examples that offer single dimension arrays. But most lookup
selection use cases I've ever encountered use a short key or 'code'
that the user does not see, and then a longer descriptive 'decode' for
the user. The classic bein
Hi
Has anybody implemented a (simple) pivot table in wicket? How can I store
the pivot data (maybe a java library)? I want to create a simple pivot table
in wicket with data retrieved from a database query.
Any advice is welcome.
Thanks,
Decebal
--
View this message in context:
http://apache-w
Hi,
In my application, I'm developing a dynamic page with a table of currencies
per dates and on the side I have a form with a 'from' date and 'to' date.
Clicking on a cell of the table changes the value of the dates in the form.
This works all fine as long as the form is valid. But if the form h
Hi,
I havn't been able to recreate with a quickstart. Not sure why its
appending the sessionID.
#getContextRelativeUrl() is getting called correctly. So it must be
elsewhere in application. I'll keep looking.
Fergal.
On 1 May 2012 18:21, Sven Meier wrote:
> Hi,
>
> I just verified with blocked
The Wicket application I'm developing is an internal app which will only be
available in English. In order to not unnecessarily bloat the code and the
project, I'm often use hardcoded labels. I know this is not convention, but
there is no reason for me to introduce a resource file and use the
I would like to suggest an API improvement in the fluent interface, which
should not break backwards compatibility. Currently if you create, say, a
mandatory FileUploadField, you cannot do this.
/FileUploadField lFileUploadField = new FileUploadField("fileInput",
...).setRequired(true);
/
Beca
At first sight I would say that your problem could be related to a
different Locale used during unit test. You should compare the output of
'myData.getAmount()' when is called during testing and when is called
running on Jetty server.
I have a integration test case:
FormTester for
As a fairly newbie to Wicket I also found the JQuery integration most confusing
(and have abandoned it for now). Too many projects trying to do the same, with
only half a documentation and half of the components. IMHO, with Wicket 6 ready
using jquery for its Ajax (as I understand it), it coul
Try this: http://code.google.com/p/jqwicket/
Allow high/low level jQuery/UI access.
(sometimes low level JavaScripting is required).
Tried all libraries you mentioned but JqWicket
looks to be the most promising.
To make my life easier I modified it,
JQBehavior extends AbstractDefaultAjaxBehavior
(
Hi Jesse?
Add this to your list of options
http://www.7thweb.net/
http://www.7thweb.net/jquery-ui-samples/
Josh.
On Wed, May 2, 2012 at 11:48 AM, Jesse Long wrote:
> Hi All,
>
> I'm interested in using features of the jquery integration in wicketstuff,
> but it seems it is not being maintain
Hi All,
I'm interested in using features of the jquery integration in
wicketstuff, but it seems it is not being maintained. The version of
jquery packaged with the wicketstuff-jquery jar seems to be 1.3.2, which
is quite old already. Am I missing something? Is there a preferred way
of integra
31 matches
Mail list logo