Re: [Wicket-user] Spring 2.0 Integration

2005-12-14 Thread Eduardo Rocha
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

Re: [Wicket-user] Spring 2.0 Integration

2005-12-14 Thread Eduardo Rocha
, 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

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eduardo Rocha
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

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-02 Thread Eduardo Rocha
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

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eduardo Rocha
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

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eduardo Rocha
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

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eduardo Rocha
/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

[Wicket-user] WicketTester and BookmarkablePageLink

2005-11-23 Thread Eduardo Rocha
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:

Re: [Wicket-user] WicketTester and BookmarkablePageLink

2005-11-23 Thread Eduardo Rocha
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

Re: [Wicket-user] WicketTester and BookmarkablePageLink

2005-11-23 Thread Eduardo Rocha
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

Re: [Wicket-user] WicketTester and BookmarkablePageLink

2005-11-23 Thread Eduardo Rocha
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

Re: [Wicket-user] Best use of Links

2005-11-18 Thread Eduardo Rocha
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

Re: [Wicket-user] Best use of Links

2005-11-18 Thread Eduardo Rocha
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

Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Eduardo Rocha
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

Re: [Wicket-user] My take on Spring integration

2005-11-06 Thread Eduardo Rocha
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

Re: [Wicket-user] My take on Spring integration

2005-11-06 Thread Eduardo Rocha
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

Re: [Wicket-user] My take on Spring integration

2005-11-06 Thread Eduardo Rocha
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

[Wicket-user] Wicket 1.1 in Maven 1 Repository

2005-11-05 Thread Eduardo Rocha
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.

Re: [Wicket-user] Re: Previewing html only, including nested components html

2005-11-04 Thread Eduardo Rocha
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

Re: [Wicket-user] Tutorials on usiong contrib.dojo.Tooltip

2005-10-20 Thread Eduardo Rocha
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

Re: [Wicket-user] Wicket stuff status

2005-10-14 Thread Eduardo Rocha
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

[Wicket-user] Wicket stuff status

2005-10-13 Thread Eduardo Rocha
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.

[Wicket-user] Replace 'wicket:id' with 'id'

2005-10-11 Thread Eduardo Rocha
Is there an easy way of replacing 'wicket:id' with 'id' instead of strip all the 'wicket:id'?

Re: [Wicket-user] Replace 'wicket:id' with 'id'

2005-10-11 Thread Eduardo Rocha
, 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'?

Re: [Wicket-user] Replace 'wicket:id' with 'id'

2005-10-11 Thread Eduardo Rocha
(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

Re: AW: Re: [Wicket-user] Page lifecycle notification

2005-10-07 Thread Eduardo Rocha
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

Re: [Wicket-user] no model and button value attribute

2005-10-05 Thread Eduardo Rocha
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

[Wicket-user] Unit Tests very tough

2005-10-04 Thread Eduardo Rocha
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

Re: [Wicket-user] Potential Better Ways to integrate Wicket + Spring

2005-10-04 Thread Eduardo Rocha
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

[Wicket-user] No html markup

2005-09-21 Thread Eduardo Rocha
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