Setting title-Tag

2009-12-15 Thread Peter Arnulf Lustig
Hi, how can I retrieve the web.xml display-name content to show it in the WebPage header titleXYZ/title ? Thank you. __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.

Re: close a ModalWindow when session expired

2009-12-15 Thread Johan Compagner
no i think the server is always called: add(new CloseButtonBehavior()); add(new WindowClosedBehavior()); one of those behaviors are called. when you press the button. Else the server will not be cleaned up. And the page that has the modal window still thinks it is visible On

ListView, Ajax and Forms

2009-12-15 Thread Bert
Dear List, i have a problem displaying a list of items in a panel. That panel is used in different forms. this panel contains a AjaxFallBackLink to add a new item (address) to the list. The list itself is wrapped inside a WMC. There are also a few validators on the input fields as well a

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
why not it kills a lot of code. On Mon, Dec 14, 2009 at 17:45, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I wouldn't use CPM for anything serious anyways... my 2cents ** Martin 2009/12/14 Xavier López xavil...@gmail.com: Hi, In my application I have a number of

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Johan Compagner
Modal windows are working find for me on IE8 http://wicketstuff.org/wicket14/ajax/modal-window are you saying that above example doesnt work? On Mon, Dec 14, 2009 at 01:41, victorTrapiello vic...@trapiello.net wrote: Hello guyss, I find it anoying as well I´m developing a web app and now I

Re: Parameterized Component

2009-12-15 Thread Martin Makundi
Yes, but it ties your beans to wicket ids. More refactoring and maintenance work. Anyways, if it works for you, use it. my 2cents ** Martin 2009/12/15 Johan Compagner jcompag...@gmail.com: why not it kills a lot of code. On Mon, Dec 14, 2009 at 17:45, Martin Makundi

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
so you where talking about property models in general (not the compound) We have a solution for that now On Tue, Dec 15, 2009 at 11:25, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Yes, but it ties your beans to wicket ids. More refactoring and maintenance work. Anyways, if it

Ajax and Back button (IE wicket 1.3.6)

2009-12-15 Thread Katherine
Hello, I'm asking for help... I'm a newbie in wicket and I need to solve quite quick following problem: there are 2 AutoCompleteTextField fields in the form on the page A, when value in the first field selected the second one is filled automatically and vice versa. These fields are

Re: Parameterized Component

2009-12-15 Thread Martin Makundi
so you where talking about property models in general (not the compound) We have a solution for that now No. Property models can use constants or the new solution. But there is no solution for compound property models, yet. Unless someone knows how to make the compiler chew html wicket:id's

Re: Parameterized Component

2009-12-15 Thread Xavier López
Thanks for the replies. CPM has been working fine for me. Although what Martin says is true, I've been reducing that in my CPM's by means of public static final variables on the bean's classes. Just fields with the name of fields (sort of class meta-info). Then using those fields as

Re: unit test of AjaxLazyLoadPanel and ModalWindow

2009-12-15 Thread Bernard Lupin
Hi, As suggested by message subject, you had a problem for testing AjaxLazyLoadPanel and ModalWindow. You provided a solution for the first case (great!), but there is nothing in this thread about testing ModelWindow. Does your solution apply to ModalWindow too ? Or is there another method ? NB

Wicket + Freemarker

2009-12-15 Thread sudhir543-dev
Can any one point me to some article, resource which explains how to integrate Freemarker. Does wicket offer freemarker integration out of box ! Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Personally I'm always ready to learn,

[newbie] Adding button - simple question

