Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-08-07 Thread Peter Thomas
e no way of > knowing what page they are for, so assuming the one rendered most > recentely The Ajax versioning problem was resolved for me in one of the later snapshots. 1.3.0-beta2 works fine for me as well. igor.vaynberg wrote: > > > > yes, create a jira > > >

Re: [Wicket-user] Repaint single row of a DataTable

2007-07-19 Thread Peter Thomas
On 7/19/07, ChuckDeal <[EMAIL PROTECTED]> wrote: > > > I searched for answers to this problem, but most responses were to repaint > the whole table (or more specifically, the container holding the table). > > I am trying to make an editable grid. In addition to that, when some cell > contents chan

Re: [Wicket-user] suggestion: have Wicket SVN searchable with FishEye

2007-07-02 Thread Peter Thomas
On 7/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > However, I still would not support setting up Fisheye against an Apache > SVN without infrastructure's support as they are the ones that would > have to pick up the pieces if it were to go wrong. Yeah, that's fair enough :) Eelco Raise

[Wicket-user] suggestion: have Wicket SVN searchable with FishEye

2007-07-01 Thread Peter Thomas
Hi, Refer http://fisheye.cenqua.com/ - can Wicket SVN be made available through FishEye? This would really help in searching through the source code. Thanks, Peter. - This SF.net email is sponsored by DB2 Express Download

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Peter Thomas
On 6/28/07, Watter <[EMAIL PROTECTED]> wrote: Jean-Baptiste Quenot-3 wrote: > > * Watter: > >> With that, I can get past the error I reported >> earlier. Unfortunately, I'm seeing something else now. If I go >> to a page, then use my browser back button to go back a page,

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-27 Thread Peter Thomas
On 6/28/07, Watter <[EMAIL PROTECTED]> wrote: Watter wrote: > > I now have a new issue. Jean-Baptiste mentions in the JIRA issue that one > *must* include the XxxApplication and XxxSession classes. Well, when I > tried to do so I was unable to access my application. When I included the > my ve

Re: [Wicket-user] where can i get the wicket1.3 documentation

2007-06-27 Thread Peter Thomas
On 6/27/07, Lec <[EMAIL PROTECTED]> wrote: hmm..how about site for the javadoc wicket1.3 extension? and where is the site that I download all these 1.3 javadoc? thanks If you mean 1.3 api javadoc, it is here: http://www.wicketstuff.org/wicket13doc/ You can always get latest src and javadoc

Re: [Wicket-user] Classcastexception and getSession

2007-06-25 Thread Peter Thomas
On 6/26/07, Flemming Boller <[EMAIL PROTECTED]> wrote: Hi Actually I had 4 different versions :-) But I removed them all, made a recompile and tried again. Same result. The object from getSession() is a MySession object. I will try and make a quickstart zipfile. and attach it. /Flemming

Re: [Wicket-user] where can i get the wicket1.3 documentation

2007-06-25 Thread Peter Thomas
On 6/26/07, Lec <[EMAIL PROTECTED]> wrote: Im just wondering where can i get the wicket1.3 documentation. Been searching around but to no avail Would be appreciated if somebody point me to the site. -- If you mean 1.3 api javadoc, it is here: http://www.wicketstuff.org/wicket13doc/ -

Re: [Wicket-user] Adding item to ListView over Ajax - refresh only newest row

2007-06-24 Thread Peter Thomas
On 6/24/07, Peter Thomas <[EMAIL PROTECTED]> wrote: On 6/24/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > There's nothing javascript heavy on this :) > > You add new item like this: > String id = rv.newChildId(); > Item item = rv.newItem(id, index, model)

Re: [Wicket-user] Adding item to ListView over Ajax - refresh only newest row

2007-06-24 Thread Peter Thomas
wContiner.appendChild(div); div.id = -Matej Just as I was thinking Wicket was not so perfect for Ajax... It works! Thanks Matej :) I really did need that guidance on constructing and adding new item to RefreshingView. And of course now I get why ListView would not have worked. On 6/24/07,

Re: [Wicket-user] Adding item to ListView over Ajax - refresh only newest row

