Re: How to get request page in Wicket 1.5

2012-06-21 Thread robmcguinness
i build something like this for Wicket 1.3 that can give you can idea for
Wicket 1.5

https://github.com/robmcguinness/wicket-events/blob/master/src/main/java/com/robmcguinness/WicketApplication.java#L30

https://github.com/robmcguinness/wicket-events/blob/master/src/main/java/com/robmcguinness/events/LastPageAccessedMetaData.java

i built this to send events across all pages in active session (modal =
parent page and parent = modal)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-request-page-in-Wicket-1-5-tp3827411p4650153.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: Sync up sessions

2012-06-21 Thread robmcguinness
from outside Wicket in web app container:



httpServletRequest.getSession().getAttribute(wicket:yourWicketFilterName:session);



the key might have changed in new wicket flavors


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650154.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: Reloading i18n on demand

2012-03-15 Thread robmcguinness
unless things have changed I used to use the JMX panel to destroy the Wicket
caches during production.  worked like a charm when I need to replace the
markup on the fly without redeploying.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Reloading-i18n-on-demand-tp3798545p4476845.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: Updating a component from custom thread or why getRequestCycle returns null

2012-02-21 Thread robmcguinness
maybe i misunderstood.  if you attach a quickstart to this thread I can take
a look.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Updating-a-component-from-custom-thread-or-why-getRequestCycle-returns-null-tp4393783p4406978.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: Shrinking the session size, simply by zipping it. Saved my day.

2012-02-19 Thread robmcguinness
very nice thanks!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Shrinking-the-session-size-simply-by-zipping-it-Saved-my-day-tp4402980p4403065.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: Updating a component from custom thread or why getRequestCycle returns null

2012-02-16 Thread robmcguinness
there are many examples in this forum, but here is something I wrote a while
back that passes thread locals (user info in this example) to the new thread
and when the thread is done doing work, the ui repaints with data from
thread.

https://gist.github.com/706011

use it as a guide and make it your own. good luck.

rob




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Updating-a-component-from-custom-thread-or-why-getRequestCycle-returns-null-tp4393783p4395980.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: 1.5.4 error handling with web.xml error-page issue

2012-02-16 Thread robmcguinness
not sure if the */* matters when you mount the url.


mountPage(/ErrorPage, ErrorPage.class); 


rob

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/1-5-4-error-handling-with-web-xml-error-page-issue-tp4395935p4395984.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: Wicket 'hook' point for page render timing

2012-02-12 Thread robmcguinness
log level must be set to debug for
org.apache.wicket.devutils.inspector.RenderPerformanceListener. 


ex. output:
19:14:10.563 DEBUG o.a.w.d.i.RenderPerformanceListener - rendered 'HomePage
page' for 207ms



i'm not sure if this is what you needed but maybe you can use as a guide.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-hook-point-for-page-render-timing-tp4378230p4382458.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