Re: Modal window issue

2011-08-10 Thread Vojtěch Krása
Hi,

ModalWindow from wicket-extensions is broken by design, try to use
visural-wicket or something different and all your problems are gone.

V.

2011/8/9 Archana archanaacharya.adhik...@gmail.com

 Hi All,

 In my current application there is a need to open a Modal window with in a
 Modal window and close the parent Modal window, once the child Modal window
 opens. Currently from one page on click of a icon the Modal window 1 is
 opening. Modal window 1 has few other components along with few buttons. On
 click of a create button another Modal window Modal window 2 opens.

 1. The need is to close the Modal window 1 when the Modal window 2 opens.
 But for Modal window 2, the parent is Modal window 1. So if I close the
 Modal window 1, Modal window 2 does not open. *Is there a way by which I
 can
 close Modal window 1, when Modal window 2 open.*

 2. If I can not close the parent Modal window, I want to hide the Modal
 window 1, when the Modal window 2 open. I tried the setVisible() for Modal
 window 1. but it did not work. *Is there a way by which I can hide the
 Modal
 window 1 or at least deactivate the Modal window 1, when the Modal window 2
 opens.*

 Both the Modal windows uses Panel. I am using wicket 1.4.

 -
 Thanks  Regards,
 Archana
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Modal-window-issue-tp3731060p3731060.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
Hi,

i have AjaxButton which closes ModalWindow, but if i click twice on that
button, exception is thrown:
org.apache.wicket.WicketRuntimeException: Submit Button buttonOK...  is
not visible

i've tried IndicatingAjaxButton and implementing IAjaxIndicatorAware and
AjaxIndicatorAppender . but even though indicator is showed, i can still
click on that button and get exception.
(i use AutoHotKey script for fast clicking, but if some lag occurs, it is
easily possible even for human to click twice... wicket 1.4.9)

any solutions?

thanks.


V.


Re: AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
it seems that https://issues.apache.org/jira/browse/WICKET-3087 pretty much
fixed it. but sometimes, window is displayed more than once, and only button
at the last window works and other throw exception..
but it may be due to my implementation...

V.


Re: AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
fixed. :-)

before opening new window is good to call
ModalWindow.closeCurrent(AjaxRequestTarget.get());


V.


Re: Stateless Wicket and Ajax

2011-03-11 Thread Vojtěch Krása
Hi,
check this
http://apache-wicket.1842946.n4.nabble.com/Removing-the-jsessionid-for-SEO-td1854094.html
no error should occur.

2011/3/11 Serban Balamaci serban.balam...@asf.ro

 Hello everybody.
 I'm interested in Wicket for a public site. I want to use stateless pages
 in
 order to have nice looking pages indexed by Google(no JSESSIONID in the
 url)

 There is an approach to remove JSESSIONID from the url for search bots but
 I
 do not like it since that would mean that any link to another page
 contained
 in that page would cause a Page Expired error since the session is lost
 thus
 no deep page navigation.

 So how would you implement AJAX since having AjaxLinks and even
 AjaxEventBehaviour makes a stateless page become statefull?
 There is the jolira tools wicket-stateless which provides
 StatelessAjaxFallbackLink, but it seems that there is the link is inside a
 repeater it could be that the component is inside a repeater make your
 component return false in getStatelessHint() which pretty much means that
 the page becomes statefull.

 I'm even considering using JQuery for AJAX and so looked at WiQuery with
 WiQueryAbstractAjaxBehavior but alas it extends
 AbstractDefaultAjaxBehavior.

 So perhaps using JQuery ajax requesting from with a generic WebPage serving
 wicket panels based on page parameters? This seems a poor approach.

 In the end, what other framework would you recommend? Preferably JAVA
 based.
 Maybe Play framework(not a fan of the templating sintax)?

 Thank you.

 -
 http://balamaci.wordpress.com
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Stateless-Wicket-and-Ajax-tp3348266p3348266.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: Removing jsessionid from URl

2010-09-23 Thread Vojtěch Krása
Hi,

check this http://markmail.org/thread/u42f6idu2hsdulom


2010/9/22 Ayodeji Aladejebi aladej...@gmail.com

 Hi,

 I have been tryin to figure out what to do to remove jsessionid from the
 URL

 I have mount(new QueryStringUrlCodingStrategy(/home, AppHomePage.class));

 All my links are BookmarkablePageLinks.

 am using wicket 1.4.8 on Apache Tomcat/6.0.29




-- 
S pozdravem
Vojtěch Krása


Re: 3.5 Hibernate 1.1 tutorial wicketized/eclipseized

2010-07-05 Thread Vojtěch Krása
Hi, you can upload it at http://megaupload.com/ or everywhere else...

2010/6/30 da...@davidwbrown.name

 Hello, mostly of interest to wicket noobs: i have a wicketized/eclipseized
 hibernate 1.1 tutorial that should work out-of-the-box albeit for mysql
 only. Where to upload the project? Or, I can put it on my blog for download?
 :-David.



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket security future - contribute!

2010-01-14 Thread Vojtěch Krása
Hi,

have someone tried to integrate wicket + shiro + guice?
some example would be great.

Thanks,
V.

2010/1/14 Les Hazlewood lhazlew...@apache.org

 Just a quick note to those interested - the Shiro dev team is trying
 very hard to get a 1.0 final release out hopefully before the end of
 this month.

 Best,

 Les
 (Apache Shiro team)

 On Thu, Jan 14, 2010 at 2:14 AM, Adrian Wiesmann awiesm...@somap.org
 wrote:
  Hi Alex
 
  i think we will not find one person who develops wicket-security allone
 -
  so
  who's interested?
  its not the part brings the most fun in wicket development area but a
 very
  very
  important part of every enterprise application - so contribute! lets
  define a
  security-subteam.
 
  I started with the built in security functionality and then moved to
 Apache
  Shiro. Shiro makes it very simple to authenticate users and to check
  permission from within your application code. And what I really like is
 that
  users of our tool still can personalise parts of those mechanisms when
  configuring their installation. Another plus is the permission based
  authorisation mechanism which makes defining and configuring permissions
  very flexible.
 
  So what I could contribute are classes to integrate Shiro into Wicket. If
  that is of interest.
 
  Cheers,
  Adrian
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org