Re: Not able to get Wicket Session even though WicketSessionFilter has been added

2014-07-08 Thread rsi610
WicketSessionFilter gets called..Also it has a session with it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-t

Wicket version 6.15 referring to older Jar

2014-07-08 Thread eaglei22
I have gotten all the latest jars installed for the Wicket 6.15. I can verify this in the Maven Dependencies directory. For some reason, I feel it is still pointing to an older version of Wicket. I am getting strange errors with the add method from the MarkupContainer. Using the quick-start exa

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Ah okay, sorry about that. That def makes more sense now. I wasn't 100% sure how to even read the pom but it makes a lot more sense now. I still get the error: Missing artifact org.slf4j:slf4j-api:jar:1.6.4:compile using: 6.15.0 7.4.0.v20110414

Re: Pom.xml errors in Wicket

2014-07-08 Thread Martin Grigorov
slf4j-api.version != slf4j.version read carefully Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 9:16 PM, eaglei22 wrote: > I don't understand why it keeps asking for it. If I take it out it's still > looking for it, and when I change to 1.

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
I don't understand why it keeps asking for it. If I take it out it's still looking for it, and when I change to 1.6.4 I get more errors: 7/8/14 1:15:36 PM CDT: Missing artifact org.slf4j:slf4j-api:jar:${slf4j-api.version}:compile 7/8/14 1:15:36 PM CDT: Missing artifact org.slf4j:slf4j-log4j12:jar

Re: Pom.xml errors in Wicket

2014-07-08 Thread Martin Grigorov
On Tue, Jul 8, 2014 at 9:05 PM, eaglei22 wrote: > Actually I took out: > > > org.apache.wicket > wicket > ${wicket.version} > pom > > > Which I had left in when adding

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Actually I took out: org.apache.wicket wicket ${wicket.version} pom Which I had left in when adding the wicket-core.. now I just get the Missing artifact org.slf4j:s

Re: Pom.xml errors in Wicket

2014-07-08 Thread Martin Grigorov
Remove the pom dependency. wicket-core:jar is enough. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 9:02 PM, eaglei22 wrote: > I added those, and I still get this: > > 7/8/14 1:01:35 PM CDT: Refreshing [/sampleproject/pom.xml] > 7/8/14 1:0

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
I added those, and I still get this: 7/8/14 1:01:35 PM CDT: Refreshing [/sampleproject/pom.xml] 7/8/14 1:01:35 PM CDT: [WARN] Missing POM for org.apache.wicket:wicket:pom:6.15.0 7/8/14 1:01:35 PM CDT: Downloading http://ept-dev-app01.ca.boeing.com:8080/artifactory/repo/org/slf4j/slf4j-api/${slf4j-

Re: Pom.xml errors in Wicket

2014-07-08 Thread Martin Grigorov
Hi, I can see the pom at http://central.maven.org/maven2/org/apache/wicket/wicket/6.15.0/ Not sure why it fails to resolve. But as Francois suggested - just use wicket-core:jar instead. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 7:03 PM,

Re: Pom.xml errors in Wicket

2014-07-08 Thread Francois Meillet
Add org.apache.wicket wicket-core ${wicket.version} org.slf4j slf4j-api ${slf4j-api.version} François Meillet Formation Wicket - Développement Wicket Le 8

Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Hello, I am getting an error: Missing artifact org.apache.wicket:wicket:pom:6.15.0:compile This is when I try to update to 6.15.0 from 1.5.5 .. I also get it for slf4j.. Here are the two errors together: 7/8/14 11:01:51 AM CDT: Missing artifact org.apache.wicket:wicket:pom:6.15.0:compile 7/8/14

Fwd: Wicket Bootstrap 0.9.5 is released

2014-07-08 Thread Martin Grigorov
-- Forwarded message -- From: Michael Haitz Date: Tue, Jul 8, 2014 at 6:04 PM Subject: Wicket Bootstrap 0.9.5 is released To: wicket-bootst...@googlegroups.com Hi, Wicket Bootstrap 0.9.5 has been released and soon will be available at Maven Central. release description: https:/

Re: WicketTester.executeAjaxEvent causes problems with FormTester.setValue()

