add an rfe to have it changed to take an irequesttarget instead of a
page class, that way you can do whatever you want.

-igor

On Fri, Nov 13, 2009 at 12:21 PM, Frank Silbermann
<frank.silberm...@fedex.com> wrote:
> I don't know, but I wouldn't be surprised if the answer is no.
>
> A foundational assumption about the way Wicket works is that a WebPage
> object would result from the combination of a WebPage class with a
> matching HTML file.  When Wicket sees MyPage.html in MyPackage with no
> matching class, it assumes the class is erroneously missing.  You want
> instead that Wicket should assume the class:
>
> package MyPackage
> class MyPage extends org.apache.wicket.markup.html.WebPage {}
>
> I don't think the convenience of avoiding this two-line MyPage.java file
> justifies eliminating this error check.
>
> I suppose Wicket could provide an API command to tell it to assume a
> trivial MyPage.java for MyPage.html, but I don't think such an API call
> would save you all that many keystrokes over the two-line class
> definition.
>
> -----Original Message-----
> From: fachhoch [mailto:fachh...@gmail.com]
> Sent: Friday, November 13, 2009 12:12 PM
> To: users@wicket.apache.org
> Subject: Re: page without class
>
>
> I am asking about creating a wicket page without a  class , can I create
> a
> org.apache.wicket.markup.html.WebPage  instance without any additional
> java file   just html  ?
>
>
>
>
> insom wrote:
>>
>> I believe you can do this if you change the Wicket filter mapping in
> your
>> web.xml to something other than /*. Then Tomcat will serve the page
> and
>> bypass Wicket entirely.
>>
>> Dane
>>
>>
>> On Fri, Nov 13, 2009 at 8:36 AM, fachhoch <fachh...@gmail.com> wrote:
>>
>>>
>>> Ok I have to tell that page to my IApplicationSettings
>>>
>>>                IApplicationSettings settings=
>>> super.getApplicationSettings();
>>>                settings.setAccessDeniedPage(accessDeniedPage)
>>> here accessDeniedPage page is a static html page and I dont need java
> .
>>>  I am talking about a wicket page without a class  just html  is it
>>> possible
>>> ?
>>>
>>>
>>>
>>> Pedro H. O. dos Santos wrote:
>>> >
>>> > Only put then on top-level directory of a web module.
>>> > http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz
>>> >
>>> > On Fri, Nov 13, 2009 at 1:21 PM, tubin gen <fachh...@gmail.com>
> wrote:
>>> >
>>> >> can I create a page just with html  and not write class ? I need
> some
>>> >> static
>>> >> html pages and writing java for those will be of no use .
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Pedro Henrique Oliveira dos Santos
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/page-without-class-tp26338268p26339453.html
>>> Sent from the Wicket - User 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
>>>
>>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/page-without-class-tp26338268p26340879.html
> Sent from the Wicket - User 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
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to