Re: Question about localization

2007-11-07 Thread Pills
Yes, I'll make it part of the key. I searched but not found, how can I change the default localizer and the default resourcemodel? There is no method "setLocalizer"/"setResourceModel" in class WebApplication... Thank you for your help. igor.vaynberg wrote: > > you can override methods in loc

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
Well, the tags are not new, as they do the perfectly same as extend and child. Basically, the patch only introduces an id attribute to those tags in order to make linking of markup more flexible. The new names were only introduced to keep functionality of the patch separated from the existing (and

RE: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
Hey Chris, I would need some lobbying here! ;) -- stefan Chris Colman wrote: > >> Wouldn't this essentially be the same as using > id="header"/> and using WebMarkupContainers on the java side? >> I.e.: >> >> Base >> > > Structural markup goes here (see below for explanation of this) >

Re: Problem with wicket authentication

2007-11-07 Thread Sebastiaan van Erk
Hugues Pichereau wrote: Sebastiaan van Erk wrote: [...] If you do override init, make sure to call super.init() Whao! well done, Sebastiaan, I was overriding init(), and not calling super.init(); Now it works. But what bugs me is that it solves my own application (where init() was override

Re: multiple url mappings for the wicket web application

2007-11-07 Thread Al Maw
Johan Compagner wrote: I dont think that will work quite that way out of the box. because our normal statefull redirect page will go to /?wicket:interface=:0: And also form post will go to that kind of url (and then redirect) Actually, we rely on the servlet container to convert relative U

Re: Help understaning AjaxCallDecorator problem

2007-11-07 Thread Al Maw
skatz wrote: Is it possible for a javascript function to fail in such a way that the rest of the script would not be called? It can throw an exception. Regards, Al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: Problem with wicket authentication

2007-11-07 Thread Maurice Marrink
Swarm is designed to be plain and simple. In short this is what you need to do: 1 implement Principal (i could see about a reasonable default implementation , but my guess is you want to store this in a database anyway and i am not sure i want a dependency on jpa) 2 create policy files 3 implement

Possible to use wicket to serve non-HTML content?

2007-11-07 Thread kent lai
Hi, for my current project I had to serve some PDF files. I am using Velocity to some of my HTML content as printable, and this is done as plain Velocity code, and then have a Wicket page serve that content (by simply having a plain page with [content] and setting the renderBodyOnly as tr

Re: [OT] CSS issues - suggestions?

2007-11-07 Thread Al Maw
Gwyn Evans wrote: I've got some text that shows up fine in Firefox but only when selected in IE (IE7) and I've no idea what the real issue is, so I'm hoping someone can take a glance. That bug tends to be triggered by floats, but there are various things that can cause it. You can almost alway

Re: Multiple tags on a single base page?

2007-11-07 Thread Johan Compagner
ok tell me with 2 examples what is soo different about having 2 panels (or fragments) in a page and implement that in a sub page or having 2 wicket childs in a page and implement those in a sub page. A basepage can also have ofcourse an extend area and 2 panels.. johan On 11/7/07, Chris Colman

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> > Wouldn't this essentially be the same as using > id="header"/> and using WebMarkupContainers on the java side? > > > yes it would be exactly the same thing. If you think that these are the same then you've missed some vital plot points of the movie that it child/extend. ---

Re: [OT] CSS issues - suggestions?

2007-11-07 Thread Gwyn Evans
Hi Al, On 07 November 2007, 9:42:36 AM, Gwyn Evans wrote: AM> Gwyn Evans wrote: >> I've got some text that shows up fine in Firefox but only when >> selected in IE (IE7) and I've no idea what the real issue is, so I'm >> hoping someone can take a glance. AM> That bug tends to be triggered by floa

Re: Link text

2007-11-07 Thread Sam Hough
Anything similar for spitting something out _after_ the tag that the component is mapped to? e.g. Sending out some text/html after a checkbox? Presumably onComponentTagBody doesn't get called because it is not a Container and the input tag is send after anything I do in onComponentTag :( Al Maw

Re: Multiple tags on a single base page?

2007-11-07 Thread Mats Norén
On Nov 7, 2007 11:31 AM, Mats Norén <[EMAIL PROTECTED]> wrote: > Hmm...I'm interested in seeing the difference as well. I would love to > get it but right now I don't. > > Chris Colman wrote: > "This new feature, or extension of the exiting feature, allows more than > one section of markup to be "s

Re: Multiple tags on a single base page?

2007-11-07 Thread Mats Norén
Hmm...I'm interested in seeing the difference as well. I would love to get it but right now I don't. Chris Colman wrote: "This new feature, or extension of the exiting feature, allows more than one section of markup to be "specialized" by derived (extended) markups whereas currently wicket only su

Re: Link text

2007-11-07 Thread Sam Hough
Doh. Should have thought of Behaviours (sic). Guess my coding style is a bit old fashioned trying to use extension from than composition. Must re-read that great article about the pattern behind Spring not intending things to be extended. Cheers Sam Al Maw wrote: > > Sam Hough wrote: >> Anyt

Re: gmap2 and map creation

2007-11-07 Thread Jan Stette
I'm pretty sure I'm using the latest version: $ svn info Path: . URL: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 Repository Root: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff Repository UUID: ef7698a4-5110-0410-9fc6-c7eb3693863f Revisi

Re: Link text

2007-11-07 Thread Al Maw
Sam Hough wrote: Anything similar for spitting something out _after_ the tag that the component is mapped to? e.g. Sending out some text/html after a checkbox? Presumably onComponentTagBody doesn't get called because it is not a Container and the input tag is send after anything I do in onCompon

Popup parent comunication

2007-11-07 Thread serban.balamaci
Hello! I have the following problem. I have a parent page, that opens a popup through a PageLink. The popup window is a window in which new records can be added, but i need a combo in the parent page to reflect and contain also the new choice added in the popup. 1. Reloading the whole parent page

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> Hmmm... more tags? I thought you guys liked Wicket because it's plain html > support. Now looks like there's a big interest in having more tags. If > this is true, why don't we go back a few years, or move to JSF? Let's give > Wicket support to Tag Libraries too :) > These aren't just like othe

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> Hey Chris, I would need some lobbying here! ;) > > -- stefan You're doing a great job Stefan - especially now I see that you've implemented it - excellent job! Are we both seeing something here that other people can't see? It wouldn't be the first time in my life I was in that position - onl

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
Hi Mats, let me try to explain what Chris and I see here that others don't - may it be there or not ;) You can of course do everything with panels that could be done with multiple abstract sections (may they be named wicket:child or wicket:abstract). However, if this is the only argument, you wou