2014-07-08 Thread mitchell.fr
Hi Lucas, I think it's a bug, because in my case I have a from when i set values of some component, then i execute ajaw event to submit the form, wickettester execute what i want, but after that if i submit the form with formTester.submit('path'); i'm getting the same the result as if clicked on th

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-08 Thread Martin Grigorov
Sorry, but I have no time to create a demo application for every user with a problem. The user should help us a bit too! Please create a full demo app and explain the steps to reproduce. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 3:32 PM,

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-08 Thread smallufo
Sorry , because the server receives no event. There is no debug output. I think it is easy to replicate the error. just fork bootstrap-samples : https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/master/bootstrap-samples and add LoginModal code : http://pastebin.com/0qGUFvXP And the LoginPage

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
Sounds as the Solution ! Play with it and send a Pull Request to https://github.com/wicketstuff/core if it helps. Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 2:28 PM, Ciocoiu Elvis wrote: > Maybe BookmarkableListenerInterfaceRequ

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
Maybe BookmarkableListenerInterfaceRequestHandler should be handled also in PortletRequestHandler similar to how ListenerInterfaceRequstHandler is encoded (the BookmarkableListenerInterface... now is just ignored and mapHandler returns the url without encoding it for portal environment). Anyway, t

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
It is the best we have at the moment. Suggestions how to make it better for Portlets are welcome! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 2:13 PM, Ciocoiu Elvis wrote: > If i use > Application.getPageSettings().setRecreateMountedPage

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
If i use Application.getPageSettings().setRecreateMountedPagesAfterExpiry(false) my AjaxLink works but I\m not sure about the implications. Is the Component.urlFor(...) implementation in wicket > 6.13 the correct one? Thank you On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis wrote: > I think I

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
On Tue, Jul 8, 2014 at 1:58 PM, Ciocoiu Elvis wrote: > I think I found the problem ... in wicket 6.13 > > Component.urlFor(final Behavior behaviour, RequestListenerInterface > listener, final PageParameters parameters) > > the decision to use BookmarkableListenerInterfaceRequestHandler > or Liste

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
I think I found the problem ... in wicket 6.13 Component.urlFor(final Behavior behaviour, RequestListenerInterface listener, final PageParameters parameters) the decision to use BookmarkableListenerInterfaceRequestHandler or ListenerInterfaceRequestHandler is different from wicket 6.12 where only

Re: Not able to get Wicket Session even though WicketSessionFilter has been added

2014-07-08 Thread Martin Grigorov
Hi, Put a breakpoint in WicketSessionFilter#doFilter() and see what happens. Is it called at all ? Is there Session thread local ? Etc. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:46 PM, rsi610 wrote: > I have also added Session.get()

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
Oh, sorry. I read that it is OK in 6.10 and not OK in 6.12. Here is the changelog for 6.13.0 - https://issues.apache.org/jira/issues/?jql=project%20%3D%20WICKET%20AND%20fixVersion%20%3D%206.13.0 There are few tickets related to statelessness of the page. I'm not sure whether it is related but it i

Re: Not able to get Wicket Session even though WicketSessionFilter has been added

2014-07-08 Thread rsi610
I have also added Session.get().bind() on page 1.. that also doesnt help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-able-to-get-Wicket-Session-even-though-WicketSessionFilter-has-been-added-tp4666469p4666476.html Sent from the Users forum mailing list archive

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-08 Thread Martin Grigorov
Then you will have to debug what happens ... Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:28 PM, smallufo wrote: > Yes , I am using 6.16.0 > > > 6.16.0 > 0.9.4 > 2.4.7 > > > > 2014-07-08 14:56 GMT+08:00 Martin Grigorov

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
In 6.10, 6.11, 6.12 the url is rendered ok. In 6.13, 6.14, 6.15, 6.16 the url is wrong. On Tue, Jul 8, 2014 at 1:17 PM, Martin Grigorov wrote: > https://github.com/wicketstuff/core/issues/172 > this sounds like related but the change has been made in an earlier version > > Martin Grigorov > Wic

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-08 Thread smallufo
Yes , I am using 6.16.0 6.16.0 0.9.4 2.4.7 2014-07-08 14:56 GMT+08:00 Martin Grigorov : > I believe https://issues.apache.org/jira/browse/WICKET-5585 is related. > Do you use Wicket 6.16.0 ? > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
https://github.com/wicketstuff/core/issues/172 this sounds like related but the change has been made in an earlier version Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 1:11 PM, Martin Grigorov wrote: > What about 6.11.0 ? > > Martin Grigo

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
What about 6.11.0 ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 8, 2014 at 12:55 PM, Ciocoiu Elvis wrote: > Seems that in 6.10.0 to 6.12.0 the url for my AjaxLink is ok > > > http://localhost:8080/web/guest/welcome?p_p_id=test_WAR_wicketportalportl

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
Seems that in 6.10.0 to 6.12.0 the url for my AjaxLink is ok http://localhost:8080/web/guest/welcome?p_p_id=test_WAR_wicketportalportlet_INSTANCE_2JbV4Gjuyvej&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=/test/%3F0-1.IBehaviorListener.0-refreshTimeLink&p_p_cacheability=cacheLevel

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Ciocoiu Elvis
I'll try to downgrade step by step. Until recently I didn't use wicket in portal environment. All I know is that with wicket 1.5 (tested until 1.5.9) my library was ok in Liferay 6.1. In the mean time I upgraded my library to wicket 6 but it seems that was not a wise decision :) . I'll post my conc

Not able to get Wicket Session even though WicketSessionFilter has been added

2014-07-08 Thread rsi610
Hi, I am not able to obtain the wicketsession even though sessionFilter has been added My requirement 1. Click of button on Page 1 (url : http://localhost:7001/abc/def/). open editable Pdf form in new window. 2. on click of submit present on pdf form , call a servlet (configured at http://localhos

Re: wicket portlet in Liferay 6.2

2014-07-08 Thread Martin Grigorov
Hi, Portlets is grey area for me... When the problem started appearing ? With Wicket 6.16 or earlier ? There are no changes in wicketstuff-portlet since a while so I guess it is a change in Wicket that may broke it. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov O