Hello Sebastien,
Just was able to check it
It works, unfortunately I was unable to abopt it for my needs ... :(
What I need is
1) some menu items should work via server round-trip
2) couple of menu items should be client-side only
I tried to "return true/false" from handler but it doesn't work
Hi I am creating a PropertyListView to dynamically populate rows to collect
data of contact information.
I am able to map the wicket id between html and panel class. However, when I
click save button , the value does not persist in the corresponding object.
The code is below
*main class code:*
Would it work to add a behavior to the component, passing behavior's url
to Toastr and calling this url via Wicket.Ajax?
In the behavior you would then redirect to the page you need.
On 07/27/2017 04:43 PM, Martin Grigorov wrote:
You will have to do some refactoring ...
Instead of using
You will have to do some refactoring ...
Instead of using Wicket's setResponsePage() you will need to use Toastr's
callbacks
toastr.options.onHidden = function() { console.log('goodbye');
}toastr.options.onCloseClick = function() { console.log('close button
clicked'); }
and do the redirect
Thanks Martin,
I've put logging everywhere but still can't track it down. Its just this
jetty instance causing not, not sure why. I'm going to side step the issue
and upgrade to 7.8.10 as I need that replication fix live asap.
Many thanks
On Wed, Jul 26, 2017 at 11:51 AM, Martin Grigorov
I probably don't need a label, problem is that onSubmit of the form typically
calls redirect to another page.
I tried AjaxButton, but can't get redirect being called *after* toastr popup
shows up. Ideally, I want popup, wait few seconds till it closes (or user
closes it) - do redirect.
--
View
Hi,
Do you really need a Label ?
I think you should be able to accomplish the same with:
target.appendJavaScript(Toastr.build(...));
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Jul 27, 2017 at 3:28 PM, ssamarin wrote:
>
Hello,
I'm integrating toastr popups (https://github.com/CodeSeven/toastr) into our
application. For it to work properly, I need to add Behavior to Label and
then add that label to AjaxRequestTarget.
I'm wondering on how to wire this with Form's and onSubmit methods. Custom
Ajax buttons
Then Component.getString(String) should work.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Jul 26, 2017 at 8:00 PM, extraquoo wrote:
> the current project use the i18n xml like below
>
Hi,
You need to get a reference to the Checkboxes' models somehow.
The Form instantiates the Panel, and the Panel instantiates the Checkboxes.
So you have several options:
- pass the models from the form to the panel to the checkboxes
- introduce getter methods where needed so you can reach them
Hello All,
I wanted to fetch the current value of 3 checkbox's on the submit button.
The "Checkbox" is not part of my form, instead its part of a Wicket Panel
called inside the form.
The hierarchy of checkbox values inside form object is shown in below
screenshot:-
Great!
I hope you have learnt something new while debugging this problem! :-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Jul 27, 2017 at 11:21 AM, ASHU_JAVA wrote:
> Hello All,
>
> I've resolved my issue by overriding the
Hello All,
I've resolved my issue by overriding the renderHead() method inside
MyPanel.java as below:-
@Override
public void renderHead(IHeaderResponse response) {
response.renderString("");
response.renderOnDomReadyJavaScript("$(function () {
$('.marquee').marquee({ duration:
13 matches
Mail list logo