Re: [Wicket-user] Re: Servlet forward to a JSP

2005-11-06 Thread Eelco Hillenius
Ah, yes. True. It used to resolve local includes using javax.servlet.RequestDispatcher, i which case including request attributes would work. However, that proved to be quite problametic and we changed it to always use the absolute requests. What you need shouldn't be too hard however. But it is n

[Wicket-user] Re: Servlet forward to a JSP

2005-11-06 Thread Robert McClay
If I come up with anything useful I'd be happy to contribute. The JSP I need to "forward" to requires request attributes, so I don't think the wicket.markup.html.include.Include component will work as from what I understand it is a separate request whose output is then included into the markup?

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

2005-11-06 Thread Alexandru Popescu
#: Eelco Hillenius changed the world a bit at a time by saying on 11/6/2005 9:38 PM :# 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? And.

Re: [Wicket-user] Servlet forward to a JSP

2005-11-06 Thread Eelco Hillenius
Sure. Use wicket.markup.html.pages.RedirectPage for server-side redirecting to a non-wicket locations. If you want to inlcude things likes JSP pages into Wicket pages, you can use the wicket.markup.html.include.Include component. The latter is a bit rough, so if you need better support on that one,

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Igor Vaynberg
got access to a laptop, and just checked it in. its in wicket-stuff/wicketeer   as i said this is my first go at an eclipse plugin so im sure the code isnt as elegant as it could be   right now it handles all basic cases, like renaming a class that inherits from markup container and renaming an inn

[Wicket-user] Servlet forward to a JSP

2005-11-06 Thread Robert McClay
I'm exploring the possibility of integrating Wicket into a JSP application. Is it possible to tell Wicket to do a servlet forward to a JSP? I would like to add a few request attributes and then forward to a JSP. The reason I'd like to do a forward VS include is I need to be able to populate req

Re: [Wicket-user] Re: Re: Wicket 1.1 line endings bug?

