Re: [Wicket-user] ERROR - Internal error cloning object

2007-07-30 Thread Martijn Dashorst
Switch the second level page cache off to use the httpsession store, like it was in 1.2. The second level page cache requires the objects attached to your components to be serializable as it tries to store the pages to disk using serialization. The old pagemap store didn't require serializable, bu

[Wicket-user] Wicket SVN has moved!

2007-07-27 Thread Martijn Dashorst
Wicket's subversion repository has been moved to reflect our status as a top level project within the Apache Software Foundation. In order to keep your sources, you should do a switch of your local copy: For non-committers: svn switch --relocate http://svn.apache.org/repos/asf/wicket/trunk F

[Wicket-user] Wicket User at sourceforge is moving!

2007-07-26 Thread Martijn Dashorst
You may already have heard this, but we want to get the message out loud and clear: the sourceforge.net mailinglists for users are closing down. If you want to continue to read, write and respond to user questions concerning Wicket, you have to subscribe to the new Apache Wicket user list. Subscr

[Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-07-26 Thread Martijn Dashorst
se driven applications 15 Putting your Wicket application in production 16 Component index We hope you will enjoy this book! Eelco Hillenius Martijn Dashorst - This SF.net email is sponsored by: Splunk Inc. Still grepping through log

Re: [Wicket-user] - Wicket 1.3 release date?

2007-07-26 Thread Martijn Dashorst
We are already a month overdue, and the number of open bugs haven't been going down lately, despite some serious effort put in by several committers. I hate to say it, but I currently can't make any guarantees. As for the beta's: we have a beta 3 planned, but it still has 27 issues open. Not all

Re: [Wicket-user] The future of wicket-user@lists.sourceforge.net

2007-07-26 Thread Martijn Dashorst
Is already taken care of (see development list). Martijn On 7/26/07, Federico Fanton <[EMAIL PROTECTED]> wrote: > On Wed, 25 Jul 2007 21:05:04 +0200 > "Martijn Dashorst" <[EMAIL PROTECTED]> wrote: > > > With great pleasure I can announce that we have fi

[Wicket-user] The future of wicket-user@lists.sourceforge.net

2007-07-25 Thread Martijn Dashorst
. The Wicket team hopes to see you all at our new place! Martijn Dashorst -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2

Re: [Wicket-user] Wicket exceptions?

2007-07-25 Thread Martijn Dashorst
This is not a Wicket exception: you have made a programming error. Look at com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603) i.e. line 603 in your AppletBasePanel.java file. There is the NPE. Martijn On 7/25/07, Durai007 <[EMAIL PROTECTED]

Re: [Wicket-user] Page encoding

2007-07-23 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html On 7/23/07, wheleph <[EMAIL PROTECTED]> wrote: > > Hello everyone! > > My page markups contain cyrillic strings and the files are encoded in > cp1251. If the server's locale is set to Russian everything works fine. But > if

Re: [Wicket-user] execute long running ajax task after page is loaded

