well, its either removing components or an outofmemoryexception. which
one do you prefer? :)
we need to find another way to fix the OOME. can you see one?
-igor
On Wed, Aug 26, 2009 at 10:48 PM, Ian MacLartyian.macla...@gmail.com wrote:
Here is an example of some less trivial behaviour that is
I tried the fix to populateItem proposed by the original bug reporter
(http://issues.apache.org/jira/browse/WICKET-2384) and that seems to
work.
On Thu, Aug 27, 2009 at 4:32 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
well, its either removing components or an outofmemoryexception. which
BTW I've logged bug 2438.
On Thu, Aug 27, 2009 at 5:01 PM, Ian MacLartyian.macla...@gmail.com wrote:
I tried the fix to populateItem proposed by the original bug reporter
(http://issues.apache.org/jira/browse/WICKET-2384) and that seems to
work.
On Thu, Aug 27, 2009 at 4:32 PM, Igor
look at
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/input-events-parent/
2009/8/26 Johannes Schneider maili...@cedarsoft.com
Hi,
I have here several AjaxLinks that should be triggered using a shortcut
(e.g. PageDown or Delete).
Does anybody have some
take a look at the user guide at
http://cwiki.apache.org/WICKET/newuserguide.html
take a look at the example http://wicketstuff.org/wicket13/forminput/
click on the source code link on the right of the page to see the source code
if possible buy the book wicket in action
regards
On Thu,
One 'hack' of a way to check whether you have stuff in your session
that shouldn't be, is to make sure that the objects you don't want
sticking around are not serializable, and you'll see stacktraces soon
enough. If that's an options, it's a useful hack...
Eelco
On Wed, Aug 26, 2009 at 12:29 PM,
Eelco,
Thanks for your tip.
Bas
- Original Message -
From: Eelco Hillenius eelco.hillen...@gmail.com
To: users@wicket.apache.org
Sent: Thursday, August 27, 2009 10:09 AM
Subject: Re: How to detect model leakage into session
One 'hack' of a way to check whether you have stuff in
Or check your pages for references to your entities at the end of the request:
private void testDetachedObjects(final Page page)
{
Page responsePage = getResponsePage();
if (page == null || page.isErrorPage()
|| (responsePage
Hi there.
I've run into an issue and don't know how to solve it.
My experience with Wicket is still low.
I have a BasePage, subclass of WebPage. This page has some links,
including links to change the language.
This BasePage is not a page that is rendered directly. Only though
subclasses.
Are there any components or extensions that would help me give a calendar
based rendering of something like a room reservation system.
Multiple rooms vs time, visual blocks like meetings on google calendar,
easy to spot openings.
I've seen references to calendarviews and ddcalendar in
If you need some calendar-like component with time duration and multi-events
presentation I suggest
http://www.simile-widgets.org/timeline/
and it's Wicket child (didn't use it, but functionality should is similar to
your needs):
Hello,
I would like to add a behavior to a component which alters the HTML output
related to that component. I know that you can use setComponentBorder but I
saw a posting that mentioned behaviors were the more appropriate way to do this
as explicit component borders might become deprecated.
On Thu, Aug 27, 2009 at 5:31 PM, Joe Hudson joe.hud...@clear2pay.comwrote:
Hello,
I would like to add a behavior to a component which alters the HTML output
related to that component. I know that you can use setComponentBorder but I
saw a posting that mentioned behaviors were the more
After I choose something in DropDownChoice then 'Choose one' item is removed
from the list.
If I will try to use setNullValid(true) then 'Choose one' string is
replaced with '' (emptry string).
How is it possible to display 'Choose one' if another item has been
selected?
Is it possible to reuse existing translation - I like 'Choose one'?
If my app has 32 languages, then I should create 32 records in each file?
On Thu, Aug 27, 2009 at 3:58 PM, Dipu dipu@googlemail.com wrote:
add this in your .properties file
yourForm.yourDropDownId.nullValid = Choose One
Hi
The implementation tries these keys:
getId() + .nullValid
nullValid
So you could also have a global 'nullValid' entry somewhere in your
resources which would be the default for ALL AbstractSingleSelectChoices
such as DropDownChoice and RadioChoice
Matt
Gatos wrote:
Is it possible to
Thank you. The case is solved.
Maybe it would be a good idea to add nullValid to Wicket global translation
files, then it won't be needed to create a new record in my file. nullValid
could be used if I wan't something to override. It's something similar to
Convention over Configuration.
On
To force re-instantiate of an unknow subclass you can use reflection like:
setResponsePage(getPage().getClass().getConstructors()[0].newInstance());
but a simple setResponsePage(getPage()) should work to update resources used
by wicket:message for example
On Thu, Aug 27, 2009 at 6:47 AM,
Hi!
I need to dump a HTML page rendered by wicket into a file INSTEAD of
rendering it to HTTPServletResponse. How can this be done?
The reason why I need to do this is that the user wants to download
the page as PDF. I want to dump it into file, convert html-pdf and
then redirect the user to a
search nabble for email wicket page - or something similar. you
should be able to find a thread that answers your question. There
have been quite a few about dumping a Wicket page to a stream or
string to email.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Aug 27, 2009 at 8:57
You're going about this the wrong way. You shouldn't force a
re-instantiation. The real problem here is that your components are
not shown as localized because apparently you are pushing the strings
into your components in the constructors. Instead, you should use a
model that always pulls the
There's a calendarviews project in Wicket Stuff that I have written
and used here:
http://www.texashuntfish.com/app/calendar
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Aug 27, 2009 at 4:57 AM, Troy Caubletroycau...@gmail.com wrote:
Are there any components or extensions that
Tnx
http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459
http://www.danwalmsley.com/2008/10/23/sending-html-email-with-wicket-part-ii-converting-links/
t. Martin
2009/8/27 Jeremy Thomerson jer...@wickettraining.com:
search nabble for email wicket page - or
Which one is the right answer?
http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
2009/8/27 Martin Makundi martin.maku...@koodaripalvelut.com:
Tnx
http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459
I needed to do the same thing. I saw this on another post and it works
fine. Override getDefaultChoice:
protected CharSequence getDefaultChoice(Object selected)
{
return option selected=\selected\ value=\\Choose One/option;
}
You can use
Thanks for the suggestion. I've actually already got OpenSessionInViewFilter
in my web.xml, like so:
filter
filter-namewicket.filter/filter-name
filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
Any news here? I want to use input-events which has not been released
yet. Any timeline for that module?
Thanks,
Johannes
Erik van Oosten wrote:
Hello,
Now that Wicket 1.4.0 is out, I wonder which wicketstuff core version is
compatible. There is no 1.4.0 version of wicketstuff core
Hi,
Assuming that I am localizing to a language that has different text required
for male and female is there a generic way for hadling that. This is of
course based on the fact that I can provide a user object that contains that
property (if the user is a male or female)
I can think of a
use setStyle() and different styles for property files. That means
you should have 2 files:
MyApplication_male.properties
MyApplication_female.properties
j
On Thu, Aug 27, 2009 at 5:32 PM, Arie Fishlerarie@gmail.com wrote:
Hi,
Assuming that I am localizing to a language that has
Thanks for that pointer.
I've looked over the model and got it working with overriding
getObject() in PropertyModel.
Manfred
Von: Jeremy Thomerson jer...@wickettraining.com
Datum: 27. August 2009 15:17:49 GMT+01:00
An: users@wicket.apache.org
Betreff: Re: Subclass of base page class not
By the way:
Wicketstuff contains an old repository definition that should be removed
(in input-events).
Thanks,
Johannes
Johannes Schneider wrote:
Any news here? I want to use input-events which has not been released
yet. Any timeline for that module?
Thanks,
Johannes
Erik van
Does all your models and obejcts implement Serializable?
--
View this message in context:
http://www.nabble.com/AbstractAjaxTimerBehavior-on-Modal-Window-causes-PageExpiredException-tp25159539p25178263.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I'm trying to change the text of label based on whether a flag is set for
graph or not graph.
graphLink.add(new Label(graphLinkLabel, new Model() {
@Override
public Object getObject() {
return isGraph ? List : Graph;
}
}));
When
Call setRequired(false) on the dropdownchoice.
Regards,
Erik.
Gatos wrote:
After I choose something in DropDownChoice then 'Choose one' item is removed
from the list.
If I will try to use setNullValid(true) then 'Choose one' string is
replaced with '' (emptry string).
How is it possible
That thing works great with normal links. But I have a problem with
Ajax(Fallback)Links. The created JavaScript looks good but it does not work.
Since I really don't understand JavaScript I don't have a clue what to
do next. I have modified the example to reproduce the problem:
Add to
I have a DefaultDataTable that is sourcing data from a custom
SortableDataTable.
My size() and iterator() implementations are not cached, but are executing
each on each call (I have confirmed that size() is getting called on each
page render).
My problem is:
When I add a filter to my query that
Yes all my objects that need to be serialized are being serialized.
I put together a workaround. In the onClick() that closes the Modal
Window. I called AbstractAjaxTimerBehavior#stop() then waited for a
period longer than the Duration of the AbstractAjaxTimerBehavior and
then closed the Modal
Hi,
Can't really tell you what the solution is.
But the wicket devs might be interested to know that I noticed the same
problem in the wicket phonebook example.
So at least reproducing the problem should be easy :-)
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/
regards,
I made some progress:
When using the (newly created) EventType onclick the behvious seems to
be improved.
The first time it works great, but if I add the link to the
AjaxRequestTarget (so that the link is updated), the event is executed
multiple times...
Regards,
Johannes
Johannes Schneider
Sverre,
Could you paste the code in a formatted way? I tried to use that code, but
its syntax is not right...
I don't understand the fragment where you use AjaxCallDecorator... The
fragment just says return new AjaxCallDecorator but that is not inside any
method... Please I need this as soon as
Hi,
I am using a DateField and in my css I am trying to make the font size
smaller for this component.
I notice that the DatePicker calendar font has become smaller, but the
DateTextField does not get that style.
How should I make the DateTextField get the same style?
Here's the
Hi all,
Nino has commented that it could be some problem in a modal window with
another javascript library. For instance, I tried adding SWFObject to the
modal window without success. Nico has said that this could be related to a
DOM issue. Could anyone explain this point in more detail?
Is this the right place to look for planned features for 1.5?
http://cwiki.apache.org/WICKET/wicket-15-wish-list.html
Jörn
On Thu, Aug 20, 2009 at 5:10 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
Wicket 1.4.x has been branched and now lives in
Peter,
Thanks for pointing out the other thread. I'll try the quickstart
attached to the JIRA issue and see if I can replicate the problem I'm
having.
Tauren
2009/8/26 Major Péter majorpe...@sch.bme.hu:
Hi,
I was experiencing the same thing, but it was in FF (3.5.2) for me.
See details:
Thank you Peter. That link was extremely helpful!
Joe
-Original Message-
From: Peter Thomas [mailto:ptrtho...@gmail.com]
Sent: Thursday, August 27, 2009 8:12 AM
To: users@wicket.apache.org
Subject: Re: using behaviors as borders - how to?
On Thu, Aug 27, 2009 at 5:31 PM, Joe Hudson
Hi,
With forms on Wicket pages, it appears that on submit which is HTTP
POST, Wicket redirects to the same page (the page from where the data
was sent) ad this is how we show feedback on the form page.
How is it possible to send the rendered form page back to the broser
as a direct response to
http://cwiki.apache.org/WICKET/render-strategies.html
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Aug 27, 2009 at 11:01 PM, b...@actrix.gen.nz wrote:
Hi,
With forms on Wicket pages, it appears that on submit which is HTTP
POST, Wicket redirects to the same page (the page
Hello Friends,
I have page in which textField and button .
when submit a form (onClick ) i need to call same page and pass argument to
that page.
so that page will take argument from session variable.How to store and how
to get that value
*for loading same page*,Shall i call the page using
Why put the variable in the session at all? Do this in your onSubmit:
onSubmit() {
setResponsePage(new SomePage(this.someVariable));
}
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Aug 28, 2009 at 12:17 AM, Gerald
Fernandogerald.anto.ferna...@gmail.com wrote:
Hello Friends,
I
49 matches
Mail list logo