wicket 1.4

2009-03-02 Thread SrinivasaRaju Ch
Hi, When will wicket 1.4 GA Release.. Regards, Srinivasa Raju CH. Get your world in your inbox! Mail, widgets, documents, spreadsheets, organizer and much more with your Sifymail WIYI id! Log on to http://www.sify.com ** DISCLAIMER ** Information contained and transmitted

Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo

2009-03-02 Thread Daan van Etten
[X] Yes, change the DropDownChoice constructor to take the choices list as IModelListT or ListT without the wildcard Regards, Daan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-03-02 Thread valery . chhoa
Thanks for the advice Igor. I passed the actual values to the second tab (via the submit method of the form) just to see if it's working. So I guess that in the onSubmit method of the form, it's better to pass a model than an object public class GererMesLignesUnitForm extends Form { ...

ChannelTarget 2 AjaxRequestTarget

2009-03-02 Thread Martin Bednář
Hi all, I need following functionality: after receiving ChannelTarget (using cometd server) I need open ModalDialog window on client and show some information. For this purpose I created adapter with following methods. But in standard wicket distribution is addJavascript declared as finall (so I

Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo

2009-03-02 Thread Marat Radchenko
[X] No, keep DropDownChoice as it is in Wicket 1.4-rc2 2009/3/2 Timo Rantalaiho timo.rantala...@ri.fi: Background:  https://issues.apache.org/jira/browse/WICKET-1512  https://issues.apache.org/jira/browse/WICKET-2126  

Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo

2009-03-02 Thread Maarten Bosteels
[X] Yes, change the DropDownChoice constructor to take the choices list as IModelListT or ListT without the wildcard Maarten On Mon, Mar 2, 2009 at 9:30 AM, Daan van Etten d...@stuq.nl wrote: [X] Yes, change the DropDownChoice constructor to take the choices list as IModelListT or ListT

Re: Wicket and downloading huge pdf files

2009-03-02 Thread Emanuele Gesuato
Only want to know if an url similar to: http://www.myweb.com/.../depliant.pdf with a pdf file (or similar) as suffix is possible to create in wicket. On Fri, 2009-02-27 at 10:13 +0100, Emanuele Gesuato wrote: Hi there, We have several huge pdf files with many pages (an hundred or so) and

Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo

2009-03-02 Thread Johan Compagner
If we loose the wildcard is it then still possible to do everything? We have it to be able to use a Manager List when we declare it as a People When you have that you have to copy it over i guess by a helper method. I just want to know for sure that i dont miss something that if we remove it

Re: wicket 1.4

2009-03-02 Thread Martijn Dashorst
when it's done. Martijn On Mon, Mar 2, 2009 at 9:09 AM, SrinivasaRaju Ch srinivas.r...@sifycorp.com wrote: Hi, When will wicket 1.4 GA Release.. Regards, Srinivasa Raju CH. Get your world in your inbox! Mail, widgets, documents, spreadsheets, organizer and much more with your

1.4 RC2 multiple forms within a border

2009-03-02 Thread Ron Meyers
I'm having a page contained in a border. Both the border and the pages contain forms (adjacent not nested forms). This worked perfectly with 1.4 RC1, now with RC2 aparantly a submit in one form causes the models of both forms to be updated with the values of the submitted form. Does anybody

Re: 1.4 RC2 multiple forms within a border

2009-03-02 Thread Anton Veretennikov
16 hours ago: http://www.nabble.com/Multiple-Forms-in-A-Border-tp22252817p22273577.html On Mon, Mar 2, 2009 at 5:44 PM, Ron Meyers christ...@armstrongconsulting.net wrote: I'm having a page contained in a border. Both the border and the  pages contain forms (adjacent not nested forms). This

Why is BookmarkablePageLink generified?

2009-03-02 Thread Erik van Oosten
Hello, I was wondering why BookmarkablePageLink has been generified. A bookmarkable link has no use for a model as far as I can see. Shall I create an issue to change the declaration of BookmarkablePageLink from: public class BookmarkablePageLinkT extends LinkT to public class

Re: Why is BookmarkablePageLink generified?

2009-03-02 Thread Willis Blackburn
BookmarkablePageLink isn't final. A subclass could use the model. W On Mar 2, 2009, at 7:36 AM, Erik van Oosten wrote: Hello, I was wondering why BookmarkablePageLink has been generified. A bookmarkable link has no use for a model as far as I can see. Shall I create an issue to change

RE: Why is BookmarkablePageLink generified?

2009-03-02 Thread Stefan Lindner
Yes Willis, that's what we do. So we prefer to have a generic BuukmarkablePageLink. -Ursprüngliche Nachricht- Von: Willis Blackburn [mailto:wbo...@panix.com] Gesendet: Montag, 2. März 2009 13:43 An: users@wicket.apache.org Betreff: Re: Why is BookmarkablePageLink generified?

Wicket - Session Management

2009-03-02 Thread subbu_tce
Hi, I have two wicket applications running in two different JVMs. If clicking on a link in the first wicket application that runs in the first JVM, is redirected to the second wicket application that runs in second JVM, What support does Wicket provide to manage the page map in the session for

Re: Wicket - Session Management

2009-03-02 Thread subbu_tce
There is a small typo in the second question. Second question is reworded as below: Does wicket provide any programmatic extension points to have the state of components managed on the client side? Thanks, Subbu. subbu_tce wrote: Hi, I have two wicket applications running in two

Re: Switching between markup files for borders

2009-03-02 Thread Jeremy Thomerson
I would think you would be better off attaching this to a JIRA. On Mon, Mar 2, 2009 at 3:00 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Quickstart is attached. Tested with last 1.4-SNAPSHOT. On Sun, Mar 1, 2009 at 12:29 AM, Anton Veretennikov anton.veretenni...@gmail.com

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-03-02 Thread Igor Vaynberg
in your onsubmit you are calling setresponsepage, so you are going to a different page, not tab? -igor On Mon, Mar 2, 2009 at 12:41 AM, valery.ch...@steria.com wrote: Thanks for the advice Igor. I passed the actual values to the second tab (via the submit method of the form) just to see if

Thank you!

2009-03-02 Thread shetc
I just want to take a moment to thank you all. With your support, my colleagues and I were able to complete our first enterprise-wide Wicket-based application. I work for the Spherion Corporation, which provides staffing services. Our Wicket application is a web site where a newly hired employee

Re: Switching between markup files for borders

2009-03-02 Thread Anton Veretennikov
Done. I'm not sure although that I'm not doing something wrong. https://issues.apache.org/jira/browse/WICKET-2136 On Mon, Mar 2, 2009 at 9:54 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I would think you would be better off attaching this to a JIRA. On Mon, Mar 2, 2009 at 3:00 AM,

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-03-02 Thread valery . chhoa
True. Actually, I call the same page (but a new instance) but focus on the second tab. I didn't find another way to switch tab on the onSubmit function. I'm not really familliar with wicket so since you are asking the question, I guess there's a better way to do what I want ... De : Igor

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-03-02 Thread Igor Vaynberg
tabbedpanle.setselectedtab(int) -igor On Mon, Mar 2, 2009 at 7:58 AM, valery.ch...@steria.com wrote: True. Actually, I call the same page (but a new instance) but  focus on the second tab. I didn't find another way to switch tab on the onSubmit function. I'm not really familliar with

RE: Wicket Link with proxy server: wrong hostname

2009-03-02 Thread harri.temonen
Hi all, My problem with wrong hostnames is solved now. We found two options to solve this. Option 1) Apache proxy httpd.conf change, use app-server name instead of ip address: ProxyPass /pls http://xxx.xxx.xxx.xxx:/pls ProxyPassReverse/pls

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-03-02 Thread valery . chhoa
Ok. I already use this one to switch on the second tab when I call the same page with the second page id. But I don't have any instance of the tabPanel in the Form. Should I put the tabPanel as a parameter when I create the form in the Page.java ? Valéry Chhoa De : Igor Vaynberg

Another borders scenario

2009-03-02 Thread Anton Veretennikov
Hello! I'm again with borders. May be I'm not using them right... Is everything okey with this mix of border and child: Block.html: wicket:panel div wicket:id=border wicket:child / /div /wicket:panel Block.java (extends Panel)

Browser opens a dialog box for text/html Resource

2009-03-02 Thread Arie Fishler
Hi, I am integrating some reports using the JasperReports integration classes found in the Wicket stuff. Basically I have a class that extends DynamicWebResource It is linked using a ResourceLink that triggers its output. Content type is returned as text/html. Why is the browser asking me

Browser opens a dialog box for text/html Resource

2009-03-02 Thread Arie Fishler
Hi, I am integrating some reports using the JasperReports integration classes found in the Wicket stuff. Basically I have a class that extends DynamicWebResource It is linked using a ResourceLink that triggers its output. Content type is returned as text/html. Why is the browser

Re: LocaleDropDown does not switch locale anymore when deployed on server

2009-03-02 Thread Roman Zechner
Solved - at least I found a work around. It was a server issue. We were missing de_DE locale files on the system. But I still had to explicitly set the system variable LC_ALL to de_DE.ISO-8859-1, before restarting tomcat. Shouldn't the JVM come with full I18N support already? Well, it works,

VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Brill Pappin
Ok, as suggested, here is the thread, and the first vote. +1 for making the generic definition the same for all list type components. FYI - you can also vote in the issue I just created at (which might actually be a better place to vote): https://issues.apache.org/jira/browse/WICKET-2137 -

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Igor Vaynberg
have you seen this thread? looks like someone beat you to it. [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo -igor On Mon, Mar 2, 2009 at 12:11 PM, Brill Pappin br...@pappin.ca wrote:

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread James Carman
I vote -0.99 on this (non-binding of course). I'd vote +1 to making ListView accept List? extends T rather than making DDC less flexible. On Mon, Mar 2, 2009 at 3:11 PM, Brill Pappin br...@pappin.ca wrote: Ok, as suggested, here is the thread, and the first vote. +1 for making the generic

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Igor Vaynberg
see WICKET-2126 -igor On Mon, Mar 2, 2009 at 12:19 PM, James Carman jcar...@carmanconsulting.com wrote: I vote -0.99 on this (non-binding of course).  I'd vote +1 to making ListView accept List? extends T rather than making DDC less flexible. On Mon, Mar 2, 2009 at 3:11 PM, Brill Pappin

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread James Carman
Aren't both the choices model in DDC and the actual model of ListView supposed to be considered read-only (as far as the component is concerned)? The DDC and ListView don't need to be able to alter those models anyway, right? Perhaps my experience is just too limited, but I don't think I've ever

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Igor Vaynberg
depends on your coding style. -igor On Mon, Mar 2, 2009 at 12:44 PM, James Carman jcar...@carmanconsulting.com wrote: Aren't both the choices model in DDC and the actual model of ListView supposed to be considered read-only (as far as the component is concerned)?  The DDC and ListView don't

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread James Carman
Can you remember ever having to do either one of those? I guess I could see someone trying to do such a thing during the processing of an AJAX request to perhaps make more stuff show up in the DDC/ListView. But, for that case, wouldn't it be easier to just modify the underlying list (I assume

Re: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Igor Vaynberg
i also dont remember using a compound property model...can we remove that? -igor On Mon, Mar 2, 2009 at 12:57 PM, James Carman jcar...@carmanconsulting.com wrote: Can you remember ever having to do either one of those?  I guess I could see someone trying to do such a thing during the

Help with SecondLevelCache and Serialization

2009-03-02 Thread Victor Igumnov
I have been running on the HttpSessionStore for a good year now. HttpSessions are clustered and have been working fine for all this time. As of recently I have switched to SecondLevelCache and DiskPageStore to avoid HttpSession bloat and still have fail over. I have run into an odd issue

Re: Help with SecondLevelCache and Serialization

2009-03-02 Thread Igor Vaynberg
when you construct it using the first example you showed (anonymous class) the ldm is carrying a reference to the page on which it is constructed. so your editblogpage is indirectly holding onto the instance of the previous page, perhaps that is what is causing the problem. please file a jira

Re: Help with SecondLevelCache and Serialization

2009-03-02 Thread Victor Igumnov
Igor, Thanks for the confirmation, this is exactly what I thought. I will submit a bug report now. This seems exactly like that other issue that someone had with JBoss clustered sessions. On Mar 2, 2009, at 1:35 PM, Igor Vaynberg wrote: when you construct it using the first example you

Migration from servlet to filter always serves WebApplication.getHomePage() when I click on links

2009-03-02 Thread mallet
Hello, I am using 1.3 and a servlet for Wicket in my web.xml, which I've pasted below. I am trying to change to using a Filter instead, which I also pasted below, but I get a weird behavior -- my WebApp.getHomePage() is served every time I click on a link. The links work fine when I use the

Re: Migration from servlet to filter always serves WebApplication.getHomePage() when I click on links

2009-03-02 Thread Igor Vaynberg
try with /* mapping and see if it works you are not running this on websphere are you? -igor On Mon, Mar 2, 2009 at 2:12 PM, mallet ryanlahue...@gmail.com wrote: Hello, I am using 1.3 and a servlet for Wicket in my web.xml, which I've pasted below.  I am trying to change to using a Filter

multiple feedback panels in same page

2009-03-02 Thread novotny
Hi, I have two feedback panels in the same page and want to direct my info message to only one of them. Any ideas on how to do this? Right now when I do info(hello) hello shows up in both panels. Thanks, Jason -- View this message in context:

Re: multiple feedback panels in same page

2009-03-02 Thread Jeremy Thomerson
there's a filter interface that you can use with the feedback panel that allows you to filter just the messages you want in that panel. i.e., you could have a FBP by every form component and only show the messages generated by that component. -- Jeremy Thomerson http://www.wickettraining.com

Re: multiple feedback panels in same page

2009-03-02 Thread novotny
Do you have some simple example where only a feedback message created from the class that page that instantiates the feedbackpanel can display a message... or maybe any example will do since I couldn't see any from googling... :-) Thanks again, Jason novotny wrote: Hi, I have two

Re: multiple feedback panels in same page

2009-03-02 Thread Jeremy Thomerson
Best thing for you to do would be browse the source of the already-implemented-in-core implementations: IFeedbackMessageFilter All Known Implementing Classes: ComponentFeedbackMessageFilter, ContainerFeedbackMessageFilter, ErrorLevelFeedbackMessageFilter On Mon, Mar 2, 2009 at 5:04 PM,

Re: Migration from servlet to filter always serves WebApplication.getHomePage() when I click on links

2009-03-02 Thread mallet
Thanks for the quick response Igor. I'm running OC4J... I changed the mapping as you suggested but am now getting a 403/Directory browsing not allowed. Once I find a way to coerce oc4j into allowing directory browsing I will post an update -- having some trouble getting my orion-web.xml changes

Re: multiple feedback panels in same page

2009-03-02 Thread novotny
Great-- for those googling, this works: final FormString form = new FormString(form); ComponentFeedbackMessageFilter filter = new ComponentFeedbackMessageFilter(form); FeedbackPanel feedback = new FeedbackPanel(feedback, filter);

Markup inheritance and composition mix

2009-03-02 Thread Dragut Razvan
Hi everyone, I am new to wicket and I am encountering a problem when I am trying to mix some panel inheritance and composition. I don't know whether I'm doing something wrong or it is not supposed to work like that but hope you can help with some advice. So here's my hierarchy : Panel - A - B .

Re: Markup inheritance and composition mix

2009-03-02 Thread Dragut Razvan
there where seems that text is missing is 2 spans ... one contains the other one. B contains C Dragut Razvan wrote: Hi everyone, I am new to wicket and I am encountering a problem when I am trying to mix some panel inheritance and composition. I don't know whether I'm doing something

Re: Markup inheritance and composition mix

2009-03-02 Thread Dragut Razvan
sorry for posting for the third time but need to make sure everything is visible : [C content] Dragut Razvan wrote: there where seems that text is missing is 2 spans ... one contains the other one. B contains C Dragut Razvan wrote: Hi everyone, I am new to wicket and I am

[off topic] was: VOTE: Remove ? extends from constructor of DropDownChoice

2009-03-02 Thread Jan Kriesten
i also dont remember using a compound property model...can we remove that? hehe - i haven't used that either. + 1 on removing cpm! ;-) Best reagards, --- Jan. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Question re: style and variation

2009-03-02 Thread Ned Collyer
Hi, I have browsed/read the previous threads regarding this topic and read the wiki on styling and localisation - but its inconclusive as to how this should be tackled. I have my app running on multiple domains. Each domain - when you hit it, sets a style into the session - so they appear to

Re: Question re: style and variation

2009-03-02 Thread Igor Vaynberg
the problem is, if you have MyPanel_foo.html, is foo the style, the variation, or the locale? perhaps we can identify the parts differently...needs some thinking. -igor On Mon, Mar 2, 2009 at 8:57 PM, Ned Collyer ned.coll...@gmail.com wrote: Hi, I have browsed/read the previous threads

Re: Another borders scenario

2009-03-02 Thread Anton Veretennikov
The only way I found is to hold reference to added border inside to be extended class and to do getBorder().add(new Link(link)); in child constructor. May be there exists better approach? On Mon, Mar 2, 2009 at 11:41 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello! I'm

Repeater that disposses content after rendering?

2009-03-02 Thread Bert
Hi, perhaps this does not make sense, but is there a Component that discards all child components after the rendering, before the serialization? Would this make sense for components that render a large amount of child's (tables with many cells) where all of them could be reconstructed from a LDM

Re: Question re: style and variation

2009-03-02 Thread Ned Collyer
Yep :). I at least 1 thought on this matter. Currently, I have a webapp module - which will have my components in it, and my components variants. I have pushed all i18n into properties files - which is working thus far. I allow the clients to customise their HTML from another folder - ie,