Hi,
On Wed, Dec 12, 2012 at 8:29 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Why not have outputmarkupid=true?
>
>
In this particular use case doing that would mean that a IFeedback panel,
based on (
http://www.erichynds.com/jquery/a-jquery-ui-growl-ubuntu-notification-widge
1. Please also implement this expert/newuser mode as boolean closeonhover
setting inside notificationspanel:
public void onTargetRespond(AjaxRequestTarget target) {
if(isExpertMode()) {
renderErrorNotifications(target, getString("timeManagement.error"),
new NotificationSettings()
I filed an issue https://issues.apache.org/jira/browse/WICKET-4925
2012/12/12 Vitaly Tsaplin
> Hi Martin,
>
> Ok. But what if I want to remove it and then add again later? In my case
> I have several behaviors that are relatively heavy to create and I switch
> them.
>
> Vitaly
>
>
> 2012/12/12
William,
Is the AjaxEventBehavior added to the panel or the component? What event is it
fired on?
I'd thought you'd need it to be added to the component (rather than panel) and
say, triggered 'onblur'. And using a AjaxFormComponentUpdatingBehavior rather
than AjaxEventBehavior?
Can you post t
The model objects are only updated after form submission and submission
will only happen if successful validation has occurred.
If you are expecting to copy values from one field to another without
performing form submission then you can't extract the values from the
model objects.
I think what y
I've created a FormComponentPanel with 2 text boxes: A & B. I've add this
new FormComponentPanel to my page twice: 1 & 2. What I'd like to have
happen is when I change the value of 1A I want that same value copied into
2A.
I call setOutputMarkupId to true on 1A, 1B, 2A, and 2B. I setup
an AjaxEven
You have to use an AjaxFormSubmitBehavior, then the textFields and the
selection of the listChoice will be pushed to the server in one go.
Sven
Mandrake wrote
> Thank you very much for helping! But with this code i can load data from
> 'selectedNode' to inputs elements. However i want to save da
Why not have outputmarkupid=true?
2012/12/12 Ernesto Reinaldo Barreiro :
> IHeaderContibutor won't work if component does not has
> setOutputMarkupId(true) AjaxRequestHandler#add()
>
> public void add(Component... components)
> {
> for (final Component component : components)
> {
> Args.notNul
Hi
I am using resourceLink for a grammatically generated pdf resource:
PopupSettings popupSettings = new PopupSettings("resourcePage",
PopupSettings.RESIZABLE
|
PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
ResourceLink resourceLink = (ResourceLink) new
R
So, essentially what I'm asking is to relax the condition
component.getOutputMarkupId() == true <==> AJAX updateable,
by introducing and alternative IAjaxUpdateable (marking a component as "I
know how to update myself via AJAX") for components with
component.getOutputMarkupId() == false or even
Sry I've tried to reproduce this bug in quickstart project but with no
results. I
can't investigate anymore because right now I am under time pressure...
The bug regular occurs in Apache Caynnen Object Context which I pass from
one
Page to a constructor of a Page will be forwarded. And this each t
IHeaderContibutor won't work if component does not has
setOutputMarkupId(true) AjaxRequestHandler#add()
public void add(Component... components)
{
for (final Component component : components)
{
Args.notNull(component, "component");
if (component.getOutputMarkupId() == false && !(component ins
IHeaderContributor?
2012/12/12 Ernesto Reinaldo Barreiro :
> Hi,
>
> Several times I have encountered the situation where I want to "update" a
> component via AJAX and this component does not have setOutputMarkupId(true)
> or even the component generates no visible markup. All this component
> n
Hi Martin,
Ok. But what if I want to remove it and then add again later? In my case I
have several behaviors that are relatively heavy to create and I switch
them.
Vitaly
2012/12/12 Martin Grigorov
> Hi,
>
> It is expected behavior.
> An Ajax behavior can work with only one component because
Hi,
It is expected behavior.
An Ajax behavior can work with only one component because it cannot create
callbackUrl for more than one.
On Wed, Dec 12, 2012 at 4:06 PM, Vitaly Tsaplin wrote:
> Hi,
>
> It looks like it is not possible to remove an instance of
> AbstractAjaxBehavior. The behavior
No it doesn't hit the browser cache.
It's actually recreating a new Page. We've put breakpoints in Wicket to
establish that.
In PageProvider is trying to create a new Instance see the stacktrace.
The following stacktrace is taken when we use the 'backspace' or 'back
button' in the browser afte
Hi,
java.util.concurrent.locks.ReentrantLock.Sync is Serializable, so it looks
like a bug in Wicket ..
Please create a simple quickstart that demonstrates the problem and attach
it to Jira.
On Wed, Dec 12, 2012 at 2:53 PM, Aleksey V. Katorgin
wrote:
> Hello! Sry for my English. I've get the nex
Just bind the textfields to the selectedNode, then they are always
up-to-date.
BTW a LDM helps if #getNodesStorage() is an expensive call:
Form form = new Form(NODE_FORM_ID);
addOrReplace(form);
final IModel> nodeStorage = new
LoadableDetachableModel> {
public List loa
Thanks for a reply. Exactly. For my custom js I do simply:
target.appendJavaScript( "if(window.parent != null) { window.parent." + script
+ "}else{" +script +"}" );
because iframes are inside parent page.
Maybe there is a way to add above modification to ART with some kind of
contributor inte
Hi Martin,
I've Wicket 6.3.0. and doesn't work. I've posted a ticket
https://issues.apache.org/jira/browse/WICKET-4923 with a quickstart
Regards, Laura.
> Hi Laura,
>
> This has been improved recently with
> https://issues.apache.org/jira/browse/WICKET-4865 (Wicket 6.3.0).
> If this doesn't work
They are not part of the iframe's document and the JavaScript code cannot
find them to replace them.
It is easy to use the 'parent' in the JS code but I see no way to know that
at the server side. I.e. when using ART#add() to say that the component is
in the parent document...
On Wed, Dec 12, 201
Hi Wickers
In my Wicket app, I had another filter, prior to wicket app, that used to add
headers to every request to the webapp.
One of this headers was X-Frame-Options with value deny, which prevents pages
and elements to be used into an ; its recommended for security reasons
(XSS and
CSRF
Hi Martin,
For your workaround event is propagated and it works fine, but there are
problems with AjaxRequestTarget, precisely with target.add( componentToRefresh
).
Components that are outside of an iframe are not refreshed (target works on
iframe context and they are not found).
What would b
cycle.scheduleRequestHandlerAfterCurrent(new ComponentRenderingRequestHandl
er(...))
This API has changed with Wicket 1.5. You may want to read its migration
page since you migrate from older version directly to Wicket 6
On Wed, Dec 12, 2012 at 10:51 AM, Marios Skounakis wrote:
> Hi all,
>
> I
The requirements are pretty simple, the widget will contain a form field or two
that will be submitted back to a server via AJAX and present results back to
the user on the site hosting the widget. Think of the ubiquitous Twitter or
Facebook share widgets as existing similar examples to the fun
Hi,
Wicket uses a special trick to load CSS in Ajax response:
http://www.backalleycoder.com/2011/03/20/link-tag-css-stylesheet-load-event/
The warning is harmless. You can ignore it.
On Tue, Dec 11, 2012 at 6:45 PM, Jered Myers
wrote:
> Wicket 6.3
> Chromium 18.0.1025.168(Developer Build134367
It seems that the browser tries to load the page from its cache.
I think you need to set proper cache headers to always ask the server
instead of using the local data.
On Tue, Dec 11, 2012 at 6:59 PM, Rob Sonke wrote:
> Yes I know but by using the back button it seems to be ignored. Like it
> t
Hi Ernesto,
This change deserves a separate discussion in dev@.
On Tue, Dec 11, 2012 at 7:58 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Martin,
>
> On Wed, Nov 28, 2012 at 9:25 AM, Martin Grigorov >wrote:
>
> > On Wed, Nov 28, 2012 at 9:22 AM, Ernesto Reinaldo Barreiro <
> >
Hi,
What are the requirements for this widgets ?
Recently another user asked for the same functionality and we realized that
there are several limitations, the most important one - CORS.
Please create a mini application that shows the requirements and we can try
to finish it together. You can put
The patch is applied.
Will be part of 6.4.0
On Tue, Dec 11, 2012 at 9:48 PM, saty wrote:
> I also notice performance improvement (significant in my case) with this
> fix.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/understanding-ajax-response-tp465431
30 matches
Mail list logo