I'd solve it with a custom model:
IModel> listModel = new LoadableDetachableModel() {
protected List load() {
List as = new ArrayList<>();
as.addAll(method.retrieveAlist());
as.add(...);
return as;
}
});
Positive side effect: The list of object is not k
Hi,
Please create a quickstart and attach it to a ticket in JIRA.
Thanks!
Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 17, 2015 at 12:28 AM, Sergiy Barlabanov <
cont...@sergiy-barlabanov.de> wrote:
> We are using Wicke
Please provide a quickstart and attach it to a new Jira issue.
Regards
Sven
On 16.04.2015 23:28, Sergiy Barlabanov wrote:
We are using Wicket 6.15 (but the code seems unchanged in the latest Wicket 6
releases).
We set style to Wicket session and expect Wicket to consider the style when
loading
It's not possible.
Look at the ListModel's consructor.
public ListModel(List list)
{
setObject(list);
}
And the setObject() method implementation, which is in the superclass, is
@Override
public void setObject(T object)
{
if (!(object instanceof Serializable))
Hello,
I am trying to add paypal as a payment option in wicket, I am using a
straight forward method using a BuyNow button with the and hidden
fields in html. But I am not quite sure how to implement the IPN, without
which it would be very unsafe as the html can be changed during just before
clic
Hi,
Please describe what is IPN and what is the technical issue.
Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Apr 16, 2015 at 12:11 PM, jayeshps wrote:
> Hello,
>
> I am trying to add paypal as a payment option in wicket,
I have done bit investigation and came to known the below code is called in
IE when we click on scroll bar.
Line no 96 in wicket-autocomplete.js
Wicket.Event.add(obj, 'blur', function (jqEvent) {
window.setTimeout(hideAutoComplete, 500);
Hi Sven,
thanks a lot - works fine for me.
Christoph
> Am 17.04.2015 um 08:47 schrieb Sven Meier :
>
> I'd solve it with a custom model:
>
> IModel> listModel = new LoadableDetachableModel() {
>protected List load() {
>List as = new ArrayList<>();
>
>as.addAll(method.re
Hello,
IPN is short for Instant Paypal Notification, it is a notification service,
which runs while a user is trying to make a payment after clicking on the
facebook button on my web application. unless a confirmation is sent from my
application to paypal the payment will not be confirmed, this i
Hi all,
I have a list view with about 100 objects.
For updating the individual panels based on some user action, I am using the
Broadcast.Breadth strategy.
This works fine when the list contains a few objects, but with 100 objects it
takes about 2 seconds to render the corresponding panel.
I a
Hi,
the problem seems with the Breadth strategy that iterates over all object
panels.
How can I add a specific Panel as sink so that I can use the Exact strategy?
Currently, the page is added as sink.
Thanks,
Chris
> Am 17.04.2015 um 17:55 schrieb Chris :
>
> Hi all,
>
> I have a list view w
Hi,
I have now added directly the PoiListPanel as sink and used the strategy EXACT.
However, the rendering is still too slow.
How to improve this?
Thanks, Chris
> Am 17.04.2015 um 18:27 schrieb Chris :
>
> Hi,
>
> the problem seems with the Breadth strategy that iterates over all object
> p
The javadocs indicate that should return a bookmarkable (absolute) URL, but
it is returning a relative URL, instead :(
Should I report this as a bug?
I'm debugging this on a local AppEngine SDK instance, if that matters.
TIA!
Chris
On Thu, Apr 16, 2015 at 4:44 PM, Martin Grigorov
wrote:
> On
On Fri, Apr 17, 2015 at 10:42 PM, Christopher Merrill <
ch...@webperformance.com> wrote:
> The javadocs indicate that should return a bookmarkable (absolute) URL, but
> it is returning a relative URL, instead :(
>
Please be more concrete what you have tried.
This should work fine:
Url relativeUr
urlFor(...) returns a CharSequence, not a Url and there is no constructor
for Url that accepted a String or CharSequence. So what I had tried was
simply the string returned...and that was relative.
But since you were confident, I took another look and found
Url.parse(CharSequence). So this DOES wo
Is it possible to add an attributeappender for a label within a tabbedpanel?
If so, how can I do this.
Thanks
Lois
Hi,
Yes. Override #newTitle() [1]
1.
https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java#L324
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 17, 2015 at 11:07 PM, L
Thanks, Sven. I read that and I _think_ I understand it. I looked back at
the source and found:
Wicket.Ajax.ajax({"u":"./OrganizationAdministration?7-1.IBehaviorListener.0-form-create_customer_link","e":"click","c":"create__customer__link5","i":"create__customer__link5--ajax-indicator"});;
whic
Hi,
Check whether the browser makes an Ajax request to the server when you
click the link.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 17, 2015 at 11:20 PM, Christopher Merrill <
ch...@webperformance.com> wrote:
> Thanks, Sven. I read that and I _t
The "wicket ajax debug" window reports nothing when I click Ajax links in
either Chrome or Firefox. Is there somewhere else I should look for an
indication of Ajax activity - somewhere in Wicket to set a breakpoint or
logging to enable?
BTW, That window is acting a little flakey for me - the move
Use the browser's Dev Tools > Network tab.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 17, 2015 at 11:42 PM, Christopher Merrill <
ch...@webperformance.com> wrote:
> The "wicket ajax debug" window reports nothing when I click Ajax links in
> either C
Hi Martin,
Thanks for responding. I should have been more precise. I'm not using the
wicket tabbedpanel. I'm using the jquery ui extension.
The package is: com.googlecode.wicket.jquery.ui.widget.tabs.TabbedPanel.
Thanks
Lois
-Original Message-
From: Martin Grigorov [mailto:mgrig
Oh...uhhh...yeah. Gee, if I wasn't working on 3 things at once, I might
have thought of that! I wish there was a user group that could help with
_that_ problem :)
So no, there is no traffic reported from either Chrome or Firefox network
tabs after the initial page load. I tried with multiple dif
Then override
https://github.com/sebfz1/wicket-jquery-ui/blob/ba2bdeaf8068c160a6e865341fc871dd43fd66b8/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/widget/tabs/TabbedPanel.java#L274
:-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Sat, Apr 18,
Then most probably some precondition stops the Ajax call from firing.
Put a breakpoint at
https://github.com/apache/wicket/blob/e07475cf989565bad53fd8dfcd5d109912ae6bef/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L603
and see what happens.
Martin Grigorov
Wicket T
I want to get width of the browser.
in Application.init() , I add :
getApplicationSettings().setUploadProgressUpdatesEnabled(true);
And in a WebPage , I add :
logger.info("init . width = {}", new
WebClientInfo(getRequestCycle()).getProperties().getBrowserWidth());
but it always return -1
I fou
2015-04-18 9:53 GMT+08:00 smallufo :
> getApplicationSettings().setUploadProgressUpdatesEnabled(true);
>
typo
It is
*getRequestCycleSettings().setGatherExtendedBrowserInfo(true);*
width is still -1
Hi all,
I have a radio group with different radio choices and I would like to add ajax
behavior to the group.
With the method #AjaxFormChoiceComponentUpdatingBehavior, the #onUpdate is
never called currently.
How to fix this?
Form form = new Form("form");
RadioGroup radioGroup = new RadioGro
28 matches
Mail list logo