Why would you put a reference to the application in your session
anyway? You can get the current app like Application.get(). Otherwise,
you can make the field transient, though when it gets deserialized,
you'd have to set the field yourself somehow.
Eelco
On 12/4/06, Ingram Chen [EMAIL
hhmm as Wicket always check serializable, I think my app's session does
not refererence to non-serializable WebApplication. but the stack trace
shows:
com.tc.object.ClientObjectManagerImpl.lookupOrCreate(ClientObjectManagerImpl.java:306)
is the option that transient fields must be left alone (not serialized) on
by default?
johan
On 12/5/06, Ingram Chen [EMAIL PROTECTED] wrote:
hhmm as Wicket always check serializable, I think my app's session
does not refererence to non-serializable WebApplication. but the stack
trace
Hey
Sometime ago we discussed that I needed a cancel button. The need was there
because of a certain page had long loading times, not because of wicket though.
We talked about a worker thread so I could start the report generation and then
the wicket page could come and ask the worker thread
Have tried but look like it work at some servers but at some server it
just forward back to homepage for all links. How can I have more
verbose logging information so that I can know what going wrong?
On 12/1/06, Dirk Markert [EMAIL PROTECTED] wrote:
Sourceforge has changed the connection policy. If you work on a Wicket
Stuff project, please follow these instructions:
= taken from [1] =
Users new to the SourceForge.net Subversion Service should skip this
section, it only covers changes that affect users who have been using
But this just seems a bug.
Can you add an issue to jira for this?
johan
On 12/5/06, Ingram Chen [EMAIL PROTECTED] wrote:
Thanks for the tips, I turn on Honor transient and finally my webapp
startup successfully.
after playing some pages and I switch from one server to another
server. I
Hi, I'm looking for advice in the following situation : I have a page that lets
the users to load the DB information from an external DB, this takes some time
so I was thinking to display a progress bar while the process completes, this
progress bar is initially invisible. The problem is : How
SortableListViewHeaderGroup has a protected setSortedColumn so if you
subclass it and create a public method that calls this one you should be
good to go
something to keep in mind is that that particular example was created before
the repeaters package, so i think it is pretty much deprecated.
if you dont mind using ajax then search for ajax poller, that might be
useful to you. initially make the components that take a long time to load
their model invisible, then in ajax poller once they are loaded make them
visible and add them to the ajax target so they will be painted.
-igor
On
I have an ImageButton used to submit a form. I extended the
RenderedDynamicImageResource class so that I have a transparent background
but now I want to show the button in a disabled state.
It seems when the FormComponent class launches onDisabled(ComponentTag tag)
my ImageButton is not drawn at
My question is, nevertheless, would it be a significant implementation
change to swap calls order from to current to iterator(...) first and
size() later? then adding support for both cases in a
SortableDataProvider (Case 1: Big databases - 2 Calls, Case 2: Small
databases - 1 Call)...
From my
Thanks, though I'm not sure if this is what I need, maybe I didn't explained my
problem clearly. First, some code may help :
The html :
..
..
span wicket:id = progressBar
span wicket:id=msg/span
script type=text/javascript
var bar1=
no its not possible there is logic that ties the return call of size() to a
few things that need to happen before the call to iterator()
all it takes is your own subclass that i have shown you, i dont think its a
big deal.
-igor
On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote:
My
Yes, I have already followed your sample, doing two queries to database... ;)
On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
no its not possible there is logic that ties the return call of size() to a
few things that need to happen before the call to iterator()
all it takes is your own
well in the example i gave you there should only be one query to the
database
-igor
On 12/5/06, Manuel Barzi [EMAIL PROTECTED] wrote:
Yes, I have already followed your sample, doing two queries to
database... ;)
On 12/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
no its not possible there
You could do the processing in a separate thread, and return the page
immediately with the progress component that polls (e.g. using Ajax,
though doesn't have to) for the progress. Or like Igor said, put your
progress bar on the page to begin with, make your form submit an ajax
submit, on the
I am trying to use the same page instance for different tabs in a Panel, so
I can make an ajax request in one to update the fields of the other
Is there any wicket-way to do this?
Regards,
Renan
-
Take Surveys. Earn
I came to the same conclusion as Nino. What I have observed was this,
1. For,
ListChoice selection = new ListChoice(disciplineSelection, new Model(),
disciplines)
, a list box is created in the web page.
2. For,
ListChoice selection = new ListChoice(disciplineSelection, disciplines)
, a
Actually I would do this using a custom converter. Then you don't have
to decorate it.
You can have a
public class BooleanLabel {
...
IConverter getConverter() {
return new IConverter() {
...
}
}
}
In your converter decide how to display the value.
I
Hi RĂ¼diger,
Although at the end of your e-mail I thought yes, he's right! there is
one thing you missed: the label does not have to have the same text as
the name of the field.
For example, in my current application I have the following components
on a search form:
Component:
21 matches
Mail list logo