2005-11-06 Thread Juergen Donnerstag
No, but I work wih CVS only. I don't download the jars. And I modify project.xmll to use the snapshot jar which I build myself. Juergen On 11/6/05, jan_bar <[EMAIL PROTECTED]> wrote: > I use DiffUtil. The extension may help. You don't have troubles with it? > > Jan > > "Juergen Donnerstag" <[EMAI

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

2005-11-06 Thread Eelco Hillenius
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? And... for this whole discussion: if you like one approach... go implement it now! Create your

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

2005-11-06 Thread Igor Vaynberg
you are right, this is not ioc. but are pages/components managed by an ioc container? -Igor On 11/6/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: #: Igor Vaynberg changed the world a bit at a time by saying on  11/6/2005 7:06 PM :#> Or how about a simple solution:>> public MyApplication extends

[Wicket-user] Re: Re: Wicket 1.1 line endings bug?

2005-11-06 Thread jan_bar
I use DiffUtil. The extension may help. You don't have troubles with it? Jan "Juergen Donnerstag" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Are you using DiffPrint which we use for core unit tests? May be we just have to extend this class Juergen On 11/5/05, jan_bar <[EMAIL P

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

2005-11-06 Thread Alexandru Popescu
#: Igor Vaynberg changed the world a bit at a time by saying on 11/6/2005 7:06 PM :# Or how about a simple solution: public MyApplication extends WebApplication { public Object lookup(String name) { Object=...do a lookup from somewhere like spring context or app object...; return object; } }

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Igor Vaynberg
i will check it in tonight. -Igor On 11/6/05, Andrew Berman <[EMAIL PROTECTED]> wrote: Definitely would be nice.On 11/6/05, Martijn Dashorst < [EMAIL PROTECTED]> wrote: H YEAH!MartijnOn 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Hi guys, ive been doing some refactoring lately and g

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

2005-11-06 Thread Igor Vaynberg
Or how about a simple solution: public MyApplication extends WebApplication {   public Object lookup(String name) { Object=...do a lookup from somewhere like spring context or app object...; return object;    } } public MyPage extends Page {     public transient SomeService service;   

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Andrew Berman
Definitely would be nice.On 11/6/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: H YEAH!MartijnOn 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:> Hi guys, ive been doing some refactoring lately and got really tired of > renaming the .html and .properties file after i renamed the page or

Re: [Wicket-user] Adding Support for

2005-11-06 Thread Andrew Berman
Sounds and looks good to me.  On 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: I think the way to go would be to have a set of components that work like CheckGroup/Check we can have a Select component that acts like the CheckGroup component, and a SelectChoices component that works like the dro

Re: [Wicket-user] Re: wicket:body and Border component

2005-11-06 Thread Nick Heudecker
That's why you wrap the border calls:http://www.wicket-wiki.org.uk/wiki/index.php/Consistent_page_layout_using_borders On 11/6/05, Johan Maasing <[EMAIL PROTECTED]> wrote: The problem is that the "message"-label does not belong to the pageanymore. It belongs to the "border" so you have to add the m

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 deserializat

[Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-06 Thread Janne Hietamäki
Hi, I'm doing some AJAX-stuff, and because there is not yet real support of rendering single components (and having a URL for a Component) I'm doing all this stuff with a AjaxWrapperPage like public class AjaxWrapperPage extends WebPage { public AjaxFieldResult(Component component) {

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

2005-11-06 Thread Alexandru Popescu
#: 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) If a component implements "protected Object readResolve(

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 nece

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 b

[Wicket-user] Re: wicket-core-tree doesn't work with wicket-contrib-navmenu correctly

2005-11-06 Thread James Yong
> > To add on, I found that the following css is missing in the head tag when the > problem occurs. > > href="/cms/ex_card/resources/wicket.contrib.markup.html.navmenu.style.tabs.TabsS > tyle/tabs-folders.css" type="text/css" rel="stylesheet" > wicket:id="cssStyleResource"/> > >href

[Wicket-user] Re: wicket-core-tree doesn't work with wicket-contrib-navmenu correctly

2005-11-06 Thread James Yong
yongbl yahoo.com.sg> writes: > > > Hi, >   > I have tried to use the navmenu in my project sucessfully. However, when I click on a tree's node, the navmenu disappeared. Any idea how I can solved this? >   > Regards, > James Yong > > > Do you Yahoo!?New and Improved Yahoo! Mail

[Wicket-user] wicket-core-tree doesn't work with wicket-contrib-navmenu correctly

2005-11-06 Thread yongbl
Hi,   I have tried to use the navmenu in my project sucessfully. However, when I click on a tree's node, the navmenu disappeared. Any idea how I can solved this?   Regards, James Yong Do you Yahoo!? New and Improved Yahoo! Mail - 1GB free storage!

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Martijn Dashorst
H YEAH! Martijn On 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Hi guys, ive been doing some refactoring lately and got really tired of > renaming the .html and .properties file after i renamed the page or panel > class. This sucks especially when you have inner classes and you ha

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Johan Compagner
that looks nice and handyOn 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: Hi guys, ive been doing some refactoring lately and got really tired of renaming the .html and .properties file after i renamed the page or panel class. This sucks especially when you have inner classes and you have to re

[Wicket-user] Re: wicket:body and Border component

2005-11-06 Thread Johan Maasing
Nick Heudecker wrote: Didn't work. So I have a Border component with the following markup: Then I have a Page with the following markup: And the error is: "There must be exactly one tag for each border compoment." Well, I have exactly one tag for I just started learning wicke

Re: [Wicket-user] Adding Support for

2005-11-06 Thread Igor Vaynberg
I think the way to go would be to have a set of components that work like CheckGroup/Check we can have a Select component that acts like the CheckGroup component, and a SelectChoices component that works like the dropdownchoice with the exception of rendering tags. We also have a SelectChoicesGrou

Re: [Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Juergen Donnerstag
I'm be interested Juergen On 11/6/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Hi guys, ive been doing some refactoring lately and got really tired of > renaming the .html and .properties file after i renamed the page or panel > class. This sucks especially when you have inner classes and you h

[Wicket-user] eclipse refactoring plugin

2005-11-06 Thread Igor Vaynberg
Hi guys, ive been doing some refactoring lately and got really tired of renaming the .html and .properties file after i renamed the page or panel class. This sucks especially when you have inner classes and you have to rename all inner resources like SomePage$SomeInnerPanel.html I created a small

Re: [Wicket-user] Validation messages

2005-11-06 Thread Juergen Donnerstag
It shouldn't. I guess the important point is that ComponentStringResourceLoade does not get the FormComponent (text1) You don't start looking for text1 in the formComponents properties file, do you? You start with the parent component containing text1. A key text1 expresses that text1 is a child of