fyi, it was as simple as changing it to this:
private void addAllFeedbackPanels(AjaxRequestTarget target) {
ComponentHierarchyIterator visitChildren = *target.getPage()*
.visitChildren(FeedbackPanel.class);
for (Component component : visitChildren) {
target.add(component);
}
}
2012/2/9 nino
On Fri, Feb 10, 2012 at 10:09 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
fyi, it was as simple as changing it to this:
private void addAllFeedbackPanels(AjaxRequestTarget target) {
ComponentHierarchyIterator visitChildren = *target.getPage()*
Hi Chris,
I have already added a form around my modal window. It resolved some other
issues i had at the begining, but not the i can't use the close button nor
the change month ones.
I'll have a quick look at your framework if it can help me ... .
Thx ^^
--
View this message in context:
Mathieu Laurent
Objet Direct consultant for SGCIB ITEC
matthieu.laurent-...@sgcib.com
From: Matt [via Apache Wicket]
[mailto:ml-node+s1842946n4375593...@n4.nabble.com]
Sent: Friday, February 10, 2012 9:21 AM
To: LAURENT Matthieu (EXT) ItecCttRrc
Subject: RE: Problem DatePicker, ModalWindow and
Even simpler :) And thanks
However it had to be like this:
target.addChildren(*target.getPage()*, FeedbackPanel.class);
2012/2/10 Martin Grigorov mgrigo...@apache.org
On Fri, Feb 10, 2012 at 10:09 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
fyi, it was as simple as changing
Hi Mathieu,
Have you try to modify (or set) the CSS z-index property (link the the
position property) of the div that cover the close button
François
Le 10 févr. 2012 à 09:21, Matt a écrit :
close
Hi Hans and Martin.
The dump and debugComponentTrees was exactly what I was looking for. My
pages inherit from other pages, which of course made my panels have id's
like: topcontainer:subcontainer:panelid.
I'll check out the other tools as well.
Thanks alot.
BG
On 10 February 2012 08:54,
I have spend about 100 hours in creating a Wicket 1.3 port. Because half of
Wicket consists of anonymous classes it is near impossible. I had to add about
1000 new subclasses to get the core to work. When it compiled and actually
wanted to start and bind to a port I was unable to get the pages
Hello,
My displayed texts are localized using ResourceModel('my.key').
Is it posible to get the key for ResourceModel, or an object from whom I can
extract the key?
Thanks.
--
View this message in context:
check wicket.ajax and its method getAjax or something like that.
if you use AjaxEventBehavior then the ajax callback (which uses that js
getAjax method) is already coded for you.
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski@gmail.com
__
If you mean get the key from ResourceModel, or ... then the answer is
no not directly.
An ugly solution could be - extend ResourceModel and memorize the key in
a second attribute.
But that's realy ugly.
class MyResourceModel extends ResourceModel {
private String key;
public
I am using Fusion Charts with Wicket (1.4.13) and implementing
IResourceListener.
I also have the application configured to encrypt URLs. With this in place, we
get a lot of Invalid URL exceptions and I think it has something to do with how
we are building our URLs.
The url is built using:
Try any of these steps as described in the wiki:
https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
https://cwiki.apache.org/WICKET/adding-javascript-from-wicket.html
https://cwiki.apache.org/WICKET/how-to-write-json-response.html
Wicket javascript integration is built on
Martin,
Here is the jira bug:
https://issues.apache.org/jira/browse/WICKET-4404
I created a quickstart and the results are slightly different but it still
does not work. I don't get a StalePageException but the respond method of my
behavior never gets called.
Thanks for the help.
Josh
--
Hello,
I do have a page which contains several widgets and each widget is a
panel. I need to add different feedback panel for each of these widgets. I
tried using something like below,
final FormString form = new FormString(form);
ComponentFeedbackMessageFilter filter = new
We've been doing 'header contribution' for some time now and this works
fine with things like link and meta but what if we wanted to control
a 'comment' that is rendered to the header. Is there any special
mechanism in wicket for doing this or are comments you set up in your
base class mark up.
You can always opt for a either
- a label (with setRenderBodyOnly(true)) which renders it
- a header contributor
Both of these could use either a hardcoded bit of html in which you
replace ${urlForCss} with the result of a call to urlFor(...). You can
also store this html as a text template,
That label option works perfectly. I have total control of whatever I
need to bang into the header. Of course you have to use ye olde
setEscapeModelStrings(false) also.
-Original Message-
From: Bas Gooren [mailto:b...@iswd.nl]
Sent: Saturday, 11 February 2012 7:45 AM
To:
The other advantage of the label solution is that I can dictate exactly
where the markup will be injected into the header. I'm not sure if a
header contributor has that same amount of control.
-Original Message-
From: Bas Gooren [mailto:b...@iswd.nl]
Sent: Saturday, 11 February 2012 7:45
I am using wicket 1.4.12 , sometimes my modal windows takes very long time to
close , there is no code called when modalwindow is closed no ajax updates
to the page , what can cause modal window to hang ?
It happens in all browsers it happens only some times .
--
View this message in context:
So this means that wicket session cannot be accessed from non wicket
request? I tried to call Session.get().bind() before doing anything
with the session, but it gives me the same error. Notice this is
called in Session.get(), so I cant really call bind.
This was working with no problems in Wicket
On my latest project, I'm using wicketstuff-tinymce 1.5.4.
It works fine when I'm in development mode, but when I switch to deployment,
all the icons and images are gone.
I've found that it as something to do with the JavaScript compressor which
is disable in development mode and enable in
Maybe you should use ContainerFeedbackMessageFilter instead of
ComponentFeedbackMessageFilter.
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Multiple-Feedback-panels-in-a-page-tp4377392p4377960.html
Sent from the Users forum mailing list archive
Do you have a lot of Ajax links on the page?
On Fri, Feb 10, 2012 at 5:30 PM, fachhoch fachh...@gmail.com wrote:
I am using wicket 1.4.12 , sometimes my modal windows takes very long time to
close , there is no code called when modalwindow is closed no ajax updates
to the page , what can cause
I'm interested in measuring the time taken to render each individual
page class and building up some stats to see if any are doing too much
in the database and could benefit from data caching.
Wicket seems to be customizable at many levels and so I was wondering if
there is a hook point/plugin
I did this with a simple servlet filter, then profiled individual service
calls within the slower pages.
On Fri, Feb 10, 2012 at 7:03 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
** **
I’m interested in measuring the time taken to render each individual page
class and building up some
The reason I wanted to hook it into Wicket was to take advantage of
Wicket resolving the page class using its ability to resolve pages via
it's mounting mechanism.
If I do it in a separate servlet filter and therefore deal with raw URLs
then I think (but could be wrong) I have to re-implement
27 matches
Mail list logo