Hi all,
I am using an image directory as shared resource and specify it currently in
WicketApplication as follows:
getSharedResources().add(images, new FolderContentResource(new
File(this.getServletContext().getResource(/images).getFile(;
This works fine when deployed to the local tomcat.
Hi,
firstContainer2.add(new AjaxEventBehavior(mouseover) {
@Override
protected void onEvent(AjaxRequestTarget target) {
target.add(firstContainer2);
}
});
the click never has a chance to get through:
You're updating firstContainer2 on mouseover, replacing the DOM
element under
@Sven Meier
I didnt get the Why don't you use a :hover pseudo class?
Also, i had one more question regarding the onmouseover event, it gets
called up the whole time i have the cursor over that component. Is there a
way to use it properly so that it doesnt get called everytime...as in it
should be
Здравей :)
thanks for the quick response !
In this case I guess a button which is added on button save click causes the
problem. Here is the code :
final WebMarkupContainer saveContainer = addComponent(form, withMarkupId(new
WebMarkupContainer(saveContainer)));
Hi,
I didnt get the Why don't you use a :hover pseudo class?
you just seem to change firstContainer2's class attribute. It's more
efficient to use a pseudo class instead:
https://developer.mozilla.org/en-US/docs/Web/CSS/:hover
Regards
Sven
On 11.02.2015 09:50, avchavan wrote:
@Sven
Sure a veil is displayed on the page. Also on button Confirm, Cancel and hide
of the veil the following is executed, which could be a reason for the error
:
saveRepeater.removeAll();
I'm trying to find a solution with hiding the content instead of removing
it, but it's not working at the moment.
Hi,
try to add them both at once.
component.add(clickbehavior,mousebehavior);
kind regards
Tobias
Am 11.02.2015 um 07:51 schrieb avchavan avinash.cha...@yahoo.co.in:
Hi,
I am having a component with both onmouseover and onclick behavior.
onmouseover behavior works but the onclick
Hello,
I have a strange error 'Component not found', which occurs only when a save
operation to DB takes some time to complete. If the operation executes fast
the error is not generated. What is even more strange is that for the same
test case executed on local machine the error is generated and
Здравей,
The error says that the component is not in the page anymore for any reason.
Do you change the component tree somehow ?
It could be that the slow operation changes the component tree while a
second action is queued to be executed. Once the first operation finishes
Wicket will allow the
I guess you need a veil to be shown on the page (or at least over
saveContainer) while this operation runs, so no other Ajax calls are
scheduled.
You are adding new items to the saveRepeater and then repaint the whole
saveContainer and there i a chance that some link/button becomes stale
after
Thanks a lot Sven - I didn't took a closer look to see that the component
itself has been replaced.
kind regards
Tobias
Am 11.02.2015 um 10:12 schrieb Sven Meier s...@meiers.net:
Hi,
I didnt get the Why don't you use a :hover pseudo class?
you just seem to change firstContainer2's
11 matches
Mail list logo