Hi,
> add(new ProductImage("image", getDefaultModel());
this line is causing the null product.
> I thought when setting the default model all the children are visited
and model updated.?
No, not at all. Either you have to do that by yourself or you have to
give ProductImage a more intellige
Hello,
I cannot get my component model to update correctly when being set. I
have list of products and when I click on the name via ajax I update a
Product panel to display the info. In that panel I have my component
that displays the image of the product. sudo code:
ProductPanel(id, IModel model
or don't use cpm
On Jan 10, 2012 11:10 AM, "Sven Meier" wrote:
> Write you own model:
>
> public class PropertiesModel extends AbstractReadOnlyModel {
>
> private Properties properties;
>
> private String key;
>
> // constructor ...
>
> public String getObject() {
>return properties.get(k
Yea, I was already doing all that. The issue was the :8443 in the url, which
is accurate but bothersome since we are trying to hide that with iptables.
Fixed it by throwing a RedirectToUrlException with the port number left out
of the url.
--
View this message in context:
http://apache-wicket
I just compared HTTP traces between AJAX-uploading a small file and
large file and noticed that in both cases the same POST call is made
from the client. However, with small file upload POST result returns
quickly with status 200 and with large file the POST call never
returns.
When I pause my deb
hej,
maybe Im still confusing basics concepts but this is quite new stuff.
recently I had few problems with redirecting after setting cookies (my
application was setup to use render-to-buffer default strategy).
simple setResponsePage is not good enough as cookies are lost then I
was advised to use
Correct, the client does not complete even though my server code
execution finishes.
There are no Javascript errors. It is possible that the info window is
not a part of the DOM but I don't know how to verify that.
The problem is caused by adding a component from the parent page to
ART during AJA
I am assuming what you mean by hanging is that the call on the client browser
doesn't complete or is interrupted for some reason. The hanging is not
occurring on the server side...correct?
Are there any javascript errors? I ask b/c you indicated:
"INFO: Invoking pre-call handler(s)..." and befo
Write you own model:
public class PropertiesModel extends AbstractReadOnlyModel {
private Properties properties;
private String key;
// constructor ...
public String getObject() {
return properties.get(key);
}
}
You can implement IComponentInheritedModel if you want to have the
Commenting out the first line in the code below fixes the problem but
I don't understand why the fix works.
Note that get("infoFeedback") returns feedback panel of the modal
window page - and not of the upload form. The filter of the feedback
panel uses
http://www.jeremythomerson.com/blog/2011/01
Martin Grigorov-4 wrote
>
> iframe shares the same http session with any other url in the app
>
> That's right.It works fine on normal cases. But if I set " Block sites
> from setting any data" and "Block third-party cookies from being set" when
> it opens the iframe it creates a new session, fi
iframe shares the same http session with any other url in the app
o.a.w.Session#bind() will create a new http session if it is not
already created.
So create it as soon as you need it and from there on all requests
will share the same http session
On Tue, Jan 10, 2012 at 5:22 PM, cosmindumy wrot
See Session.bind(). Call it before as soon as the http session should
be created.
Can you explain a little more what did you mean?
I tried mySession.bind in method newSession() from MyWebApplication. I don't
know if that's what you mean.
I'm interested to know if it's possible to pass my applic
Hello
I have a form with new CompoundPropertyModel(properties) as model
where properties are loaded from a properties file (legacy). My problem is
that in properties file I have keys like x.y
and I cannot use form.add(new TextField("body.background-color"));
How do I solve this problem?
Thanks,
Fix the wiki page too ;-)
It's community based!
On Tue, Jan 10, 2012 at 2:44 PM, armandoxxx wrote:
> fixed it ...
>
> had wrong method signature ...
> should have been:
> public CharSequence decorateScript(final Component theComponent, final
> CharSequence theScript)
>
>
> regards
>
> Armando
>
>
fixed it ...
had wrong method signature ...
should have been:
public CharSequence decorateScript(final Component theComponent, final
CharSequence theScript)
regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Force-fallback-on-links-possible-tp4281
On Tue, Jan 10, 2012 at 1:53 PM, armandoxxx wrote:
> Repost without raw tags ...
>
> I tried your suggestion and it's not working ... can you check please ?
>
> my link
>
>
>
> AjaxFallbackLink
> link = new AjaxFallbackLink("link", new
> Model(dateOption)) {
> @Override
>
Repost without raw tags ...
I tried your suggestion and it's not working ... can you check please ?
my link
AjaxFallbackLink
link= new AjaxFallbackLink("link", new
Model(dateOption)) {
@Override
public void onClick(final AjaxRequestTarget theTarget) {
On Tue, Jan 10, 2012 at 1:07 PM, cosmindumy wrote:
> Hello,
> I have 2 questions:
> 1. I have the situation that if the user press a button an iframe is open.
> The problem is that if the user has some settings in browser, the session is
> lost. It creates a new session. Is it possible to set the
Got what I want, but had to give up this approach :(
Instead of adding more css-classes, I just added a label to the
HeadersToolbar, to switch the ordering state via css background-image and
doing my checks for grouptotals in HeadersToolbar.onConfigure() where an
sumup-symbol is added as the new l
On Tue, Jan 10, 2012 at 12:53 PM, armandoxxx wrote:
> I tried your suggestion and it's not working ... can you check please ?
>
> my link
>
>
> and rendered link output
>
> onClick attribute was not replaced "decorated"
>
> what am I doing wrong ?
Nothing to read above...
>
> the sample i looke
Hello,
I have 2 questions:
1. I have the situation that if the user press a button an iframe is open.
The problem is that if the user has some settings in browser, the session is
lost. It creates a new session. Is it possible to set the session to iframe?
2. I've got an error on production server
I tried your suggestion and it's not working ... can you check please ?
my link
and rendered link output
onClick attribute was not replaced "decorated"
what am I doing wrong ?
the sample i looked on how to do it ... (taken from wiki)
regards
Armando
--
View this message in context:
Thank you for your reply !
Regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Force-fallback-on-links-possible-tp4281533p4281633.html
Sent from the Users forum mailing list archive at Nabble.com.
thank you for your reply ...
regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Force-fallback-on-links-possible-tp4281533p4281629.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Use IAjaxCallDecorator that checks the browser version and if IE8 then
returns just "true" ignoring the Ajax callback script generated by
Wicket.
This will fallback to non-ajax request.
On Tue, Jan 10, 2012 at 11:24 AM, armandoxxx wrote:
> Hey
>
> Can I force AjaxFallbackLinks not to use ajax whe
if(client.isIe(8)) {
add(new Link(){});
}
else {
add(new AjaxFallbackLink(){});
}
or you could call setResponsePage(getPage()) in the onclick of the
AFL, which will do a round trip.
or you could create your own AFL that checks for IE-ness, and doesn't
render the ajax actions all together.
I've just submitted a JIRA issue with quickstart for this issue:
https://issues.apache.org/jira/browse/WICKET-4330
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.a
Hey
Can I force AjaxFallbackLinks not to use ajax when i want it so ?
The cause for my question is IE8 .. it takes shit loads of time to replace
DOM nodes on ajax and application has a lof of panels to replace ..
Kind regards
Armando
--
View this message in context:
http://apache-wicke
The problem is related to non standard (i.e. "wicket") namespaces.
In my quickstart if I change the namespace in all markup from "wicket"
to "foobar" then the BPL which has only the last segment differing from
the current page ends up producing an incorrect link to another page in
the same path.
>> Am I right in saying that RelativepathPrefixHandler should never even
be
>> applied to BookmarkablePageLink tags (and any classes derived from
>> BookmarkablePageLink)?
>
>At least its source doesn't indicate that BPL should be treated
specially.
I've made some inroads: I got a quickstart to fa
Hi,
On Tue, Jan 10, 2012 at 10:05 AM, Chris Colman
wrote:
> I can't seem to get a Quickstart that reproduces the problem - even
> though I've duplicated virtually every intricacy of our main app.
> There's obviously something subtle that's causing the problem in our
> app.
>
> Am I right in sayin
I can't seem to get a Quickstart that reproduces the problem - even
though I've duplicated virtually every intricacy of our main app.
There's obviously something subtle that's causing the problem in our
app.
Am I right in saying that RelativepathPrefixHandler should never even be
applied to Bookma
33 matches
Mail list logo