I think most developers have given up on using the eclipse jetty
plugin, and use an embedded container instead. That one doesn't
hot-deploy (or at least not in our configurations). To get changes in
classes we run the application in the eclipse debugger. See [1] for a
starter class.
If you want
I think most developers have given up on using the eclipse jetty
plugin, and use an embedded container instead.
Jason uses the Maven Eclipse plugin, which is a completely different
bird, and which actually is used by quite a few developers from what I
hear.
Eelco
What do you use for the export? You probably should use a resource.
For instance:
public class DiscountsExport extends WebResource {
public static class Initializer implements IInitializer {
public void init(Application application) {
SharedResources res =
On 10/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
What do you use for the export? You probably should use a resource.
For instance:
public class DiscountsExport extends WebResource {
public static class Initializer implements IInitializer {
public void init(Application
Just and idea
I used to work on Eclipse, and one cool thing (in my opinion) we did at
conferences were the so called plugin clinics. Basically, there would
be a couple of commiters on hand in some conference room for about 2
hours in the evening and you could bring your sick plugin and we
Hi!
I know that Wicket in development mode does hot redeploy of html templates.
Is it possible to configure it to does a hot redeploy of java classes too?
It would boost the development time!!
Thanks,
Artur
--
View this message in context:
I Like that idea, especially for all those wicket stuff projects out there.
If anyone has any questions / problems about / with wasp or swarm they
can not / will not ask on the mailing list, they are free to ask me on
the conference and I'll do my best assist them. If they bring there
projects
Hot reloading of classes is already supported in the jvm. it just
requires a debug connection if i understand it all correctly. for
instance we use the sysdeo tomcat plugin in eclipse which starts
tomcat in debug mode every time we change some code tomcat
automatically uses the new class. Well up
On Friday, October 5, 2007, 9:18:22 AM, Artur [EMAIL PROTECTED] wrote:
I know that Wicket in development mode does hot redeploy of html templates.
Is it possible to configure it to does a hot redeploy of java classes too?
It would boost the development time!!
As far as I'm aware, that's a
Excellent idea! I've added it to the Wiki page...:
http://cwiki.apache.org/WICKET/community-meetups.html
Would be nice if we could add more ideas to the list.
Personally, I would be very interested in discussing Wicket plugin
architectures, including (but definitely not limited to) OSGi.
-
Gwyn Evans schrieb:
On Friday, October 5, 2007, 9:18:22 AM, Artur [EMAIL PROTECTED] wrote:
I know that Wicket in development mode does hot redeploy of html templates.
Is it possible to configure it to does a hot redeploy of java classes too?
It would boost the development time!!
works fine
Fabio Fioretti wrote:
This is what I do, basically:
1) Select a choice from the ListChoice;
2) The form automatically fills with the data of the selected
recommendation instance;
3) Modify the data in the form so that validation will fail;
4) Submit data -- validation fails;
5) Select
Not recommended per se, but it works for me. However, it will not
reload structural changes, you'll need to restart jetty when you add a
property, method, or change the signature of a method, etc.
The debugger can only modify the contents of methods, not add them
(unfortunately). The reloading
Dan Syrstad-2 wrote:
Actually, Page.detach() is not callable from a JUnit test that uses
WicketTester in 1.3.0beta3. It throws an exception:
I used your code and the test passed. Here is my test page:
html
body
test
/body
/html
public class Test extends WebPage {
public Test() {
Thanks Eelco. However, I am using the Maven Jetty plugin
(http://www.mortbay.org/maven-plugin/index.html) for jetty usage under
Maven. Perhaps that is what you meant. I am also using the Maven2 eclipse
plugin (http://m2eclipse.codehaus.org/) for dependency management within
eclipse, but that
Gwyn wrote:
On Friday, October 5, 2007, 9:18:22 AM, Artur [EMAIL PROTECTED] wrote:
I know that Wicket in development mode does hot redeploy of html
templates.
Is it possible to configure it to does a hot redeploy of java classes
too?
It would boost the development time!!
AFAIK
Perhaps make a difference between whole day, after lunch and after cup-a-soup?
On 10/5/07, Arje Cahn [EMAIL PROTECTED] wrote:
BTW; I just added the proposed dates to the Wiki page. Please check which
dates have your preference in the big table!
Also, please state whether you prefer an evening
More information. It works as expected in IE7. The problem occurs with
Firefox 2.0.0.7
skatz wrote:
I am trying to use the ModalWindow as a confirmation dialog and it works
fine on one page but the same code on a different page produces the above
error.
Closing the ModalWindow with the
Ya, I like that. I'll give all these a shot. Here's what I setup thus
far, before reading these posts. But what you have is much simpler. Thanks.
mount(new URIRequestTargetUrlCodingStrategy(/cvs) {
Hi !! I have this hierarchy:
Panel
Form
DropDownChoice (A and B)
I have these two DropDownChoices (A and B) and I am
refreshing the choices in B through Ajax when the
selection in A changes. I use this dorpdownchoices to
define a filter for my dataview.
That works fine, when I submit
On Friday, October 5, 2007, 11:56:41 AM, Artur [EMAIL PROTECTED] wrote:
Gwyn wrote:
On Friday, October 5, 2007, 9:18:22 AM, Artur [EMAIL PROTECTED] wrote:
I know that Wicket in development mode does hot redeploy of html
templates.
Is it possible to configure it to does a hot redeploy of
On 10/5/07, Kent Tong [EMAIL PROTECTED] wrote:
Hello, thanks for your reply.
I suppose you're using wantOnSelectionChangedNotifications() to trigger
the refresh?
No, I'm not.
The ListChoice uses the same AbstractModel on which the panel inside
the form builds its CompoundPropertyModel (see
It's also possible to hotswap classes using a java agent. And if you're using
java6 it's even possible to start an agent without specifying anything at
the command line (the trick is that you need to get the java process id).
Mr Mean wrote:
Hot reloading of classes is already supported in
Instead of setRequestTarget(rsrt) I use this
rsrt.respond(getRequestCycle());, is that correct? It does work, but I
get this in the logs 08:53:03,277 ERROR WebResponse:190 - Unable to
redirect to: ?wicket:interface=:2, HTTP Response has already been
committed.. It works, but I wouldn't
Is there a way to retain contents of a form when the fields are repainted by
AJAX (to hide/unhide new fields, etc/.)?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think it pretty much does this by default. It largely depends on what
IModel you are using... I think the components will hold dirty values for
you (doesn't pass validation) but then the model should store the state of
the fields.
Michael Laccetti-2 wrote:
Is there a way to retain
Additionally, you can take a look at ReloadingWicketFilter that is
shipped with the core project.
Eelco
On 10/5/07, Maurice Marrink [EMAIL PROTECTED] wrote:
Hot reloading of classes is already supported in the jvm. it just
requires a debug connection if i understand it all correctly. for
*BUT*, when the user edits one of the recommendations making errors,
tries to save it and form validation fails, the panel's
CompoundPropertyModel seems to detach from the underlying
AbstractModel and, if the user selects another choice on the
ListChoice, the form is refreshed but it keeps
On 10/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Not recommended per se, but it works for me. However, it will not
reload structural changes, you'll need to restart jetty when you add a
property, method, or change the signature of a method, etc.
The debugger can only modify the contents
Label dbl = new Label(dbllbl,+x){
Why pass in a string? Better is to do new Label(foo, new Model(x));
@Override
protected void onComponentTagBody(final MarkupStream
markupStream, final
ComponentTag openTag)
Dan Syrstad-2 wrote:
Your page code is almost exactly the same as mine. However, your HTML does
not look correct - it has no tag with a wicket:id in it. So maybe your
component never rendered.
No, your mail client has stripped the code. Let me show you the code again:
lt;htmlgt;
you shouldnt call page.render()
-igor
On 10/5/07, Larva [EMAIL PROTECTED] wrote:
Hi !! I have this hierarchy:
Panel
Form
DropDownChoice (A and B)
I have these two DropDownChoices (A and B) and I am
refreshing the choices in B through Ajax when the
selection in A changes. I use
Thanks Igor for your quick answer.
I call the page.render() method because in the submit I set properties in
the page that use to filter my custom dataview.
Then, if a don't invoke the page render the dataview isn't update.
I tried invoking only the render method of my dataview but I got the same
Thanks so much, Eelco :-). I can't find the new example, however... Where
did you commit it? It doesn't show at the examples page
(http://wicketstuff.org/wicket13/). I've also tried an URL similar to pub,
but it isn't there.
You'll have to get it from our subversion repo:
On Friday, October 5, 2007, 6:53:51 PM, Eelco [EMAIL PROTECTED] wrote:
Thanks so much, Eelco :-). I can't find the new example, however... Where
did you commit it? It doesn't show at the examples page
(http://wicketstuff.org/wicket13/). I've also tried an URL similar to pub,
but it isn't
NB: http for non-committer/anonymous access!
You can read from it as far as I know. Just not commit :-) But indeed,
you probably want http instead.
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
instead of pushing the right values when things change you should make
everything pull, that way updates happen on the fly... see the ajax
dropdown example in wicket examples.
-igor
On 10/5/07, Larva [EMAIL PROTECTED] wrote:
Thanks Igor for your quick answer.
I call the page.render() method
The first time the page is render the dropdownchoices works fine. I took the
example from the wicket examples.
The problem is after the submit. When I submit the form and the page is
render again the data of the dataview is filtered ok but the dropdownchoices
aren't working and there is no ajax
provide a working quickstart and i will take a look
-igor
On 10/5/07, Larva [EMAIL PROTECTED] wrote:
The first time the page is render the dropdownchoices works fine. I took the
example from the wicket examples.
The problem is after the submit. When I submit the form and the page is
render
Greetings,
I've noticed when I do:
info(blah blah blah);
setResponsePage(...);
that whether or not the feedback displays seems to be dependent on which
version of setResponsePage() I call. If I call this version:
setResponsePage(Page page) (e.g. setResponsePage(new FooPage());)
I see
getsession().info/error/warn will work across pages
-igor
On 10/5/07, dkarnows [EMAIL PROTECTED] wrote:
Greetings,
I've noticed when I do:
info(blah blah blah);
setResponsePage(...);
that whether or not the feedback displays seems to be dependent on which
version of
HelloChuckDeal,
databinder.net is down for a while... :((
C:\opensource\net\databinder\trunkping www.databinder.net
Pinging databinder.net [66.108.186.60] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 66.108.186.60:
Works for me... Apparently Nathan (or his ISP) has shut down the
pingd. The website is still alive!
Martijn
Result of the page in my browser:
Toolkit overview
Databinder is a Java programming toolkit for data–driven Web
applications. It's based upon the Wicket Web component framework and
Yeah web server is alive... what about svn server? I can not update sources :(
C:\opensource\net\databinder\trunksvn update
svn: Can't connect to host 'databinder.net': A connection attempt failed because the connected party did not properly respond after a period of time, or established
I am trying to customize RadioChoice so that it puts the options into a
nice table. I found setPrefix and setSuffix, but I cant just do
setSuffix(nbsp;) because I want to have a differenct prefix suffix
based on the index (for example create a new row in a table for every
4th option).
I'd say go with RadioGroup, that is what it is intended for.
The RadioChoice is intended for quick solutions, do you want more
possibilities, use the Group.
And you can just use a RepeatingView inside the Group to dynamically
generate the Radio's
Martijn
On 10/5/07, Clay Lehman [EMAIL
/me goes back to writing about RadioGroup
On 10/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
I'd say go with RadioGroup, that is what it is intended for.
The RadioChoice is intended for quick solutions, do you want more
possibilities, use the Group.
And you can just use a RepeatingView
Hmm,
Opening up the get*fix methods doesn't seem risky, but I'm not sure
what we are going to do with the change recording. That is the only
thing I can tell why the methods are final.
Your usecase is interesting though. In this case opening the get*fix
methods doesn't seem to open a can of
I'm continuing to experiment with making a click of a row do a page
refresh. I coded up a class called LinkableListView that uses a
LinkableListItem, which implements ILinkListener. When the
LinkableListItem's onLinkedClick() is called, LinkableListItem
delegates back to
I'm seeing the same problem.
My markup:
wicket:container id=loginInfoContainer
[userName]
!--Hello,
#
[userName]
/a--
/wicket:container
Code:
//in
Duh, my markup was wrong! should have been wicket:container wicket:id
dukehoops wrote:
I'm seeing the same problem.
My markup:
wicket:container id=loginInfoContainer
__span wicket:id=userNameLabel[userName]/__span
submit a quickstart and make sure you are trying against trunk
-igor
On 10/5/07, dukehoops [EMAIL PROTECTED] wrote:
Duh, my markup was wrong! should have been wicket:container wicket:id
dukehoops wrote:
I'm seeing the same problem.
My markup:
wicket:container
once I fixed my markup typo everything worked fine - so nothing to fix here.
-nikita
igor.vaynberg wrote:
submit a quickstart and make sure you are trying against trunk
-igor
On 10/5/07, dukehoops [EMAIL PROTECTED] wrote:
Duh, my markup was wrong! should have been wicket:container
Thanks for the ideas. Here is my implementation. I split it into two
classes since I may want to use the CurrencyConverter separately. In
my initial testing it works well, but I haven't tested
convertToObject(). Let me know if anyone sees any issues or has
suggested improvements:
public class
Hi
Just wanted to tell that the first working release of input events now
are in place, although currently only available via wicket stuff svn.
You can bind keys to alot of stuff, form submission, ajax events,
buttons... The best part its easy;) Just add the behavior and tell which
key to
Fabio Fioretti wrote:
The ListChoice uses the same AbstractModel on which the panel inside
the form builds its CompoundPropertyModel (see my previous posts):
when user's selection changes, the AbstractModel correctly replaces
its object with the newly selected instance and the form gets
cblehman wrote:
Does anyone have a suggest for how to insert a table tag as the first
item before any components that were added to the Form, but after the
hidden fields that Form adds? I basically want to render the following:
Instead of inserting a table, I'd suggest that you use CSS
Artur W. wrote:
I tried to do the same in tomcat 5.5. I added autoDeploy=true to the
host but it doesn't
work. Anyone has any idea how to force tomcat to do that?
You need reloadable in Context, not autoDeploy. There is step-by-step in
my free
tutorial (see my signature below).
--
Kent
Larva wrote:
public final void onSubmit()
{
SiconaraBasePage page = (SiconaraBasePage)getPage();
List pageFilters = page.getFilterProperties();
if (pageFilters != null)
pageFilters.clear();
59 matches
Mail list logo