Re: gmap2 and permissions

2007-11-07 Thread Jan Stette
Hi Martin, adding the header contributions in the way suggested works fine for me, and I think this is an acceptable workaround for now. Many thanks for your quick response! Regards, Jan On 06/11/2007, Martin Funk <[EMAIL PROTECTED]> wrote: > > Hi Jan, > > the good news is that I think we got

Re: eHour migrated to Wicket

2007-11-07 Thread Eelco Hillenius
> I've finally migrated my time tracking tool, eHour, from Struts to Wicket ! > > eHour is a webbased time tracking tool for consultancy companies and > other project based businesses. > The primary objective is to keep time tracking as simple and user > friendly as possible while still being > ver

Re: Multiple tags on a single base page?

2007-11-07 Thread Bruno Borges
You are wrong. I have a component (Panel) that has a method to return a Fragment. This component returns a default implementation of that Fragment, but pages can override that Fragment. CRUDFormPanel extends Panel { protected Fragment newFormFields(String id, Form form) { if (property

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> > Given these subtle problems with this approach, I admit I'm warming to > > the multiple extend/child idea. > > im oposite - if i have X extends in a page, whose extend should be > preferred (e.g: manipulating the head or a part outside of itself) ? I'm not sure I understand the issue you ra

Why dioes this error occur?

2007-11-07 Thread salmas
Every once in awhile if I am clicking around for awhile in the UI of my application I get the following error. What causes this? java.lang.NullPointerException at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveListenerInterfaceTarget(DefaultRequestTargetResolverStrate

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
On Nov 7, 2007 10:38 AM, Chris Colman <[EMAIL PROTECTED]> wrote: > > How can it get messy when it's not yet possible to do in wicket? i believe it has been shown multiple times already that it CAN be done with vanilla wicket... -igor --

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> > And if somebody really needs 5 child areas, something else might be even > > messier than the page's constructor. I rather think that 2, 3 or in rare > > cases even 4 ids could make sense. > > i must disagree - i have a basepage which defines the default layout on a > project, i.e. header, top

Re: Multiple tags on a single base page?

2007-11-07 Thread Korbinian Bachl
> Given these subtle problems with this approach, I admit I'm warming to > the multiple extend/child idea. im oposite - if i have X extends in a page, whose extend should be preferred (e.g: manipulating the head or a part outside of itself) ? my override of onBeforeRender is secure from your p

Re: JavaRebel experience

2007-11-07 Thread Stefan Simik
Java Rebel worked for me too. I had no such problem. -- View this message in context: http://www.nabble.com/JavaRebel-experience-tf4695671.html#a13632511 Sent from the Wicket - User mailing list archive at Nabble.com. - To uns

Re: Question about localization

2007-11-07 Thread Igor Vaynberg
application.init() { getresourcesettings().setlocalizer(...); } you dont have to use the default resource model, just write your own if you dont like the default one. -igor On 11/7/07, Pills <[EMAIL PROTECTED]> wrote: > > Yes, I'll make it part of the key. > > I searched but not found, how can

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
But the number of added panels needn't be the number of abstract section (though it could). -- stefan Jan Kriesten wrote: > > > hi stefan, > >> And if somebody really needs 5 child areas, something else might be even >> messier than the page's constructor. I rather think that 2, 3 or in ra

Re: Popup parent comunication

2007-11-07 Thread serban.balamaci
Yes, you must be right, another issue against the modal window is that the datepicker does not work inside it, and I pretty much decided to stick to normal popups. Well it seems that i may have something here: In the parent page: add(new AbstractDefaultAjaxBehavior() { prote

Re: Multiple tags on a single base page?

2007-11-07 Thread John Krasnay
On Wed, Nov 07, 2007 at 07:14:01PM +0100, Korbinian Bachl wrote: > > Given these subtle problems with this approach, I admit I'm warming to > > the multiple extend/child idea. > > im oposite - if i have X extends in a page, whose extend should be > preferred (e.g: manipulating the head or a part

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> Chris Colman schrieb: > > The beauty of the multiple extend/child idea is that it's not a > > completely new concept we're talking about here - it's merely an issue > > of supporting n>1 instead of arbitrarily fixing n=1 like it is now. > > 1 Question: Who dominates Who and Why? > > If you exte

Re: Help understaning AjaxCallDecorator problem

2007-11-07 Thread skatz
I remove the decorator and the onClick method does get called (stop in debugger) and the resulting page I end up on is what I expect. The Ajax debug console disappears before I can read what it is saying, and the Javascript console does not report any problems. I will install firebug and see wh

Re: Multiple tags on a single base page?

2007-11-07 Thread Johan Compagner
no not the merging of markup. but inside the constructor of the child/sub page. Where do you make all the root components of all the child parts? you will add that to the page itself right? I just say that then it could be a bit messy when you have 5 child area's johan On 11/7/07, Stefan Fußen

Re: Multiple tags on a single base page?

2007-11-07 Thread Johan Compagner
i do see your point, but it is not that much different, its just another way of doing stuff. Markup inheritance does come from the border stuff. i think i was the one that proposes it when we had a meeting here now a few years ago here in Holland so that that we could border pages. Then Juergen di

Re: Multiple tags on a single base page?

2007-11-07 Thread Johan Compagner
huh why would java code define the layout in this example? you still have the html of the page that does the layout of those panels and the content of those panels are layout with the markup of those panels. Layout in java would be something like: component.setSize() component.setLayout() johan

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
Well, if naming is your only concern, the attribute's name can easily be replaced with something else than id ... e.g. name some text and remember that they can be optional as well: some text This way, its completely compatible with child/extend (which can be proofed with the existing

Re: Multiple tags on a single base page?

2007-11-07 Thread Scott Swank
I can see how and tags could be a nice enhancement to the current and tags. Do you have a working, or mostly working, patch? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple tags on a single base page?

2007-11-07 Thread Bruno Borges
Let me paste what I commented in WICKET-1134: *I think this improvement is just more of a way to "override" components declared in markups of a super class. Because this is what really happens. Let's check your example: In the BasePage, there are two fragments: - subNavigation - content What abo

Re: Why dioes this error occur?

2007-11-07 Thread serban.balamaci
Hi. Well in my case this error apeared when the user clicked on a link that was directing the user to the next page, and while the user did not wait for the other page to load, or he thought that he did not press the mouse button and he clicked again. The server saw that the component(link) was no

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> > How can it get messy when it's not yet possible to do in wicket? > > i believe it has been shown multiple times already that it CAN be done > with vanilla wicket... I didn't like the look of any of those 'coded' solutions. They were not from the coding elegance book I've read. They also mean

Re: Why dioes this error occur?

2007-11-07 Thread Gwyn Evans
Hi salmas, On 07 November 2007, 7:05:26 PM, salmas wrote: s> Every once in awhile if I am clicking around for awhile in the UI of my s> application I get the following error. What causes this? s> java.lang.NullPointerException s> at s> wicket.request.compound.DefaultRequestTargetResolver

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> a lot of people are saying that this can be implemented with panels, > and that is true. but actually implementing this with fragments will > make it look very similar to this new strategy and does not have the > id collission problem, because components ARE nested in two different > containers:

Re: Help understaning AjaxCallDecorator problem

2007-11-07 Thread Timo Rantalaiho
On Wed, 07 Nov 2007, skatz wrote: > The Ajax debug console disappears before I can read what it is saying, and Hmm, I think that normally the ajax debug console should stay there for javascript executions and ajax requests. Could it be that the whole page gets loaded somehow? Best wishes, Timo -

Re: Multiple tags on a single base page?

2007-11-07 Thread Korbinian Bachl
Sebastiaan van Erk schrieb: Korbinian Bachl wrote: you missed solution3: the real-wicket-way(tm) for multiple content-places in a tied page-area: Whaaa, I seriously hope this is not the real-wicket-way! My brain hurts! maybe you should go to a doctor then?... A framework is supposed to m

Re: Multiple tags on a single base page?

2007-11-07 Thread Al Maw
Igor Vaynberg wrote: ... actually implementing this with fragments will make it look very similar to this new strategy and does not have the id collission problem, because components ARE nested in two different containers: class basepage extends webpage { Fragment templateFoo1(String id) { re

Re: Multiple tags on a single base page?

2007-11-07 Thread Bruno Borges
Thanks for giving the best overview of my thoughts Igor. Are you reading my mind? On Nov 7, 2007 3:50 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > let me weigh in with my thoughts on this. > > a big problem with markup inheritance is the possibility of id collissions > > for example > > class

Re: Multiple tags on a single base page?

2007-11-07 Thread Bruno Borges
> > just a question: do i start to convince you? ;) > No... you are not... :D far far away from that But don't take it personal, my opinion is technical... only! On Nov 7, 2007 11:29 AM, Stefan Fußenegger <[EMAIL PROTECTED]> wrote: > > Well, if naming is your only concern, the attribute's name c

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
Presumably the coded work arounds that don't rely on child/extends mean that the structural markup of each page is used instead of just that of the base page - and that would spell maintenance issues. Without using child/extend then ALL the structural markup in each page is used for each render - N

Re: Multiple tags on a single base page?

2007-11-07 Thread Sebastiaan van Erk
Korbinian Bachl wrote: you missed solution3: the real-wicket-way(tm) for multiple content-places in a tied page-area: Whaaa, I seriously hope this is not the real-wicket-way! My brain hurts! A framework is supposed to make things easy and readable! The code below is just way too complicated t

Re: Multiple tags on a single base page?

2007-11-07 Thread John Krasnay
On Wed, Nov 07, 2007 at 11:31:12AM +0100, Mats Norén wrote: > > Is the above statement really true considering that by adding abstract > methods to your page you defer the creation of the markup in just the > same way as the new proposed solution? > > BasePage.java > > public BasePage() { >

Re: Help understaning AjaxCallDecorator problem

2007-11-07 Thread skatz
So the ultimate result of the onClick() method, in this case, is to move to a whole new page, i.e the last line is: setResponsePage(...);, so technically, it probably does not need to be an ajax request, but because of the way we are reusing some code it is. I commented out the setResponsePage()

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-07 Thread Ville Paasimaa
Have you noticed that if you try to close the example window from OK or CANCEL button it closes even when used through an iframe? By using firebug, you can place breakpoints to modal.js and see that this code is executed when the window is closed from OK button: org/apache/wicket/extensions/ajax/

Re: eHour migrated to Wicket

2007-11-07 Thread Nick Heudecker
Good looking app. What kinds of lessons did you learn in the migration? It would be interesting to collect them into a wiki page. -- Nick Heudecker Professional Wicket Training & Consulting http://www.systemmobile.com Eventful - Intelligent Event Management http://www.eventfulhq.com

Re: Popup parent comunication

2007-11-07 Thread Maurice Marrink
Are you using the ModalWindow? in that case you need to set the PageCreator to return your page, don't use panels. Second you need to set a callbackhandler for the windowclose event. There you must update your combo. Maurice On Nov 7, 2007 12:09 PM, serban.balamaci <[EMAIL PROTECTED]> wrote: > >

RE: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
thanks! I think people become accustomed to how they used wicket up to now. Therefore, they don't see this "weakness" as they worked around it countless times. However, "never change a running system" isn't an argument to me ... and it wasn't to the first guy who said that the wheel should be rou

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> Korbinian Bachl wrote: > > you missed solution3: > > the real-wicket-way(tm) for multiple content-places in a tied page-area: > > Whaaa, I seriously hope this is not the real-wicket-way! My brain hurts! > > A framework is supposed to make things easy and readable! The code below > is just way t

Re: Multiple tags on a single base page?

2007-11-07 Thread Jan Kriesten
hi stefan, > And if somebody really needs 5 child areas, something else might be even > messier than the page's constructor. I rather think that 2, 3 or in rare > cases even 4 ids could make sense. i must disagree - i have a basepage which defines the default layout on a project, i.e. header, to

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
>From the Java-side, it isn't visible, whether a component will be placed in whatever html part. So you add all components in the constructor, yes. However, it's as messy as adding 5 components is right now ... they will just be added at different places. And if somebody really needs 5 child area

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
hi johan, Johan Compagner wrote: > > 1 thing that does bother me a bit (but maybe i have to do a deeper look > into > the patch) how do you separate > the components in the constructor of the sub page.. i guess you just add > all > the components over all the child fragments > in the page itsel

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 12:37 PM, Christofer Jennings <[EMAIL PROTECTED]> wrote: > I want to pitch Wicket for a new project at work. Is 1.3 beta 4 stable > enough? Is there a ballpark idea of when 1.3 final will be out? ... I > know that's a dumb question on an open source project but I guy can > dream. We

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> and in extending classes you can easily do this: > > protected void initialize() { > > addToAnything(new AnyPanel("id")); > addToAnything(new AnyPanel2("id2")); > } So now you're proposing the Java code is defining the layout of components? That's what the markup's job is

Re: Popup parent comunication

2007-11-07 Thread serban.balamaci
I cannot use the modal windows. They are plain popups. I do not know if there is a difference beetween modal windows that have a content a panel or a page, but i need to have tabbed pannels(which are links) inside the popup and by using a modal page with a panel content when i press on another ta

Re: Problem with wicket authentication

2007-11-07 Thread Hugues Pichereau
Ok, I had just a look at the Swarm home page, and didn't go further, but promise I will look at it deeper, now I know it's simple. Swarm is designed to be plain and simple. In short this is what you need to do: 1 implement Principal (i could see about a reasonable default implementation , but my

Re: gmap2 and map creation

2007-11-07 Thread Martin Funk
Jan Stette schrieb: I'm pretty sure I'm using the latest version: sorry I was just to tired yesterday look into that any deeper. I just committed a patch. Could you check if it suits your needs? Also could you check if the codechange in the ManyPanel is asking for the same as your code?

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> ok tell me with 2 examples what is soo different about having 2 panels (or > fragments) > in a page and implement that in a sub page or having 2 wicket childs in a > page and implement those in a sub page. Ok, here we go... (well one example at least - it's getting late here ;) ) I'm not sure

Re: Multiple tags on a single base page?

2007-11-07 Thread Korbinian Bachl
you missed solution3: the real-wicket-way(tm) for multiple content-places in a tied page-area: eg: html: ... Place to put anything ... java: public abstract MyPage extends AnyPageExtendingWicketsWebPage { private boolean initialized = false; private final RepeatingView anything

Re: Multiple tags on a single base page?

2007-11-07 Thread Stefan Fußenegger
Yes! see: https://issues.apache.org/jira/browse/WICKET-1134 -- stefan Scott Swank wrote: > > I can see how and tags could be > a nice enhancement to the current and > tags. Do you have a working, or mostly working, patch? > >

Re: Why dioes this error occur?

2007-11-07 Thread ssaad
I am using wicket-1.2.6. Unfortunately it is not possible for me to upgrade to a newer version. > Hi salmas, > > On 07 November 2007, 7:05:26 PM, salmas wrote: > s> Every once in awhile if I am clicking around for awhile in the UI of my > s> application I get the following error. What causes this

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Al Maw
Martijn Dashorst wrote: As for 1.2 or 1.3.. .I suggest 1.3. It is running on a couple of production systems already [...] LOL. ;-) Regards, Al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Gerolf Seitz
sounds good and congrats... Gerolf On Nov 7, 2007 9:58 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > On 11/7/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > On Nov 7, 2007 9:40 PM, Martijn Dashorst <[EMAIL PROTECTED]> > wrote: > > > As for 1.2 or 1.3.. .I suggest 1.3. It is running on a co

Re: Multiple tags on a single base page?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 11:19 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > I can see how and tags could be > a nice enhancement to the current and > tags. Do you have a working, or mostly working, patch? What I think we should do with this is make it an option. It would be turned off by default, requi

Re: Multiple tags on a single base page?

2007-11-07 Thread Korbinian Bachl
Chris Colman schrieb: The beauty of the multiple extend/child idea is that it's not a completely new concept we're talking about here - it's merely an issue of supporting n>1 instead of arbitrarily fixing n=1 like it is now. 1 Question: Who dominates Who and Why? If you extend 1 class by cla

tree table colors

2007-11-07 Thread Yevgeni Kovelman
Hello everyone, Been using wicket for the past month on a prototype I am working on. Great framework !!! Have a question regarding the tree table, I am using it to display sub-totals and would like to give sub-total row a different color. How can I accomplish this? Thanks Gene

Re: Popup parent comunication

2007-11-07 Thread Maurice Marrink
if your modal dialog contains ajax tabs it should work, but all your user interaction from withing the dialog must be ajax. Maurice On Nov 7, 2007 1:50 PM, serban.balamaci <[EMAIL PROTECTED]> wrote: > > I cannot use the modal windows. > They are plain popups. I do not know if there is a differenc

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Martijn Dashorst
On 11/7/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > On Nov 7, 2007 9:40 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > As for 1.2 or 1.3.. .I suggest 1.3. It is running on a couple of > > production systems already, and it has some great new stuff I couldn't > > live without anymore. > > is

1.2 or 1.3 beta 4 ?

2007-11-07 Thread Christofer Jennings
I want to pitch Wicket for a new project at work. Is 1.3 beta 4 stable enough? Is there a ballpark idea of when 1.3 final will be out? ... I know that's a dumb question on an open source project but I guy can dream. Thanks! ,boz

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Gerolf Seitz
On Nov 7, 2007 9:40 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > See the development list... We're working hard. > > As for 1.2 or 1.3.. .I suggest 1.3. It is running on a couple of > production systems already, and it has some great new stuff I couldn't > live without anymore. > is the upgr

Re: 1.2 or 1.3 beta 4 ?

2007-11-07 Thread Martijn Dashorst
See the development list... We're working hard. As for 1.2 or 1.3.. .I suggest 1.3. It is running on a couple of production systems already, and it has some great new stuff I couldn't live without anymore. Martijn On 11/7/07, Christofer Jennings <[EMAIL PROTECTED]> wrote: > I want to pitch Wicke

Re: Multiple tags on a single base page?

2007-11-07 Thread Sebastiaan van Erk
John Krasnay wrote: You've just illustrated one of the major problems with the panel-from-a-subclass approach: it's easy to get it wrong. In your example, addAbstract1 and addAbstract2 will be called in a class whose constructor has not yet been called. Consider: public DerivedPage extends Base

Re: Multiple tags on a single base page?

2007-11-07 Thread Mats Norén
On Nov 7, 2007 5:13 PM, John Krasnay <[EMAIL PROTECTED]> wrote: > You've just illustrated one of the major problems with the > panel-from-a-subclass approach: it's easy to get it wrong. In your > example, addAbstract1 and addAbstract2 will be called in a class whose > constructor has not yet been c

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
let me weigh in with my thoughts on this. a big problem with markup inheritance is the possibility of id collissions for example class basepage extends webpage { public basepage() { add(new label("label")); } } class concretepage extends basepage { public concretepage() { add(new

RE: Multiple tags on a single base page?

2007-11-07 Thread Chris Colman
> public DerivedPage extends BasePage { > > private String name; > > public DerivedPage(String name) { > super(); > this.name = name; > } > > public abstract addAbstract1(String abstractId1) { > add(new NamePanel(abstractId1, name)); > } > } > > This

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
read my previous reply more carefuly, instead of abstract Component getTemplateOne(String id); you can simply do: Component getTemplateOne(String id) { return new EmptyPanel(id); } now you have a "non-required" override of any part of markup's template... -igor On Nov 7, 2007 10:51 AM, Chris

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
On Nov 7, 2007 11:22 AM, Chris Colman <[EMAIL PROTECTED]> wrote: > > > How can it get messy when it's not yet possible to do in wicket? > > > > i believe it has been shown multiple times already that it CAN be done > > with vanilla wicket... > > I didn't like the look of any of those 'coded' soluti

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
this cannot be an option. it always has to be enabled. if i write a component that uses this and someone drops it into application where this is disabled what should happen? -igor On Nov 7, 2007 1:05 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Nov 7, 2007 11:19 AM, Scott Swank <[EMAIL PR

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
or you can just use a factory that lets you create transparent borders :) -igor On Nov 7, 2007 12:05 PM, Chris Colman <[EMAIL PROTECTED]> wrote: > Presumably the coded work arounds that don't rely on child/extends mean > that the structural markup of each page is used instead of just that of > t

Re: Why dioes this error occur?

2007-11-07 Thread salmas
I tried disabling the button during the event and while this was easy enough to implement it did not help. My page contains a table which has panels in different cells. I swap these panels in and out depending on wether the user is in 'edit' mode or 'submit' mode and also according to where they a

ResourceReference with locale and style, for CSSs

2007-11-07 Thread German Morales
Hi all, I'm having trouble with localized and styled CSSs. Everything works alright with HTML. For example, wicket finds MyPage_mystyle.html instead of MyPage.html if i've called session.setStyle("mystyle"). But for CSS i can't get it working. i've tried different approaches like: // inside

UrlCodingStrategy with unmatched key/value pairs

2007-11-07 Thread green804
I am having a problem with the UrlCodingStrategy. I'm currently extending BookmarkablePageRequestTargetUrlCodingStrategy. The problem is that the app is decoding some of the characters in the url before I get the url in the decodeParameters method. For example, the url once encoded looks like

Re: Multiple tags on a single base page?

2007-11-07 Thread Al Maw
Eelco Hillenius wrote: On Nov 7, 2007 1:32 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: this cannot be an option. it always has to be enabled. if i write a component that uses this and someone drops it into application where this is disabled what should happen? You wouldn't write such a compon

Re: UrlCodingStrategy with unmatched key/value pairs

2007-11-07 Thread Johan Compagner
what are you doing then in your own BookmarkablePageRequestTargetUrlCodingStrategy? who generates that url? and what is that Food%2FDrink? Should that be 1 param? And has the param a /? which version do you use? On 11/7/07, green804 <[EMAIL PROTECTED]> wrote: > > > I am having a problem with th

Re: Multiple tags on a single base page?

2007-11-07 Thread Igor Vaynberg
On Nov 7, 2007 1:39 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > You wouldn't write such a component for general purposes obviously. ok, that right there i really really dont like. define "general purpose"? so now we have features in wicket that are guaranteed to work and others that arent? th

Re: WicketNotSerializableException withi FileUpload

2007-11-07 Thread Johan Compagner
what is the full stack of the exception? because who does have that field? Streams should always be transient because those can't be serialized whats the wicket version? johan On 11/6/07, James Perry <[EMAIL PROTECTED]> wrote: > > Hello fellow Wicket users, > > I am getting a > org.apache.wicket

Attempted summary of multiple thread

2007-11-07 Thread Sebastiaan van Erk
Hi, Since the thread on multiple support is insanely long I'm going to try make a clear and concise summary of what has been proposed and what the arguments for and against were. Bear with me. :-) 1. What is proposed? Currently Wicket supports *merging* of markup on a base page with markup

Re: UrlCodingStrategy with unmatched key/value pairs

2007-11-07 Thread green804
We are using 1.2.6 right now. The Food%2FDrink is one param. That param does have a /. Unfortunately, I can't change the param. I'm overriding the decodeParameters to handle the case with mismatched key/value pairs, but it's kind of a hack because I have to know which params might have a /. I

  1   2   >