Re: FW: Auto-response for your message to the Wicket-stuff-user mailing list

2009-05-12 Thread Juha Palomäki
Take a look at this, http://forums-beta.sun.com/thread.jspa?messageID=3895301 It seems to describe the same problem you are having. Multiple versions of the same class in your classpath. Br, Juha On Mon, May 11, 2009 at 10:26 PM, Clermont, Teddy teddy.clerm...@dkib.com wrote: When running the

wicket.markup.html.basic.MultiLineLabel with Links, different word color inside?

2009-05-12 Thread Wolfgang . Schele
Hi, I have a request to put a link into a MultiLineLabel, or to set some Words within the MultiLineLabel with a different color. Is this possible in general? thx - jk - To unsubscribe, e-mail:

AjaxFallbackLink problem on Internet Explorer 6

2009-05-12 Thread Marius Anton
Hello,  I'm using a ListView of links limited to only 5 links, an AjaxFallbackLink (showMore) that will remove the limitation, and another AjaxFallbackLink (showLess) that will enable the limitation.   Works fine on every browser except IE6. On IE6, after the user presses showMore link, the

possible bug

2009-05-12 Thread Serkan Camurcuoglu
Hi all, We need to have the oracle xml parser in our tomcat /lib/ directory since we have to use the client api of Oracle BPEL in our application. But when using xml property files, I get the following exception if I use a comment inside the property file: java.lang.ClassCastException:

Re: DropDownChoice with ChoiceRender problem

2009-05-12 Thread Steve Swinsburg
What a legend! On 6 May 2009, at 19:46, James Carman wrote: Darn it, Steve on Sakai! ;) Glad to help! On Wed, May 6, 2009 at 2:38 PM, Phillip Rhodes spamsu...@rhoderunner.com wrote: Thanks for the solution. I found this post here (so the reader is getting off easy:)

Datatable columns converter

2009-05-12 Thread Alfredo Aleandri
Hi, I can't figure out the best way to define something like a object-to-string converter to add to a DataTable's column (PropertyColumn). I have an Integer in my model and I want to display a proper String to the user by a defined mapping. Thank you alf

Re: possible bug

2009-05-12 Thread Martijn Dashorst
Nope. This is not a bug in wicket, but a bug in your configuration or the oracle parser. Either don't use the oracle xml parser, configure it to use the correct DOM tree parser, ensure you can use another parser next to the oracle parser or don't use xml property files. Apparently XMLComment does

Re: AjaxFallbackLink problem on Internet Explorer 6

2009-05-12 Thread marius1maru
I'm sorry, I just saw that I have some writting errors: its final AjaxFallbackLink showMoreLink = new AjaxFallbackLink istead of final AjaxFallbackLink showMoreLink = new AjaxLink and final WebMarkupContainer

Time input in the Wicket DateTextField widget?

2009-05-12 Thread Peter Neubauer
Hi there, I am wondering if there is any recommended way to enter the time, not only the date, in Wicket? Right now I am using timeTextField = new DateTextField(time, new Model(new Date()), new StyleDateConverter(false)); timeTextField.add(new DatePicker());

RE: 60% waste

2009-05-12 Thread Douglas Ferguson
I thought that selenium recorded your browser activity and referenced ids to replay that activity. Are you editing the generated scripts to use names instead or is that a setting in selenium? Also, I just ran across this. Is anybody using it this? Also it mentions selenium at the end..

Apache Tomcat CSS

2009-05-12 Thread Tomáš Mihok
Hi there, has anyone ever encountered problem with these two? I have a simple application and I wanted to add a css file with link rel=... but after deploying nothing happens. So I copied the CSS in index.html between style tags. This helped but there is still one problem: #header {

Re: Apache Tomcat CSS

2009-05-12 Thread rmattler
Try entering the the css like this: background-image: url(../images/buttons/buttonBackground.gif); It works for me I don't know why but it works :sleep: TradeMark wrote: Hi there, has anyone ever encountered problem with these two? I have a simple application and I wanted to add a css

Re: Datatable columns converter

2009-05-12 Thread Michael O'Cleirigh
Hi Alfredo, This question came up last week aswell, here is an example of how you to subclass PropertyColumn to convert an integer into an arbitrary string: http://www.nabble.com/Re%3A-How-to-manipulate-values-in-a-data-table--p23413680.html Essentially you wrap the PropertyModel with a

AW: Object without ID in LoadableDetachableModels

2009-05-12 Thread Christian Helmbold
Inspired by http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ I created an EntityModel based on JPA annotations. Maybe this is helpful for somebody with the same question. Any suggestions to improve the code? EntityModel.java

Re: Apache Tomcat CSS

2009-05-12 Thread Anantha Kumaran
hi Tomáš Mihok i guess you are keeping your image and css file in the source package folder if this is the case then put your images and css file in the web folder. i will work

Session Undo

2009-05-12 Thread John Hendrikx
I've been trying to find some information on Wicket's session handling. From what I understand, Wicket solves the back button problem (and it does so perfectly), but there are times when certain pages are simply no longer correct. Wicket is supposed to detect this, but I have a hard time

Re: Object without ID in LoadableDetachableModels

2009-05-12 Thread James Carman
This still doesn't solve the other problems with database-generated identifiers and Hibernate, namely being able to reliably implement equals() and hashCode(). On Tue, May 12, 2009 at 10:54 AM, Christian Helmbold christian.helmb...@yahoo.de wrote: Inspired by

Behavior to replace the contents between open and close ComponentTag tags

2009-05-12 Thread Ryan LaHue
Can I remove/replace the contents between an open and close tags in the onComponentTag(component, tag) method of AbstractBehavior? I'm able to change the tag from an input, select or textarea to span as I wanted, but I am unable to remove the guts of the previous form component. When I do this

