[Wicket-user] ModalWindow + AjaxFallbackLink + IE

2007-04-26 Thread Nick Johnson
I opened https://issues.apache.org/jira/browse/WICKET-506 on this, but I'm curious to see if it's just me or if others have had similar problems, and if so, if there is a known workaround. Basically when using an AjaxFallbackLink to launch a ModalWindow, IE 6 and 7 both fail to launch the

[Wicket-user] Internal Error but no error log?

2007-04-26 Thread Nick Johnson
One other thing from today :) A few of my users have reported, and I've experienced once myself, getting an Internal Error page while navigating the new site, but I don't get anything in my containers stdout or stderr log files. Is there something I need to do to configure the logging level

Re: [Wicket-user] Updating items of a Set...

2007-04-26 Thread ZedroS Schwart
Hi Eelco Thanks for the help. I've a question however : currently, I put an object containing the Set as a final attribute of my Panel class, in order to be able to increase/decrease its values depending of the action in the AjaxLink onClick. However, having read about memory/session size, I

[Wicket-user] RadioGroup Broken(1.2.5+?/when using wantOnSelectionChangedNotifications)?

2007-04-26 Thread Nino Wael
Hi Something's not right with RadioGroup when using wantOnSelectionChangedNotifications or I am doing something wrong. When the same Radio are selected for the 2nd time, the radio becomes unselected and cannot be selected again until another radio has been selected. However the

Re: [Wicket-user] Problem with TinyMCE on a panel

2007-04-26 Thread Iulian Costan
On 4/25/07, Igor Vaynberg [EMAIL PROTECTED] wrote: the behavior works, i like it a lot better then a panel. to me: TextField tf=new TextField(..); tf.add(new TinyMceEnabler().setAllowLinking(false)); yes, it looks better this way, less boiler plate code. seems a lot more natural then

Re: [Wicket-user] Internal Error but no error log?

2007-04-26 Thread Martijn Dashorst
On 4/26/07, Nick Johnson [EMAIL PROTECTED] wrote: One other thing from today :) A few of my users have reported, and I've experienced once myself, getting an Internal Error page while navigating the new site, but I don't get anything in my containers stdout or stderr log files. Is there

Re: [Wicket-user] Internal Error but no error log?

2007-04-26 Thread Justin Morgan (Logic Sector)
Here is another example log4j properties file (log4j.properties). Maybe it will help you. It logs everything into a file called tomcat.log in Tomcat's logs directory. At runtime, log4j will create tomcat.log if it doesn't exist. It logs Wicket code at an INFO level and logs code from

Re: [Wicket-user] Internal Error but no error log?

2007-04-26 Thread Justin Morgan (Logic Sector)
Er, that should be as follows (logging Wicket at INFO level). Sorry, I need to proof-read better next time... :) # # Application log level options # log4j.logger.org.apache.wicket=INFO log4j.logger.org.springframework=INFO log4j.logger.com.example=DEBUG On Apr 26, 2007, at 1:47 AM, Justin

[Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Akshat
package com.xyz.xyzcom.wicket.pages.sections; import com.xyz.xyzcom.wicket.pages.DefaultxyzPage; public class DefaultHomePage extends DefaultxyzPage { public static final String HOME = home; public String getSection() { return HOME; } public String

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Johan Compagner
since when does a logger have state? I am very interrested to know what it is that a logger isn't thread safe. You configure it through the constructor (so i guess assign final fields) you don't set any variables after that on it. And you call only info/error with 1 or to params that it needs

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Johan Compagner
But if static logs are really a problem: http://wiki.apache.org/jakarta-commons/Logging/StaticLog if would do this: private void doSomething() { /// foo LogFactory.getLog(Xxx.class).debug(blaat) // bar } or private void doSomething() { /// foo getLog().debug(blaat); // bar }

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Xavier Hanin
On 4/25/07, Xavier Hanin [EMAIL PROTECTED] wrote: On 4/25/07, Igor Vaynberg [EMAIL PROTECTED] wrote: what do you mean by once authenticated what does your loginpage code look like, eg how do you navigate back? My login page is really very simple, it doesn't do much except include a

[Wicket-user] Why checkbox doesnt update property model when roundtrip??

2007-04-26 Thread kubino
Hi , I am wondering why the checkbox property model is not updated when the method wantOnSelectionChangedNotifications is overriden and returns true. When i call form submit, property is set ok. DropDownChoice updates the model well on roudtrip , so I am surprise that checkbox not. I had to

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOnSelectionChangedNotifications)?

2007-04-26 Thread Nino Wael
bump anyone for answer? Fra: [EMAIL PROTECTED] på vegne af Nino Wael Sendt: to 26-04-2007 09:25 Til: wicket-user@lists.sourceforge.net Emne: [Wicket-user] RadioGroup Broken(1.2.5+?/when usingwantOnSelectionChangedNotifications)? Hi Something's not right with

Re: [Wicket-user] Internal Error but no error log?

2007-04-26 Thread Nick Johnson
Yep, that was it. Here's the very primitive log4j.properties I'm including now (src/main/resources for Maven 2), just in case this thread ever turns up in a Google search or it helps somebody else: log4j.rootLogger=WARN, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender

Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Igor Vaynberg
myapplication app=nnew myapplication(); wickettester tester=new wicketteseter(app); -igor On 4/26/07, Akshat [EMAIL PROTECTED] wrote: package com.xyz.xyzcom.wicket.pages.sections; import com.xyz.xyzcom.wicket.pages.DefaultxyzPage; public class DefaultHomePage extends DefaultxyzPage {

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Igor Vaynberg
hrm. it does seem rather strange. we have a similar authenetication stuff going on in a few projects and it works. but i wonder is the page being intercepted a stateless page? is the login page a stateless page? -igor On 4/26/07, Xavier Hanin [EMAIL PROTECTED] wrote: On 4/25/07, Xavier

Re: [Wicket-user] Why checkbox doesnt update property model when roundtrip??

2007-04-26 Thread Igor Vaynberg
open a bug please -igor On 4/26/07, kubino [EMAIL PROTECTED] wrote: Hi , I am wondering why the checkbox property model is not updated when the method wantOnSelectionChangedNotifications is overriden and returns true. When i call form submit, property is set ok. DropDownChoice updates the

Re: [Wicket-user] ModalWindow + AjaxFallbackLink + IE

2007-04-26 Thread Nick Johnson
This is going to paste in an ugly way I'm sure, but I'll try to tidy up the spacing just a bit. span id=fragment_forum_tree_entry_1_fragment_nav_replyOrNot a href=/tally-ho/article?wicket:interface=:5:12::#fragment_forum_tree_entry_1_fragment_nav_replyOrNot onclick=var

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Xavier Hanin
On 4/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: hrm. it does seem rather strange. we have a similar authenetication stuff going on in a few projects and it works. but i wonder is the page being intercepted a stateless page? is the login page a stateless page? I don't think so, because I

Re: [Wicket-user] Internal Error but no error log?

2007-04-26 Thread Igor Vaynberg
you could just make sure that your deployed app has no bugs, that way there is no need to bother setting up all this logging mambojumbo -igor On 4/26/07, Nick Johnson [EMAIL PROTECTED] wrote: Yep, that was it. Here's the very primitive log4j.properties I'm including now (src/main/resources

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Xavier Hanin
I'm sorry, I've just noticed that I have an exception[1] before getting the Page Expired message. The exception occurs during deserialization of the page from which I come, and is related to a field injected with via Spring using the wicket-spring-annot. Then this exception is catched and simply

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Igor Vaynberg
ah well that explains it :) 1.3 is using our experimental serialization code to save the state which results in a much smaller size then the default serialization. currently it doesnt handle all cases, such as serializing proxies. that is why there are instructions in that error message that

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
Not a single line of code has been changed between the two versions. The version with Wicket 1.2.5 jars displays property web pages using css files in the css subdirectory of the web application root directory, and the version with Wicket 1.2.6 jars cannot find the css files that are in the same

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
maybe it is because wicket now always adds a / to the end of the servlet mapping. this was inconsistent in the past, sometimes urls were /context/mapping?wicket:id... and sometimes they were /context/mapping/?wicket:id=... the problem was that /context/mapping?wicket:id urls did not always get

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Xavier Hanin
On 4/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: ah well that explains it :) 1.3 is using our experimental serialization code to save the state which results in a much smaller size then the default serialization. currently it doesnt handle all cases, such as serializing proxies. that is why

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
servlet-mapping servlet-namedmWicketApplication/servlet-name url-pattern/app/*/url-pattern /servlet-mapping -- View this message in context: http://www.nabble.com/from-1.2.5-to-1.2.6-tf3647980.html#a10203607 Sent from the Wicket - User mailing list

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
Yes, it seems that this is the problem: http://localhost:8081/dmWicket/app?wicket:bookmarkablePage=:course.wicket.app.AboutPage But I do not know how to correct it since my servlet mapping is: url-pattern/app/*/url-pattern igor.vaynberg wrote: maybe it is because wicket now always adds a

Re: [Wicket-user] Authentication and page expired

2007-04-26 Thread Igor Vaynberg
well, at first i didnt want to believe we had a printstacktrace() somewhere. but yeah i found it. i changed it to throw an rte, hopefully there was a very good reason for swallowing it like that and someone will revert my change with an explanation. -igor On 4/26/07, Xavier Hanin [EMAIL

Re: [Wicket-user] ModalWindow + AjaxFallbackLink + IE

2007-04-26 Thread Nick Johnson
Many thanks to Igor and Matej, the problem was found this morning. It turns out that while Firefox and Opera let you get away with it, MSIE will not allow you to use span as the placeholder for a ModalWindow. It has to be div. Also found an obscure bug in IE after that one got fixed. The

Re: [Wicket-user] Updating items of a Set...

2007-04-26 Thread Eelco Hillenius
Hi Eelco Thanks for the help. I've a question however : currently, I put an object containing the Set as a final attribute of my Panel class, in order to be able to increase/decrease its values depending of the action in the AjaxLink onClick. However, having read about memory/session

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Eelco Hillenius
Yes, that was my point earlier. Or make it a transient with lazy creation as that would be more efficient. Eelco On 4/26/07, Johan Compagner [EMAIL PROTECTED] wrote: But if static logs are really a problem: http://wiki.apache.org/jakarta-commons/Logging/StaticLog if would do this: private

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
is that the 1.2.6 or the 1.2.5 url? -igor On 4/26/07, dzenanr [EMAIL PROTECTED] wrote: Yes, it seems that this is the problem: http://localhost:8081/dmWicket/app?wicket:bookmarkablePage=:course.wicket.app.AboutPage But I do not know how to correct it since my servlet mapping is:

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
Sorry, It is the 1.2.6 url and the url is: http://localhost:8081/dmWicket/app/?wicket:bookmarkablePage=:course.wicket.app.AboutPage When the page is displayed there is no CSS formatting for the page. In the log there is a warning message: the resource requested by request [method = GET,

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
try changing this: link rel=stylesheet type=text/css media=screen href=css/box.css / to link rel=stylesheet type=text/css media=screen href=../css/box.css / notice the ../ in href. that should fix that. also note that this isnt the greatest way to include css because it will break if you use

[Wicket-user] setting an attribute on the HttpSession.

2007-04-26 Thread Thomas R. Corbin
I need to work with a servlet from another group and they need to see the user as an attribute on the HttpSession.It seems as though setAttribute on my wicket.Session doesn't actually set it on the HttpSession. Is that correct? I've found that the following works, but it just doesn't seem

[Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread ChuckDeal
On my page, I use a DataTable with custom IColumn implementtions that use fragments to make the cells editable. If I change that values in the cells and click submit (which just submits the Form object) then it preoperly persists my data and refreshes with the correct data when there are no

Re: [Wicket-user] setting an attribute on the HttpSession.

2007-04-26 Thread Eelco Hillenius
I need to work with a servlet from another group and they need to see the user as an attribute on the HttpSession.It seems as though setAttribute on my wicket.Session doesn't actually set it on the HttpSession. Is that correct? Typicaly it does, but it depends on your configuration.

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
To be more precise: It works in the home page when it is link rel=stylesheet type=text/css media=screen href=css/app.css / It does not work in the home page when it is link rel=stylesheet type=text/css media=screen href=../css/app.css / It works in the about page (link from the home page)

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread Igor Vaynberg
your model reuse strategy must not be working correctly. the input values are lost because they bound to the component, and if that component is recreated by the repeater they are then gone. thus the disappearing values. -igor On 4/26/07, ChuckDeal [EMAIL PROTECTED] wrote: On my page, I

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
I have found out what the problem is: In HomePage.html I use: link rel=stylesheet type=text/css media=screen href=css/app.css / style type=text/css media=screen @import css/box.css; @import css/cite.css; @import css/code.css; @import css/def.css;

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
link and import have not changed behavior what has changed is that wicket now always appends a / after the servlet mapping, where as before it only did so sometimes. so now it is more consistent but is messing with your context path. -igor On 4/26/07, dzenanr [EMAIL PROTECTED] wrote: I

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
Well, I changed imports to links and the same definition in both pages works well without using ../: link rel=stylesheet type=text/css media=screen href=css/app.css / link rel=stylesheet type=text/css media=screen href=css/box.css / link rel=stylesheet type=text/css media=screen

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Johan Compagner
but not for Wicket components, an instance log field in Component (or other base wicket class) will be a memory slot for every wicket component instance... johan On 4/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yes, that was my point earlier. Or make it a transient with lazy creation as

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread ChuckDeal
Yeah, I had thought that was the problem, that's I why I switched to ReuseIfModelsEqualStrategy (actually, a custom impl based upon that class because I could figure out how to use a custom model for the cells; AbstractDataGridView.getPopulatorsIterator is private and it doesn't supply an

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Eelco Hillenius
yeah, so it either more efficient in terms of processing (reusing the member var) or in memory (not keep the member var). Eelco On 4/26/07, Johan Compagner [EMAIL PROTECTED] wrote: but not for Wicket components, an instance log field in Component (or other base wicket class) will be a memory

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
what does your output markup look like though? did wicket rewrite css/app.css to /contextpath/css/app.css for you? -igor On 4/26/07, dzenanr [EMAIL PROTECTED] wrote: Well, I changed imports to links and the same definition in both pages works well without using ../: link rel=stylesheet

Re: [Wicket-user] setting an attribute on the HttpSession.

2007-04-26 Thread Thomas R. Corbin
On Thursday 26 April 2007 1:02 pm, Eelco Hillenius escreveu: I need to work with a servlet from another group and they need to see the user as an attribute on the HttpSession.It seems as though setAttribute on my wicket.Session doesn't actually set it on the HttpSession. Is that

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread Igor Vaynberg
On 4/26/07, ChuckDeal [EMAIL PROTECTED] wrote: Yeah, I had thought that was the problem, that's I why I switched to ReuseIfModelsEqualStrategy (actually, a custom impl based upon that class because I could figure out how to use a custom model for the cells;

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
why not just make them static? you want the nonstatic loggers so you can get better context, but we dont need better context! for us classname:linenumber is enough. so in the framework we can use the static instances. if a user wants better context then their loggers can be non-static. -igor

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Johan Compagner
On 4/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: why not just make them static? http://wiki.apache.org/jakarta-commons/Logging/StaticLog - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
link rel=stylesheet type=text/css href=/dmWicket/css/app.css media=screen/ link rel=stylesheet type=text/css href=/dmWicket/css/box.css media=screen/ The answer is yes. igor.vaynberg wrote: what does your output markup look like though? did wicket rewrite css/app.css to

[Wicket-user] encoding problem

2007-04-26 Thread Janos Cserep
I've run into a problem with how wicket handles requests in PageParameters. I'm seeing this particular behaviour with BookmarkablePage urls that contain a string with non ascii, utf-8 characters, like this: pages/J%C3%A1nos This doesn't work. The following does: pages/J%E1nos First I

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
yeah yeah yeah. and this is a problem only for things that are deployed into a SHARED classpath. no body (at least i hope not) is sharing wicket.jar between multiple web applications. so there is no problem. -igor On 4/26/07, Johan Compagner [EMAIL PROTECTED] wrote: On 4/26/07, Igor

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread Igor Vaynberg
so it was never the link element that was the problem, it was the @imports because wicket doesnt process those. -igor On 4/26/07, dzenanr [EMAIL PROTECTED] wrote: link rel=stylesheet type=text/css href=/dmWicket/css/app.css media=screen/ link rel=stylesheet type=text/css

Re: [Wicket-user] from 1.2.5 to 1.2.6

2007-04-26 Thread dzenanr
true Is there a reason why Wicket does not process imports? igor.vaynberg wrote: so it was never the link element that was the problem, it was the @imports because wicket doesnt process those. -igor On 4/26/07, dzenanr [EMAIL PROTECTED] wrote: link rel=stylesheet type=text/css

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Eelco Hillenius
why not just make them static? Earlier this thread: (me) I would prefer to either have log fields as static in components... We were just discussing what people could do if they didn't want those loggers as static variables. Personally, I have no problem with them being static. Eelco

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
what they would do is simple they would do the lazylookup you showed, but instead of using a field they would use the metadata store. that way you get a non-static logger, and do not incur a memory footprint hit. -igor On 4/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: why not just make

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread ChuckDeal
Here is a quickstart[1] that attempts to illustrate this. Maybe you can tell me where I went wrong. It doesn't use my classes per se, but it does simulate the way in which I construct and use a DataTable. http://www.nabble.com/file/8104/quickstart-datatable.zip quickstart-datatable.zip [1]

[Wicket-user] Best way to model boolean values in a Form

2007-04-26 Thread James Perry
I am experimenting with Wicket to use it for my dissertation. I am developing a basic book library application. I am creating an edit page which edits boolen values of a borrower object (isInDebt, isAccountExpired, etc.). I tried to map it with the following code, which is an inner-class: static

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread Nathan Hamblen
Igor Vaynberg wrote: the model you return from dataprovider has to have its equals and hashcode implemented, if you want those can forward to the modelobject. If you're using a DatabinderProvider, Chuck, then it's a HibernateObjectModel; I'll add those overrides to it. Something like this

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Eelco Hillenius
what they would do is simple they would do the lazylookup you showed, but instead of using a field they would use the metadata store. that way you get a non-static logger, and do not incur a memory footprint hit. The memory foot print would still be there if you use the Component's meta

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
not really. you would remove the logger in ondetach. it isnt a permanent footprint - that is it doesnt take up a slot in all subclasses. -igor On 4/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: what they would do is simple they would do the lazylookup you showed, but instead of using a

Re: [Wicket-user] encoding problem

2007-04-26 Thread Jean-Baptiste Quenot
* Janos Cserep: I've run into a problem with how wicket handles requests in PageParameters. I'm seeing this particular behaviour with BookmarkablePage urls that contain a string with non ascii, utf-8 characters, like this: Is it this one? Parameters of nice URL's pages with 'sensitive'

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Johan Compagner
on which class is it then bound? we use private static loggers now so they are really bind to the class. But if you are storing them in the meta data then they are not really bind to the class but more the the resulting class/instance so never Component itself. Don't know if that really matters

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
like i said in my previous response, ditto. for wicket private static is fine. -igor On 4/26/07, Johan Compagner [EMAIL PROTECTED] wrote: on which class is it then bound? we use private static loggers now so they are really bind to the class. But if you are storing them in the meta data then

Re: [Wicket-user] form.setVisible(false) possible through an AjaxSubmitButton onSubmit ?

2007-04-26 Thread ZedroS Schwart
Hi Erik The translation is there : http://zedros.developpez.com/articles/java/wicket/ajax/ The article will be checked by fellow members of developpez.com and then announce on the news of this website. I'll then add it to the wicket. In between, every comment is welcome ;) (or afterwards lol)

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Peter Ertl
great, a neat way to make logging even cheaper... instantiate all the time for each and every message :-) Am 26.04.2007 um 13:28 schrieb Johan Compagner: But if static logs are really a problem: http://wiki.apache.org/jakarta-commons/Logging/StaticLog if would do this: private void

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Eelco Hillenius
great, a neat way to make logging even cheaper... instantiate all the time for each and every message :-) It doesn't get instantiated every time. For instance Log4jLoggerFactory creates one instance lazily and then does a map lookup. Of course, it is still more expensive then just referring

Re: [Wicket-user] reloading a DataTable after submit with validation error

2007-04-26 Thread Igor Vaynberg
update wicket and it will work -igor On 4/26/07, ChuckDeal [EMAIL PROTECTED] wrote: Here is a quickstart[1] that attempts to illustrate this. Maybe you can tell me where I went wrong. It doesn't use my classes per se, but it does simulate the way in which I construct and use a DataTable.

[Wicket-user] I cannot add ajax behavior to an AutoCompleteTextField

2007-04-26 Thread Andrés Ferrari
Hi everyone! I'm having trouble with an AutoCompleteTextField. I want to add an ajax behavior to it (specifically, for onblur) like can I do with other wicket components, but somehow it doesn't work. I can add an AjaxFormComponentUpdatingBehavior to a TextField and it works. I cannot add it

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Philip A. Chapman
Unless I am missing something, why not do it like this: private transient Logger logger; private Logger getLogger() { if (logger == null) { logger = LoggerFactory.getLogger(Foo.class); } } public void myMethod() { ... getLogger().debug(Something here); } On Thu,

Re: [Wicket-user] SLF4J and wicket

2007-04-26 Thread Igor Vaynberg
because if we put that into Component for example, all components will have a logger take up a memory slot -igor On 4/26/07, Philip A. Chapman [EMAIL PROTECTED] wrote: Unless I am missing something, why not do it like this: private transient Logger logger; private Logger getLogger() {

[Wicket-user] Can Wicket's CheckBoxMultipleChoice model a hashset?

2007-04-26 Thread James Perry
I am trying to create an edit form which models the hashset of roles in a CheckBoxMultipleChoice; so many roles can be selected and displayed. How can I achieve this? Here is the class that that I am modelling and the EditForm page. *Borrower.java** package

[Wicket-user] ModalWindow relative positioning

2007-04-26 Thread Reuben Burda
Hello, We've run into a small issue tare trying to position a ModalWindow on the screen relative to the link that spawned it. Does anyone know of a solution for this? Thanks in advance Reuben - This SF.net email is

Re: [Wicket-user] [tc-dev] Just a heads up on wicket...

2007-04-26 Thread Eelco Hillenius
Thanks a lot Steven. Forwarded this to Wicket users for anyone who is interested in playing with it. Eelco On 4/26/07, Steven Harris [EMAIL PROTECTED] wrote: Our first version of a wicket config module is now in trunk (will be in tomorrow's nightly). we would love feedback so if anyone gets

Re: [Wicket-user] Form.loadPersistentFormComponentValues is called too late?

2007-04-26 Thread Eelco Hillenius
It makes sense to me to do this. Does anyone object? Eelco On 4/25/07, Peter Ertl [EMAIL PROTECTED] wrote: I have a login form which persists username and password using FormComponent.setPersistent(boolean) On page load I want to set the focus on - username, if username is empty -

Beg�� example about tree as navigation

2007-04-26 Thread Crag
Can someone share the code for me? I couldn't get the example from internet. thanks~ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML.

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

2007-04-26 Thread David Leangen
Is this the right place to post for contrib-related stuff?? I noticed that the yui code used in wicket-contrib-yui is very old. Current version is 2.2.2, while wicket seems to be using 0.11.4. I'm still in the investigation stage, but I was thinking about having the yahoo code served by yahoo

[Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
Hello! I have overridden Page with PlainTextPage that outputs text/plain. I'm wondering: what's the best way to be able to add the plain-text equivalent of panels to my template? wicket-contrib-velocity seems to be no good, since it appears to be for html templates. Should I implement my own

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

2007-04-26 Thread Eelco Hillenius
Is this the right place to post for contrib-related stuff?? Sure. I noticed that the yui code used in wicket-contrib-yui is very old. Current version is 2.2.2, while wicket seems to be using 0.11.4. Yeah, it's been a while since anyone seriously worked on that. I'm still in the

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread Eelco Hillenius
Hello! I have overridden Page with PlainTextPage that outputs text/plain. Hmmm. Does that work? Wicket still needs tags to operate... I'm wondering: what's the best way to be able to add the plain-text equivalent of panels to my template? Resources. See for instance TextTemplate and

Re: [Wicket-user] How to force WicketTester object to type cast in other Application object

2007-04-26 Thread Akshat
Hi Igor, Thanks for your reply. Here is the thing: (using wicket 1.2.5) I could not find the constructor that takes the Application object. So I tried the following. tester = new WicketTester(); tester.set(new xyzApplication()); But this gives me the

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

2007-04-26 Thread David Leangen
David, if you send us your sourceforge id, (not the literal id, but the name, like mine is eelco12), we can give you commit rights, and you can decide for yourself whether and when you play with it. My id = dleangen Thanks, Eelco! Dave

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread David Leangen
Just to be sure we're talking about the same thing here... ;-) I have overridden Page with PlainTextPage that outputs text/plain. Hmmm. Does that work? Wicket still needs tags to operate... Since there's so much nice stuff already available through Wicket and my Wicket framework is already

Re: [Wicket-user] Formatting non-html templates

2007-04-26 Thread Juergen Donnerstag
You know that you can remove all tag from output, do you? To remove wicket:xx is simply a matter of settings and all other tags (e.g. span wicket:id=..) can be removed by subclassing onComponentTag and not output anything. Juergen On 4/27/07, David Leangen [EMAIL PROTECTED] wrote: Just to be