Hi,
I don't see any problem with the code below, that is, from what you
pasted I don't see any references to a TextFieldDecorator being kept.
However when Wicket says that something is not serializable it gives you
the entire object graph path to the object that is causing the problem,
so
Here it is:
ERROR - Objects- Error serializing object class
nl.je.obs.web.admin.medewerkers.EditMedewerker [object=[Page class =
nl.je.obs.web.admin.medewerkers.EditMedewerker, id = 3, version = 0]]
SOrry, it is the DateTextFieldDecorator that's causing the problem, and its
code is:
public class DateTextFieldDecorator {
private DateTextField widget;
public DateTextFieldDecorator(DateTextField widget) {
this.widget = widget;
}
public DateTextField from(DateType
I solved it, it is the anonymous subclass of DatePicker. Because it is
defined in the decorator class, it belongs to it. I created a separate
DatePickerExt class that enables month/year selection.
2008/2/8, Martijn Lindhout [EMAIL PROTECTED]:
SOrry, it is the DateTextFieldDecorator that's
It looks that disabling versioning and changing the store made all of
my problems to disappear, including the deterministic session
expiration with my popups.
Thanks.
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - We make Java work. Everywhere.
Hi,
I'm glad you found it... Since inner classes are used so frequently in
Wicket they're also frequently the ones that cause these problems.
Unfortunately it is impossible to define static anonymous inner classes
which means that instances of inner classes always keep a (hidden)
reference
On Tuesday 05 February 2008 23:16:03 Igor Vaynberg wrote:
wicket has a throttle which works on time not on number of
characthers, for that you need to roll your own javascript
How can I roll my javascript which doesn't use ajax before n characters for
AutoCompleteTextField? I could only do it
Hi all,
I have legacy html files, I trying to insert in a Wicket app.
The charset is iso-8859-1
meta HTTP-EQUIV=Content-Type CONTENT=text/html; charset=iso-8859-1
The special character (French and German) and not html coded in theses files.
Everything work perfectly on my dev machine. I have
Hi
I ve read this discussion before (AutoComplete returning a list of
POJOs) and just a silly question: Shouldn't it be a new component? I
mean, if a dev wants a really text box that suggests a autocomplete,
but not enforce it, how would he use your component ?
A new component, like
Hi everyone!
I'm looking for a little help please..
I have a search page with a form and a custom DataTable (with
SortableDataProvider).
Everything works fine: I can set filters from the form, order the table by
clicking on column headers, browse through the table pages, etc.. My problem is
Hello,
I am trying to add an applet to a html page. I want it to be displayed in a
modal window, but i don't think this matters.
The applet code is part of the wicket application, it is not implemented as
a jar. The applet class is in WEB-INF\classes\
com.someapplication.somepackage.AppletClass
hi all,
i am posting a simple page with 2 panels. The first panel maintains a
DataView supported by a custom data provider and the second panel contains a
form which is responsible to edit the currently selected record from the
data view panel.
The data view panel updates the data entry form
snip
...
How should i set the codebase in this situation? I guess code
is still com.someapplication.somepackage.AppletClass
I still get com.someapplication.somepackage.AppletClass not
found exception.
Any ideas how the applet tag should be written?
The reason you can't figure out
//HTML
div wicket:id=panelListView
div wicket:id=runtimePanelItem/div
/div
your ListView model which is expected to be a List, determines the number of
Panels to be dynamically created
//Java
ListView panelListView= new ListView(panelListView, model){
public void populateItem(ListItem item){
Thanks, I tried this already.
It minimizes the window though.
Is there any way to keep window displayed at the back, but allow popup
(javascript generated) window to be displayed at front?
I tried different javascript options with
protected IAjaxCallDecorator getAjaxCallDecorator()
{
return new
If I recall correctly we had a similar problem a little while ago.
As it turned out the page was requested twice but only the first was rendered.
The reason the page was requested twice was because we had something
like this on our page img src /
For some reason the absence of a valid source tag
Hi,
Use a ListView or some other Repeater-component and implement a model
that returns a list of the classes that should be created as panels. If
you need a wicket:id on the surrounding div, that's fine, but not
needed. You would then do
WebMarkupContainer cont = new
i try to look at this this weekend, but i have a quick question
I find it a bit verbose can't it be a bit shorter like this (just an
example)
SharedPropertyModelCustomer model = new
SharedPropertyModelCustomer(customer);
this.setModel(model);
FormComponent firstName = new
Committed at
https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous
The examples can be found at
https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous-examples.
Regards,
Edward Yakop
Note: The wicket dependency version is now set to
Hi Igor,
I was hoping it would be an obvious problem. Here's my table construction
code (is there a better way of posting code?)
ListIColumn columns = new ArrayListIColumn();
PostOnSubmitAction peptideUpdateAction = new PostOnSubmitAction();
columns.add(new
On Feb 8, 2008 7:44 AM, Constantin Y [EMAIL PROTECTED] wrote:
Everything is ok except the back button.
how is the back button broken exactly?
If i dont setResponsePage(..) in
the onClick() method of the save button (btnSave) then wicket starts
versioning(?) of the data entry form.
a) you
hm, i still dont see the problem spot
the error is apparent
you are adding something to the ajax request target that is then
removed from the page, so when ajaxrequesttarget is trying to detach
the page it cant, because it does
component.getPage().detach();
apparently the component is removed
second level session store holds x number of previous versions. some
implementations like disk store hold quiet a few versions.
i cant reproduce your error here:
http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.DataTablePage
can you try?
dont know, i think calling focus() on the window should work as long
as it is the last focus call that happens, not sure why it doesnt for
you
-igor
On Feb 8, 2008 6:50 AM, Grzel [EMAIL PROTECTED] wrote:
Thanks, I tried this already.
It minimizes the window though.
Is there any way to keep
don't worry about creating the models
That will happen anyway in 1.3 (that needs to be done for example to get the
right object especially when we generify stuff)
see CompoundPropertyModel.wrapOnInheritance()
joan
On Feb 8, 2008 5:41 PM, Scott Swank [EMAIL PROTECTED] wrote:
Interesting. So
you can use the iajaxcalldecorator to decorate the call and wrap it
around some javascript that does this...
-igor
On Feb 8, 2008 1:31 AM, Dmitry Kandalov [EMAIL PROTECTED] wrote:
On Tuesday 05 February 2008 23:16:03 Igor Vaynberg wrote:
wicket has a throttle which works on time not on
Interesting. So
model.getFirstName()
would return a PropetyModel based on the results of proxy.eval()? If
I understand you correctly that creates many models (one per
component) instead of reusing a single model, but that may well not be
the end of the world. Or does getFirstName() return
Hello,
I managed to get around this. It was indeed just a caching issue.
In order to get the autocomplete on top of the modal window, i changed the
zindex in the *autocomplete's javascript*. (don't change anything in the
modal. I found that does not work).
Cristi
On Feb 8, 2008 3:36 PM, Don
Cristi Manole wrote:
thank you both for your answers, but there are still problems...
I already tried what Don suggested, but that only allows for the
autocomplete text to be displayed correctly in IE, but not in FF (at
least not in 2.0.0.9).
I really cannot figure out why.
I had
On Fri, 8 Feb 2008 12:50:34 +0100
Federico Fanton [EMAIL PROTECTED] wrote:
My problem is that if I _quickly_ doubleclick
on a column header (even with no data in the table),
I get a PageExpiredException. I tried debugging
this, so I saw that WicketServlet receives two
calls, and the second
I agree that it sounds like a caching issue. I know that happens in FF quite
a bit and IE even worse.
The new Modal + AutoComplete problem I have encountered these days is you
have a panel inside your Modal and it has a vertical scrollbar. The
Autocomplete popup div does not get placed
Hi all,
I want to add some panels to my web page and the number of panels is unknown. I
want a div wicket:id=cont/div in my template page and add needed panels
to this div (the number of panels is determined at run time).
Besides, I want a surrounding div class=a/div for each dynamic panel on
On Fri, 8 Feb 2008 15:49:58 +0100
Maurice Marrink [EMAIL PROTECTED] wrote:
If I recall correctly we had a similar problem a little while ago.
As it turned out the page was requested twice but only the first was rendered.
The reason the page was requested twice was because we had something
Hi All,
Have you guys encountered problem with AjaxTabbedPanel? The link doesn't work.
And when i changed it to TabbedPanel it worked!
Thoughts?
Best,
Wen Tong
--
The only constant in life is change.
Quite often I find myself on the phone and I want to show someone a
page.
At that point I'm saying h-t-t-p-colon-slash-slash-t-h-i-n-k-n-o-l-a-
dot-com-slash-p-o-s-t-...
Hopefully I don't have to remember an md5 generated key to get them
there.
I'm a developer, but I do a lot of
Igor,
thanks for the help, I'll have to look at in detail next week.
What is odd to me is that I'm not doing anything out of the ordinary. I add
the table to the ajax target, and I don't remove any components myself.
Jonny
igor.vaynberg wrote:
hm, i still dont see the problem spot
36 matches
Mail list logo