Hi!
My FileUploadField worked fine before:
dataForm.add(fileUploadField = new FileUploadField(COMPANY_LOGO));
After upgrading to 1.4 rc-1 (from 1.4-m1) the upload crashes.
Am I doing something wrong or is there a bug in rc-1?
Caused by: java.lang.IllegalStateException: Attempt to set
How?
It accepts only FileUpload, which cannot be constructed as a dummy. Or can it?
**
Martin
2008/11/19 Bruno Cesar Borges [EMAIL PROTECTED]:
Yes, you need to set a Model object into FileUploadField. :-)
Bruno
-Mensagem original-
De: Martin Makundi [mailto:[EMAIL PROTECTED
Where is such method?
**
Martin
2008/11/19 Igor Vaynberg [EMAIL PROTECTED]:
call hasexplicitmodel(false)
-igor
On Wed, Nov 19, 2008 at 8:43 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
How?
It accepts only FileUpload, which cannot be constructed as a dummy. Or can
it?
**
Martin
Strange quirk.. someone removed the preceding hack from within. Is
there some flaw in the FileUploadFIeld design?
**
Martin
2008/11/19 Erik van Oosten [EMAIL PROTECTED]:
Yeah, I run into the same thing.
Just pass FileUploadField an empty model: new ModelFileUpload()
Regards,
Erik.
What is the easiest way of embedding raw html (yes, it could/should
use some xml dom which is included with wicket)?
Is it possible, for example, to replace a wicket:container/ element
on a panel with such raw dom content?
**
Martin
2008/11/20 Igor Vaynberg [EMAIL PROTECTED]:
if you are
What is the out-of-the-box xml dom generator for wicket, if I wanted
to use such tool for generating the html structure?
**
Martin
2008/11/20 Martijn Dashorst [EMAIL PROTECTED]:
add(new Label(raw, h1Foo/h1).setEscapeModelStrings(false));
On Thu, Nov 20, 2008 at 5:00 PM, Martin Makundi
[EMAIL
Would it help using Bookmarkable links?
**
Martin
2008/11/21 Igor Vaynberg [EMAIL PROTECTED]:
On Fri, Nov 21, 2008 at 9:18 AM, Ralf Siemon [EMAIL PROTECTED] wrote:
Thanks for the advice. Unfortunately we cannot do this here, because the
ListViews contain Link components for user interaction.
This seems to result in
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
org.apache.wicket.util.io.DeferredFileOutputStream
I must implement the detach() method for the dummy fileUpload model:
form.add(fileUploadField = new
There is ServletWebRequest.isAjax
**
Martin
2008/12/4 francisco treacy [EMAIL PROTECTED]:
i've been using the aforementioned toggle behavior almost always in
ajaxy pages, and in that case they work fine.
basically that means i add toggle behaviors to components in a page.
when i call an
Combine it nicely with generic busy indicator:
http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
Just make the div pick the size from the screen and set it on top with
cursor type wait.
**
Martin
2008/12/5 Martijn Dashorst [EMAIL PROTECTED]:
Why not
Hi!
I often find myself spending a tremendeous amount of time
mind-boggling with Component:paths for my WicketTester tests.
I assume that it would be pretty easy to code a 'WicketTest recorder'.
The solution would probably be some kind of filter properly attached
into the wicket framework at
and 1.4-rc1.
On Sun, Dec 14, 2008 at 6:41 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
I often find myself spending a tremendeous amount of time
mind-boggling with Component:paths for my WicketTester tests.
I assume that it would be pretty easy to code a 'WicketTest
Do you ever call listview.removeAll ?
2008/12/15 dbuttery dennis.butt...@connectedenergy.com:
Hi all,
I have a ListView in which each repeater row has a button to launch a
ModalWindow. I actually do this multiple times in my application so I know
that it does work.
I just added a new
Hi!
Critical bug https://issues.apache.org/jira/browse/WICKET-1916
Anybody know what's causing the problem? I attached a quickstart for
repeating the bug.
**
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
on each row to allow report
parameters to be set... Simple enough, eh?
-Dennis
Martin Makundi wrote:
Can you make a quickstart project that repeats the problem?
**
Martin
2008/12/16 dbuttery dennis.butt...@connectedenergy.com:
Nope. removeAll is never used.
Martin Makundi wrote
Can you make a quickstart project that repeats the problem?
**
Martin
2008/12/16 dbuttery dennis.butt...@connectedenergy.com:
Nope. removeAll is never used.
Martin Makundi wrote:
Do you ever call listview.removeAll ?
2008/12/15 dbuttery dennis.butt...@connectedenergy.com:
Hi all
Hi!
I am using org.apache.wicket.datetime.PatternDateConverter to convert
my date objects (in a select combo) into strings.
The funny thing is that on my test server the debug output says:
AbstractCalendarPanel - Date 2008-06-01 converted into may zone Etc/GMT
On my development computer the
Well.. here is a showhideborder that you can use.. you know how to use borders?
public class ShowHideBorder extends Border implements WebPageConstants {
/** */
public static final String TOGGLE_CONTENTS_BUTTON = toggle_contents_button;
/** */
public static final String CONTENTS =
wicket:body /
/span
/fieldset
/wicket:border
2008/12/17 Martin Makundi martin.maku...@koodaripalvelut.com:
Well.. here is a showhideborder that you can use.. you know how to use
borders
You can use WindowClosedCallback...
modalWindow.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback() {
public void onClose(AjaxRequestTarget target) {
--- redirect
}
});
**
Martin
2008/12/19 HITECH79 hitec...@web.de:
Hallo wicket-friends,
i have
And there is an implementation using border whose quickstart is available here:
https://issues.apache.org/jira/browse/WICKET-1789
**
Martin
2008/12/21 Jeremy Thomerson jer...@wickettraining.com:
See the accordian in Wicket Stuff. You might need to help Nino get it up to
date with Wicket
Hi!
I have some select boxes on the screen which trigger screen refresh in
live mode.
However, I have not yet figured out how to trigger
OnChangeAjaxBehavior using WicketTester in a non-intrusive manner. I
have found some intrusive workarounds that tweak the server-side
models, but what is the
Why don't you just set the modal window div css properties with javascript?
http://developer.apple.com/internet/webcontent/styles.html
2009/1/5 Vitek Tajzich v.tajz...@gmail.com:
Yes, that right but these properties are read only at construction time so
I'm not able to change size of already
Hi!
I have difficulties killing the session at login. I have two pages:
A) A stateful page which I have visited before login. Some information
is stored in the session while 'unauthenticated'
B) A stateful login page. If the user logs in, I want to kill the
session created in A) and start a new
be get from modal's java object
properties...
Last line will center your modal Windows after resizing.
BR,
V.
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Monday, January 05, 2009 10:53 AM
To: users@wicket.apache.org
Subject: Re: Modal
On Tue, Jan 6, 2009 at 13:58, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
I have found out that the page set by setReponsePage does not process
its own response and created a jira issue:
https://issues.apache.org/jira/browse/WICKET-2006
I also attached a wicket quickstart
Yellow snow should do it...
2009/1/7 wch2001 wch2...@hotmail.com:
My question is
I am doing downloadLink , when the file is existed, it is ok to download it,
but when the file is not existed, no any error message No file exist! to
popup!
According to debug, i can see it already go to the
Maybe try asking the question in your native language?
**
Martin
2009/1/7 wch2001 wch2...@hotmail.com:
I use DownloadLink, when file is not existed, there is not any info message.
how to solve it?
I want to show some message like No file finds when the file is not
existed
thanks a
Why not implement all actions within the same onchange?
**
Martin
2009/1/7 Yazeed Isaacs yaz...@switch.tj:
Hi
I have a select box with an AjaxEventBehaviour linked to its onchange
event.
I want to perform the following but I need some help.
When onchange occurs the following steps are
Here's one good article:
http://talk-on-tech.blogspot.com/2008/12/wicket-neat-url-encoding-strategy-and.html
2009/1/8 Gwyn Evans gwyn.ev...@gmail.com:
Not sure if it qualifies as enough of a topic, but would some form of
overview/comparison/when to use syummary of the various URL coding
I did not know of this.. I have always used the IChoiceRenderer's
getIdValue to distinguish between dropdown elements.. I have never
overridden the modelcomparator.
I wonder... which way is the right way :)
**
Martin
2009/1/8 walnutmon justin.m.boy...@gmail.com:
I have dropdowns that are
If it ain't broken, don't try to fix it...
2009/1/8 Igor Vaynberg igor.vaynb...@gmail.com:
well, its either
IStringResourceLoader and a StringResourceLoader as the default
implementation - and there usually is just the default
or
StringResourceLoader and StringResourceLoaderImpl or
Hi!
I have done a somewhat similar looking element with divs. All you need
is to tell the div its starting point, width and height and color, and
you get exactly what you want. If you want it to be clickable you just
put a link anchor around it (a href=..div style=left: xx; width:
xx; height:
Just a Wicket WebMarkupContainer will do.
Put it in a listview.
t. Martin
2009/1/9 lizz elisabeth.thor...@bouvet.no:
Yes I know but this should be displayed in a wicket web page and the number
of tasks types is not static (it is based on the page datamodel
(CompundPropertyModel), so I think
Hi!
Empty File Upload field breaks validation of other fields in WicketTester.
The form processes a simple MockHttp..Request but the tester sends
Multipart...Request.
Wicket quickstart attached to jira:
https://issues.apache.org/jira/browse/WICKET-2015
Anybody familiar with the necessary
I use a non-intrusive javascript snipplet which requires nothing else
from the server side and it works with or without Wicket...:
css:
#busy-symbol { position: absolute; top: 0px; left: 0px; margin: 0px;
width: 100%; z-index: 10; background: url(../images/raster.png)
repeat; cursor: wait; }
How does this perform in a clustered environment?
The specification says: A servlet container is not required to
propagate HttpSessionEvents to different JVMs
**
Martin
2009/1/13 Eunice peiwen0...@gmail.com:
Ok..Thanks for your reply..
igor.vaynberg wrote:
see HttpSessionListener
Hi!
There are:
* FormComponentFeedbackBorder
* FormComponentFeedbackIndicator
... and you can also make your own, it is easy to react to the
feedback message status of a component and just make your own effect.
Have a look at the source code within the abovementioned...
**
Martin
2009/1/13
of the
corresponding markup to remove the references to input instead
converting them all to elements.
Thanks!
Justin
Martin Makundi wrote:
Hi!
There are:
* FormComponentFeedbackBorder
* FormComponentFeedbackIndicator
... and you can also make your own, it is easy to react to the
feedback
What is the problem? I.e., why do you feel it can not be a simple page?
**
Martin
2009/1/14 Mathias P.W Nilsson math...@snyltarna.se:
Hi,
I have developed an application with wicket that has been around for about a
year. A user can have serveral options for payment - Visa, MasterCard, Post
Why don't you send the query parameters from wicket to the payment
server using QueryStringUrlCodingStrategy
?
**
Martin
2009/1/14 Mathias P.W Nilsson math...@snyltarna.se:
The main problem is the external form. I need to send the form to an external
server. Since I need wicket to check the
Honestly, I simply cannot grasp the problem.
Our site works like this:
1. User fills form.
2. User submits form to Wicket site.
3. Wicket site analyzes the submitted form and constructs a PageParameters map.
4. Wicket site redirects the user to a payment processing server using
the
-1- isVisible is called a lot. It is easily called ten times within 1
request
If you need to optimize, you can use lazy initialization of a boolean
variable here and reset it in onBeforeRender?
-2- isVisible can make your model be reloaded multiple times within 1
request
If you need to
Sounds like bad design that's going to give you headaches later...
nevertheless, did you try setting the listItem.setVisible(false)?
**
Martin
2009/1/15 Steve Swinsburg s.swinsb...@lancaster.ac.uk:
Hi all,
I have a situation whereby certain conditions mean I need to skip an item
that is
See:
*
http://mail-archives.apache.org/mod_mbox/wicket-users/200901.mbox/%3c303141550901100017w3480b326vd1cf21e3efa18...@mail.gmail.com%3e
*
http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
**
Martin
2009/1/15 alex.bo...@souzacruz.com.br:
Hi all,
Well... I would not build in the cache because different components
could interact in a way that if someone prematurely calls the
isVisible method, it freezes in the wrong state. It is known, that the
isVisible is called multiple times for various reasons.
**
Martin
2009/1/15 Jonathan Locke
-request basis (i.e., you can configure it for a specific page and
state).
And don't forget about isEnabled too though it is more rare ;)
**
Martin
Martin Makundi wrote:
Well... I would not build in the cache because different components
could interact in a way that if someone prematurely
(); }
then you can set a default and override for any individual component (or
page).
Martin Makundi wrote:
you could always work it the other way and have no caching by default but
allow people who know what they're doing to enable it for an application
with something like
IRequestCycleSettings
3. Pick up components automatically without needing to add them in the Java
code:
add(new LastPostsPanel(lastPostsPanel));
add(new NewsPanel(newsPanel));
This could be matched automatically
This should be accomplished using and IDE, not by default. I would not
mind an IDE that could match
gathering up a list of most important features and
maybe add them into either some of the existing wicket ide plugins or
roll out a separate helper plugin.
**
Martin
On Thu, Jan 15, 2009 at 8:31 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
3. Pick up components automatically
All you need is a RAD IDE that co-operates well with the typesafe wicket.
**
Martin
2009/1/16 Tobias Marx superoverdr...@gmx.de:
I think there already a lot of projects out there that try to optimize
web-development in Java.
Instead of starting yet another project I think it would be better
-Nachricht
Datum: Fri, 16 Jan 2009 06:31:39 +0200
Von: Martin Makundi martin.maku...@koodaripalvelut.com
An: users@wicket.apache.org
Betreff: Re: Things I miss in Wicket
3. Pick up components automatically without needing to add them in the
Java code:
add(new LastPostsPanel
by design
Original-Nachricht
Datum: Fri, 16 Jan 2009 14:53:05 +0200
Von: Martin Makundi martin.maku...@koodaripalvelut.com
An: users@wicket.apache.org
Betreff: Re: Things I miss in Wicket
All you need is a RAD IDE that co-operates well with the typesafe wicket.
**
Martin
... or conscious design debt... ;)
**
Martin
2009/1/16 Johan Compagner jcompag...@gmail.com:
An ideal web-application is developed once and the Java code is never
touched again for 3-5 years until there are a lot of new features
necessary
where do you live?
thats not my experience.
The panel is a detail form. The detail form contains a link back to the
search results. I want to put the link in the detail form since this is the
only time that it will appear, but this link action needs a reference to the
search results panel to toggle the visibility back to true.
It
Hi!
I would like to ignore page expired on certain pages. What I mean is
that in general it is ok to follow the instruction:
getApplicationSettings().setPageExpiredErrorPage(LoginPage.class);
However, on certain pages where the session is not so important, I
would like to redirect back to the
when you hit pageexpired exception you do not know which page caused it
Is it possible that there could be some query parameters that could be
used to deduce such information?
**
Martin
On Fri, Jan 16, 2009 at 11:18 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
I would
Specifically, if it is a Mounted Bookmarkable page, the page name
should be available in the url?
**
Martin
2009/1/16 Martin Makundi martin.maku...@koodaripalvelut.com:
when you hit pageexpired exception you do not know which page caused it
Is it possible that there could be some query
the only information you have about the page is 2.
you can write your own coding strategy that always appends the class
name of the last bookmarkable page to all the urls...that way you can
recover it but it sure wont look pretty.
-igor
On Fri, Jan 16, 2009 at 12:09 PM, Martin Makundi
You can use a href=# target=_blankxx or WIcket's popupsettings,
if you want it to be a real separate window.
Example of setPopupSettings:
1) working with many attributes of an object
we have some pages where we access many attributes of an object, say we want
to show all 20 attributes of a person and all 10 attributes of
person.getAddress();
in the PersonPage.java i would have to add 30 label (or input) components,
30 lines
Yes, simply every time your panel is instantiated, it means someone
navigated to the particular tab. You can monitor this also in your
panel class.
**
Martin
2009/1/29 Zhubin Salehi zhooz...@yahoo.com:
So every time a tab is selected, a new instance of that panel will be
created?
Erik van
Run Wicket in development mode and investigate what happens in the
Wicket Ajax Debug dialog (right bottom corner of your browser).
**
Martin
2009/2/3 Azzeddine Daddah waarhei...@gmail.com:
Hi,
I've two text fields wrapped in a container. What I want to do is to let the
user remove these
Hi!
Does Wicket have RadioGroup ajax update behavior built in like it does
wantOnSelectionChangedNotifications?
It seems like a small piece of code that would better have core support:
/**
* @param radioGroup
* @param listener
* @param radio
*/
private void addAjaxEvent(final
Tnx.
2009/2/3 Igor Vaynberg igor.vaynb...@gmail.com:
see ajaxformchoicecomponentupdatingbehavior
-igor
On Tue, Feb 3, 2009 at 6:04 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Does Wicket have RadioGroup ajax update behavior built in like it does
Didn't want form submit behavior, just component update.
**
Martin
2009/2/3 wicketworker siva.mad...@gmail.com:
Yes, I think if you are working with RadioGroup instead of RadioChoice, then
you can add AjaxFormSubmitBehavior to Radio implementation.
Martin Makundi wrote:
Tnx.
2009/2/3
I prefer to declare the Form as a top class instead inner class.
That is ok. This way you can also re-use the same form from different
pages/panels.
If I declare a Form as a top class should I have a markup html for it
because this form will be treated as a component?
Depends on your
If I declare a Form as a top class should I have a markup html for it
because this form will be treated as a component?
Wicket works both ways.
No, Form doesn't extend WebMarkupContainerWithAssociatedMarkup.
Ah.. might be true, if you want it to have its own markup, you will
embed it into
There is QueryStringUrlCodingStrategy if that is what you mean... if
you just want to construct a query url (GET).
In my understanding POST must come from the client browser so it
cannot be constructed by Wicket as such.
**
Martin
2009/2/5 Steve Swinsburg s.swinsb...@lancaster.ac.uk:
Hi all,
in wicket i tried: style a{color: span wicket:id=linkColor/; }/style
Have you tried wicket:container wicket:id=linkColor/ ?
**
Martin
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
Hi!
I am a bit confused with the converters in Wicket. I have some numbers
which I want to display with two decimals and some other numbers with
another amout of decimals.
It appears like Wicket has only one instance of BigDecimalConverter,
which is used everywhere. So if I adjust its
of ConverterLocator that you can have
'tuned' converters - instead of just one converter per type.
**
Martin
2009/2/8 Thomas Mäder thomas.mae...@devotek-it.ch:
You can override getConverter() on a component to return any converter you
want.
Thomas
On Sun, Feb 8, 2009 at 6:53 PM, Martin Makundi
of them to take that much memory. Most
likely, you have another issue. Run a profiler and let us know what's using
the memory.
--
Jeremy Thomerson
http://www.wickettraining.com
On Sun, Feb 8, 2009 at 2:26 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Exactly. I had
, 2009 at 7:46 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
I remembered it was a hotspot. Checking again, it is not a memory
bottleneck but a performance bottleneck. I apologise for my
imprecision.
I have several BigDecimalLabels each with its own converter. Each
instance
in suggestion 2), it appears
like a blatant oversight bug, don't you think?
**
Martin
On Sun, Feb 8, 2009 at 8:09 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Micro - multiplied under load so the cost accumulates. And here
attached is a picture of the memory profile, I am not sure
, 2009 at 7:46 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Another thing that came into my mind is, that there is
newNumberFormat(Locale locale) -method in AbstractDecimalConverter,
but the method is never used [instead, there is a direct numberFormat
= NumberFormat.getInstance
are you load testing wicket in development mode?
Ofcourse ;)
I run the tests again in deployment mode, does not affect the
BigDecimalConverter results.
**
Martin
On Sun, Feb 8, 2009 at 8:32 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
that means you can create about 3500
no, but it should take out that Task$1 which is the biggest cpu hog.
Well, that is just the server pool thread... it is not relevant.
**
Martin
-igor
On Sun, Feb 8, 2009 at 9:25 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
are you load testing wicket in development mode
, 2009 at 8:55 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Cool. What is your take on using a ThreaLocal instead of always
cloning return (NumberFormat)numberFormat.clone(); in
org.apache.wicket.util.convert.converters.AbstractDecimalConverter#getNumberFormat(java.util.Locale
NumberFormat.
I wonder if I should make the ParametrizedConverterLocator converter
map thread-safe? The wicket's ConverterLocator.classToConverter
appears non thread-safe, from what I can see. Can that become a
problem?
**
Martin
On Sun, Feb 8, 2009 at 11:31 PM, Martin Makundi
martin.maku
Ok, then why Wicket's ConverterLocator is not thread safe? Or is it?
**
Martin
2009/2/9 Igor Vaynberg igor.vaynb...@gmail.com:
yes, they need to be threadsafe if you cache them. numberformat itself
is also not threadsafe. another reason i can think of why we clone is
that a code that gets a
not be thread-safe..?
public final IConverter get(Class? c)
{
return classToConverter.get(c.getName());
}
**
Martin
On Mon, Feb 9, 2009 at 9:32 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Ok, then why Wicket's ConverterLocator is not thread safe
not want
to guess in advance all the possible combinations).
Fair.
**
Martin
-igor
On Mon, Feb 9, 2009 at 9:36 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
which part of it is not threadsafe?
/** Maps Classes to ITypeConverters. */
private final MapString
Also depending on your situation, clearInput might be necessary?
**
Martin
2009/2/12 Luca Provenzani eufor...@gmail.com:
i think you can put the field of the model/bean of the form to empty and
then call target.addComponet(tagsContainer);
what kind of effect do you want? If you need to call
Where do you set the value first?
**
Martin
2009/2/12 pieter claassen pie...@claassen.co.uk:
Listviews with Links in them, sometimes fail to retrieve the object in the
onClick() method the first time around. When I reload the page, the code
works fine.
Here is a test. In the listview below,
in the listview block of code, but not in any
onClick() methods of Links that I include in the listview, just after I
started my application. The second time around, things work fine.
Is this possibly a wicket problem?
Rgrds,
Pieter
On Thu, Feb 12, 2009 at 3:06 PM, Martin Makundi
martin.maku
(document.getElementById('%s').value =
'', auto.getOutputMarkupId()));
but it also didn't work.
Are there any other suggestions ways to implement this?
Kind Regards
Hbiloo
On Thu, Feb 12, 2009 at 11:24 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Also depending on your situation
There is a DateTextField which takes a pattern.
**
Martin
2009/2/12 Piotr Jakubowski pio...@gmail.com:
I am in need of creating a DateFieldlike form component but it would be only
precise to the month - so like mm-. Do you have any suggestions on how
to create this thing? Maybe it's
Here are some pointers:
* http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html
* http://markmail.org/message/z75nsjoakmkq6zl2
**
Martin
2009/2/12 yauhen p yauhe...@mail.ru:
Hi everyone.
I need to change browser title in my wicket application. For example user
has logged
Hi!
My problem:
1. I have a form
2. The form has checkboxes
3. The form has other fields
The checkboxes are used to disable specific fields in the form.
Whenever the user changes the checkbox state, I want to use
AjaxEventBehavior or similar to update the form components dependent
on the
Fragment can be used... won't reduce your markup, though.
**
Martin
2009/2/12 James Carman jcar...@carmanconsulting.com:
Use a repeater?
On Thu, Feb 12, 2009 at 2:54 PM, Phil Grimm phil.gr...@gmail.com wrote:
Guys,
If I need to reference a Label multiple times on the page.
Is there a
If you repaint the component from the server, and want to
retain its input, you have to submit to the server and store
it to the model (with a suitable *submittingbehavior) so
that it will have the correct value on the repaint.
Yes, this is what I am trying to do, but disabling and enabling a
Maybe a conversion error that prohibits updating the model?
I do not want to update the model. I want
defaultFormProcessing=false with the particular ajax event.
In a way, yes, but sometimes purely client-side stuff can be
easier purely on the client-side.
The functionality is already in
I could actually hack this feature by adding an AjaxButton onto the
page which has defaultFormProcessing=false and then hide that button
using css/style and always invoke that button when a checkbox is
clicked. But it would be betterto just make sure Wicket supports such
events for FormComponents.
Hi!
Does Wicket have this functionality built-in? Would it make sense?
public abstract class AbstractHeaderJavaScriptBehavior extends AbstractBehavior
implements IHeaderContributor {
/**
* @see
?
**
Martin
-igor
On Sat, Feb 14, 2009 at 2:52 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Does Wicket have this functionality built-in? Would it make sense?
public abstract class AbstractHeaderJavaScriptBehavior extends
AbstractBehavior
implements IHeaderContributor
Why not store files into database as bytearray / blob?
**
Martin
2009/2/15 Kaspar Fischer fisch...@inf.ethz.ch:
User's of my application will upload, edit, and delete files. For this, I'd
like to have a simple file repository with the following features:
- Files are stored on the file
Tnx. :) Why don't the component implement iheadercontributor already?
It would be more obvious then..
**
Martin
2009/2/15 Igor Vaynberg igor.vaynb...@gmail.com:
yep, thats how it works. any component can implement iheadercontributor.
-igor
On Sat, Feb 14, 2009 at 11:29 PM, Martin Makundi
Hi!
I have found out that in order to truly have a new Session instance
(at login, for instance), the following commands are needed:
Session.unset();
getApplication().getSessionStore().removeAttribute(getRequest(),
Session.SESSION_ATTRIBUTE_NAME);
getSession().replaceSession();
I am
Hi!
The constructor WicketURLEncoder(Type type) explains a whole lot about
the compatibility of QUERY_INSTANCE and java.net.URLEncoder.
However, the results differ significantly. Specifically the
dontNeedEncoding characters. We had a bit of a surprise integrating
our app with another app
1 - 100 of 1417 matches
Mail list logo