You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by esajjkh <pr...@gmail.com> on 2012/10/05 15:37:08 UTC

Re: Wicket 6 and Atmosphere framework integration

Hello Martin,
Great, wicket 6.1.0 is rocking :) however, wicket error pages are still
hurting me.  
I'm using atmosphereServlet, my web.xml looks like this:
 ...............
<servlet>
        <servlet-name>wicket.mavenproject1</servlet-name>
        <servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
        <init-param>
            <param-name>applicationClassName</param-name>
           
<param-value>com.ericsson.mavenproject1.WicketApplication</param-value>
        </init-param>
        <init-param>
            <param-name>org.atmosphere.useWebSocket</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>org.atmosphere.useNative</param-name>
            <param-value>true</param-value>
        </init-param>

        <init-param>
            <param-name>filterMappingUrlPattern</param-name>
            <param-value>/ssp/*</param-value>
        </init-param>
        
        <load-on-startup>0</load-on-startup>
    </servlet>
    
    



    <error-page>
        <error-code>403</error-code>
        <location>/error/error404</location>
    </error-page>
    <error-page>
        <error-code>404</error-code>
        <location>/error/error404</location>
    </error-page>
    <error-page>
        <error-code>503</error-code>
        <location>/error/error404</location>
    </error-page>
    
    <servlet-mapping>
        <servlet-name>wicket.mavenproject1</servlet-name>
        <url-pattern>/ssp/*</url-pattern>
    </servlet-mapping>

Am I missing something?  



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-and-Atmosphere-framework-integration-tp4651637p4652698.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Wicket 6 and Atmosphere framework integration

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Maybe it is related to https://github.com/Atmosphere/atmosphere/issues/595
Describe your issue there in more details. "Error pages hurt me"
doesn't explain what kind of sadists are they :-)

On Fri, Oct 5, 2012 at 4:37 PM, esajjkh <pr...@gmail.com> wrote:
> Hello Martin,
> Great, wicket 6.1.0 is rocking :) however, wicket error pages are still
> hurting me.
> I'm using atmosphereServlet, my web.xml looks like this:
>  ...............
> <servlet>
>         <servlet-name>wicket.mavenproject1</servlet-name>
>         <servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
>         <init-param>
>             <param-name>applicationClassName</param-name>
>
> <param-value>com.ericsson.mavenproject1.WicketApplication</param-value>
>         </init-param>
>         <init-param>
>             <param-name>org.atmosphere.useWebSocket</param-name>
>             <param-value>true</param-value>
>         </init-param>
>         <init-param>
>             <param-name>org.atmosphere.useNative</param-name>
>             <param-value>true</param-value>
>         </init-param>
>
>         <init-param>
>             <param-name>filterMappingUrlPattern</param-name>
>             <param-value>/ssp/*</param-value>
>         </init-param>
>
>         <load-on-startup>0</load-on-startup>
>     </servlet>
>
>
>
>
>
>     <error-page>
>         <error-code>403</error-code>
>         <location>/error/error404</location>
>     </error-page>
>     <error-page>
>         <error-code>404</error-code>
>         <location>/error/error404</location>
>     </error-page>
>     <error-page>
>         <error-code>503</error-code>
>         <location>/error/error404</location>
>     </error-page>
>
>     <servlet-mapping>
>         <servlet-name>wicket.mavenproject1</servlet-name>
>         <url-pattern>/ssp/*</url-pattern>
>     </servlet-mapping>
>
> Am I missing something?
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-and-Atmosphere-framework-integration-tp4651637p4652698.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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