Dear Jeremy,

thanks for your prompt response!

WicketStuff - see http://www.texashuntfish.com/app/calendar to see an
example.  The WS code also has an example app.

I found this one:
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-calendar/

Is this what you mean? I will take a look at the source to see how they did it ...


2. Which setup (e.g. IDE) do you use to reduce the time from "code change"
to "site view"?
I am using netbeans 6.8 and 7 seconds out of the box seems to be okay, but
is it possible to get it even faster with wicket? (preferable without
commercial solutions aka JRebel)

I use the Wicket quickstart (or you can now use jWeekend's LegUp archetypes)
and run the Start.java class to run an embedded Jetty container.  Run this
in debug mode in your IDE and you can debug your app easily, and changes to
classes and HTML files are picked up generally within a second (typically by
the time you can alt-tab to the browser and hit f5).

That sounds nice!
You point me in the correct direction. I couldn't get it working with this start class (jetty didn't auto restart if I changed sth). But if I enabled compile on save in NetBeans and configured the jetty plugin as follows and it works. Nice!

<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.22</version>
<configuration>
<scanTargets>
<scanTarget>target/classes/</scanTarget>
</scanTargets>
<scanIntervalSeconds>2</scanIntervalSeconds>
</configuration>
</plugin>


3. For the persistence layer I need a rather simple solution (odb?) e.g.
for CRUD.
I found a databinder project [2] and wicketrad [3], but they seems to be
out of date!?
Then I found Wicket-Iolite [4] and wicket-phonebook [5]. Can this be used
as a starting point or which *simple* persistent solutions do you use
Simple quick start with a couple different configurations:
http://www.jweekend.com/dev/LegUp

Thanks!


4. Is there a way to create a component without any html
Sure.  See TextField or many others for examples of how to do so.

Ah, I will take a look at them!


5. Is there a way to bind several components to *one* html file? I am
thinking of a template which I'll receive from the designer.
After this I only need to specify the wicket:ids within this html file
and my components will hook into it. Or is there another solution?
Create a panel.  It can be placed in a page or other panels, etc, and can
contain multiple components and has its own HTML.

Hmmh, maybe I need an example here too :-)

I thought of the following scenario: I have a MainPanel which uses an embedded NavigatorPanel. As a newbie I only know the way to bind the MainPanel to MainPanel.html and NavigatorPanel to NavigatorPanel.html Now within the MainPanel.html there is a wicket:id which will be used for the NavigatorPanel to be injected. Sth. like
<div wicket:id="nav_id">innerHtml</div>

But all of the inner html is replaced, right? So I cannot write:

<div wicket:id="nav_id">
<div wicket:id="customPanel"></div>
<div class="nav">"Go to SubMenu1"</div>
<div class="nav">"Go to SubMenu2"</div>
</div>

because the inner html stuff is removed and instead the html of NavigatorPanel.html is used for the NavigatorPanel, or did I misunderstand this? Can I tell wicket that the inner html instead of the html within NavigatorPanel.html should be used?


6. The usage of the Link class is a bit counter intuitive:
Link link = new Link("hrefId") { public void onClick() {..} };
link.add(new Label("titleId", new Model("myTitle") {...}));
why is there no such constructor for the easiest case like it is the case
in ExternalLink ala
new Link("hrefid", hrefModel, titleModel)
There are a bunch of examples on the list of how you can create a custom
link that outputs a model or plain string within its open and close tags.
Or look at ExternalLink as an example.  But links don't always have just a
string in them - many times they are around other components.

Ok. true. Thought it could be only a bit easier :-)

Regards,
Peter.

--
Free your timetabling!
http://timefinder.sourceforge.net/


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

Reply via email to