2007-06-24 Thread Peter Thomas
On 6/24/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: On Sun, 24 Jun 2007, Peter Thomas wrote: > I haven't used repeaters that much, but would newItem() be the right way to > create a new Item? Anyway, I am now stuck because to ensure that the id of > the DOM element

Re: [Wicket-user] Adding item to ListView over Ajax - refresh only newest row

2007-06-24 Thread Peter Thomas
is not (yet) coupled to a page" Help! On 6/24/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to create a kind of "expression builder" UI, so I was thinking of > a ListView and there is this "add" button on the page that will add

[Wicket-user] Adding item to ListView over Ajax - refresh only newest row

2007-06-24 Thread Peter Thomas
Hi, I'm trying to create a kind of "expression builder" UI, so I was thinking of a ListView and there is this "add" button on the page that will add an item to the List. I am able to do this over Ajax, and I am aware that to refresh a ListView over Ajax, you have to target a container of the Lis

Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Sure Eelco, JIRA logged: https://issues.apache.org/jira/browse/WICKET-685 On 6/22/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Could you describe the problems in a JIRA issue? Thanks. Eelco On 6/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Ok I think the problem is

Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Ok I think the problem is related to the ReloadingWicketFilter which I was extending and using. When I remove this, things are fine. So my conclusion is that latest ReloadingWicketFilter has problems for pages using Markup inheritance. Thanks, Peter. On 6/22/07, Peter Thomas <[EM

[Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Hi, I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my pages that use markup inheritance stopped working. My login page which does not use markup inheritance works and then after submitting that ito goes to the home page, nothing works. Thing is I tried a very simple quickstart

Re: [Wicket-user] how busy a site is wicket known to support?

2007-06-19 Thread Peter Thomas
On 6/20/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: oh yeah, be sure you DO NOT test your wicket app's scalability with wicket in development mode! Ah yes, I figured that out the hard way. Big difference. Just thought I'd mention that if you need a realistic application built on Wicket

Re: [Wicket-user] page map size

2007-06-08 Thread Peter Thomas
Scott - what is the trick for getting a report of sizes of page maps like this? I was so far only aware that setting log level DEBUG on say org.apache.wicket.protocol.http.FilePageStore can give you some of this info... Thanks, Peter. On 6/8/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: De

Re: [Wicket-user] wicket did not make the grade.

2007-06-06 Thread Peter Thomas
I think I will echo Eelco in wishing you all the best with Struts2. Only thing I could summarize from this mail chain is that, maybe Wicket needs that one extra out-of-the-box extension of ListView that you can do say addColumn(String) and will use a Label by default? Otherwise as I said earlier

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Peter Thomas
> I am sad to announce that my company did not choose to use wicket after > comparison with struts 2. :-( > > One criticism that came out as we were looking at Wicket code was that > there seems to be a need to write a lot of Java code in a ListView for > such things as displaying a table. Althou

Re: [Wicket-user] Gricket: The Love-Child of Grails and Wicket

2007-05-18 Thread Peter Thomas
On 5/18/07, graemer <[EMAIL PROTECTED]> wrote: Haha, sorry but it seems some of the Wicket community are still living in Lala land with regards to believing everything deployed to production has to be written in Java. It is 2007, the realisation that Java is not the best language for web apps ha

Re: [Wicket-user] Back-button / versioning

2007-05-07 Thread Peter Thomas
Hi, Just trying again - I raised an issue related to back-button / versioning including a quickstart. https://issues.apache.org/jira/browse/WICKET-491 If you can take a look at this - would be greatly appreciated. Thanks, Peter. On 5/6/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: *

Re: [Wicket-user] Way to prevent page versioning for a request in 1.3?

2007-05-01 Thread Peter Thomas
Matej, I'm stuck with a similar problem with Ajax replace and back button which I initially mentioned here: http://www.nabble.com/Ajax-component-replaceWith-and-browser-back-button-problems-tf3479357.html#a9710492 That problem is still there in todays snapshot. Recently I was trying to get to

Re: [Wicket-user] Contributing to wicket-contrib-yui

2007-04-27 Thread Peter Thomas
Eelco / David, I would be interested in helping out with wicket-contrib-yui as well - my sf id is ptrthomas Thanks, Peter. On 4/27/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: * David Leangen: > On Fri, 2007-04-27 at 14:13 +0800, Joshua Lim wrote: > > > I also hope that it could be a

[Wicket-user] problem with browser back-button and links after ajax replace

2007-04-24 Thread Peter Thomas
Hi, I'm having this problem when I back-button to a page with a panel that replaced itself with another panel containing a link - and re-try the link: WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer [Compone

Re: [Wicket-user] Which toolkit to use?

2007-04-23 Thread Peter Thomas
Hi, I had recently tried to decide upon a toolkit to use, and chose Yahoo UI. It is very touch to choose nowadays and I did not do a thorough evaluation but what leaned me towards Yahoo UI is that it appears to have the best documentation. It is modular as well - so the footprint is reasonable.

[Wicket-user] extra SNAPSHOT-tests.jar file in lib when using Maven

2007-04-21 Thread Peter Thomas
Hi, Just trying the latest 1.3.0-incubating-SNAPSHOT and I am using wicket-extensions also. I see an additional file called wicket-1.3.0-incubating-SNAPSHOT-tests.jarwhich wasn't there before. What is this? Is this required and / or is there a Maven setting to remove this? When running mvn wi

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Peter Thomas
Hi, I tried to create a tabular listing with pagination completely from scratch using only ListView-s and you can look at the code here: http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java?r=946 It's not Ajax, but may help as a reference. The

Re: [Wicket-user] NTLM Authentication

2007-04-18 Thread Peter Thomas
Hi, Maybe it is a better idea to do this only once as part of an AuthorizationStrategy set up in your Application class? Then after creating a session everything works like normal until logout. Example of a real life AuthorizationStrategy can be found here, in this particular example there is

[Wicket-user] Unable to add images to Wicket wiki

2007-04-15 Thread Peter Thomas
Hi, I'm in the middle of adding a Wiki page on using JMeter and Wicket here: http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+JMeter+with+Regular+Expressions I wanted to add a couple of screenshots but looks like this is restricted. I can send across the 3 PNG files to someone if re

Re: [Wicket-user] switching back to WicketFilter from ReloadingWicketFilter in production

2007-04-14 Thread Peter Thomas
Thanks. Do you want me to open a JIRA? Meanwhile I'll use Ant to do the needful: Regards, Peter. On 4/14/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: * Peter Thomas: > Just started trying ReloadingWicketFilter seems to work great so > far :)

[Wicket-user] switching back to WicketFilter from ReloadingWicketFilter in production

2007-04-14 Thread Peter Thomas
Hi, Just started trying ReloadingWicketFilter seems to work great so far :) Do I have to manually switch back to the normal WicketFilter in web.xml when going to production or will the DEPLOYMENT mode automatically switch off all the classloader black magic? Thanks, Peter.

Re: [Wicket-user] Spring integration and which wicket version

2007-04-13 Thread Peter Thomas
Hi, You can also consider a quick and dirty approach to getting hold of a spring managed bean like this in the init() method of your wicket application, but you do have to import a couple of Spring classes. @Override public void init() { super.init(); ApplicationContext appli

Re: [Wicket-user] treetable with table markup

2007-04-13 Thread Peter Thomas
You can quickly try this: enclose your TRs in a TBODY tag. I've run into this IE nonsense before and this helped. On 4/13/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote: Matej Knopp wrote: > Second question, I assume you want to show inserted rows without > refreshing the entire listview? Well,

Re: [Wicket-user] Duplicate wicket:head contributed entries with multiple panels on a page

2007-04-09 Thread Peter Thomas
created JIRA https://issues.apache.org/jira/browse/WICKET-456 And when I use HeaderContributor (instead of wicket:head in the markup) it works fine as expected. Thanks, Peter. On 4/9/07, Matej Knopp <[EMAIL PROTECTED]> wrote: We already do parse content of , but only to filter hader contribu

Re: [Wicket-user] Duplicate wicket:head contributed entries with multiple panels on a page

2007-04-09 Thread Peter Thomas
i dont know, but it is a lot of work. you can add an rfe if you want, but it will not get a high priority imho -igor On 4/9/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use some Yahoo UI widgets and currently things work fine > when the required java

[Wicket-user] Duplicate wicket:head contributed entries with multiple panels on a page

2007-04-09 Thread Peter Thomas
Hi, I'm trying to use some Yahoo UI widgets and currently things work fine when the required javascript files are contributed using But when I have two different panels appearing within the same page - and both contributing the same common *.js files, - the page HTML has duplicate

Re: [Wicket-user] Problem setting selected value in DropDownChoice

2007-04-06 Thread Peter Thomas
Instead of pre-loading in the input field, try pre-loading the property in your form backing object (model) - so call setArrivalDate() or just ensure that PaymentInfoInput.arrivalDate is not null On 4/7/07, V. Jenks <[EMAIL PROTECTED]> wrote: I feel like I've asked this question before...but h

Re: [Wicket-user] Radio.getValue?

2007-04-03 Thread Peter Thomas
o it. http://cwiki.apache.org/WICKET/wicket-and-jmeter.html regards Nino Fra: [EMAIL PROTECTED] på vegne af Peter Thomas Sendt: ti 03-04-2007 10:43 Til: wicket-user@lists.sourceforge.net Emne: Re: [Wicket-user] Radio.getValue? Hi Nino, Sorry I was not fol

Re: [Wicket-user] Radio.getValue?

2007-04-03 Thread Peter Thomas
Hi Nino, Sorry I was not following this thread from the start - but recently I had some success using JMeter for testing a wicket application by using the regular expression support built into JMeter. My test script actually can use the "wicket:id" values and so far I'm getting good results. Le

Re: [Wicket-user] Input focus

2007-04-02 Thread Peter Thomas
You may already know the quick un-generic way to do this - but for example this is what I have on a login page where I set focus to the password field in case the user-id field is already filled in. getBodyContainer().addOnLoadModifier(new AbstractReadOnlyModel() { public Object getObject() {

[Wicket-user] Pulldown menu and small pop-up dialogs - any suggestions

2007-04-02 Thread Peter Thomas
Hi, Do any of the wicket subprojects provide a pulldown menu component? I'm also interested in creating small HTML pop-up dialogs similar to stuff that appears at http://www.macridesweb.com/oltest/ - that appear lightweight and feel more like tool-tips. I'm interested in hearing what other wick

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-29 Thread Peter Thomas
And the Ajax replace / browser back-button problem is still there even in 1.3.0 [29-Mar]. Do you need me to open a JIRA? I'll revert to 1.3 for now. Thanks, Peter. On 3/29/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Pretty sure. I'm using Maven2 and the JAR name is wicket-

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
Pretty sure. I'm using Maven2 and the JAR name is wicket-1.3.0-incubating-SNAPSHOT.jar On 3/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: is something from 2.0, are you sure you have the right jars? -igor On 3/28/07, Peter Thomas < [EMAIL PROTECTED]> wrote: > > Th

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
vadocs so that might be a place to start -igor On 3/28/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > > Ok, my bad - the documentation does mention the package change to > wicket.validation.validator.AbstractValidator > > But the API looks a lot different, can you quickly poi

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
, Peter. On 3/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: hmm, it is briefly mentioned under Validation Changesi dont remember if we still have abstract validator or not, see the source of other alidators and if they extend something. -igor On 3/28/07, Peter Thomas <[EMAIL

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
onent, String) Thanks, Peter. On 3/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: peter can you try updating to the lastest snapshot and trying again? -igor On 3/28/07, Peter Thomas < [EMAIL PROTECTED]> wrote: > > Matej - I am using wicket-1.3-incubating-SNAPSHOT.jar date

Re: [Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
sing 1.x? this can be caused by ajax requests being non-versioned in 1.2. In 1.x, the changes should be merged to latest version. On 3/28/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > matej didnt you fix this in 1.x svn? > > -igor > > > > On 3/28/07, Peter Thomas <

[Wicket-user] Ajax component replaceWith and browser back-button problems

2007-03-28 Thread Peter Thomas
Hi, I have a panel A that is replaced by another panel B over Ajax using Component.replaceWith(). Panel B contains a few Links. Say I navigate to this Page and trigger the event that causes panel B to replace Panel A. Then I click one of the Link(s) within Panel B that brings up another page.

Re: [Wicket-user] Wicket and Error messages

2007-03-22 Thread Peter Thomas
Regarding filtering of messages, I had asked this earlier which Igor answered. http://www.nabble.com/-Wicket-user--Removing-messages-from-FeedBackPanel-tf3058081.html#a8502575 So I created a filter like this: public class MyFeedbackMessageFilter implements IFeedbackMessageFilter { private

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas
there is any other way. - peter On 2/26/07, Johan Compagner <[EMAIL PROTECTED]> wrote: What do you mean? You click on a link and you don't want to update the url thats in the browser? Use ajax. Or use pages with versioning disabled johan On 2/25/07, Peter Thomas <[EMAIL PRO

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas
Done: https://issues.apache.org/jira/browse/WICKET-326 About my other question about the URL remaining in place when navigating to other pages, do you have any suggestions? Everything works fine and it is just a minor irritance, but can't help wondering if I am missing some subtle best practice

[Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-24 Thread Peter Thomas
Hi, I think the IndexedParamUrlCodingStrategy in Wicket and the way you use it is really nicely done. I have set up one as follows: mount("/item", new IndexedParamUrlCodingStrategy("/item", ItemViewPage.class )); 1) From looking at the above, the mount path appears to be redundant. Is there a

Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Peter Thomas
On 2/23/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to get "remember me" functionality on a login form working. > The Form#setPersistent() method is see in the wicket-examples

[Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Peter Thomas
Hi, I'm trying to get "remember me" functionality on a login form working. The Form#setPersistent() method is see in the wicket-examples Signin2 does not seem to be available in Wicket 1.3 How do I do this, also is there any documentation on implementing "remember me"? And how do I delete the

Re: [Wicket-user] How to do simple authentication with Wicket

2007-02-22 Thread Peter Thomas
Oops just discovered getSecuritySettings() from SignInApplication.java. Guess I didn't look hard enough. If anyone has had success integrating Acegi, would be great to get tips / suggestions. On 2/22/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Hi, Please give me some pointers

[Wicket-user] How to do simple authentication with Wicket

2007-02-22 Thread Peter Thomas
Hi, Please give me some pointers on handling authentication in Wicket. I tried digging into the "library" example, i.e. AuthenticatedWebPage but there's nothing much in there. If there is a simple technique I can use within my Application and a custom Session, I would prefer that for now instea

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
no, not exactly. if you havent set a model on the component (or set it to null) and call getmodel() wicket will search upwards for a model that implements the compound model interface. look up compound property models on that wiki page. Thanks, will do. One last question: f) And suppose I ha

Re: [Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
Thanks Igor. This really helped, and along the way I realized I missed a few fundamentals. One more question below: d) Now I am iterating using ListView. How exactly do I initialize the > ListView so that it uses the "installed" detachable model? what do you mean? you just pass it into the

[Wicket-user] Best practice and use of detachable models

2007-02-21 Thread Peter Thomas
Hi, I use Hibernate and have got a reasonably sized app working with Wicket. I am aware of the concept of detachable models and want to use it effectively and I have the following questions. If the information is already there on the wiki or something - feel free to point me there. Apologies i

Re: [Wicket-user] Dumb question about serialization

2007-02-21 Thread Peter Thomas
What is the default for the maxPageVersions? On 2/21/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: If you don't need back button support at all, just have all your pages (or probably some base page) override isVersioned (or use setVersioned) and let it return false. Wicket will not record chan

Re: [Wicket-user] writing unit tests

2007-02-10 Thread Peter Thomas
ng Java for the server and html / javascript for clients if, at the end of the day the message is: the app only supports IE? I can't justify that. -nilo Peter Thomas-4 wrote: > > I haven't tried to use WicketTester etc. for JUnit testing yet, plan to. > > Just wanted to ment

Re: [Wicket-user] Easier way to force resourceKey for a Validator error message

2007-02-09 Thread Peter Thomas
and see what its doing? -igor On 2/3/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I'm migrating an existing (Spring MVC) JSP application to Wicket and > this application already has i18n with just one largish properties file, > named as per Spring tradition &

Re: [Wicket-user] writing unit tests

2007-02-09 Thread Peter Thomas
I haven't tried to use WicketTester etc. for JUnit testing yet, plan to. Just wanted to mention that I personally have had good results with Watij [ http://watij.com ] so you can automate browser based testing in Java itself, so no need to learn Ruby, Javascript etc. On 2/10/07, nilo de roock <[

[Wicket-user] Easier way to force resourceKey for a Validator error message

2007-02-03 Thread Peter Thomas
Hi, I'm migrating an existing (Spring MVC) JSP application to Wicket and this application already has i18n with just one largish properties file, named as per Spring tradition "messages.properties". I'm using Wicket 1.2.4. I was able to easily delegate looking up of messages to Spring's "Messag

[Wicket-user] Ajax DropDownChoice - retain selected value when choices are refreshed

2007-02-02 Thread Peter Thomas
Hi, I have these two DropDownChoices (A and B) and I am refreshing the choices in B through Ajax when the selection in A changes. AjaxFormComponentUpdatingBehavior works fine, no problems here. In my case many of the choices in B are common for all the possible selections in A. Consider the cas

[Wicket-user] Removing messages from FeedBackPanel

2007-01-22 Thread Peter Thomas
Hi, One of the recent mailing-list messages had a very nice solution to add css behavior so that error form fields get highlighted - e.g. red border. (Thanks Igor!) Now suppose I have a form + feedbackPanel with many fields that have the RequiredValidator error. Instead of showing a repetitive

Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas
wrote was against 1.3, im not sure how it is different against 1.2.x, you have 1.2.4 source code right (i dont have it checked out)? just look at how other filters are registered there. -igor On 1/20/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Thanks Igor, > > I'm u

Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas
kupParser parser) { super.initMarkupFilters (parser); parser.registermarkupfilter(new wicketmessagetaghandler()); } -igor On 1/20/07, Peter Thomas < [EMAIL PROTECTED]> wrote: > make sure you have WicketMessageTagHandler added to markupparser. > > &

Re: [Wicket-user] Setting html-tags properties

2007-01-20 Thread Peter Thomas
make sure you have WicketMessageTagHandler added to markupparser. -igor I had the same question - but now how exacty do I add WicketMessageTagHandler to markupparser ? I am trying to do this in the application but WicketMessageTagHandler needs a ContainerInfo. Help! - Peter On 1/19/07, Ig

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
f you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas < [EMAIL PROTECTED]> wrote: > > I am using 1.2.4 > > Not sure if it matters but I'm using a Spring MessageSource so I have my > own implem

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
ED]> wrote: what version of wicket are you using? -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I'm migrating a JSP app which already has i18n to wicket and re-using an > existing resource bundle. There are a few cases where HTML has been > em

[Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=HelloWorld! But now when using wicket appears to be html escaping the value of the localized string re

[Wicket-user] Need example for a custom component that can take nested / child components

2007-01-18 Thread Peter Thomas
Hi, I was able to find an example on how to create a custom component (so you don't need wicket:panel markup) on the wicket site here: http://wicketframework.org/ExampleStockQuote.html But this is a simple example where it extends WebComponent, as there are no nested components. I need to crea

Re: [Wicket-user] spring integration question

2007-01-15 Thread Peter Thomas
Thanks Mats, yes I agree. I am also reporting (refer original message) that wicket-spring-annot is broken for Maven 2 users, so at the moment I cannot use it even if I wanted to. Can anyone comment on this? Thanks, Peter. On 1/15/07, Mats Norén <[EMAIL PROTECTED]> wrote: Oops, sorry, didn'

Re: [Wicket-user] spring integration question

2007-01-15 Thread Peter Thomas
Thanks Mats, I totally agree that that is a pretty clean option. This does mean that you have to include wicket-spring and wicket-spring-annot though - which I avoided. I am trying to figure if the alternate approach is workable and then I do feel it is worth adding to the wiki. Also it may be

[Wicket-user] spring integration question

2007-01-14 Thread Peter Thomas
Hi, I was thinking that more option can be added to the official wicket-spring integration documentation. Something like this: 1) normal wicket servlet config in web.xml, with applicationClassName init-param 2) Application class uses Spring API to get hold of dependency like this: class MyApp