You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by ujtordai <uj...@gmail.com> on 2010/07/03 19:16:15 UTC

I' new in Wicket how Can I start?

Hello everybody,

I'm new in Wicket. I use NetBeans 6.9 and Glassfish.
I made a simple J2EE project.
The project deployed successfully.
My project is a skeleton of EE app it means actually not contain any entity,
session, and only contains in the web part the pre generated classes, for
example Application.java, BasePage.java HeaderPanel.html, headerPanel.java,
HomePage.html, HomePage.java, style.css.

My project does not work, emit the an error:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.0.1

What need to do for work the base "example"?

Thanks.

My web xml is:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <filter>
        <filter-name>WicketApplication</filter-name>
       
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
        <init-param>
            <param-name>applicationClassName</param-name>
            <param-value>com.myapp.wicket.Application</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>WicketApplication</filter-name>
        <url-pattern>/wicket/*</url-pattern>
    </filter-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file/>
    </welcome-file-list>
</web-app>
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277335.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: I' new in Wicket how Can I start?

Posted by Martin Voigt <vo...@googlemail.com>.
Sorry for repost, but do not follow the "myclipse" route, it's
powerful, but too confusing for newbies. Go with the first
alternative, "Using m2eclipse and WTP"

bw,
martin

co
On 9 July 2010 17:49, Martin Voigt <vo...@googlemail.com> wrote:
> Hey,
>
> though I understand your problems getting stuff done, please post
> these questions to the user-list:
>
> users@wicket.apache.org
>
> Also, http://www.ralfebert.de/blog/wicket/wicket_eclipse_setup/ may be
> a good starting point.
>
> bw,
> Martin
>
> On 4 July 2010 10:12, ujtordai <uj...@gmail.com> wrote:
>>
>> hello Again,
>>
>> Here is a screenshot about my project
>>
>> http://www.navipont.hu/images/wicket.html
>>
>>
>> --
>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277594.html
>> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>>
>

Re: I' new in Wicket how Can I start?

Posted by Martin Voigt <vo...@googlemail.com>.
Hey,

though I understand your problems getting stuff done, please post
these questions to the user-list:

users@wicket.apache.org

Also, http://www.ralfebert.de/blog/wicket/wicket_eclipse_setup/ may be
a good starting point.

bw,
Martin

On 4 July 2010 10:12, ujtordai <uj...@gmail.com> wrote:
>
> hello Again,
>
> Here is a screenshot about my project
>
> http://www.navipont.hu/images/wicket.html
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277594.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>

Re: I' new in Wicket how Can I start?

Posted by ujtordai <uj...@gmail.com>.
hello Again,

Here is a screenshot about my project

http://www.navipont.hu/images/wicket.html


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277594.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: I' new in Wicket how Can I start?

Posted by Martin Grigorov <ma...@fredhopper.com>.
Check  http://wicket.apache.org/ , section "Getting Started" and
"Documentation > Books".

If you use Maven the just copy/paste this on the command line:
mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.4.9 -DgroupId=com.mycompany -DartifactId=myproject

This will create a very simple application. You can start it with "mvn
jetty:run" or like a normal Java application: java -cp target/classes
com.mycompany.Start

Take your time and see the code, how it works, make some simple
changes ...

Then when you get the basics and you have more specific questions please
ask them at users@wicket.apache.org

Have fun!

On Sat, 2010-07-03 at 22:54 -0700, ujtordai wrote:
> Hello James,
> 
> I don't understand what did you think about
> 
> 



Re: I' new in Wicket how Can I start?

Posted by ujtordai <uj...@gmail.com>.
Hello James,

I don't understand what did you think about


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277559.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: I' new in Wicket how Can I start?

Posted by James Carman <ja...@carmanconsulting.com>.
Try going to http://mywebserverurl/mycontext/wicket


On Sat, Jul 3, 2010 at 1:16 PM, ujtordai <uj...@gmail.com> wrote:
>
> Hello everybody,
>
> I'm new in Wicket. I use NetBeans 6.9 and Glassfish.
> I made a simple J2EE project.
> The project deployed successfully.
> My project is a skeleton of EE app it means actually not contain any entity,
> session, and only contains in the web part the pre generated classes, for
> example Application.java, BasePage.java HeaderPanel.html, headerPanel.java,
> HomePage.html, HomePage.java, style.css.
>
> My project does not work, emit the an error:
> HTTP Status 404 -
> type Status report
> message
> descriptionThe requested resource () is not available.
> GlassFish Server Open Source Edition 3.0.1
>
> What need to do for work the base "example"?
>
> Thanks.
>
> My web xml is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
>    <filter>
>        <filter-name>WicketApplication</filter-name>
>
> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
>        <init-param>
>            <param-name>applicationClassName</param-name>
>            <param-value>com.myapp.wicket.Application</param-value>
>        </init-param>
>    </filter>
>    <filter-mapping>
>        <filter-name>WicketApplication</filter-name>
>        <url-pattern>/wicket/*</url-pattern>
>    </filter-mapping>
>    <session-config>
>        <session-timeout>
>            30
>        </session-timeout>
>    </session-config>
>    <welcome-file-list>
>        <welcome-file/>
>    </welcome-file-list>
> </web-app>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/I-new-in-Wicket-how-Can-I-start-tp2277335p2277335.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>