Re: [Wicket-user] Editable Labels : How to

2006-03-17 Thread Johan Compagner
come on guys.. request more features you see that igor will implement them all right away!johanOn 3/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:i was taking a short break from work, and thought what the hell, why not write one? so i did, only took me half an hour or so. i just checked it into

Re: [Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Johan Compagner
didn't we now have a feature that we don't have to add the component on the wicket side?so you can just do:span id=wrapper_53 .../spanand in the rerender component you just give the id it should replace and the real component I thought this was in by request of martijn.johanOn 3/17/06, Nathan

Re: [Wicket-user] objects in session

2006-03-17 Thread Johan Compagner
the session per Igor's instructions so it now is called like so: UserSession us = (UserSession)getSession();Any ideas?On 3/17/06, Johan Compagner [EMAIL PROTECTED] wrote:no it means that the session will be replicated when you use clustering. So it will update itself in the httpsession. yes just clear

Re: [Wicket-user] Re: Re: Common Pitfall for Ajax Users in Wicket

2006-03-17 Thread Johan Compagner
, Johan Compagner [EMAIL PROTECTED] wrote:didn't we now have a feature that we don't have to add the component on the wicket side? so you can just do:span id=wrapper_53 .../spanand in the rerender component you just give the id it should replace and the real component I thought this was in by request

Re: [Wicket-user] Authentication and redirectToInterceptPage

2006-03-17 Thread Johan Compagner
see the LibraryExample:getSecuritySettings().setUnauthorizedComponentInstantiationListener(new IUnauthorizedComponentInstantiationListener() { public void onUnauthorizedInstantiation(final Component component) {// If there is a sign in page class declared, and the unauthorized//

Re: [Wicket-user] objects in session

2006-03-17 Thread Johan Compagner
/06, Johan Compagner [EMAIL PROTECTED] wrote: i have no idea what you exactly do but if you put something in the session like((MySession)getSession()).setUser(new User());and then later on get it back:((MySession)getSession()).getUser(); then it will be there. Ofcource the session shouldn't

Re: [Wicket-user] Label display for null values

2006-03-17 Thread Johan Compagner
use youre own converter?How do you want them to be displayed?johanOn 3/17/06, Steve Knight [EMAIL PROTECTED] wrote:Hello,How can I change how null values are displayed in Labels? Thanks,Steve

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Johan Compagner
please make a bug report with some sample code.On 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Did url mounting change? I was using IndexedParamUrlCodingStrategy withbeta1 but now my bookmarkable URLs are getting generated as if I were using the default strategy, like /mountpath/0/21 since I

Re: [Wicket-user] Re: Wicket 1.2-beta2 available for download

2006-03-19 Thread Johan Compagner
i think it was you..On 3/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why you gotta break stuff johan!On 3/19/06, Johan Compagner [EMAIL PROTECTED] wrote: please make a bug report with some sample code.On 3/19/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Did url mounting change? I was using

Re: [Wicket-user] New features Wicket 1.2

2006-03-20 Thread Johan Compagner
One warning don't do this:@SecuredWicketPage public class EditAccountPage extends Template{ private String repeatedPassword; @SpringBean private AccountService accountService = null; public EditAccountPage() { Form form = new Form(form, new CompoundPropertyModel(this)) {(the = null)Because

Re: [Wicket-user] wicket 1.2 beta 2 RadioGroup selecting a default

2006-03-21 Thread Johan Compagner
just set the right model value that you want to select first on the radiogroup.it is the exact same object as the radio group would have.So the model object of the radiogroup have to be te same as what you give the radio. johanOn 3/21/06, Nino Wael [EMAIL PROTECTED] wrote: Hi IgorI cant find that

Re: [Wicket-user] why create new page instances ?

2006-03-21 Thread Johan Compagner
= (Book)getParent().getModelObject(); setResponsePage(new EditBook(book)); } } Should work. Martijn On 3/20/06, ali [EMAIL PROTECTED] wrote: On Mon, 20 Mar 2006 14:18:48 +0530, Johan Compagner [EMAIL PROTECTED] wrote: can i do like : class BookList extends WebPage { public BookList() { add(new

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Johan Compagner
that doesn't really replace our exception page when in development mode.The best thing to do is implement/override RequestCycle.onRuntimeException()johanOn 3/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: take a look at IApplicationSettings.setIneternalErrorPage()-Igor On 3/22/06, Ingram Chen

Re: [Wicket-user] Switching to https

2006-03-22 Thread Johan Compagner
the only thing i can think of right now is use the ExternalLink to specify the full url where you want to move to johanOn 3/21/06, John Patterson [EMAIL PROTECTED] wrote:Hi, Is there a standard way to handle switching between http and

Re: [Wicket-user] How do I replace ExceptionErrorPage ?

2006-03-22 Thread Johan Compagner
On 3/22/06, Johan Compagner [EMAIL PROTECTED] wrote: that doesn't really replace our exception page when in development mode.The best thing to do is implement/override RequestCycle.onRuntimeException() johanOn 3/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: take a look

Re: [Wicket-user] Some wicket tag questions

2006-03-22 Thread Johan Compagner
you should not look at the markup exception but the cause of this because i see this line: jteam.wickettest.site.components.EmployeeTree.init(java.lang.String)so something goes wrong in the initialize phase/constructor of youre employeetree component.johan On 3/21/06, Tom van Zummeren [EMAIL

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Johan Compagner
See DynamiceByteArrayResourceThen you can do the load lazy. Only when the link is clicked.johanOn 3/22/06, Mats Norén [EMAIL PROTECTED] wrote:On 3/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That's not the preferred way of working though. If you want to play nice with the framework, you

Re: [Wicket-user] Switching to https

2006-03-22 Thread Johan Compagner
there only will be 2 scenario's if you want to go from non secure to secure.(or back but then you really have to know that)first again through an external link (or youre own link impl like martijn described) Or have youre own IRequestTarget (wicket 1.2) like: RedirectToSecurePageTarget(Class

Re: [Wicket-user] validation in wicket framework

2006-03-22 Thread Johan Compagner
use a regexp see PatternValidator.johanOn 3/22/06, ketan gote [EMAIL PROTECTED] wrote: hi i am looking for validation of the username wich will take only character's. wating for reply... ketan

Re: [Wicket-user] Writing to outputstream (Trying to do export)

2006-03-22 Thread Johan Compagner
just create ResourceLink with a DynamicByteArrayResourceAnd implement getResourceState() and when that is called you do youre loading.johanOn 3/22/06, Mats Norén [EMAIL PROTECTED] wrote: Sorry, I'm not quite with you.How is the DynamicByteArrayResource called from the internals?On 3/22/06, Johan

Re: [Wicket-user] wicket.markup.html.form.FormComponent and wicket.markup.html.form.Form

2006-03-22 Thread Johan Compagner
if you don't sit in a form then the selection change still works in the browser and we just do a get request (location.href)If you are in a form then the forms submit is used.johan On 3/22/06, Frank Silbermann [EMAIL PROTECTED] wrote: I created a page using a DropDownChoice,

Re: [Wicket-user] possible bug - wicket 1.2 beta2

2006-03-23 Thread Johan Compagner
you have to implement:protected String newValue(final String currentValue, final String replacementValue) { return replacementValue; }from the attribute modifier and concat the currentValue with the old On 3/23/06, Dorel Vaida [EMAIL PROTECTED] wrote: Can anyone check if this is a bugthe

Re: [Wicket-user] question about date format for textfield

2006-03-23 Thread Johan Compagner
you have to test to which class the converter wants to go to: public Object convert(Object o, Class c) { try{ if(c == String.class) { return new SimpleDateFormat(dd-MM-).format((Date)o); } else return new SimpleDateFormat(dd-MM-).parse((String)o);}

Re: [Wicket-user] CompoundPropertyModel in 1.2-beta2

2006-03-23 Thread Johan Compagner
yes this is wrong.I don't know why that worked in 1.1 because i also believe it shouldn't have worked there also but maybe this behaviour was onlyintroduced in 1.2If you give the component its onw model. Then that component is the Root model object And if that is the case a getModelObject() call

Re: [Wicket-user] displaying java.sql.Timestamp

2006-03-23 Thread Johan Compagner
add youre own type converter to the Converter of wicket for timestamp.classpublic ITypeConverter set(final Class c, final ITypeConverter converter)johanOn 3/23/06, Frank Silbermann [EMAIL PROTECTED] wrote: I have an application that displays an arbitrary java.sql.ResultSet in a

Re: [Wicket-user] Force session invalidate after render error page ?

2006-03-24 Thread Johan Compagner
in youre constructor of that error page:setRedirect(false);getSession().invalidate();johanOn 3/24/06, Ingram Chen [EMAIL PROTECTED] wrote: Dear all, My yet another question about error handling. Is it possible to force session invalidate after render global error page ? My reasonfor this is if

Re: [Wicket-user] Deal with specific exception

2006-03-24 Thread Johan Compagner
that should work fine. except ofcourse if youre exception page also throws an exception again somehow.johanOn 3/24/06, Ingram Chen [EMAIL PROTECTED] wrote: Dear all, I want to catch a specific RuntimeException and then redirect to a special error page (not global one), I try to do this: @Override

Re: [Wicket-user] Force session invalidate after render error page ?

2006-03-24 Thread Johan Compagner
RestartResponseException( MyErrorPage.class)Then if youre error page is stateless (no call backs with links or forms) then no session will be created in the redirect that does happen.johanOn 3/24/06, Ingram Chen [EMAIL PROTECTED] wrote: This doesn't work. I still got expired page. On 3/24/06, Johan Compagner [EMAIL

Re: [Wicket-user] Deal with specific exception

2006-03-24 Thread Johan Compagner
Add a bug in our bug system with a reproduceable testcase attached.johanOn 3/24/06, Ingram Chen [EMAIL PROTECTED] wrote:My exception page is blank, just a page with some static html. I could'nt imagine it will throw any exception...On 3/24/06, Johan Compagner [EMAIL PROTECTED] wrote:that should

Re: [Wicket-user] DropDownChoice.wantOnSelectionChangedNotifications() dosn't work on 1.2_beta2 ?

2006-03-24 Thread Johan Compagner
do you have anywhere in the page another navomaticBorder:form ??Because that is the id the form did get:form action="" class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Re: [Wicket-user] DropDownChoice.wantOnSelectionChangedNotifications() dosn't work on 1.2_beta2 ?

2006-03-24 Thread Johan Compagner
. Johan Compagner wrote: do you have anywhere in the page another navomaticBorder:form ?? Because that is the id the form did get: form action="" /homepage?wicket:interface=:1:navomaticBorder:form::IFormSubmitListener wicket:id=form method=post id=navomaticBorder:for

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-25 Thread Johan Compagner
Like reading the statements of others:Jacob (JSF): Tapestry: For a component framework, it still sticks to the page/action paradigm, Because JSF isn't tied to the action/page paradigm, parts of the component tree can be agnostically processed without requiring special cases/development.is this

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-27 Thread Johan Compagner
tsheeejust don't sleep.On 3/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I'm sure not everyone agrees to that ;). Honestly, I'd like to playwith Ruby some more. Though I am more intersted in Ruby than RoR, andthere seem to be a few other Ruby frameworks which look interesting.Otoh, I'm pretty

Re: [Wicket-user] How do I replace ExceptionErrorPage

2006-03-27 Thread Johan Compagner
just try to debug it.We do try to catch those things where an error page also goes wrong again. So that we don't se twice the same error page.johanOn 3/27/06, Frank Silbermann [EMAIL PROTECTED] wrote: try getApplicationSettings().setInternalErrorPage(); Call it in the init

Re: [Wicket-user] problem with session invalidation and back button

2006-03-28 Thread Johan Compagner
no because this is an Page expired session. Nothing gets created because if you press a submit button on a page.Then that page must be there. Must be targetable. So you get an page expired page.What you could do is set youre default expired page: void setPageExpiredErrorPage(final Class

Re: [Wicket-user] Caching content

2006-03-29 Thread Johan Compagner
about 1:You can share objects if you want between sessions..Thats also a no brainer. The problem comes when you have to think about synchronization issuesAnd then the big questions arives.. What does cost more performance? And maybe for a search engine (where the pages are very very simple because

Re: [Wicket-user] Form submit from outside Wicket

2006-03-29 Thread Johan Compagner
i would submit to a bookmarkable page yes.That would be the easiest thing to do.johanOn 3/29/06, Sven Meier [EMAIL PROTECTED] wrote:How would you handle a submit of a form that originates from outside of Wicket?Let me explain:In many web applications some forms (e.g. 'search a product')

Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy

2006-03-30 Thread Johan Compagner
yes i think i already did mention that beforeit should be looking for an unique text file. like wicket-version.properties.Can maven generate that file martijn? So that we look for this?johan On 3/30/06, jan_bar [EMAIL PROTECTED] wrote: Hi,I tried FrameworkSettings.getVersion(), but it seems to

Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy

2006-03-30 Thread Johan Compagner
should add a new property file? wicket.properties is already there. Why introduce another file?MartijnOn 3/30/06, Johan Compagner [EMAIL PROTECTED] wrote: yes i think i already did mention that beforeit should be looking for an unique text file. like wicket-version.properties.Can maven generate

Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy

2006-03-30 Thread Johan Compagner
] wrote: So you propose that for every property we want to put into Wicket we should add a new property file? wicket.properties is already there. Why introduce another file? Martijn On 3/30/06, Johan Compagner [EMAIL PROTECTED] wrote: yes i think i already did mention that before

Re: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy

2006-03-30 Thread Johan Compagner
/30/06, Johan Compagner [EMAIL PROTECTED] wrote: yes exactly like igors says,.Because we are looking up for a wicket properties file (and only one) which one does it return?? It could be the one from the extentionsor the one users do provide. We don't have control of that. We need one single unique

Re: Re[2]: [Wicket-user] FrameworkSettings.getVersion() seems to be buggy

2006-03-30 Thread Johan Compagner
that we also goed do but who is generating that manifest.mf?And we are then depending on that a Package is made. And according to the spec a Package object doesn't have to be made.johan On 3/31/06, shumbola [EMAIL PROTECTED] wrote: Здравствуйте, Gwyn.Вы писали 31 марта 2006 г., 3:57:26: I thought

Re: [Wicket-user] handling blank inputs with NumberValidator

2006-03-31 Thread Johan Compagner
ahh you found a bug in the PropertyResolver when you use primitive classes.Can you add a bug report for this. I will fix this ASAP.johanOn 3/30/06, karthik Guru [EMAIL PROTECTED] wrote: I have a TextField having a model of type int and I attached aNumberValidator and set type to int.classThe

[Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
Currently almost all our interfaces that makes the output or Response writing code are using Stringsas parameters or return typesI would like to change all those methods to use Charsequence because this would mean that we don't have to do toString() every where and just passing directly the buffer

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
] wrote: +1 to do it now. if this does affect 1.2 only interfaces a lot then we should do this before we actually release those interfaces into the wild.-Igor On 4/1/06, Johan Compagner [EMAIL PROTECTED] wrote: Currently almost all our interfaces that makes the output or Response writing code

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-01 Thread Johan Compagner
there is no map support for this.What you could do is give the map to the ChoiceRenderer impland give the keys of the map as a list to the Choice.johanOn 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm trying to get a Map of data so I can have the key be the value of the dropdown options and

Re: [Wicket-user] onAttach() with ajax

2006-04-01 Thread Johan Compagner
yeah i am also completely lost at the momentCan somebody start from the beginning again?johan:)On 3/31/06, Martijn Dashorst [EMAIL PROTECTED] wrote:And now my HEAD hurts, or was it head HURTS? :-) MartijnOn 3/31/06, Gwyn Evans [EMAIL PROTECTED] wrote:Yes, that's what I was meaning by the last

Re: [Wicket-user] can't get rid of Choose One in DropDownChoice

2006-04-01 Thread Johan Compagner
yes moving the method to the renderer and calling that render method in the choice method is fine by me.Except what is then the default Choose one ?We can add it ofcourse in our default renderer: ChoiceRenderer But then you have to specify it or subclass choicerenderer. Else suddenly you don't

Re: [Wicket-user] NoClassDefFoundError in TreeComponentInitializer#38

2006-04-01 Thread Johan Compagner
i also have seen this. (also in an intializer i believe and then with ajax scripts)It happens when i restart tomcat and tomcat deserializes sessions.If it doesn't deserializes sessions it doesn't happen.Will try if i can really reproduce it and see if i can figure out why .. The big problem is

Re: [Wicket-user] Getting Page After Intercept Page

2006-04-01 Thread Johan Compagner
who is triggering the redirect to intercept page?I guess it is somewhere in youre own code (login needed or something)Maybe you can then set that page somewhere for you to access?the problem in 1.2 is that if that redirect happens in side the constructor of the page.. Then there is no page.. (page

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
didn't alter themjohanOn 4/1/06, Eelco Hillenius [EMAIL PROTECTED] wrote: +1 for now.EelcoOn 4/1/06, Johan Compagner [EMAIL PROTECTED] wrote: Currently almost all our interfaces that makes the output or Response writing code are using Strings as parameters or return types I would like to change

Re: [Wicket-user] PageLink called request two times

2006-04-03 Thread Johan Compagner
yes it is correct and it never changed this was also the case even in 1.1first the request comes in for the pagelink.That request is handled and the response is set in a buffer.Then a redirect is send to the browser and the second request comes in to really serve the page (that is in the buffer)

Re: [Wicket-user] Using AuthenticatedWebApplication gives wicket.WicketRuntimeException in wicket-1.2-beta2

2006-04-03 Thread Johan Compagner
yes it should be.On 4/3/06, Andre Matheus [EMAIL PROTECTED] wrote: Do you know if this is fixed in beta 3?On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Modify AuthenticatedWebApplication.java yourself. If your using the jar, than copy AuthenticatedWebApplication.java, make the changes,

Re: [Wicket-user] setting required on multiple form components

2006-04-03 Thread Johan Compagner
do you have a small testcase (unit test case or something)Because our form example also has some required and others not and that is working fine.johanOn 3/30/06, jeiess [EMAIL PROTECTED] wrote: having a little trouble with form validation using 1.2-beta2. here's what i've got: public final

Re: [Wicket-user] PageLink called request two times

2006-04-04 Thread Johan Compagner
please give me more information thenBecause the output of youre logging tells me different things.There the first time the page is rendered and the second time only the buffered response is served.And nothing more. put an output after the buffered response (where we make the request cycle) does it

Re: [Wicket-user] getting localized error messages associated with validators

2006-04-04 Thread Johan Compagner
the form component has just a list of messages 'attached' to itthe localizer is used to get the message depending on the key the validator is giving.And looking at the code i believe there will be olny one message (the first validator that fails) johanOn 4/3/06, karthik Guru [EMAIL PROTECTED]

Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Johan Compagner
what doesn't work exactly?Because looking at the code it should work fine. The getDefaultChoice(selected) is called and appended to the output.johanP.S. Now i think about it getDefaultChoice is a perfect candidate for returning a CharSequence instead of a string. So that you don't have to call

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Johan Compagner
If we don't add it then the behaviour of SimplePageAuthorizationStrategy is very strange if you ask me...Why is there then a login page as constructor param. It is the whole point of that class to configure everything for you. So you just should implement youre own sublcass of

Re: [Wicket-user] PasswordTextField.setResetPassword

2006-04-05 Thread Johan Compagner
will see if i can fix that it is this piece of code:tag.put(value, getResetPassword() ? : getModelObjectAsString());The problem is that it should betag.put(value, getResetPassword() ? : getValue()); But don't know yet if i can do that for the password field.johanOn 4/5/06, Rüdiger Schulz [EMAIL

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Johan Compagner
this should work:public class TimeTrackrApplication extends Application{ public TimeTrackrApplication() { Application.set(this); }}At least i don't hope that spring first makes the refs then the bean itself.. johanOn 4/5/06, Mark Derricutt [EMAIL PROTECTED] wrote: On 4/5/06, Johan Compagner [EMAIL

Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Johan Compagner
in dropDownInitial it displays the object from the model. -regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Johan Compagner Sent: 5. april 2006 13:02 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value

Re: [Wicket-user] Iterating a for loop and rendering the results

2006-04-05 Thread Johan Compagner
you have to use another listview inside a listitemBecause that is what you seem to do. so something liketr wicket:id=outertabletd wicket:id=innertablespan wicket:id=one_suggestion/span/td /trand then the current listItem must add another ListView instance (called innertable)johanOn 4/5/06,

Re: [Wicket-user] Iterating a for loop and rendering the results

2006-04-05 Thread Johan Compagner
new ListView(innerTable2, allsuggestions) {protected void populateItem(ListItem listItem) { MultiLineLabel listItemLabel = newMultiLineLabel(one_suggestion, onesuggestion);listItem.add(listItemLabel);}});}-- Geertjan Johan Compagner wrote: you have to use another listview inside a listitem Beca

Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-06 Thread Johan Compagner
please make a bug report with a testcase.johanOn 4/6/06, Nino Wael [EMAIL PROTECTED] wrote: Hmm strange, Im pretty much doing the same stuff. I do however also have a custom ichoicerenderer could that mean anything? Also I am disabling the control when adding it to the form and enabling it later

Re: [Wicket-user] WebApplicationPath and servlet resources

2006-04-06 Thread Johan Compagner
getting a file from the webapplication itself is basic servlet.just get the servlet context from the wicket servlet and load the file with the getResourceXXX() methodsjohan On 4/6/06, Matthias Albert [EMAIL PROTECTED] wrote: Johan Compagner schrieb: is it really a servlet resource or just a file

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-06 Thread Johan Compagner
of the http://bar.com address from which they originally came to the page. Any thoughts on how to fix this? --AndrewOn 4/6/06, Johan Compagner [EMAIL PROTECTED] wrote: what you want is virtual hosting. Wicket does touch the http://.xxx It only generates the /contextpath/servletpath/X

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-06 Thread Johan Compagner
this should work: VirtualHost *ServerAdmin [EMAIL PROTECTED]DocumentRoot youredocrootdirServerName www.yourevirtualhost.com ... ProxyRequests OffProxy *Order deny,allowAllow from all/ProxyProxyPass / http://localhost:9090/ProxyPassReverse / http://localhost:9090/On 4/6/06, Johan Compagner

Re: [Wicket-user] WebApplicationPath and servlet resources

2006-04-06 Thread Johan Compagner
oure compoundresoourcelocator has different resource locators in itself. One classresource locator for on the classpathand by default also by ResourcePath.You could add one that does by Context. On 4/6/06, Matthias Albert [EMAIL PROTECTED] wrote: Johan Compagner schrieb: getting a file from

Re: [Wicket-user] Re: strange behaviour of TextField conversion to Float in beta3

2006-04-06 Thread Johan Compagner
can you show me youre converter code?On 4/6/06, Jaime De La Jara [EMAIL PROTECTED] wrote: Yes, I use the following code : add(new TextField(montoTotal, Float.class));I've made some tests and found that commenting the definition of the IConverterFactory for the date format and defining the format

Re: [Wicket-user] Re: beta3

2006-04-07 Thread Johan Compagner
there is a unit test (RadioGroupTest) for this in our testswicket is suddenly much more sensitive if the input tag is not terminated with /but justinput type= name= value= can result in an error now.johanOn 4/7/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:wicket core contains several unit

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-07 Thread Johan Compagner
to the homepage. Thanks for your help,AndrewOn 4/6/06, Johan Compagner [EMAIL PROTECTED] wrote: this should work: VirtualHost *ServerAdmin [EMAIL PROTECTED]DocumentRoot youredocrootdirServerName www.yourevirtualhost.com ... ProxyRequests OffProxy *Order deny,allowAllow from all/ProxyProxyPass / http

Re: [Wicket-user] links problems again

2006-04-07 Thread Johan Compagner
why are you calling that on the request?you should get those in youre constructor (the PageParameters object)johanOn 4/7/06, Potje rode kool [EMAIL PROTECTED] wrote: Ok thanks Igor, got the mounting working.When I use mounting I first failed to get the parameters, I

Re: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Johan Compagner
On 4/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote: usually i call urlfor(resourcereference), get the url, append rand=+Math.random() and use an attributemodifier or oncomponenttag() to set the src attr of an img tag. Did you calculate the chance you have with Math.random() how many times it could

Re: [Wicket-user] Forward or Redirect ?

2006-04-08 Thread Johan Compagner
Yes the default is redirect on a listener interface call because by the default REDIRECT_TO_BUFFER setting.you can change this to ONE_PASS_RENDER and default will be no redirect..see:wicket.settings.IRequestCycleSettings#setRenderStrategy (wicket.settings.Settings.RenderStrategy)johanOn 4/8/06,

Re: [Wicket-user] Emulating User Input in a Form

2006-04-08 Thread Johan Compagner
you could do it with a popup and then do it complete on the client side with _javascript_.on the server side if you don't want to touch the models in any way you want to set the rawinput variable of formcomponent this is something done completely internally now don't know at the moment if we just

Re: [Wicket-user] how to create a reusable subclass of Form

2006-04-08 Thread Johan Compagner
just create the class?make sure that the markup is the same for all the pages if you don't want the form to be a panel with own markupso that all the textfields the form makes are mapped in the markup.johan On 4/8/06, Potje rode kool [EMAIL PROTECTED] wrote: Hi,I want to create an abstract

Re: [Wicket-user] Parameters in components

2006-04-08 Thread Johan Compagner
i guess.. with wicket 1.3 or 2.0 (whatever it will be..)Where the constructor change is in.You could say this:span wicket:id=x param1=ySample Text/spani guess you can then ask in the constructor the markup properties and ask for the attributes and you have youre value johanOn 4/8/06, Martijn

Re: [Wicket-user] Parameters in components

2006-04-08 Thread Johan Compagner
he and my big mouth...On 4/8/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you were supposed to keep this fact on the down low :)-Igor On 4/8/06, Johan Compagner [EMAIL PROTECTED] wrote:i guess.. with wicket 1.3 or 2.0 (whatever it will be..) Where the constructor change is in.You could say

[Wicket-user] Default application.properties added to wicket

2006-04-08 Thread Johan Compagner
hi,I have added wicket.Application.properties and wicket.Application_nl.properties, they will be loaded now as the last resort if nothing is found for the given key. All Validatior keys of wicket are in it. Also the null and nullValid keys of the SingleSelectChoice are in there. (Choose

Re: [Wicket-user] Defaultmodel

2006-04-08 Thread Johan Compagner
no need to add a RFE.components can't have a default model because components that don't have a model will try to look this up to the parent to find a CompoundPropertyModelsuch a model is then taken and shared over multiply components. So you just have to make a choice, Give it a model of youre

Re: [Wicket-user] Floating Panels - any tip

2006-04-09 Thread Johan Compagner
dragging a panel around looks to me like a complete client side thing.So you can use any _javascript_ library you find for this that does this platform independend for you,And include that in the markup.johan On 4/9/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Two questions: Presently now

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-10 Thread Johan Compagner
I also don't use WebTools (if i use it is is purely for the xml/html editors if i install it)I still think webtools is much to bloated. They should contribute there editors to the core of eclipse so that eclipse has nice editors for the basic types. Then i don't have to install webtools at

Re: [Wicket-user] using superclass converter for subclass instances

2006-04-10 Thread Johan Compagner
please add a RFE for this so that we don't forget it when refactoring the converter in 1.3/2.0johanOn 4/10/06, Jaime De La Jara [EMAIL PROTECTED] wrote:Hi, In a previous post I mentioned the problems I had converting simultaneously Date and Float from/to String, the explanation was on other

Re: [Wicket-user] View from 30,000 feet of Wicket infrastructure

2006-04-10 Thread Johan Compagner
release or b) JDK 1.6 final is released - whichever comes first. I couldn't see anything that compelling about 3.2M6, so far that would make me have to have it just yet...but I haven't looked at it that carefully. On 4/10/06, Johan Compagner [EMAIL PROTECTED] wrote: the problem with myeclipse

Re: [Wicket-user] a problem with continueToOriginalDestination

2006-04-10 Thread Johan Compagner
hmm this won't work yesBecause continueToOriginal just remebers the url and not the post data.Can you add a bug/rfe for this? Maybe we can fix this by remembering all input values.johan On 4/10/06, karthik Guru [EMAIL PROTECTED] wrote: Page1 has a Form that has a Button with

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-10 Thread Johan Compagner
this is being done in wicket-examplesI'm using 1.1.1Thanks!On 4/1/06, Johan Compagner [EMAIL PROTECTED] wrote: there is no map support for this. What you could do is give the map to the ChoiceRenderer impland give the keys of the map as a list to the Choice.johan On 3/31/06, Vincent Jenks [EMAIL

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-10 Thread Johan Compagner
into what is essentially a list of key/value pairs. Thanks again...On 4/10/06, Johan Compagner [EMAIL PROTECTED] wrote: give the choice renderen the complete hashmapAnd give the dropdown a model with the keys of that hashmap as a list.so if StringValues.getUSAStates(); are th ids in the hashmap

Re: [Wicket-user] zero session state/stateless pages

2006-04-11 Thread Johan Compagner
We did defer it as long as possible until 1 or 2 days ago and we dropped that again. Because it is almost not doable and it is currently not very easy to make a completely stateless website with wicket anyway. But that is just the default behaviour. You could if you want make youre own

Re: [Wicket-user] Re: zero session state/stateless pages

2006-04-11 Thread Johan Compagner
but it is up to wicket.We do call response.encodeUrl if we don't do that then jsessionid is not inserted into the url.But if we don't do that then sessions could be lost when a browser has cookies disabled.. johanOn 4/11/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Michael Day wrote: If not, then

Re: [Wicket-user] Re: zero session state/stateless pages

2006-04-11 Thread Johan Compagner
page called Home that contains a BookmarkablePageLink to Page2, but the URL for Page2 does not get jsessionid appended to the URL on the first hit, even with cookies disabled.Why is this? Michael Day On Apr 11, 2006, at 5:11 PM, Johan Compagner wrote: but it is up to wicket. We do call

Re: [Wicket-user] Testing attribute modifiers

2006-04-11 Thread Johan Compagner
see our unit tests.Just generate the page output in a WicketUnitTest and compare it what you expect.johanOn 4/11/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:Is there a way to test the final result of an attribute modifier?I'm using them to set the src attribute of some img tags, set parameters on

Re: [Wicket-user] Re: zero session state/stateless pages

2006-04-12 Thread Johan Compagner
defering the creation of the session and the whole google crawler thingare 2 seperate issues for me.Because a bookmarkable url could be a non stateless page anyway because of a form or link on it.And then you do have the session. And urls with jsessionid will be generated after that for every

Re: Betr.: Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18 on SuSE 9.3 FileNotFoundException Too many open files

2006-04-12 Thread Johan Compagner
. Thank you for the advice! Tom Desmet Johan Compagner [EMAIL PROTECTED] Verzonden door: [EMAIL PROTECTED] 11/04/2006 15:51 Antwoord a.u.b. aan wicket-user@lists.sourceforge.netAan wicket-user@lists.sourceforge.net CcOnderwerp Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-12 Thread Johan Compagner
(WicketServlet.java:208)at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:234) ..It's definitely the dropdown that is the culprit...when I remove itfrom the page thepage renders just fine.Any ideas?On 4/10/06, Johan Compagner [EMAIL PROTECTED] wrote: ok then youre dropdown

Re: Betr.: Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18 on SuSE 9.3 FileNotFoundException Too many open files

2006-04-12 Thread Johan Compagner
files or files withinjars? Lets say we do polling only for URL type which refer to files and files within jars and all other ones can not be checked.JuergenOn 4/12/06, Johan Compagner [EMAIL PROTECTED] wrote: it is the polling! All the url connections to the markup checking the last modified

Re: [Wicket-user] DropDownChoice and POJO

2006-04-12 Thread Johan Compagner
this is because youre property of the choice (rollid) and youre values of the choice are not of the same type.That is a requirementSo you have to give a list of id's or don't set a rollid but a roll property. johanOn 4/12/06, flemming [EMAIL PROTECTED] wrote: Hi wicketeersI have a small problem

Re: Betr.: Re: [Wicket-user] Wicket 2 (beta 3) and Resin 3.0.18 on SuSE 9.3 FileNotFoundException Too many open files

2006-04-13 Thread Johan Compagner
[EMAIL PROTECTED] wrote: Either that way or remove the code fromUrlResourceStream.lastModifiedTime/() and check well known urls (file,http) only.JuergenOn 4/13/06, Johan Compagner [EMAIL PROTECTED] wrote: we could do that i guess. Test if we can make a real file first before adding them

Re: [Wicket-user] DatePickerSettings not closing inputstream

2006-04-13 Thread Johan Compagner
fixedOn 4/13/06, Davy De Durpel [EMAIL PROTECTED] wrote: Hi,Everytime I start my Wicket application, I see a warning in the Glassfishlog file:Input stream has been finalized or forced closed without being explicitlyclosed; stream instantiation reported in following stack trace

Re: [Wicket-user] Problems with DropDownChoice in ListView

2006-04-13 Thread Johan Compagner
his is because listview will generate the list items again on the next render so you loose state.call ListView.setOptimizeRemoved(true) to keep the listview stable if you use FormComponents in it.johan On 4/13/06, MailingWicketUser [EMAIL PROTECTED] wrote: Hi, I'am using a

Re: [Wicket-user] HTTP POST from Acrobat

2006-04-13 Thread Johan Compagner
Stamm [EMAIL PROTECTED] wrote: Johan Compagner schrieb: PageParametes will contain post params..This comment by Martijn Dashorst sounds different:| A note to the article: you can't use the PageParameters for types| other than simple types such as Strings and Integers. [...] || The bookmarkable links

<    4   5   6   7   8   9   10   11   12   13   >