2009-12-15 Thread marioosh.net
I have template: html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body input type=button wicket:id=ok value=ok/ /body /html and class: public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { add(new

How to update an ajax form panel?

2009-12-15 Thread Martin U
Hi, iam totally stuck and get confused at all. In my DB-based application i want to use the common data-table-lists (this works) with linked action (edit, delete, create what ever) But i want to edit a clicked entity under my form. So i think i have to use a panel for this form i want to update

Re: [newbie] Adding button - simple question

2009-12-15 Thread MattyDE
Hi Mariusz , is your HomePage.html file in the same folder as HomePage.class? marioosh.net wrote: I have template: html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; body input type=button wicket:id=ok value=ok/ /body /html and class:

Re: [newbie] Adding button - simple question

2009-12-15 Thread marioosh.net
Yes, i use maven quickstart project. 2009/12/15, MattyDE ufer.mar...@gmail.com: Hi Mariusz , is your HomePage.html file in the same folder as HomePage.class? marioosh.net wrote: I have template: html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd;

Re: Wicket + Freemarker

2009-12-15 Thread sudhir543-dev
Any one !! Is there any built in (or any) support for freemarker ? Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Personally I'm always ready to learn, although I do not always like being taught

Re: [newbie] Adding button - simple question

2009-12-15 Thread marioosh.net
Sorry for my qustion. I did get work that. jetty have not reload my class... and that was a problem. Code is good. 2009/12/15, marioosh.net marioosh@gmail.com: Yes, i use maven quickstart project. 2009/12/15, MattyDE ufer.mar...@gmail.com: Hi Mariusz , is your HomePage.html file in

What is the best way to create a Table that can recieve Ajax Updates

2009-12-15 Thread Daniel Ferreira Castro
Guys, I need to create a Table that will display JMS Messages and be ajax sensitive to a TreeView that is on the same page and I would like to use the javax.jms.Message class as a model of Columns, and add 3 extra columns to my model that are 2 checkboxes and a button. My difficulty is to

Re: ListView, Ajax and Forms

2009-12-15 Thread Bert
I went back from the ListView to a RefreshingView, wrote a little Model to implement equals() on top of a CPM and added a ReuseIfModelsEqualStrategy to the RefreshingView (called adressblock) : adressblock.setItemReuseStrategy(new ReuseIfModelsEqualStrategy()); I don't see an issue with old

Re: Wicket + Freemarker

2009-12-15 Thread Daan van Etten
No built-in support, as you can just use HTML. I have not seen any external support, but someone else might have built it. Regards, Daan van Etten Op 15 dec 2009, om 13:41 heeft sudhir543-...@yahoo.com het volgende geschreven: Any one !! Is there any built in (or any) support for freemarker

palette and formcomponent

2009-12-15 Thread lieven.doclo
Hi, Has anyone used a Palette as a formcomponent before? I want to create my own AjaxEditablePaletteLabel like AjaxEditableChoiceLabel, but with a palette instead of a combobox (model is a ListT instead of T)? AjaxEditableLabel expects a FormComponent, hence my question. TIA! Lieven

PropertyModel question

2009-12-15 Thread Kogel, Jonck-van-der
Hi, I ran into some strange behavior with PropertyModels vs. regular models. I set up a very simple example that demonstrates what works on the one hand and what I would expect to work as well but does not. What I'm doing is very basic: I'm population a list and when a user clicks on an item in

Re: Wicket + Freemarker

2009-12-15 Thread nino martinez wael
bahh, googling for 2 secs : http://wicketstuff.org/wicket14/velocity/ (although not freemarker) http://fisheye3.atlassian.com/browse/wicket-stuff/trunk/wicket-contrib-freemarker (probably need a minor upgrade to wicket 1.4)

Re: Parameterized Component

2009-12-15 Thread Juan Carlos Garcia M.
Johan, Can you elaborate more on that please? What is this new solution? Johan Compagner wrote: so you where talking about property models in general (not the compound) We have a solution for that now On Tue, Dec 15, 2009 at 11:25, Martin Makundi martin.maku...@koodaripalvelut.com

CompoundPropertyModel and Resource Key

2009-12-15 Thread Oliver Krohne
Hi, i have a form containing text fields with borders. I am using a CompoundPropertyModel with field navigation e.g. seller.firstName to define the sellers firstname. form.add(new FormComponentFeedbackBorder(borderFirstName) .add(new RequiredTextFieldString(seller.firstName))); So I

Re: Parameterized Component

2009-12-15 Thread Johan Compagner
http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ On Tue, Dec 15, 2009 at 16:52, Juan Carlos Garcia M. jcgarc...@gmail.comwrote: Johan, Can you elaborate more on that please? What is this new solution? Johan Compagner wrote: so you where talking

add an applet to wicket - fundemental

2009-12-15 Thread Shamil
hi... i need to know a method to add a applet to wicket, i have tried several methods but non has worked so far, please help me by providing any sample code or a technique to do this. help

some questions from newbie

2009-12-15 Thread Halil Ağın
Hello List; I am new to wicket. i have developed struts1/2 for a long time. and i like wicket. but, i have some questions: 1. is there an ide to develop wicket applications/components easily 2. does the tag starts with wicket: take arguments or not, if yes, is there an ide that support this

New german Wicket book

2009-12-15 Thread Carl-Eric Menzel
Hi Wicket devs and users, I'm proud to announce the release of our new german-language Wicket book: Wicket: Komponentenbasierte Webanwendungen in Java by Roland Förther, Carl-Eric Menzel and Olaf Siefart. Published by dpunkt Verlag (many thanks to René Schönfeldt and the others at dpunkt). More

some questions from newbie[2]

2009-12-15 Thread Halil Ağın
[i made a mistake and mail sent while i writing, please ignore previous mail having the same subject] Hello List; I am new to wicket. i have developed struts1/2 for a long time. and i like wicket. but, i have some questions: 1. is there an ide to develop wicket applications/components easily 2.

RE: New german Wicket book

2009-12-15 Thread Frank Silbermann
In das neues Deutsches Buch, benuezen die Examplaren Wicket 1.3 odor Wicket 1.4? Lernt man jedes ueber Repeaters (DataTable zum Beispiel)? Frank Silbermann -Original Message- From: Carl-Eric Menzel [mailto:cmen...@wicketbuch.de] Sent: Tuesday, December 15, 2009 11:29 AM To:

Re: Problems with Ajax updating components

2009-12-15 Thread Igor Vaynberg
change your component so it forwards its events to protected methods, so you can do something like this: new JMSModuleComponent(moduleList) { oncomponentselected(ajaxrequettarget t) { t.addcomponent(queuelistcomponent); } } -igor On Mon, Dec 14, 2009 at 5:17 AM, Daniel Ferreira

Re: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-15 Thread Johan Compagner
isnt your page not just a brand new shiny new instance? place a breakpoint in your constructor On 14/12/2009, Warren Bell warr...@clarksnutrition.com wrote: Does Any body have any ideas, I am stuck and can't figure this out. I have a page with about 10 text fields. The model for the page is a

Re: PropertyModel question

2009-12-15 Thread Per Newgro
Hi, final Label testLabel = new Label(testLabel, new PropertyModelString(this, prodNo)); and in same class public String getProdNo() { return selected.getProdNo(); } or alternate final Label testLabel = new Label(testLabel, new PropertyModelString(this, selected.prodNo)); in same class

Re: DropDownChoice to add new a ListView

2009-12-15 Thread Igor Vaynberg
http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/ -igor On Mon, Dec 14, 2009 at 3:39 PM, Sumit Raja sumitr...@gmail.com wrote: Hello, Recently started a wicket project and was making excellent progress till ran into a problem with DropDownChoices. I

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread victorTrapiello
hahahahha I knew that someone was going to come up with this, yes it does, it works fine in the apache wicket offcial page, but when I do the example and compile it, it only works in Mozilla! maybe I do not have the last Wicket release, what do you think¿? Thanks for the reply Johan Johan

Re: some questions from newbie[2]

2009-12-15 Thread Anton Veretennikov
2. does the tag starts with wicket: take arguments or not, if yes, is there an ide that support this future. i read the book wicket in action, and couldnt see such an example    if answer no, i suggests below(maybe they are silly for wicket, but i see such a feature in asp.net)     lets

Re: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-15 Thread Warren Bell
No it looks like it is the same instance, Its constructor is only being called once. I can watch the model object and see when it gets set to null, though I am not sure what I am looking for as far as what is setting it to null. It gets set to null on the way back to the page from the login.

RE: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Loritsch, Berin C.
The question is whether there is a problem with Javascript or not. Setting up the debugger for IE is a pain in the arse, but worth doing when tracking down strange behaviors. Are you also having problems in Chrome or Safari? Chrome also has some javascript debugging tools, and the engine is

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread TahitianGabriel
Are you using the lastest Wicket version (1.3.7 or 1.4.4)? See jira as this may help you to solve your problem : https://issues.apache.org/jira/browse/WICKET-1967 https://issues.apache.org/jira/browse/WICKET-1967 https://issues.apache.org/jira/browse/WICKET-2207

Re: Wicket + Freemarker

2009-12-15 Thread Sam Stainsby
There is my 1.4-compatible version here, although it is written in Scala rather than Java.: http://uniscala.svn.sourceforge.net/viewvc/uniscala/trunk/uniscala-wicket- freemarker/src/main/scala/net/uniscala/wicket/freemarker/ FreeMarkerPanel.scala?view=markup THe maven module is here:

RE: Modal Window Problems On Internet Explorer.

2009-12-15 Thread victorTrapiello
Please check the second example in that wicket page (the panel) check it with IE8, that exactly what is happend to me, and before with IE 7 it didn´t I just downloaded the latest wicket release and still the same... thanks for the support!! Loritsch, Berin C. wrote: The question is

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Matej Knopp
Have you cleared your browser cache? -Matej On Wed, Dec 16, 2009 at 12:02 AM, victorTrapiello vic...@trapiello.net wrote: Please check the second example in that wicket page (the panel) check it with IE8, that exactly what is happend to me, and before with IE 7 it didn´t I just

Re: Modal Window Problems On Internet Explorer.

2009-12-15 Thread Johan Compagner
both panel or page work fine for me (IE8) On Wed, Dec 16, 2009 at 00:02, victorTrapiello vic...@trapiello.net wrote: Please check the second example in that wicket page (the panel) check it with IE8, that exactly what is happend to me, and before with IE 7 it didn´t I just

Re: ListView, Ajax and Forms

2009-12-15 Thread Bert
I keep talking to myself ;) Fixed the problem more or less by adding the following behavior to the form components: public class RetainingFormUpdateBehavior extends AjaxFormComponentUpdatingBehavior { public RetainingFormUpdateBehavior() { super(onblur); } @Override

Observed slowness with upload progress bar on 1.4.4

2009-12-15 Thread Douglas Ferguson
I just upgraded to 1.4.4 and now when I load a page or a modal that uses upload projess bar I see an slowness when loading that page: In firebugs I see it waiting on these calls:

Re: palette and formcomponent

2009-12-15 Thread Igor Vaynberg
dont think palette was designed for something like that, you may have to do some tweaking yourself. -igor On Tue, Dec 15, 2009 at 6:27 AM, lieven.do...@jintec.be wrote: Hi, Has anyone used a Palette as a formcomponent before? I want to create my own AjaxEditablePaletteLabel like

testing Wicket with WebTest

2009-12-15 Thread Dennis Spathis
Hi, We are considering using WebTest to automate some of the testing we do for our Wicket application. We'd like to hear some success stories (tips are welcome too!) from anyone out there who is doing this already. Dennis

Re: Observed slowness with upload progress bar on 1.4.4

2009-12-15 Thread Igor Vaynberg
its probably related to this: https://issues.apache.org/jira/browse/WICKET-2613 we might have to put out 1.4.5 quickly -igor On Tue, Dec 15, 2009 at 3:36 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just upgraded to 1.4.4 and now when I load a page or a modal that uses upload

Single App, Multiple Domains

2009-12-15 Thread Matthias Howell
Greetings all, I am exploring porting my web app to Wicket - currently it is in servlets with XSLT/XML. One of my requirements is to support the same app in a single instance responding to multiple domain names. E.g. www.domain1.com/webapp gets to the app and the app is in English -

Session Invalidate

2009-12-15 Thread Zak Johnson
All - I am trying to invalidate an authenticated session as a way of logging a user out and am having some trouble doing so. I'm doing the following: add(new Link(logout){ public void onClick(){ getSession().invalidate();

Re: Observed slowness with upload progress bar on 1.4.4

2009-12-15 Thread Douglas Ferguson
Oh dear.. Does this apply to 1.4.3? D/ On Dec 15, 2009, at 6:16 PM, Igor Vaynberg wrote: its probably related to this: https://issues.apache.org/jira/browse/WICKET-2613 we might have to put out 1.4.5 quickly -igor On Tue, Dec 15, 2009 at 3:36 PM, Douglas Ferguson

Re: Session Invalidate

2009-12-15 Thread Zak Johnson
Well shoot. I was hoping to avoid that for the time being, but I was afraid I would have to do it for a real logoff to work. I could always throw in some javascript to close the current browser and open a new one with the login page ;) Thanks Ed, Zak On Tue, Dec 15, 2009 at 8:37 PM, Edward