2007-07-21 Thread Martijn Dashorst
Create a processing thread, and dispatch it. Have the thread update some progress object that you can get access to, and query that progress with a label (or something more fancy like a progress bar). Something like: Link() { onclick() { create thread, start it } } add(new Label("progress",

Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
Ok, my bad: you need to provide your own type... So create a MyRequiredPasswordTextField, and override the getInputType() and have it return "password" Martijn On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote: > Martijn Dashorst wrote: > > PasswordTextField { &

Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
iddenField. * * @return The input type of this textfield, default is 'text' */ protected String getInputType() { return null; } } On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote: > Martijn Dashorst

Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote: > Martijn Dashorst wrote: > > It is configurable: don't use PasswordTextField but TextField instead. > No. If you try to use a TextField, then wicket will insist that you > convert your HTML to use instead of ty

Re: [Wicket-user] setVesible for the component after onEvent

2007-07-19 Thread Martijn Dashorst
No, because we have discussed the naming already quite a bit and the api is already widely used (not only in apps, but also in libraries). Martijn On 7/19/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 16 Jul 2007, Igor Vaynberg wrote: > > try calling setoutputmarkupplaceholdertag(true)

Re: [Wicket-user] .properties encoding

2007-07-19 Thread Martijn Dashorst
I vaguely remember something about xml properties files that do handle other encodings. Didn't we implement that? Or was it just one of those things to do in the next version? Martijn On 7/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > You can't. Java property files are always encoded in ISO-885

Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
On 7/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Didnt it have to do with persistency of fields via cookies as well? Yeah, didn't think of that too. Anything stored on the client is a risk, so having the default to be secure is a real safeguard. Martijn -- Wicket joins the Apache Softwa

Re: [Wicket-user] PasswordTextField encryption

2007-07-19 Thread Martijn Dashorst
It is configurable: don't use PasswordTextField but TextField instead. The reason behind PTF's encryption is that we want to provide a secure solution out-of-the-box. You can circumvent it, but then *you* need to open up Pandorra's box, not us. Same with escaping markup while outputting model valu

Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-18 Thread Martijn Dashorst
I wonder what happened to the wicket:preview tag... Another option is to use: etc. But basically I've become quite proficient in reading HTML and classes so I don't need the preview of the stylesheets anymore (it is not like netbeans preview renders the same as, IE6 or IE5.5, which are br

Re: [Wicket-user] WicketTester does not clean up resources very well

2007-07-16 Thread Martijn Dashorst
I thought that not all resources were cleaned up so that test cases can query the response and other things. The responsibility is on the tester to initiate a new fresh RequestCycle iiuc. That said, it may be that we don't provide enough hooks to perform the clean up. Martijn On 7/15/07, Maurice

Re: [Wicket-user] Submit method problem

2007-07-16 Thread Martijn Dashorst
It is not a general problem, at least to my knowledge. Can you state which version of Wicket you are using? And could you show the different action url's generated on both platforms? Is websphere behind a proxy? must... need... more... information... :) Martijn On 7/16/07, Goran Novak <[EMAIL P

Re: [Wicket-user] How to apply sth. like setStripWicketTags() to a single component ?

2007-07-15 Thread Martijn Dashorst
On 7/14/07, rc.china <[EMAIL PROTECTED]> wrote: > One of my componets is based on ListView and when it renders, the html page > contains too many s, and I want to remove > them to reduce the size of html page. But why not strip all of them? Martijn -- Wicket joins the Apache Software Foundat

Re: [Wicket-user] Wicket 1.3.0-beta2 & OutOfMemoryError

2007-07-13 Thread Martijn Dashorst
On 7/13/07, severian <[EMAIL PROTECTED]> wrote: > I was scared you were gonna say that :-) Not very hard to do if you use YourKit (I also hear great stories about another profiler made by SAP > At the risk of being annoying - can you point me in the right direction? YourKit is what we use and is

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Martijn Dashorst
According to the source code it supports the hibernate validators. What you put in, it validates. http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/main/java/org/wicketstuff/hibernate/validator/HibernateFormComponentValidator.java Haven't tried it, but d

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Martijn Dashorst
On 7/11/07, Chris Colman <[EMAIL PROTECTED]> wrote: > Does this mean that I can't use the same component value more than once > within a single page/component? Yes, or you need to resort to RepeatingView, ListView and its descendants. > Is there a way to turn off reporting of this as an error? Is

Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-11 Thread Martijn Dashorst
On 7/11/07, Ali Sakebi <[EMAIL PROTECTED]> wrote: > Thanks for all responses and sorry if my question was irrelevant or wrong. Not wrong nor irrelevant, but we do get a lot of questions that are easily answered by searching the mailinglists, or just clicking on our site. There is a lot of bad thi

Re: [Wicket-user] Page getting redirected when accessing from mail reply

2007-07-10 Thread Martijn Dashorst
On 7/11/07, David Leangen <[EMAIL PROTECTED]> wrote: > > Excellent! Thank you, this did indeed solve the problem and seems like a > reasonable temporary workaround. > > I really must try to fix my setup so I can step through the wicket code > during debugging... :-( mvn eclipse:eclipse -DdownloadS

Re: [Wicket-user] Are Wicket HTML Pages OO?

2007-07-10 Thread Martijn Dashorst
Clicking on the examples of Wicket quickly uncovers: Markup Inheritance [1]. Martijn [1] http://incubator.apache.org/wicket/examplemarkupinheritance.html On 7/11/07, Ali Sakebi <[EMAIL PROTECTED]> wrote: > Hi > > I have heard a lot about but new to Wicket. > > My question is not about objects li

Re: [Wicket-user] Optional bindings controlled by the markup

2007-07-10 Thread Martijn Dashorst
Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting. Martijn On 7/10/07, Chris Colman <[EMAIL PROTECTED]> wrote: > I can understand that an error needs to be raised when some ma

Re: [Wicket-user] Detaching your spring dao's & business objects from webpage

2007-07-09 Thread Martijn Dashorst
On 7/9/07, Tom Desmet <[EMAIL PROTECTED]> wrote: > I used the @SpringBean annotation in combination with the transient keyword. > I thought that all @SpringBean marked objects would get serialized when the > field was not made transient. The @SpringBean will replace the service with a proxy that k

Re: [Wicket-user] Detaching your spring dao's & business objects from webpage

2007-07-09 Thread Martijn Dashorst
It works and I don't see any inherent dangers, but is there any reason why you can't use the @SpringBean annotation, which makes the spring reference a proxy rather than a transient field? It is quite easy to forget to add 'transient' to the field :) Martijn On 7/9/07, Tom Desmet <[EMAIL PROTECTE

Re: [Wicket-user] NumberValidator allowing null fields ?

2007-07-08 Thread Martijn Dashorst
On 7/8/07, Thies Edeling <[EMAIL PROTECTED]> wrote: > Why does setType set the required flag for primitives? How can a primitive type ever be null? If you want to allow null values, then the type needs to be Double, Float, Integer, Long, ... If null is allowed, and an empty value was accepted, W

Re: [Wicket-user] access to private fields

2007-07-06 Thread Martijn Dashorst
On 7/7/07, Kent Tong <[EMAIL PROTECTED]> wrote: > If we accept that 1) is a good reason for allowing private field access, > then according to the same reasoning, we should always make our fields > public and thus eliminate the need for getters and setters. As we are > not going that, so I believe

Re: [Wicket-user] Strange content serialized

2007-07-05 Thread Martijn Dashorst
If you run in DEVELOPMENT mode, we try to give you meaningful messages when you fail to put a component definition in your html file. This is done by creating a stack trace at the moment of component creation and addition. This gives you line precise error messages in this case: java: public MyPa

Re: [Wicket-user] Wicket mailing list rules with regards to jobs

2007-07-03 Thread Martijn Dashorst
On 7/3/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi Matt, as far as I know there are no strict rules. > > Basically, if the position involves Wicket, nobody objects against such posts. Specifically targets Wicket developers to be more exact. No general catch all 'Wicket, Tapestry, JSF, Struts,

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-07-03 Thread Martijn Dashorst
I wonder how much spam this will attract :) Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ ---

Re: [Wicket-user] modal window image resources

2007-07-02 Thread Martijn Dashorst
Use the search! http://www.nabble.com/forum/Search.jtp?query=how+to+customize+modalwindow+images+css&local=y&forum=13974 Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-be

[Wicket-user] [ann] Apache Wicket 1.3.0-beta2 has been released

2007-06-30 Thread Martijn Dashorst
re about SLF4J here: http://slf4j.org - Validating the release - The release has been signed by Martijn Dashorst, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dis

Re: [Wicket-user] replaceWith() not working

2007-06-29 Thread Martijn Dashorst
Try a reuse items strategy to see if that works? Martijn On 6/29/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > A thought occurred to me. I'm doing this panel replacement inside a > DataTable. So when the DT rerenders could it be overwriting the change I > just made? Because this panel replaceme

Re: [Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Martijn Dashorst
How would the Link know to which page it is linking? You need to provide protected boolean linksTo(final Page page) See the code for Link#isEnabled(): /** * @see wicket.Component#isEnabled() */ public boolean isEnabled() { // If we're aut

Re: [Wicket-user] RefreshingView and Link.setAutoEnable

2007-06-29 Thread Martijn Dashorst
On 6/29/07, Vadim Tesis <[EMAIL PROTECTED]> wrote: > i see. i guess i assumed that the Link knows about the page it's linking > from setResponsePage() in onClick(). Heh, you have too much awe for Wicket: that would require either running the onClick upfront (the isenabled check also determines ho

Re: [Wicket-user] Paging data without using DataProvider.size() ?

2007-06-29 Thread Martijn Dashorst
The most interesting questions is of course: what database? Perhaps someone here knows how to get the count(*) faster? you might want to do a select count(primary_key) instead of *. As an answer to your question: you could use Integer.MAX_VALUE. Martijn -- Wicket joins the Apache Software Found

Re: [Wicket-user] pagemap locking

2007-06-29 Thread Martijn Dashorst
We could try retrotranslator to see what kind of code is emitted? Martijn On 6/29/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > Yeah i think that code i also did see, this should go into the next version > yes. > But i dont see how we can do that easy for java 4 > > johan > > > On 6/28/07, Jon

Re: [Wicket-user] Classcastexception and getSession

2007-06-28 Thread Martijn Dashorst
Heh... nice discovered one! This one goes into the books of nasty things not to do. Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframe

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Martijn Dashorst
Yep, long running request blocks incoming request. Martijn On 6/28/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > > getting this exception. seems like a request thread might be hanging with > the page map locked? anyone have any ideas? thanks! > > [11:19:44] ERROR - RequestCycle

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
07, Pieter Cogghe <[EMAIL PROTECTED]> wrote: > Thanks, that works. I really didn't know what I did wrong, nut I understand > the reasoning behind it. > > 2007/6/28, Martijn Dashorst <[EMAIL PROTECTED] >: > > > > On 6/28/07, Martijn Dashorst < [EMAIL

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > new PropertyModel(model, "foo") erhm... not quite there yet... You should also notify the property model in the setModel of your panel. In this case you have a push type of model binding. It usually is a better model t

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Pieter Cogghe <[EMAIL PROTECTED]> wrote: > public class SectionPanel extends Panel { > public SectionPanel(String id, IModel model) throws ApplicationException > { > super(id,model); > //title > this.title = new Label("title", new PropertyModel(model.getO

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
It seems that the error is in the Panel. Can you post that code too? Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org --

Re: [Wicket-user] Odd Refresh Page Behavior

2007-06-27 Thread Martijn Dashorst
On 6/27/07, mchack <[EMAIL PROTECTED]> wrote: > Forgot to mention I am using Version 1.3. How recent? Are you working of off head? or an older snapshot? or even beta1? Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket

Re: [Wicket-user] Wicket 1.3 roadmap

2007-06-27 Thread Martijn Dashorst
Working on the release beta 2 as we speak. Martijn On 6/27/07, ZedroS <[EMAIL PROTECTED]> wrote: > > Hi all > > Is it possible to have some update on this topic ? Especially the release > date which should be imminent :) > > Thanks in advance > ZedroS > -- > View this message in context: > http

Re: [Wicket-user] Markup of type 'html' for component

2007-06-27 Thread Martijn Dashorst
On 6/27/07, Watter <[EMAIL PROTECTED]> wrote: > which seems to talks about the same issue. I apologize for the duplicate. In the future, please provide at least the Wicket version you are working with, and any changes you made to the defaults (directories where html files are stored, etc) Martijn

Re: [Wicket-user] javascript error 'too much recursion 'ifcalendar.js is included more than once

2007-06-26 Thread Martijn Dashorst
I remember many quarrels about maintaining binary compatibility... Are you saying those were for nothing? /me crawls back in cave Martijn On 6/27/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > I believe even i 1.2.6 isn't binary compatible (there might be some > very small minor changes that slipp

Re: [Wicket-user] Wicket Helloworld using Tomcat

2007-06-26 Thread Martijn Dashorst
The example states: "In all the Wicket examples, you have to put all files in the same package directory. This means putting the markup files and the java files next to one another." Watch this video to see what we mean: http://wicketframework.org/wicket-quickstart/demos/EclipseDemo.html Martij

Re: [Wicket-user] javascript error 'too much recursion 'ifcalendar.js is included more than once

2007-06-26 Thread Martijn Dashorst
What are you talking about? 1.2.6 is binary compatible with 1.2.2, or at least that should be the case. If it is not, then that is a bug. Martijn On 6/26/07, Nili Adoram <[EMAIL PROTECTED]> wrote: > even upgrade to 1.2.6 is involved with lots of adoptions. > the question is whether it will solve

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-26 Thread Martijn Dashorst
On 6/26/07, Seldon, Richard <[EMAIL PROTECTED]> wrote: > Martijn - Thanks for your helpful email. The links to the issues list did > the trick regarding issues tracking. No problem, just trying to help out. > Server that would permit usage of Java 1.5. Depending upon IBM and its plans > for futu

Re: [Wicket-user] newbie-Question

2007-06-26 Thread Martijn Dashorst
Don't use page link! Use PageLink only if you actually know what you are doing. In this case: you should use the normal Link and set the responsepage in the onclick. Page1 { ... counter ... add(new Link("page2") { onclick() { setResponsePage(new Page2(Page1.this)); }); ... } Page2

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issues

2007-06-25 Thread Martijn Dashorst
On 6/25/07, Seldon, Richard <[EMAIL PROTECTED]> wrote: > Really keen to know best place to get a list of outstanding defects between > releases wicket 1.2.4 and 1.2.6 is located? Are there release notes / URL > links etc with this info easily available? Apache issues list starts with > version 1.2

Re: [Wicket-user] [Wicket-User] Spring+Hibernate questions

2007-06-24 Thread Martijn Dashorst
And if you have about 100 DAO's, then your application class will get bloated. Martijn -- BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wic

Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Martijn Dashorst
On 6/22/07, Ballist1c <[EMAIL PROTECTED]> wrote: > cool your jets mate... your never going to get rid of stupidity... lol :) Martijn -- BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a ver

Re: [Wicket-user] About multiple in markup inheritance

2007-06-21 Thread Martijn Dashorst
On 6/21/07, ccc rrr <[EMAIL PROTECTED]> wrote: > If not , what we can do to achieve the purpose ? Search the archives: http://www.nabble.com/forum/Search.jtp?query=wicket+child&local=y&forum=13974&daterange=0&startdate=&enddate= Martijn -- BREAKING NEWS: Wicket joins the Apache Software Founda

Re: [Wicket-user] wicket -compenent

2007-06-21 Thread Martijn Dashorst
Buy Pro Wicket please, read the wiki, and most importantly read http://www.catb.org/~esr/faqs/smart-questions.html As for the catalogue, how difficult is it to click on the link with the name "components" on our website? http://wicketstuff.org/wicket13/compref/ Martijn On 6/21/07, tnjtn1 <[EMA

Re: [Wicket-user] RadioGroup and AjaxFormComponentUpdatingBehavior

2007-06-21 Thread Martijn Dashorst
> > Martijn, > > Was this ever fixed for 1.2.x? The link below gives the error "Only Group > Members Can View Private ArtifactTypes". > > Thanks, > Julian > > Martijn Dashorst wrote: > > > > I already created a bug report: > > http://sourcefor

Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread Martijn Dashorst
On 6/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > if you dont want to see the div and using wicket 1.3 you can use > wicket:container instead of div, eg, wicket:id="placeholder"> Or setRenderBodyOnly(true); Martijn -- Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 co

[Wicket-user] [announce] Apache Wicket

2007-06-20 Thread Martijn Dashorst
zalcoatl: this springs mod_python and related bits out of the HTTPD project into its own TLP. Gregory Trubetskoy is its Chair. * Apache Wicket: this is a light webapp framework for Java, graduating from the Incubator into its own TLP. Martijn Dashorst is the new

Re: [Wicket-user] Wicket MADE the grade

2007-06-20 Thread Martijn Dashorst
Congratulations! And beta 2 is coming possibly next weekend. Otherwise, just use the snapshots. Martijn On 6/20/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: > Hi guys, from a discarded framework to the choice in hand. Wicket was chosen > by my company to start a migration pro

Re: [Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread Martijn Dashorst
On 6/20/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > As you're on Wicket 1.2.6, use the portlet support that comes with > that. +1 > For 1.3 and onwards, you should be able to run any Wicket > applications/ pages just as a portlets without further fuzzing around. > At least, that's what Ate ha

Re: [Wicket-user] Wicket Portlet Support? Examples and Documentation?

2007-06-20 Thread Martijn Dashorst
http://www.nabble.com/forum/Search.jtp?forum=13974&local=y&query=portlet+support On 6/20/07, manuel barzi <[EMAIL PROTECTED]> wrote: > Dear Sirs, > > When we started using Wicket in our project one of the major > motivation was its support for Portlet implementation. > > This week, we have migrate

Re: [Wicket-user] Textfield inside RadioChoice

2007-06-20 Thread Martijn Dashorst
I just looked up the spec, and the span tag is really allowed to contain other elements, specifically formcontrols: http://www.w3.org/TR/html401/sgml/dtd.html#inline The span definition is a couple of lines below the provided anchor. Martijn On 6/20/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote

Re: [Wicket-user] noob question about wicket

2007-06-17 Thread Martijn Dashorst
If you look at the settings for the eclipse project in our parent pom.xml you will see a setting that is responsible for downloading the sources: org.apache.maven.plugins maven-eclipse-plugin 2.3 true Martijn On 6/18/07, Eelco Hillenius

Re: [Wicket-user] No parent in Panel ?

2007-06-17 Thread Martijn Dashorst
If you look closely (or using a debugger) you can see that when you do: page.add(new MyPanel(...)); First the constructor is called, and only then the add method. At construction time the parent is not known yet. The example can be rewritten to make this more clear like: Panel p = new MyPanel(..

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
On 6/15/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > ive added the label component to this page: > http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution > > but it does not show up on the wiki page list.. what am I doing wrong? Nothing, probably some

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
I have also updated the wiki page with an explanation how to add your page to the mix: http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Martijn On 6/15/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > The page is generated automatically. All you have to do is label your

Re: [Wicket-user] wicketstuff confluence and jira

2007-06-15 Thread Martijn Dashorst
The page is generated automatically. All you have to do is label your page as 'component': Martijn On 6/15/07, Martin Funk <[EMAIL PROTECTED]> wrote: > Any Administrator of wicketstuff confluence and jira around? > > How do I create a link to > http://wicketstuff.org/confluence/display/STUFFWIKI/

Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-15 Thread Martijn Dashorst
I am interested, but geographically challenged. However, there are some online tools available to help us plan these events: - http://www.meetup.com I'm eyeing google calendar, but that is not well suited for a group calendar that is geographically all over the world. - http://www.google.com/

Re: [Wicket-user] Adding text to labels prior to rendering

2007-06-14 Thread Martijn Dashorst
Don't put a space between the closing tag and the % sign: [1231312]% Notice the lack of space. Another option is to use a   if you want whitespace. Martijn On 6/15/07, Ballist1c <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I am in a situation where I have created labels with data extracted from

Re: [Wicket-user] label - default model when given model is emty

2007-06-14 Thread Martijn Dashorst
if (this.getModelObject() == null){ > this.setModel(defaultModel); > } > } > > } > > 2007/6/14, Martijn Dashorst <[EMAIL PROTECTED]>: > > Make it a proper class: > > > > public class LabelWithDefaultText extends Label { >

Re: [Wicket-user] label - default model when given model is emty

2007-06-14 Thread Martijn Dashorst
Make it a proper class: public class LabelWithDefaultText extends Label { private String defaultText; public LabelWithDefaultText(String id, IModel model, String defaultText ) { super(id, model); this.defaultText = defaultText; }

Re: [Wicket-user] javascript internal scrollbar ?

2007-06-13 Thread Martijn Dashorst
On 6/13/07, verbal evasion <[EMAIL PROTECTED]> wrote: > i noticed there were a bunch of ajax classes in wicket that generates > javascript for you. very cool. is there a wicket extension or something that > will allow me to create an internal scrollbar from java, without having to > handwrite javas

Re: [Wicket-user] Wiki reference page on custom converter is outdated

2007-06-10 Thread Martijn Dashorst
Thanks Martijn On 6/11/07, oliver.henlich <[EMAIL PROTECTED]> wrote: > > Just updated the wiki for 1.3 converters anyway > http://cwiki.apache.org/confluence/display/WICKET/Using+custom+converters > > > -- > View this message in context: > http://www.nabble.com/Wiki-reference-page-on-custom-conv

Re: [Wicket-user] page map size

2007-06-08 Thread Martijn Dashorst
Depends on your page, number of components, deployment mode, wicket version, how you bind the models to your components. Do you use the second level cache for storing your pages for back button support? Martijn On 6/8/07, Scott Swank <[EMAIL PROTECTED]> wrote: > Are these typical sizes for page

Re: [Wicket-user] Form redirect issue

2007-06-07 Thread Martijn Dashorst
On 6/7/07, hillj2 <[EMAIL PROTECTED]> wrote: > Well after playing around with setContextPath() a bit, we've decided to try > and get 1.3 working. It would be nice if it had an official release, but > for now we only have one form done in wicket, so that shouldn't be too much > of a problem. By th

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

2007-06-07 Thread Martijn Dashorst
On 6/7/07, Upayavira <[EMAIL PROTECTED]> wrote: > I've often heard it said that us human beings are strange - we often > prefer the familiar to the pleasant. And it is confirmed in this article [1]: Explaining Cognitive Lock-In: The Role of Skill-Based Habits of Use in Consumer Choice KYLE B. MU

Re: [Wicket-user] Getting a mount path for a component?

2007-06-05 Thread Martijn Dashorst
http://wicket.sourceforge.net/apidocs/wicket/Component.html#urlFor(java.lang.Class,%20wicket.PageParameters) ? Martijn On 6/5/07, cram <[EMAIL PROTECTED]> wrote: > > I've got a mounted component (Page) that I'd like to get the path for. > > Ie, my class ErrorPage is mounted at /error > > forUrl(

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Martijn Dashorst
Are there any validation errors? Martijn On 6/5/07, Harald Gruber <[EMAIL PROTECTED]> wrote: > > hi, > > i traced a bit by adding > > protected void onComponentTag(final ComponentTag tag) { > System.out.println("ADRESSPANEL " + getModel()); > > this.visitCh

Re: [Wicket-user] extension.Palette class

2007-06-04 Thread Martijn Dashorst
Just did that with FF 2.0.0.4 / OS X, and I don't see the XX appear. Do you have some firefox extension installed? Martijn On 6/1/07, Ken Leung <[EMAIL PROTECTED]> wrote: > No, other controls work ok. Actually what I have found is that firefox does > this, IE7 doesnt. > > I am using firfox 2.0.0

Re: [Wicket-user] Is there a way to redirect to a page from inside a resource?

2007-06-02 Thread Martijn Dashorst
RequestCycle.get().setRequestTarget(new FooRequestTarget(...)); or throw new RestartResponseException(...); Martijn On 6/1/07, cram <[EMAIL PROTECTED]> wrote: > > I'd like to be able to redirect from inside of a (File)ResourceStream to a > specific url or page instead of throwing an exception un

Re: [Wicket-user] extension.Palette class

2007-06-01 Thread Martijn Dashorst
I don't see it here: http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage How do you populate your lists? Martijn On 6/1/07, Ken Leung <[EMAIL PROTECTED]> wrote: > Does anyone know why there is a "XX" displayed initially in the "sele

Re: [Wicket-user] How to "Enable debug messages for wicket.util.resource"

2007-06-01 Thread Martijn Dashorst
Answers: * No * just don't use in the subclass markup * add wicket.util.resource and the desired logging level in the log4j configuration of jboss (read jboss documentation and log4j documentation). Note that if you are using 1.3, the package name has been altered to org.apache.wicket.util.resourc

Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Martijn Dashorst
It is discussed in this thread on @dev. [1] You could join and ask for the change... It is not too big a change, but Igor mentioned some problems. Martijn [1] http://www.nabble.com/-proposal--Make-columns-of-repeaters-List%3CIColumn%3E-instead-of-IColumn---tf3785568.html#a10705320 On 5/31/07,

Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html Same applies for Loop On 5/31/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > forgot to mention that its wicket 1.2.6.. > > Nino Saturnino Martinez Vazquez Wael wrote: > > I doesnt seem that loop works wi

Re: [Wicket-user] Swarm - [was Wicket & Acegi ?]

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > what i was thinking about was - instead of using acegi as a filter and use it > on > urls - integrate it in the wicket-app and act on top of the components. this > sounds like the wasp/swarm-concepts, only that acegi is the base. > > what i rea

Re: [Wicket-user] Wicket & Acegi ?

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Maurice Marrink <[EMAIL PROTECTED]> wrote: > Swarm only requires the following jars besides wicket: Wasp, > commons-logging and Log4j. You did notice that Wicket now uses slf4j instead of clogging? Martijn -- Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 conta

Re: [Wicket-user] Reusable ListToList component

2007-05-29 Thread Martijn Dashorst
See the Palette (http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage) Martijn On 5/29/07, Alex Bosy <[EMAIL PROTECTED]> wrote: > Hi All, > > I am wondering if there is something like a ListToList component already > available in some

Re: [Wicket-user] PasswordTextField reset bug

2007-05-28 Thread Martijn Dashorst
It was already reported so you don't have to do that again. Thanks for the suggestion! https://issues.apache.org/jira/browse/WICKET-447 Martijn On 5/29/07, Ingram Chen <[EMAIL PROTECTED]> wrote: All, In wicket 1.2.6, I try to do passwordTextField.setResetPassword(false). But I found that p

Re: [Wicket-user] Bookmarkable pages and transparent login

2007-05-28 Thread Martijn Dashorst
The typical Wicket Way (tm) of doing this is using the RestartResponseAtInterceptPageException [1] The wicket-auth-roles project and the new wicket-security projects hosted at WicketStuff also use it to guard authorized pages. Using a framework as Acegi limits you to URL based authorization/auth

Re: [Wicket-user] Request attributes

2007-05-28 Thread Martijn Dashorst
If you can use PageParameters it would be neat (provide your Page's constructor with it). Otherwise, you'll have to use Eelco's method and query the request attributes. Martijn On 5/28/07, Matthieu Casanova <[EMAIL PROTECTED]> wrote: > Hi, no, I'm not integrating with another technology. My probl

Re: [Wicket-user] Best way to create large groups of similar tags

2007-05-28 Thread Martijn Dashorst
How do you determine if a feature is available or not? How do you know which feature you are currently processing? Are the features coming from a database/cms backend? If so, then why isn't the description available? Is that something you plan on adding in the future? Why does the page need to be

Re: [Wicket-user] integrating wicket and cocoon

2007-05-28 Thread Martijn Dashorst
Fortunately, there are a couple of cocoon members hiding here (Sylvain, Jean-Baptiste, Upayavira) so there is a faint possibility that this can be addressed. In the mean time, I think you could override getLocale in your custom session, at least that was possible. Martijn On 5/28/07, Erik van Oo

Re: [Wicket-user] Creating link with a label

2007-05-25 Thread Martijn Dashorst
Look at the list of problems I have with a solution like this. I don't want this in core, or extensions. At best in wicketstuff-minis I'd prefer having an example on the site showing this as how to build custom components yourself, instead of adding it to core. Instead of giving someone a fish, t

Re: [Wicket-user] Creating link with a label

2007-05-24 Thread Martijn Dashorst
There are several reasons: * That would make the link too limited. It is a WebMarkupContainer, meaning you can put an image, label, panel, table, div, fragment, border, etc inside the link. * The previewability would suffer and it add too much magic: what would you do with text already inside the

  1   2   3   4   5   6   7   8   9   10   >