Re: [Wicket-user] adding class to listview

2006-10-18 Thread Erik van Oosten
If you want to maintain existing classes, you'd better use: item.add(new AttributeAppender(class, new Model(foo), )); Erik. Igor Vaynberg schreef: item.add(new SimpleAttributeModifier(class, foo)); -Igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/

Re: [Wicket-user] Ajax refresh feedback

2006-10-18 Thread Pierre-Yves Saumont
Thanks for the hint, Igor. I will have a look at channels. I don't remember seeing any information about these when I started my application (with Wicket 1.1). However, I suppose using channels does not prevent the user clicking on a regular link while an Ajax request is processed ?

Re: [Wicket-user] Safari yes, Firefox no

2006-10-18 Thread Michael Welter
No, refreshing the page in Firefox yields the Page Expired message. The tabbed panels don't work at all with IE. IE has the same Page Expired problem. Everything works well in Safari. The page includes several embed type=audio/x-wav ... / tags. The first two are properly painted with the

Re: [Wicket-user] Ajax refresh feedback

2006-10-18 Thread Dipu
fantastic , thats really cool !!! Cheers Dipu - Original Message - From: Igor Vaynberg To: wicket-user@lists.sourceforge.net Sent: Tuesday, October 17, 2006 7:45 PM Subject: Re: [Wicket-user] Ajax refresh feedback there is really nothing to itsomewhere

[Wicket-user] WIKI move

2006-10-18 Thread Gwyn Evans
As part of the move to Apache, the Wicket WIKI has moved to a new home on the Apache Confluence site, and can now be found at: http://cwiki.apache.org/WICKET/ Notes on the move are at http://cwiki.apache.org/WICKET/wiki-move.html Many of the pages have been converted, but a number do remain!

[Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread karthik Guru
While building wicket-extensions 2.0, i didn't notice the commons-logging dependency in pom.xml. May be you can verify if that is indeed the case in the trunk and update it.dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version typejar/type

Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread Gwyn Evans
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote: While building wicket-extensions 2.0, i didn't notice the commons-logging dependency in pom.xml. May be you can verify if that is indeed the case in the trunk and update it. dependency groupIdcommons-logging/groupId

[Wicket-user] narrow disintegrate

2006-10-18 Thread Mathilda Cummings
This isn't your average medieval knights and horses story - for a start, due to a shortage in the kingdom, all the horses have been replaced by servants clopping coconuts together! Shrek and Princess Fiona return from their honeymoon to find an invitation to visit Fiona's parents, the King

[Wicket-user] Submit button behave differently after ajax request

2006-10-18 Thread drakonis
Hi, i have a curious problem. I have a form with a submit button. If i click the submit button the onSubmit method of the button is called so is the onSubmit method of the form. And also inside the page i have a button to which i added final Button ajaxButton = new Button(ajaxButton);

Re: [Wicket-user] Submit button behave differently after ajax request

2006-10-18 Thread Matej Knopp
The behavior wont work on button. Why don't you use AjaxSubmitButton instead? -Matej drakonis wrote: Hi, i have a curious problem. I have a form with a submit button. If i click the submit button the onSubmit method of the button is called so is the onSubmit method of the form. And also

Re: [Wicket-user] Submit button behave differently after ajax request

2006-10-18 Thread drakonis
Hi Matej, Well i have no problem with the ajax request. It is processed and the two textfields are being displayed. I I would not want to send the form so i cannot use AjaxSubmitButton. My problem was that the default submit button no longer executes the onSubmit. I will try AjaxLink as a

Re: [Wicket-user] Wicket-user Digest, Vol 5, Issue 173

2006-10-18 Thread ketan gote
hellofriendsdoes wicket support UTF-8 setting by default,but it doesn't work in oracle application server .and also on tomcat? WebResponse webres = (WebResponse )getResponse(); HttpServletResponse hsr =

[Wicket-user] wicket encoding problem, does wicket will be up to mark????

2006-10-18 Thread ketan gote
hello friends does wicket support UTF-8 setting by default, but it doesn't work in oracle application server . and also on tomcat? WebResponse webres = (WebResponse )getResponse(); HttpServletResponse hsr = webres.getServletHttpResponse(); Systsem.out.println(**+hsr

Re: [Wicket-user] Safari yes, Firefox no

2006-10-18 Thread Michael Welter
Correction. The last two embed ... tags display the *Quicktime* icon rather than the audio controls. Michael Welter wrote: No, refreshing the page in Firefox yields the Page Expired message. The tabbed panels don't work at all with IE. IE has the same Page Expired problem.

Re: [Wicket-user] wicket encoding problem, does wicket will be up to mark????

2006-10-18 Thread Erik van Oosten
Please read this: http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html Regards, Erik. ketan gote schreef: hello friends does wicket support UTF-8 setting by default, but it doesn't work in oracle application server . and also on tomcat? WebResponse webres =

Re: [Wicket-user] Wicket-user Digest, Vol 5, Issue 173

2006-10-18 Thread Juergen Donnerstag
And of course make sure that your browser does not request the information in ISO-8859-1 formatting. Juergen On 10/18/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: UTF-8 is default for Wicket. The issue is usually with Tomcat and Oracle settings. Please search the mail archive for

[Wicket-user] Add an event to DataTable.setCurrentPage(int)?

2006-10-18 Thread Renaut, Jonathan E CTR DISA GIG-CS
Title: Add an event to DataTable.setCurrentPage(int)? I'd like to fire an event every time the page on my datatable changes, but I can't overwrite setCurrentPage because it's final. Is there a way to do this without changing the .jar file?

Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread karthik Guru
Uhhm, yes you are right. I'm not sure why its not building on my machine without the commons-logging dependency.I just domvn -Dmaven.test.skip=true installand I have maven 2 installed on my machine. D:\software\java\Wicket\svn-latest\wicket\trunk\wicket-extensionsmvn -Dmaven.test.skip=true

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread wicketmarsh
Hi tried this HeaderContributor.forCss(xyz.class, /+((WebRequest)getRequest()).getHttpServletRequest().getContextPath() +/style/abc.css) where xyz.class is my webpage in com.ma.itg.test.app directory, i am getting error wicket.WicketRuntimeException: Unable to find package resource [path =

[Wicket-user] Table question

2006-10-18 Thread Manuel Alejandro de Brito Fontes
Hi, Im trying to  create a table (AjaxFallbackDefaultDataTable) with a column that display a modal window that permit modify the row content. That works perfect, modify the data and the table updates the table content.My problem is that the column in question display a text "cell" and i want to

Re: [Wicket-user] wicket encoding problem, does wicket will be up to mark????

2006-10-18 Thread Johan Compagner
If i test this (on tomcat) for example in the RequestCycle.detach() method the result is: UTF-8johanOn 10/18/06, ketan gote [EMAIL PROTECTED] wrote:hello friends does wicket support UTF-8 setting by default, but it doesn't work in oracle application server . and also on tomcat? WebResponse webres

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread Eelco Hillenius
I have my .css file in web context directory i.e webapp/style/abc.css since this .css is used by plain html and wicket , i can't place it in my wicket webpages directory. I want to access this .css file in my webpage. i know , we can access is using HeaderContributor.forCss(Class scope,String

Re: [Wicket-user] wicket encoding problem, does wicket will be up to mark????

2006-10-18 Thread Johan Compagner
aha.. but not always.. we seem to have a bug somewhere. will investigate.johanOn 10/18/06, Erik van Oosten [EMAIL PROTECTED] wrote:Please read this: http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.htmlRegards,Erik.ketan gote schreef: hello friends does wicket support UTF-8

Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread Gwyn Evans
On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote: and ofcourse they go away the moment I add the commons-logging dependency. Any idea why it doesn't work for me? Nothing specific - Things to check would be the wicket pom involved, e.g. the wicket\wicket\2.0-SNAPSHOT\wicket-2.0-SNAPSHOT.pom

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread Eelco Hillenius
If you use HeaderContributor.forCss(String), you can refer files relative to the context path (or absolute if you want). If you use HeaderContributor.forCss(Class, String), the class should be in the same package as where the resource you want to reference is. This will generate urls like:

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread Igor Vaynberg
if you build the path yourself you dont need the headercontributor to create the url...wasnt that the whole point that you wanted?-IgorOn 10/18/06, wicketmarsh [EMAIL PROTECTED] wrote: Hi tried

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread Martijn Dashorst
By supplying the Class parameter, you tell Wicket to search for it on the classpath. You need the single parameter version, which automagically prepends the context path. HeaderContributor.forCss(style/abc.css);

Re: [Wicket-user] Add an event to DataTable.setCurrentPage(int)?

2006-10-18 Thread Igor Vaynberg
please file a jira issue.-IgorOn 10/18/06, Renaut, Jonathan E CTR DISA GIG-CS [EMAIL PROTECTED] wrote: I'd like to fire an event every time the page on my datatable changes, but I can't overwrite setCurrentPage because it's final. Is there a way to do this without changing the .jar file?

Re: [Wicket-user] Table question

2006-10-18 Thread Igor Vaynberg
what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how PropertyColumn works...but instead of a label you add your panel that contains the image-Igor On 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, Im trying to create a

Re: [Wicket-user] missing commons-logging dependency in wicket-extensions 2.

2006-10-18 Thread Martijn Dashorst
http://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html On 10/18/06, Gwyn Evans [EMAIL PROTECTED] wrote: On 18/10/06, karthik Guru [EMAIL PROTECTED] wrote: and ofcourse they go away the moment I add the commons-logging dependency. Any idea why it doesn't work for me?

Re: [Wicket-user] Table question

2006-10-18 Thread Marc-Andre Houle
Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a panel or a fragment for that?MarcOn 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment.see how

Re: [Wicket-user] Table question

2006-10-18 Thread Igor Vaynberg
the problem is that the markup is span wicket:id=item/span ... you cannot attach an image to a span tag, you need markup with an img tag.-IgorOn 10/18/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Why not adding directly an Image or a NonCachableImage instead of a Label? Does it really need a

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread Eelco Hillenius
You don't need it, but it saves you writing the link tag. Unless you're putting it in a page, in which case you don't need any Wicket code, but can just put it in the HTML. Eelco On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: if you build the path yourself you dont need the

Re: [Wicket-user] Table question

2006-10-18 Thread Manuel Alejandro de Brito Fontes
Thanks for the reply. You suggest that  "what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment."Ok, i understand that, but the column don't  read my own markup in a panel.I only get Markup with path '' not found in fragment: cellCan show me an

Re: [Wicket-user] Programatically access to CSS

2006-10-18 Thread wicketmarsh
Thanks, HeaderContributor.forCss(style/abc.css) this worked with wicket 1.2.2 , i had 1.2 earlier but absoulte path didn't work.. marsh Eelco Hillenius wrote: I have my .css file in web context directory i.e webapp/style/abc.css since this .css is used by plain html and wicket , i can't

[Wicket-user] floss

2006-10-18 Thread Elsie Kimball
polygon electrician tinkle familiar Check A R S S right now, stockjobbers drop the price, it's time to get in and get profit! athlete's foot state distinctively pagan - Using Tomcat but need to do more? Need to support web

Re: [Wicket-user] Table question

2006-10-18 Thread Marc-Andre Houle
Thanks!On 10/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: the problem is that the markup is span wicket:id=item/span ... you cannot attach an image to a span tag, you need markup with an img tag.-Igor On 10/18/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Why not adding directly an Image or a

Re: [Wicket-user] Table question

2006-10-18 Thread Manuel Alejandro de Brito Fontes
I forget to mention that I'm using 2.0-SNAPSHOT On 18-10-2006, at 13:25, Manuel Alejandro de Brito Fontes wrote: Thanks for the reply. You suggest that what you do is extend AbstractColumn and provide your own markup via either a panel or a fragment. Ok, i understand that, but the column

[Wicket-user] Link To Generate CSS

2006-10-18 Thread Jonathan Sharp
I have a particular component that needs to generate some CSS on the fly. What would be the easiest way to have this component register a link tag with the head (assuming HeaderContributor) that points back to a POJO to do the work? -js

Re: [Wicket-user] Link To Generate CSS

2006-10-18 Thread Eelco Hillenius
If you generate the CSS in Java: add(new TextHeaderContributor(generated)); or look at wicket-extension's TextTemplateHeaderContributor.forCss Eelco On 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote: I have a particular component that needs to generate some CSS on the fly. What would be the

Re: [Wicket-user] Link To Generate CSS

2006-10-18 Thread Jonathan Sharp
Wonderful! Exactly what I was looking for!-jsOn 10/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote:If you generate the CSS in Java: add(newTextHeaderContributor(generated)); or look at wicket-extension's TextTemplateHeaderContributor.forCssEelcoOn 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Compound Property model and Palette

2006-10-18 Thread samyem
Hi Igor, No that didn't work. You have just added a new constructor signature, but not fixed the real problem. The problem is that when Palette is constructed, it tries to make a new RecorderComponent which reads the model at construction time. Since I am using the 1.x wicket, Palette does not

Re: [Wicket-user] Table question

2006-10-18 Thread Igor Vaynberg
same applies-IgorOn 10/18/06, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote:I forget to mention that I'm using 2.0-SNAPSHOTOn 18-10-2006, at 13:25, Manuel Alejandro de Brito Fontes wrote: Thanks for the reply. You suggest thatwhat you do is extend AbstractColumn and provide your own

[Wicket-user] Outage of wicketframework.org solved

2006-10-18 Thread Martijn Dashorst
All, Some of you might have noticed that the http://wicketframework.org url didn't respond yesterday and today. This was an issue with Sourceforge and is currently solved (it works for me). From the sf.net status page: (2006-10-18 10:03:12 - Project VHOST Service ) 2006-10-18: Currently,

[Wicket-user] Components Entirely In Java?

2006-10-18 Thread Jonathan Sharp
I'm a UI developer on a team of about 10 and are in the evaulation process of wicket. Pardon my ignorance if this is obvious or misses the boat...How complex would it be to provide a jar of components to our developers that they can use to build their interfaces without having to touch HTML? The

Re: [Wicket-user] Components Entirely In Java?

2006-10-18 Thread Jonathan Sharp
I think this is similar to what I'm trying to do. Are there any details of this implementation?http://www.wicket-wiki.org.uk/wiki/index.php/Forms_with_dynamic_elements Cheers,-jsOn 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote: I'm a UI developer on a team of about 10 and are in the evaulation

Re: [Wicket-user] Components Entirely In Java?

2006-10-18 Thread Nick Heudecker
I wrote that page. What do you want to know about the implementation? I can sell you my survey code. :)On 10/18/06, Jonathan Sharp [EMAIL PROTECTED] wrote:I think this is similar to what I'm trying to do. Are there any details of this implementation?

[Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-18 Thread Matthew P. Tilchen
Greetings, I am not certain as to whether this post will end up being a bug report or a feature request but hopefully one of you may have some advice. Ultimately I am trying to invoke ajax calls as a result of capturing onkeypress events fired by the document object. I have successfully

Re: [Wicket-user] Safari yes, Firefox no

2006-10-18 Thread Iman Rahmatizadeh
Seems something is done with your pages after the page has been rendered. Typical causes might be the browser generating a new request to the same page after the page has been rendered, or somehow the page getting removed from the PageMap after getting displayed. If it should be related to the

Re: [Wicket-user] Components Entirely In Java?

2006-10-18 Thread Igor Vaynberg
you can encapsulate a great deal of markup and css into the components, however unless you go to extremes some basic knowledge of html is still needed. wicket doesnt use layout managers so you have to provide some basic html - at least span tags to position the components. in some cases if the

[Wicket-user] cookies

2006-10-18 Thread Scott Swank
I've searched the wiki email list to no avail. Does Wicket provide any APIs for manipulating cookies? Thanks once again. -- Scott Swank reformed mathematician - Using Tomcat but need to do more? Need to support web