You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ryan Gravener <ry...@ryangravener.com> on 2009/08/19 13:16:50 UTC
Re: Full integration Wicket - Blazeds. Is it possible?
Make your own filter and implement these methods this way:
http://pastie.org/588344
Ryan Gravener
http://bit.ly/no_word_docs
On Mon, May 4, 2009 at 1:01 PM, Fernando
Wermus<fe...@gmail.com> wrote:
> Hi all,
> I am working with flex and wicket and I would like to get a full
> integration. What I mean is that a wicket's model page will be updated in
> case someone uses a flex component that called a blazeds service. I run
> succesfuly http://ryangravener.com/wordpress/?p=21, which I would like to
> improve.
>
> My problem is how to get wicket session, for getting the model's page which
> I would like to update.
>
> Some ideas that come up to my mind are:
>
> a. using cookie JSESSIONID to get wicket session.
> b. getting HttpSession through FlexContext to get Wicket Session after:
> HttpSession session = FlexContext.getHttpRequest().getSession(true);
>
> Is this possible? This is the web.xml file config according ryangravener:
>
> <!-- WICKET FILTER -->
> <filter>
> <filter-name>wicket.miApp</filter-name>
>
> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
> <init-param>
> <param-name>applicationClassName</param-name>
> <param-value>com.miApp.MiAppApplication</param-value>
> </init-param>
> </filter>
> <filter-mapping>
> <filter-name>wicket.MiApp<filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
>
> <!-- BLAZE -->
> <servlet>
> <servlet-name>MessageBrokerServlet</servlet-name>
> <servlet-class>
> flex.messaging.MessageBrokerServlet
> </servlet-class>
> <init-param>
> <param-name>services.configuration.file</param-name>
> <param-value>/WEB-INF/flex/services-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>flex.write.path</param-name>
> <param-value>/WEB-INF/flex</param-value>
> </init-param>
> <load-on-startup>1</load-on-startup>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>MessageBrokerServlet</servlet-name>
> <url-pattern>/messagebroker/*</url-pattern>
> </servlet-mapping>
>
> <filter-mapping>
> <filter-name>wicket.myApp</filter-name>
> <url-pattern>/messagebroker/*</url-pattern>
> </filter-mapping>
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org