Re: Apache Tomcat CSS

2009-05-12 Thread Sean W
Hi Tm, Figuring out all the paths in wicket with added CSS and javascript always seems to be a challenge. For the HTML files in your source folders, tags seem to automatically adjusted to the context's root. The same goes for CSS links in your wicket:head Note that you can surround markup

Re: Apache Tomcat CSS

2009-05-12 Thread Sean W
Hi Tm, Figuring out all the paths in wicket with added CSS and javascript always seems to be a challenge. For the HTML files in your source folders, img src= tags seem to automatically adjusted to the context's root. The same goes for CSS links in your wicket:head Note that you can surround

Re: Apache Tomcat CSS

2009-05-12 Thread John Krasnay
The problem is likely that you've specified a relative URL to the CSS file like this... link rel=stylesheet type=text/css href=styles.css/ You need to get wicket to rewrite that href so it knows how to serve up the CSS file. The easiest way to do this is to wrap your link in wicket:link tags:

Re: wicket.markup.html.basic.MultiLineLabel with Links, different word color inside?

2009-05-12 Thread Igor Vaynberg
add whatever markup you want to the label's model and call setescapemodelstrings(false) -igor On Tue, May 12, 2009 at 4:00 AM, wolfgang.sch...@dachser.com wrote: Hi, I have a request to put a link into a MultiLineLabel, or to set some Words within the MultiLineLabel with a different color.

Re: wicket.markup.html.basic.MultiLineLabel with Links, different word color inside?

2009-05-12 Thread Jeremy Thomerson
I've done similar things by creating a model that wraps another model. The outer model modifies the content of the inner model's string by adding markup, converting links, etc... This is really very effective because you can actually separate the logic into multiple models if you would like

Re: Session Undo

2009-05-12 Thread Igor Vaynberg
it really depends on what you want to happen. the easiest thing is to evict the page from the pagemap when the user is done with it - that way when the user attempts to submit the form they will get a page-expired error. to remove the page simply getpagemap().removepage(this); with a bit more

Re: Session Undo

2009-05-12 Thread Carlo Camerino
hi, was just wondering if this is possible if i'm using the current page as a reference to the previous page for the next screen. if i do this will i have errors? thanks On Wed, May 13, 2009 at 12:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: it really depends on what you want to

FileUploadField: prefill file to upload?

2009-05-12 Thread Thomas Singer
We want to have an easy way to report bugs of our client-side application through our wicket-driven website and thought to pass the encoded file path of the file to upload in the URL to the bug-report-page which will be opened in a browser by user request, so the user does not have to pick the

Re: FileUploadField: prefill file to upload?

2009-05-12 Thread Igor Vaynberg
maybe there are some javascript hacks, but usually browsers forbid it for the fear of security concerns. -igor On Tue, May 12, 2009 at 11:24 AM, Thomas Singer wic...@regnis.de wrote: We want to have an easy way to report bugs of our client-side application through our wicket-driven website and

Re: FileUploadField: prefill file to upload?

2009-05-12 Thread Thomas Singer
Thanks. :( Tom Igor Vaynberg wrote: maybe there are some javascript hacks, but usually browsers forbid it for the fear of security concerns. -igor On Tue, May 12, 2009 at 11:24 AM, Thomas Singer wic...@regnis.de wrote: We want to have an easy way to report bugs of our client-side

How to set a Date dynamically

2009-05-12 Thread Matthieu Labour
Hi I am new to Wicket. I did some research on the mailing list but didn't come accross a solutioin for the following issue. I need to set dynamically the Date in a DateTextField Here final StyleDateConverter styleDateConverter = new StyleDateConverter(S-, true); final IModel model = new

Re: How to set a Date dynamically

2009-05-12 Thread Jeremy Thomerson
The date is determined by your model - it's getting the date from YourObject.getStartDate(). Set the date on YourObject and it should work. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 12, 2009 at 2:26 PM, Matthieu Labour matth...@strateer.com wrote: Hi I am new to

TinyMCE resources directory

2009-05-12 Thread John Armstrong
This is probably a basic question and it may not even be wicket related but I was hoping for a tip. I am using wicket under tomcat. I am -not- using Maven for building it so no quickstart exists. Here is what happens, in my dev environment (Eclipse) tinymce works fine. I import the Jar as a

Re: Pre-built wicket sample app for a starter to copy?

2009-05-12 Thread Matt Welch
Maarten Bosteels wrote: Are you sure you want to mix Wicket with DisplayTag ? I am not saying it's impossible, but when starting a Wicket project from scratch, I wouldn't add a JSP tag library to the mix. Truth. You should really reconsider throwing DisplayTag into this. Without going

Re: Pre-built wicket sample app for a starter to copy?

2009-05-12 Thread David Brown
Hello, please excuse if the wicket-security project is readily visible. Otherwise, reply with the link. Much appreciated. Regards, David. There are 10 kinds of people in this world: those who understand binary and those who don’t (Valid only for 2's complement). - Original Message -

System test for a Wicket based web application. Do you do it? How?

2009-05-12 Thread Kent Larsson
Hi, For my last project (not using Wicket) I used HtmlUnit to simulate a web browser and for each use case go through all the important branches. It worked well and the system test caught a lot of errors as it exercised the whole system quite thoroughly. I had a common base class for my JUnit

Re: System test for a Wicket based web application. Do you do it? How?

2009-05-12 Thread Clint Popetz
I'm almost at the point where I'm ready to give up on integration tests, particular of the web interface layer.  (I will still do integration testing of the db layer, because hibernate is just too complicated with respect to cascading and transients to avoid it.)  I blogged a little about this