Someone in another forum advised me this:
***
Maybe in latest Wicket something changed but in 1.4.16 you can't change
Columns in DataTable. So it's immutable in some sense.
But you may replace whole DataTable component instead when your sql
statement changes:
form.add(new Button(sqlSubmit) {
Hi,
It is not documented by wicket:head contributes before
#renderHead(). This may change in the future so don't rely on it.
Better take a look at
http://wicketstuff.org/wicket/resourceaggregation application. There
you can see how resources are scored. This way you can setup
I don't see any problem.
Put a break point in AjaxRequestTarget.addComponent() and see what is
registered. If you see component with id hours then investigate the
stacktrace.
As last resort you can create a quickstart with plain Wicket
components and if it still fails with this error send it to us
On Fri, Jul 22, 2011 at 6:31 AM, Donohoe Digital d...@donohoe.info wrote:
I'm porting this sample scala/wicket application from Wicket 1.4 to 1.5.
I've almost completely got it figured out except for this bit of code from a
class that extends RequestCycle (it does some basic
Hi,
I wrote that page long time ago... I'm not aware of the issue you
mention:-( If you find a solution, can you, please, update that page?
So that other users can benefit from your experience.
Regards,
Ernesto
On Wed, Jul 20, 2011 at 6:27 PM, Rahvin stephenfsm...@hotmail.com wrote:
Hello,
Hi guys,
I'm very new to Wicket, and I came across this:
What I want to do:
- I have a DropDownChoice component and I'd like to update it's model
when it changes through AJAX. Also, I want to refresh (repaint,
reload) this dropdown's parent when a value is changed, also though
AJAX.
My
Why not put everything in the AjaxFormComponentUpdatingBehavior?
As in:
dropDownChoice.add(new AjaxFormComponentUpdatingBehavior(onchange)
{
@Override
protected void onUpdate(AjaxRequestTarget target) {
LOG.debug(New updated value: +
Hi Clint,
Thank you very much for your (quick) response.
I had the (maybe incorrect) idea that AjaxEventBehavior's
target.addComponent(aComponent) would only make aComponent refresh
itself through AJAX (and not store new changed values on it's model).
I also thought that the
Hi, I'm using wicket 1.4 and my site contains one Template which
header,footer,hor.menu and it is common to all the pages now, my req is
onclicking the hor menu item, i want to show the active link with some
background.. I tried with a:active but it is not working as it is a common
template to all
So far it seems to work.
Thank you Clint
On Fri, Jul 22, 2011 at 12:55 PM, Rodrigo Heffner
rodrigo.heff...@gmail.com wrote:
Hi Clint,
Thank you very much for your (quick) response.
I had the (maybe incorrect) idea that AjaxEventBehavior's
target.addComponent(aComponent) would only make
Sorry, I should have done that... In our testing it looks like it is an issue
with adobe reader version 10.0. It is fixed in 10.1 ( a few versions between
the 2 dont work either), it has worked with all other version of reader that
we tried.
--
View this message in context:
Let me simplify my original question. If in the past I could do this:
getRequest().getPage().getPageMap().remove()
a) What was the practical purpose of removing page maps from sessions (i.e.,
this API existed for a purpose - what was it)?
b) What do I do in 1.5 to accomplish the same thing now
Hi,
Here is the outline of a possible implementation :
Execute SQL String
Create a ListIColumnSQLResultRow
for each SQL result column:
add a column to the list that displays one column of a SQLResultRow
Create a very simple ISortableDataProvider that returns the SQL result
from above
On Thu, Jul 21, 2011 at 8:31 PM, Donohoe Digital d...@donohoe.info wrote:
I'm porting this sample scala/wicket application from Wicket 1.4 to 1.5.
I've almost completely got it figured out except for this bit of code from a
class that extends RequestCycle (it does some basic
Martin, thanks for your help. Igor's hint helped me. After some
investigation I realized that I have a visitor in my button's submit handler
that visits all form components and adds them to the ajax target. That meant
it was visiting the inner fields of the DateTimeField, also, which was not
I am very new user of wicket, so please be gentle with me if this is
obvious question or RTFM. I tried searching for docs but no luck.
Using Wicket 1.5.
I have bunch of pages mounted using mountPage(url, page class). This
works fine and pages do get parameters so long as the request is GET.
If
Not sure if this is the right forum to post, but I presume many decision
makers are lurking here.
When googling for class documentation, google typically shows multiple
results. I have caught myself looking at wrong version of docs many
times. This is especially useful if there methods that are
I am using the Select component to represent the HTML OptionGroup with
Options.
The Select must have a blank choice displayed at the top.
With DropDowns, I would have been able to do setNullValid, but Select
doesn't have this method. Any ideas? Thanks a lot.
--
View this message in context:
I have alot of onmouseover ajax request in one panel. How to avoid queuing
all request when mouse move is too fast and ideally only do the last ? I
tried with a thread but i'm out of the context : no application is defined
Thank you
--
View this message in context:
You can throttle events.
See setThrottleDelay() on your behavior.
On Fri, Jul 22, 2011 at 1:31 PM, coincoinfou olivierandr...@gmail.comwrote:
I have alot of onmouseover ajax request in one panel. How to avoid
queuing
all request when mouse move is too fast and ideally only do the last ? I
I didn't get any feedback on this and was thinking about posting this
on WiQuery forum but it didn't look very active. Does anybody have any
thoughts on why we are getting Channel busy - postponing message?
Thanks
On Tue, Jul 19, 2011 at 3:42 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
We
I had a similar case where I wanted to contribute header sections that
are written with renderString() last. I was not able to figure out all
that resource aggregation and bucketing stuff, so I wrote something
simpler. I would appreciate if somebody could review and comment on
this:
Alec,
Have you checked that no JavaScript errors are being encountered on the
client? We're not using WiQuery, but we encountered your channel busy
symptom dealing with https://issues.apache.org/jira/browse/WICKET-3820. The
client-side AJAX processing was choking before the channel was marked
Hello,
I can't find the correct way to handle java.util.concurrent.Future
instances returned from asynchronous methods in Wicket. This interface
does not extend Serializable so its instances can't be stored in
components or pages. So what do you do with them?
Do you store them in a map in
24 matches
Mail list logo