Hi,
after a form submission, I'd like to redirect the user to another page,
and stream a file to the browser (generated as a result of the form
submission).
How would I achieve this? I can do both single steps, but not both
together...
Thanks, bye,
Stefan
After submit redirect to the new page that automatically trigger an AJAX
request and use
https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow
On Thu, Dec 4, 2014 at 12:17 PM, Stefan Renz s.r...@efonds.com wrote:
Hi,
after a form submission, I'd like
Hey guys ..
I've got problem with AjaxFallbackLink in production deployment ...
for example :
SettingsComponent.this.hideAll(); hides all panels (sets visibility to
false)
SettingsComponent.this.infoComponent.setVisible(true); sets desired panel
to visible
Ended up doing something like this:
//in Application init
mountResource(file, new ResourceReference() {
@Override
public IResource getResource() {
return new AbstractResource() {
@Override
protected ResourceResponse newResourceResponse(Attributes
getting this error
Wicket.Ajax: FunctionsExecuter.processNext: TypeError: Cannot read property
'indexOf' of undefined
panel has a text-field onDomReady I calling jqueryui.datepicker() function
to modify this text-field.
Any ajax updates after clicking on the calendar icon or entering text
Hi,
You need to call component.setOutputMarkupPlaceholderTag(true) for all
components which are hidden and should be shown with Ajax.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Dec 4, 2014 at 10:55 AM, armandoxxx armando@dropchop.com
wrote:
Hey
This ...
... does not help ... and to tell you the truth I don't want these panels
to show in markup ...
I just want my panelWrapper to have content replaced with the new panel
(which should be visible)
Regards
Armando
--
View this message in context:
this is all the code I have for this panels ...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668618.html
Sent from the Users forum mailing list archive at Nabble.com.
Then fire the browser debugger and check what id the old id of the wrapper
and what is the id for the component element in the ajax response.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Dec 4, 2014 at 1:59 PM, armandoxxx armando@dropchop.com wrote:
Hi,
panelWrapper is the one that needs .setOutputMarkupPlaceholderTag(true)
On Thu, Dec 4, 2014 at 12:59 PM, armandoxxx armando@dropchop.com
wrote:
This ...
... does not help ... and to tell you the truth I don't want these panels
to show in markup ...
I just want my panelWrapper to
tried it .. does not help ...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668621.html
Sent from the Users forum mailing list archive at Nabble.com.
checking it out ...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668622.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
and
this.aboutComponent.setOutputMarkupId(true);
this.accountComponent.setOutputMarkupId(true);
this.alertsComponent.setOutputMarkupId(true);
this.infoComponent.setOutputMarkupId(true);
are not really needed
Martin Grigorov
Wicket Training and Consulting
removed it ;)
btw ...
HTML code
wicket:container gets ID id7c on first load .. NOW I PRESS BUTTON to show
another panel
in response I get
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668624.html
Sent from the
replace wicket container by a div. In production it will banish.
On Thu, Dec 4, 2014 at 1:10 PM, armandoxxx armando@dropchop.com wrote:
removed it ;)
btw ...
HTML code
wicket:container gets ID id7c on first load .. NOW I PRESS BUTTON to
show
another panel
in response I get
vanish
On Thu, Dec 4, 2014 at 1:22 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
replace wicket container by a div. In production it will banish.
On Thu, Dec 4, 2014 at 1:10 PM, armandoxxx armando@dropchop.com
wrote:
removed it ;)
btw ...
HTML code
wicket:container
It my javascript issue not with wicket. I resolved it.
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/jqueryuidatepicker-Wicket-Ajax-FunctionsExecuter-processNext-TypeError-Cannot-read-property-indexOf-d-tp4668609p4668610.html
Sent from the Users forum
It works now
replaced wicket:container with div and it works
regards
Armando
PS: FML
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668629.html
Sent from the Users forum mailing list archive at Nabble.com.
trying ... thank you !
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611p4668627.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
it's been a while since I've read the
https://cwiki.apache.org/confluence/display/WICKET/Wicket%27s+XHTML+tags#Wicket'sXHTMLtags-Elementwicket:container
thank you for your help
Regards
Armando
--
View this message in context:
Hi,
Having recently migrated an old app all the way from 1.3 to 6, one of the
issues I encountered was that links and other component take their parents
into consideration when determining their enabled state (introduced in
1.4?). This is a real pain for me in a few specific cases. I can't
Hi,
Yes. There is!
But I will tell you how to do it only if you update your thread about the
caret selection with the final solution so other users can also use it ;-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Dec 4, 2014 at 4:51 PM, ChambreNoire
Ha! Yes I was going to do that tonight but fine.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Force-AjaxLink-to-be-enabled-tp4668631p4668633.html
Sent from the Users forum mailing list archive at Nabble.com.
LOL
On Thu, Dec 4, 2014 at 4:04 PM, Martin Grigorov mgrigo...@apache.org
wrote:
Hi,
Yes. There is!
But I will tell you how to do it only if you update your thread about the
caret selection with the final solution so other users can also use it ;-)
Martin Grigorov
Wicket Training and
OK so this is what I have. Disclaimer: I'm no javascript/jQuery expert so
this is mostly cobbled together from things I have found online and tested
in my particular situation. Any optimisations are more than welcome!
So first the script
(function($) {
$.fn.getCaretPosition = function() {
Thanks!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Dec 4, 2014 at 5:19 PM, ChambreNoire a...@tentelemed.com wrote:
OK so this is what I have. Disclaimer: I'm no javascript/jQuery expert so
this is mostly cobbled together from things I have found
Check AbstractLink#isLinkEnabled()
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Dec 4, 2014 at 5:13 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
LOL
On Thu, Dec 4, 2014 at 4:04 PM, Martin Grigorov mgrigo...@apache.org
wrote:
Hi,
Haha I had already overridden AbstractLink#isLinkEnabled() and yes now
Wicket renders a link rather than a span but clicking doesn't work.
OnClick() isn't called at all.
CN
--
View this message in context:
Hi,
how do I automatically trigger an AJAX request? Timer behavior?
Any other ideas? I'd rather like to keep the download (resource
generating code) on the page that contains the form. The page I want to
redirect to has nothing to do with the resource...
Thanks, bye
Stefan
Ernesto Reinaldo
You can also
1- mount a resource and serve the file from there.
2- Once new page is loaded you do setTimeout(\window.location.href=' +
url + '\, 100); where url is the URL of the resource. This will trigger
download.
On Thu, Dec 4, 2014 at 4:50 PM, Stefan Renz s.r...@efonds.com wrote:
Hi,
I would like thank Tom Hombergs for Wickedcharts . It is a tremendous tool.
I’m still getting to grips with it (and with Highcharts for that matter) but
things are gradually falling into place.I’d like to ask a question regarding
recommended methodology regarding the source of chart ‘constants’.
31 matches
Mail list logo