I wrote a custom PagingNavigation which renders page links in the form:
[1-5...11-15 *16-20* 21-25...196-200]. The page size is adjustable by a
DropDownChoice.
Everything works fine until i hit the back-button and then click on one of
the links (e.g. 11-15). What happens then is that in class
"Re
Hi,
it seems to me that autocomplete text field fires twice onchange event
when you tab out of the field after selecting an item with arrows.
It does not happen if you select the item pressing enter or clicking
with the mouse.
I read that this behaviour was present even for enter key and mo
see IMarkupResourceStreamProvider
I recommend you to use a resource instead. You can inject the Spring
bean with Injector.get().inject(this) in the constructor
On Thu, Jul 14, 2011 at 1:18 AM, Jeffrey Schneller
wrote:
> I want to have a link that when hit will download a csv file. I would
> pre
Il 14/07/2011 9.32, Wiliam Bacchi ha scritto:
Hi,
it seems to me that autocomplete text field fires twice onchange event
when you tab out of the field after selecting an item with arrows.
It does not happen if you select the item pressing enter or clicking
with the mouse.
I read that this
Christian,
Can you try the patch in https://issues.apache.org/jira/browse/WICKET-3899 ?
On Mon, Jul 11, 2011 at 10:02 PM, Christian Huber wrote:
> Hi,
>
> well i _could_ decouple the two forms but that would kinda break my usecase
> and also the layout due to the changed component hierarchy.
>
>
Its not @literal that removes the linebreaks. If you combine it with
it works. (No need to add as well.)
*{@literal
*
* Name:
*
*
* }
*
Regards,
Erik.
Op 13-07-11 17:55, Igor Vaynberg schreef:
sweet, too bad @literal does not preserve linebreaks. what we really
need is a CDATA like
Hi all;
I can generate normal links in to my dynamic menu
...
I wonder if i can generate those links in ajax link format ?
Thanks.
Hello Dears,
Regarding Matt's question from 2008 - Is there a way to mark a form
component as invalid without using the error() method?
Rebecca
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Howto-mark-a-FormComponent-as-invalid-without-having-a-feedbackmessage-tp1
Looking at the code the answer is No.
On Thu, Jul 14, 2011 at 1:29 PM, rebecca wrote:
> Hello Dears,
>
> Regarding Matt's question from 2008 - Is there a way to mark a form
> component as invalid without using the error() method?
>
>
> Rebecca
>
> --
> View this message in context:
> http://apac
thanks Martin:-(
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Howto-mark-a-FormComponent-as-invalid-without-having-a-feedbackmessage-tp1871821p3667171.html
Sent from the Users forum mailing list archive at Nabble.com.
---
What is the use case ?
On Thu, Jul 14, 2011 at 1:42 PM, rebecca wrote:
> thanks Martin:-(
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Howto-mark-a-FormComponent-as-invalid-without-having-a-feedbackmessage-tp1871821p3667171.html
> Sent from the Users forum
Hi,
you can use Loop component to generate a dynamic number of links. For
example:
HTML code:
Java code:
List linkList = ...
Loop loop = new Loop("itemList", linkList.size()) {
@Override
protected void populateItem(LoopItem item) {
I have a problem with IHeaderContributor and invisible Components:
A Panel "MyPanel" implements IHeaderContributor.
The renderHead-Methods adds some JavaScript-References.
When the page is rendered this panel is invisible.
So these JavaScript-References are not loaded when the page is loaded.
L
I mean; generating ajax link format
Instead of
I want to generate ajax link on the fly
Example :
increment
Any suggestions ?
Thanks.
From: Andrea Del Bene
To: users@wicket.apache.org
Sent: Thu, July 14, 2011 2:00:32 PM
Subject: Re: Generate ajax link
Hello again,
call me stupid, but i don't get it (ImageButton loading shared image
resource). What i did so far is:
Application.init()
String key = new CompressedResourceReference(WicketApplication.class,
"res/img/search_go.png").getSharedResourceKey();
mountSharedResource("img/search_go.png"
See how AjaxLink generates its markup.
On Thu, Jul 14, 2011 at 2:31 PM, Lurtz Nazgul wrote:
> I mean; generating ajax link format
>
> Instead of
>
>
>
> I want to generate ajax link on the fly
>
> Example :
> increment
>
> Any suggestions ?
>
> Thanks.
>
>
>
>
>
That's why we have examples :
http://www.wicket-library.com/wicket-examples/images/wicket/bookmarkable/org.apache.wicket.examples.source.SourcesPage?SourcesPage_class=org.apache.wicket.examples.images.Home&source=ImagesApplication.java
If this doesn't help then do something like:
WebComponent img
Thanks Martin,
SharedResourceReference and your solution seems to be 1.5. I'm using
1.4.17. Is there something for 1.4.x?
Mike
That's why we have examples :
http://www.wicket-library.com/wicket-examples/images/wicket/bookmarkable/org.apache.wicket.examples.source.SourcesPage?SourcesPage_cla
It should be the same. Just some minor naming changes.
On Thu, Jul 14, 2011 at 3:06 PM, Mike Mander wrote:
> Thanks Martin,
>
> SharedResourceReference and your solution seems to be 1.5. I'm using 1.4.17.
> Is there something for 1.4.x?
>
> Mike
>
>
>> That's why we have examples :
>>
>> http://w
When you say "my javascript is not loaded", do you mean it's not added to
the page or it's added but doesn't work?
On 14 Jul 2011 12:21, "Benedikt Rothe" wrote:
> I have a problem with IHeaderContributor and invisible Components:
>
> A Panel "MyPanel" implements IHeaderContributor.
> The renderHea
If you use WiQuery (which we do too, it's great), you can just let your
component (Panel, WebMarkupContainer, Page) implement IWiQueryPlugin and
implement statement().
On 13 jul 2011, at 20:01, Martin Grigorov wrote:
> Browse the sources at
> https://github.com/wicketstuff/core/tree/master/jdk
Still be lost :-(
This code I have in AppStart class:
mountSharedResource("/images/image1.jpg", new
ResourceReference(Images.class, "image1.jpg").getSharedResourceKey());
Now after reading recomended example still not idea how to replace new
ResourceReference(... in above code snippet
in a way i
Hi,
if a JavaScript script tag is added to AjaxRequestTarget (via
JavaScriptUtils.writeJavaScript), it is not evaluated on Chrome browser.
While debugging through wicket-ajax.js, it turns out, that
replaceOuterHtmlSafari function is not called for Chrome, but the Gecko
version gets executed instead
Yes, this has been changed recently.
Chrome behaves like Firefox (Gecko) in many other respects but
apparently it fails here ...
Please file a ticket with a quickstart.
On Thu, Jul 14, 2011 at 5:41 PM, Sergiy Barlabanov
wrote:
> Hi,
> if a JavaScript script tag is added to AjaxRequestTarget (via
If you have an ajax event and then you call target.addComponent on
another component or collection of other components.
Are there issues with calling target.addComponent on components that
aren't visible or maybe detached from the page?
Or calling target.addComponent more than once on a particu
Hi,
i would like to provide a way for our designer to change the homepage
layout outside of the web-app.
But i'm not sure how to do it.
Usecase:
Wicket homepage contains a "div-placeholder" for the main-content.
Designer uploads a html fragment with bla to a file-server.
In the HomePage class
Hi,
If you have an ajax event and then you call target.addComponent on
another component or collection of other components.
What do you mean with "another component"? You should be able to add any
component you want, except AbstractRepeater subclasses (ListView,
RepeatingView, ecc...). These co
in last case i think rendering will be once because the components are
kept in map with markupid of component as key in ajaxrequesttarget.
On Thu, Jul 14, 2011 at 9:11 PM, Andrea Del Bene wrote:
> Hi,
>>
>> If you have an ajax event and then you call target.addComponent on
>> another component or
Hi Mike,
take a look at interfaces IMarkupResourceStreamProvider and
IMarkupCacheKeyProvider. Using the first one you can implement method
getMarkupResourceStream which returns an IResourceStream with your
custom HTML. The second interface has a method called getCacheKey. You
must override it
Right, I've looked at code and it uses an hashmap
in last case i think rendering will be once because the components are
kept in map with markupid of component as key in ajaxrequesttarget.
On Thu, Jul 14, 2011 at 9:11 PM, Andrea Del Bene wrote:
--
sweet, i will give that a go in the future. thanks.
-igor
On Thu, Jul 14, 2011 at 3:05 AM, Erik van Oosten wrote:
> Its not @literal that removes the linebreaks. If you combine it with
> it works. (No need to add as well.)
>
> *{@literal
> *
> * Name:
> *
> *
> * }
> *
>
> Regards,
> Eri
Also see org.apache.wicket.markup.html.include.Include
On Thu, Jul 14, 2011 at 6:51 PM, Andrea Del Bene wrote:
> Hi Mike,
>
> take a look at interfaces IMarkupResourceStreamProvider and
> IMarkupCacheKeyProvider. Using the first one you can implement method
> getMarkupResourceStream which returns
Let's say that I have a component in the hashmap that needs to get
updated and let's that I call target.addComponent on some parent
component, in that case will the child get updated twice.
E.g.
Target.addComponent(someChildComponent);
Target.addComponent(someParentOfTheChild);
In this case, wil
look at the very bottom of that page
-igor
On Thu, Jul 14, 2011 at 6:50 AM, Miroslav F. wrote:
> Still be lost :-(
>
> This code I have in AppStart class:
> mountSharedResource("/images/image1.jpg", new
> ResourceReference(Images.class, "image1.jpg").getSharedResourceKey());
>
> Now after re
just once. the parent will be rendered
On Thu, Jul 14, 2011 at 7:06 PM, Brown, Berlin [GCG-PFS]
wrote:
> Let's say that I have a component in the hashmap that needs to get
> updated and let's that I call target.addComponent on some parent
> component, in that case will the child get updated twice
One more question.
Is it is a hint to update this particular component? Or will wicket
fully rerender the component the user whether it needs to get updated or
not?
-Original Message-
From: Brown, Berlin [GCG-PFS]
Sent: Thursday, July 14, 2011 12:06 PM
To: 'users@wicket.apache.org'
Su
You added the component so it has to be re-rendered.
On Thu, Jul 14, 2011 at 7:18 PM, Brown, Berlin [GCG-PFS]
wrote:
> One more question.
>
> Is it is a hint to update this particular component? Or will wicket
> fully rerender the component the user whether it needs to get updated or
> not?
>
>
Hmm. I would expect that your LoginPage would see changes reflected when you
hit the browser refresh button. Sounds like a bug to me.
Is it related to this one?
https://issues.apache.org/jira/browse/WICKET-3891
On Jul 13, 2011, at 12:10 PM, Andrew Todd wrote:
> On Wed, Jul 13, 2011 at 2:40 PM,
please excuse me if this is a dupe - i posted to the general apache forum
and then MOVED it to the users forum & i wasn't sure if the post would go to
the mailing list if it was moved rather than originally posted
there...anyway:
i have seen this error reported several times and i have seen wicke
On Thu, Jul 14, 2011 at 1:22 PM, Matt Brictson wrote:
> Hmm. I would expect that your LoginPage would see changes reflected when you
> hit the browser refresh button. Sounds like a bug to me.
>
> Is it related to this one?
>
> https://issues.apache.org/jira/browse/WICKET-3891
This bug says that
Thanks Martin; but it doesn't make sense to me, sorry.
Wicket generates below code for a simple counter increment example.
var wcall =
wicketAjaxGet('?wicket:interface=:2:panel1:okla::IBehaviorListener:0:',
function() {
}.bind(this), function() {
}.bind(this), function(
Hello,
Following just over 1 month from the 1.4.17.2 point release today I am
pleased to announce the new 1.4.17.3 wicketstuff-core release.This
is the third point release against the current stable wicket release of
1.4.17.
The artifacts have been promoted and have synced into the maven
42 matches
Mail list logo