Can't find samples

View: New views
6 Messages — Rating Filter:   Alert me  

Can't find samples

by Shane Hayes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm new to java/wicket and like what I read about wicketrad. I can't find the samples referenced and those would really be helpful. Especially if there was a simple parent child structure like Company and Orders.

Did this move or is there another example of how to use wicketrad?

I was able to download the latest code, but there are no examples in that structure.

Regards,
Shane

Re: Can't find samples

by wfaler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I'm afraid I have been busy with other things, so the documentation/sample maintenance has fallen off a little..
However If you download the latest release from sourceforge, I believe the samples should still be around in that.
You might need to fiddle around a little with the code though, as a lot has changed.

Shane Hayes wrote:
I'm new to java/wicket and like what I read about wicketrad. I can't find the samples referenced and those would really be helpful. Especially if there was a simple parent child structure like Company and Orders.

Did this move or is there another example of how to use wicketrad?

I was able to download the latest code, but there are no examples in that structure.

Regards,
Shane

Re: Can't find samples

by Shane Hayes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks! I found the code.

I have been fixing stuff blind, but now I need a hint on things like: DefaultUpdateBeanForm in UpdatePageToRuleThemAll. Any suggestions on how to get this to compile?

Regards,
Shane

Re: Can't find samples

by wfaler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, a couple of hints on the samples code:
The table pages won't work at all, as the table generation has been ripped out (it never worked very well, and was quite restrictive and unflexible in what it did).

As for the update-forms, these will be broken, as the JPA package has been reworked to be more scalable/performant.
The best approach here is probably to compose a org.wicketrad.jpa.UpdateBeanDataForm (in the wicket-jpa module) with a org.wicketrad.propertyeditor.form.BeanPanelForm ("Horizontal" or "vertical" layout implementation in wicket-rad-core).

 
Shane Hayes wrote:
Thanks! I found the code.

I have been fixing stuff blind, but now I need a hint on things like: DefaultUpdateBeanForm in UpdatePageToRuleThemAll. Any suggestions on how to get this to compile?

Regards,
Shane

Re: Can't find samples

by Shane Hayes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
I removed the "advanced" table stuff and updated all of the references to wicket 1.4.1, so it will build. As a beginnger in Java, I'm think I'm running into a newbie problem with this error:
Exception in thread "main" java.lang.NoClassDefFoundError: SampleApplication
Caused by: java.lang.ClassNotFoundException: SampleApplication

This is using Netbeans 6.7.1. Any thoughts on how to fix that?

Regards,
Shane

Re: Can't find samples

by wfaler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like you either haven't built or you have removed SampleApplication.java. Typically you get that exception when the JVM can't find a class because it is not among the defined dependencies, or that it is not in your source-tree.

Shane Hayes wrote:
Hi.
I removed the "advanced" table stuff and updated all of the references to wicket 1.4.1, so it will build. As a beginnger in Java, I'm think I'm running into a newbie problem with this error:
Exception in thread "main" java.lang.NoClassDefFoundError: SampleApplication
Caused by: java.lang.ClassNotFoundException: SampleApplication

This is using Netbeans 6.7.1. Any thoughts on how to fix that?

Regards,
Shane