());
break;
}
}
};
Big thanks and best regards! :)
bronius
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659541.html
Sent from the Users forum mailing list archive
Yes I agree, thanks again :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659544.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
Ok thanks again for helping out! :)
Well I found that 'options.$trigger.attr(id)' from parameters returns id
of link pressed (did not try yet on wicket side, but I think it should work)
and 'key' returns which context menu was pressed. Now my links represents
users and context menu some actions to
Hi thanks for help! With your explanations and MenuBehavior example I made it
work. Now one last thing is to recognize which link was chosen for context
menu. I see this documentation about callback:
(function) callback
Specifies the default callback to be used in case an item does not
expose
Hi,
Yes I checked it. I also was reading this:
http://code.google.com/p/wicket-jquery-ui/wiki/HowToCreatePlugin2. However
context menu plug in was not standard here is jquery example:
$(function(){
$.contextMenu({
selector: '.context-menu-one',
callback: function(key,
Hello,
I needed context menu component, but surprisingly it does not exit for
current version, so decided to roll my own, even though i have very little
Wicket experience and know absolutely nothing about jquery, so im like that
dog :)
Relative is not good because resources are served from different application,
just currently both applications are deployed on same tomcat so they have
urls http://localhost:8080/app1 and http://localhost:8080/app2. When smart
wicket renders image src i get something like this:
Yes that would be great, but src=app2/image?item-123 does not work (image
is not loaded) and after changing it with firebug to
src=http://localhost:8080/app2/image?item-123; works fine. Any ideas why is
that? Any stupid mistake i overlooked? Maybe wicket interprets relative url
as
Hi, I just tried it and it worked! Thanks guys for help, this situation
really surprised me :) On the bright side at least I learned about framework
when solving this little problem of mine as its easy to go inside and check
how it works (im quite new to wicket).
Best regards!
--
View this
Hello,
Im trying to serve images from other server, but need to build url for
images on server side. This looks very simple and on most frameworks very
easy to accomplish, but on wicket I simply do not understand what to do...
Im trying like this:
final Image img = new Image(IMAGE_ID_ADIMG, new
10 matches
Mail list logo