Time Weaving
(LTW), which modifies the classes when they are loaded by the VM, and
you can use normal compilation.
2005/12/14, Igor Vaynberg [EMAIL PROTECTED]:
what do you mean its done at compile time? there is a post compilation step?
-Igor
On 12/13/05, Eduardo Rocha [EMAIL PROTECTED
, it is
not tied to Wicket pages, it is a general solution, as Spring 2.0 will
bring.
-Igor
On 12/14/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
I have seen a lot of discussion on how properly write unit test code
with these proxies, does a neat solution was found? Using AspectJ
makes natural
In my opinion, it's time to organize things a little bit. Currently I
see these three projects like this:
wicket-phonebook: uses the reapeters extension package and a kind of
spring integration (service locator);
wicket-contrib-spring: has code to allow injection of spring beans,
but no usage
can create this
proxy and treat it as a pojo you can create these manually or you can use
the injector to traverse your class and create these proxies for you for
annotated fields.
see the wiki page i mentioned earlier.
-Igor
On 12/1/05, Eduardo Rocha [EMAIL PROTECTED] wrote
with us, what do you think?
also see
http://www.wicket-wiki.org.uk/wiki/index.php/Spring for
explanation of the wicket-contrib-spring project.
-Igor
On 12/1/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
Igor,
I checked out wicket-contrib-spring and I could
Igor,
I checked out wicket-contrib-spring and I could not find a example
using SpringWebPage. I think it is pretty easy to use, but if
wicket-contrib-spring-examples was updated it would nice.
2005/12/1, Igor Vaynberg [EMAIL PROTECTED]:
i guess that was the point of redoing
/index.php/Spring
for
explanation of the wicket-contrib-spring project.
-Igor
On 12/1/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
Igor,
I checked out wicket-contrib-spring and I could not find a example
using SpringWebPage. I think it is pretty easy to use
I am having problems with WicketTester.clickLink(..) when the link is
a BookmarkablePageLink.
At first, if the link is a bookmarkable one, I don't need to test it,
since I can test the page alone.
But I was think in the following: if my link was simple Link subclass,
and I had a test for it:
the question. What is the bug?
Juergen
On 11/23/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
I am having problems with WicketTester.clickLink(..) when the link is
a BookmarkablePageLink.
At first, if the link is a bookmarkable one, I don't need to test it,
since I can test the page
On 11/23/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
Sorry for not being clearer. The bug is that the following does not work:
code (HomePage.class):
add(new BookmarkablePageLink(myPageLink, MyPage.class));
test (HomePageTest.class):
tester.clickLink(myPageLink
already available
What about the bug/idea reported by Ingram?
Juergen
On 11/23/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
I was trying to use Link.getURL(), to not repeat the creation of the
parameters on WicketTester, but this method is protected, so I have no
idea to move
If it's OK to write a little more code, you could use a factory for
the page with the same signature your constructor uses. In my opinion
this could be more elegant, but what Igor said is simpler. Something
like (not tested):
// reusable class
public interface IPageCreator {
Page
new MyBookmarkablePage(params);
}
}
also see IPageLink interface that is used by PageLink class. but i think
this is more work, a simple Link's onclick() implementation is the path of
least resistance imho.
-Igor
On 11/18/05, Eduardo Rocha [EMAIL PROTECTED] wrote:
If it's OK
2005/11/6, Eelco Hillenius [EMAIL PROTECTED]:
I see absolutely nothing wrong with lookups at that level. It's less
code than you would need for any component configuration and it's more
efficient too. And there are just no disadvantages, are there?
The Application class have references to all
I think Christian's idea is nice, and I saw at least three comments against it:
1. It is necessary to call injectDependencies on deserialization (Igor)
If a component implements protected Object readResolve() throws
ObjectStreamException, as specified in Serializable class, I think
this could be
Make it final?
I personally dislike Wicket's final methods, but I would like to read
people's opinion :) - and in this case it is the easiest way.
2005/11/6, Eduardo Rocha [EMAIL PROTECTED]:
I think Christian's idea is nice, and I saw at least three comments against
it:
1. It is necessary
2005/11/6, Alexandru Popescu [EMAIL PROTECTED]:
#: Eduardo Rocha changed the world a bit at a time by saying on 11/6/2005
3:51 PM :#
I think Christian's idea is nice, and I saw at least three comments against
it:
1. It is necessary to call injectDependencies on deserialization (Igor
Will someone upload wicket-*-1.1.jar to ibiblio?
---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.
The fact that one cannot preview html only using panels without
running a web server means that java code it is mandatory. Do you
think this is a drawback to Wicket (as well as Tapestry) that claims
that designers and coders can work almost independently?
2005/11/3, Laurent PETIT [EMAIL
Ruud, is possible to replace the orange color? I think it is difficult to read orange with gray layout.2005/10/20, Ruud Booltink [EMAIL PROTECTED]
:Our goal was to design a dynamic tooltip which could display custommarkup and style. Building a simple singleline tooltip, we think would
be useless
as a webapp.There's anintegrated launcher that launches jetty and hosts the examplewebapp.If you have any problems getting this to work, let me know.Ryan
On 10/14/05, Eduardo Rocha [EMAIL PROTECTED] wrote: I forgot to see the Wiki, nice that we can find descriptions there. Maybe the instructions to install
About wicket-stuff:
- What is the status of wicket-library? I tried to build with maven and
after some file editing I stop because maybe is not really working;
- scriptaculous-examples does not have web project structure, so I
think is not easy to see the example. And there is not dojo-examples.
Is there an easy way of replacing 'wicket:id' with 'id' instead of strip all the 'wicket:id'?
,
and you don't want version numbering in there.
Martijn
On 10/11/05, Eduardo Rocha [EMAIL PROTECTED]
wrote:
Is there an easy way of replacing 'wicket:id' with 'id' instead of strip all the 'wicket:id'?
(should be unique across the whole document
in order to validate against HTML 4 and or xhtml). Wicket doesn't
require it.
Martijn
On 10/11/05, Eduardo Rocha [EMAIL PROTECTED]
wrote:
I was wondering if I didn't need to repeat the same name in wicket:id and id.2005/10/11, Martijn Dashorst
[EMAIL
Using a custom page factory to load Spring dependencies is discussed in
the Wiki, and the issue about serialization/deserialization is what
made some people take alternatives, like Service Locators. I went a
little further and based on Eelco's idea (some old discussion about
Spring), I've
This problem can be seen clearly in compref example. If you see the
live action from wicket web site, the Button component reference is
just fine, but if you download wicket and wicket-examples b4, you see
the same page with buttons without label, and then the buttons also
doesn't work as expected
I would like to to post about how difficult is being unit test some of my code with Wicket and get some feedback about it.
First of all, I don't think the wicket-examples does a very good job on
how to unit test wicket code, since having a embedded Jetty instance
means integration tests. The
How do you test your pages with static references to Spring beans? Do
you use stubs or do you use the actual bean (service) implementation?2005/10/4, Dariusz Wojtas [EMAIL PROTECTED]:
Thanks for this message Andrew.This should be really useful to many people.The project I am involved in, uses the
What is easiest way to configure a WebPage with no html markup? I would like something like (for testing purporse...)
public MyPage extends WebPage {
...
public String getMarkup() {
return html/html;
}
}
I struggled and find this way that I think is a lot of hack, so I would like to know
30 matches
Mail list logo