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

Re: Multiple wicket:child / 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

RE: Multiple wicket:child / 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 wicket:panel 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

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

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

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 span wicket:id=content [content]/span and

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

Re: Multiple wicket:child / 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

RE: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Chris Colman
Wouldn't this essentially be the same as using wicket:panel 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 floats, but

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

Re: Multiple wicket:child / 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

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:

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

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

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

RE: Multiple wicket:child / 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 other

RE: Multiple wicket:child / 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 - only

Re: Multiple wicket:child / 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

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 a

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 very

Re: Multiple wicket:child / 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 wicket:child / 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 raise

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

RE: Multiple wicket:child / 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,

Re: Multiple wicket:child / 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

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

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 I

Re: Multiple wicket:child / 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 rare

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() {

Re: Multiple wicket:child / 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 wicket:child / 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

Re: Multiple wicket:child / 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 wicket:child / 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 wicket:abstract name=foo / wicket:implement name=foo some text /wicket:implement and remember that they can be optional as well: wicket:abstract / wicket:implement some

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Scott Swank
I can see how wicket:abstract and wicket:implements tags could be a nice enhancement to the current wicket:extend and wicket:child tags. Do you have a working, or mostly working, patch? - To unsubscribe, e-mail: [EMAIL

Re: Multiple wicket:child / 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

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

RE: Multiple wicket:child / 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 I'm

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

RE: Multiple wicket:child / 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: Multiple wicket:child / 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 wicket:child / 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 can

RE: Multiple wicket:child / 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 -

Re: Multiple wicket:child / 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

Re: Multiple wicket:child / 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:

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 wicket:child / 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 round

RE: Multiple wicket:child / 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 too

Re: Multiple wicket:child / 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,

Re: Multiple wicket:child / 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

Re: Multiple wicket:child / 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 itself.

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

RE: Multiple wicket:child / 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 I

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

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

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 wicket:child / 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 wicket:child / 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: ... div wicket:id=anythingPlace to put anything/div ... java: public abstract MyPage extends AnyPageExtendingWicketsWebPage { private boolean initialized = false; private

Re: Multiple wicket:child / 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 wicket:abstract and wicket:implements tags could be a nice enhancement to the current wicket:extend and wicket:child 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? s

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. Hands Martijn the Understatement of the Century Award. ;-) Regards, Al - To unsubscribe,

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 couple of

Re: Multiple wicket:child / 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 wicket:abstract and wicket:implements tags could be a nice enhancement to the current wicket:extend and wicket:child tags. Do you have a working, or mostly working, patch? What I think we should do with this is make

Re: Multiple wicket:child / 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 n1 instead of arbitrarily fixing n=1 like it is now. 1 Question: Who dominates Who and Why? If you extend 1 class by

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 difference

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 upgrade of

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 Wicket

Re: Multiple wicket:child / 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

Re: Multiple wicket:child / 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 wicket:child / 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' solutions. i dont

Re: Multiple wicket:child / 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

Re: Multiple wicket:child / 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 the

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

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: 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 the

Re: Multiple wicket:child / 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? this

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

Attempted summary of multiple wicket:child / thread

2007-11-07 Thread Sebastiaan van Erk
Hi, Since the thread on multiple wicket:child/ 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

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
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 component for general purposes

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
On Nov 7, 2007 2:02 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: 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

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Korbinian Bachl
Hi Chris, i rewinded some part of your idea and the thread and now see bit clearer what you want - perhaps you shouldnt call i multiple extend/child but more precisely inheritance with multiple areas as you go: html-basepage: ... extend id=foo / extend id=faa / wicket:child/

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Igor Vaynberg
what do we need to refactor to make a plugin like this possible? -igor On Nov 7, 2007 2:50 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: some here like it and others dont like it, so wouldnt be an different project like wicket-extension the part for this? That's what I'm arguing. Though

RE: Attempted summary of multiple wicket:child / thread

2007-11-07 Thread Chris Colman
... 5) Conclusion In conclusion, the proposed change: - is useful - does not have to be used if you don't like it - is 100% backwards compatible - it introduces no new tags (if using child/extends) I also do not see any real issues. This is purely about merging

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Korbinian Bachl
just a question to you Igor and Eelco: some here like it and others dont like it, so wouldnt be an different project like wicket-extension the part for this? couldn't this be applied similar to the wicket-jmx plugin where you just dump the jar into the classpath and have it registering and

Disabling serialization/storage of pages in session?

2007-11-07 Thread mfs
Guys, If need be, can we disable altogether the storage of pages (in the form of a pageMap) in session, similarly on the disk ? Thanks and Regards, Farhan. -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13638150

Re: Multiple wicket:child / tags on a single base page?

2007-11-07 Thread Eelco Hillenius
some here like it and others dont like it, so wouldnt be an different project like wicket-extension the part for this? That's what I'm arguing. Though thinking about it a little bit longer, it should probably not even be a core project, but rather a wicket-stuff one. couldn't this be applied

Real World Ajax Examples/Tutorials/Help

2007-11-07 Thread Curtis Cooley
Where can I get more info on using ajax with wicket? The examples I've found so far do not include round trips. Sure, writing a clock label is cool and all, but I have real time data on a page that I don't want to have to reload the whole page for all the time. Also, I'm using a TabbedPanel with

How To Change Page Store Size in DiskPageStore?

2007-11-07 Thread Brandon Harper
Hello All, Long story short, we're in the process of load testing an application built against Wicket 1.3 snapshot. Unfortunately we've seen some server issues with sessions/page maps in the file store during testing, and I was wondering how I'd go about programatically changing the default page

Rendering a fieldset class attribute

2007-11-07 Thread William Hoover
Is it appropriate to have the following... final WebMarkupContainerWithAssociatedMarkup fieldset = new WebMarkupContainerWithAssociatedMarkup( fieldset); final AttributeModifier levelModifier = new AttributeModifier(class,

Re: Real World Ajax Examples/Tutorials/Help

2007-11-07 Thread Curtis Cooley
Gwyn Evans wrote: Hi Curtis, On 07 November 2007, 11:20:00 PM, Curtis Cooley wrote: CC Where can I get more info on using ajax with wicket? The examples I've CC found so far do not include round trips. Sure, writing a clock label is CC cool and all, but I have real time data on a page that I

RE: Rendering a fieldset class attribute

2007-11-07 Thread William Hoover
never mind... my mistake i needed to use AbstractBehavior (below). Sorry for the post :) fieldset.add(new AbstractBehavior() { @Override public void onComponentTag(Component component, ComponentTag tag) {

Re: IOException from ModalWindow

2007-11-07 Thread Timo Rantalaiho
On Tue, 06 Nov 2007, JohannesK wrote: 13:33:56.143 WARN!! Alias request of 'file:/C:/workspace/ordermanager/:/0' for 'file:/C:/workspace/ordermanager/:/0' I'm assuming this has to do with the images the ModalWindow is using. Any ideas? - try to reproduce the problem with WicketTester - try

  1   2   >