Re: Get libs without installing Maven?

2007-10-26 Thread Thomas Singer
I'm having these libraries in my classpath: commons-collections-2.1.jar commons-logging-1.0.4.jar junit.jar log4j-1.2.13.jar portlet-api-1.0.jar slf4j-api-1.4.0.jar slf4j-log4j12-1.4.0.jar But the checked out code does not compile. It requires at least

Re: Changing IDEs to eclipse

2007-10-26 Thread Ballist1c
Yeah i have had a look, and the deployment doesn't resemble how we had the project setup in netbeans. Im completely stuck :S. I can see how you guys use your own jetty server built into the quick start project... which is very cool. THe project i am working with is being deployed directly

Re: Changing IDEs to eclipse

2007-10-26 Thread Maurice Marrink
We use this plugin to run our apps with tomcat. http://www.eclipsetotale.com/tomcatPlugin.html No hassle with deploying a war, automatic class reloading, no special main class required, its really quite nice. Maurice On 10/26/07, Ballist1c [EMAIL PROTECTED] wrote: Yeah i have had a look, and

Re: TagTester - Howto get the value?

2007-10-26 Thread Per Newgro
Hi, should i add an RFE for this? Per -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Get libs without installing Maven?

2007-10-26 Thread Nino Saturnino Martinez Vazquez Wael
mini maven guide... install maven place yourself in a folder and write: mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.3.0-beta4 -DgroupId=com.mycompany -DartifactId=myproject then maven will create a folder

Re: WicketTester - reload page after model changed

2007-10-26 Thread Newgro
Hi David, thanks for your reply. I tried your way, but didn't overwirte the WicketTester. I simply added final WebRequestCycle cycle = _tester.createRequestCycle(); p.setModelObject(refreshDay); try { cycle.request(new PageRequestTarget(_tester.getLastRenderedPage())); } finally {

Issue with border

2007-10-26 Thread Alexander Landsnes Keül
Hi, We're looking into moving our presentation layer over to Wickets, and I'm creating a mockup of our current web interface to see how it works. So far I'm quite pleased, but I have an issue with borders. I'm trying to create a navigation border similar to the Navomatic example on the

Re: Wizard - change the component outlook

2007-10-26 Thread Eelco Hillenius
1)How would i pass my new css...don't see any api to do so ? Any way you like it. You could add a header contributor for instance, or create a head section in your new markup file if you're providing that, or even put it right in your markup. 2)The new css ?, shouldnt it have the same classes

Datepicker that supports marking of dates

2007-10-26 Thread Nino Saturnino Martinez Vazquez Wael
check it out here: http://papernapkin.org/pastebin/view/14218 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Changing IDEs to eclipse

2007-10-26 Thread Eelco Hillenius
I didn't use Jetty, but I have been deploying on Tomcat 5.x using the Eclipse Web Tools Platform (http://www.eclipse.org/webtools/). The only tip I would give you is that Eclipse by default will filter out all .html files on the classpath. As Wicket uses HTML files on the classpath, you

Re: Get libs without installing Maven?

2007-10-26 Thread Eelco Hillenius
commons-collections-2.1.jar commons-logging-1.0.4.jar junit.jar log4j-1.2.13.jar portlet-api-1.0.jar slf4j-api-1.4.0.jar slf4j-log4j12-1.4.0.jar But the checked out code does not compile. It requires at least org.apache.portals.bridges.util.ServletPortletSessionProxy. That's what you

JavaRebel experience

2007-10-26 Thread Doug Leeper
I recently downloaded JavaRebel and attempted to integrate into my project in Eclipse. I changed the Run parameters as indicated in the installation but there was nothing specific for eclipse. I did in the JVM argument section: -noverify

Re: WicketTester - reload page after model changed

2007-10-26 Thread Newgro
Hi, found the solution. With replacing final WebRequestCycle cycle = _tester.setupRequestAndResponse(); all works as expected. Thanks for the help Per -- View this message in context: http://www.nabble.com/WicketTester---reload-page-after-model-changed-tf4691262.html#a1348 Sent from the

Re: Get libs without installing Maven?

2007-10-26 Thread Thomas Singer
Thanks, Nino. I don't want Maven to manage my project, I just want to get the libraries which are required for building and running wicket... Tom Nino Saturnino Martinez Vazquez Wael wrote: mini maven guide... install maven place yourself in a folder and write: mvn archetype:create

Load Image from another server

2007-10-26 Thread BatiB80
Hi, is it possible to load an image which is located on another server. In my Page-Class I like to do somethink like this: add(new Image(myImage, new SomeKindOfWebReference(http://www.sample.com/sampleImage.gif;))); Can this be provided by the framework or do I have to create my own

Re: Clearing Session

2007-10-26 Thread Suad AlShamsi
Removing the page is throwing the following exception: Caused by: java.lang.IllegalStateException: Cannot remove [Page class = com.individual.registration.RegisterationPage, id = 6, version = 0] from null parent! at org.apache.wicket.Component.remove(Component.java:1896) What I have is 3

Re: Get libs without installing Maven?

2007-10-26 Thread Thomas Singer
Thanks, Eelco, the portals-bridges-common-1.0.3.jar was the key. Tom Eelco Hillenius wrote: commons-collections-2.1.jar commons-logging-1.0.4.jar junit.jar log4j-1.2.13.jar portlet-api-1.0.jar slf4j-api-1.4.0.jar slf4j-log4j12-1.4.0.jar But the checked out code does not compile. It requires

Re: Clearing Session

2007-10-26 Thread Johan Compagner
PageMap.clear should work but it is a bit strange call to do. Why do you want to delete all pages? But what do you say nothing happens? What do you expect to see happening? And with Page.remove() is the wrong call, that is the default call to remove a component from its parent Maybe we should

Re: Load Image from another server

2007-10-26 Thread BatiB80
Think that this is not exactly what I want. I do not want to link to another site, I want to view an image. But the imageresource isn't located on my webserver. What I did in my .html-Page: img wicket:id=someExternalPic height=85 width=120 No I'm trying to replace this with an external

IllegalStateException when delivering a PDF

2007-10-26 Thread Benjamin Ernst
Hi guys, I am delivering a PDF-Document with wicket like this: Document document = new Document(); String filename = bestandsfax.pdf; ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfWriter.getInstance(document, baos);

Re: automatically add behavior to form components

2007-10-26 Thread Johan Compagner
you could look at; IComponentOnBeforeRenderListener On 10/26/07, Mattijs Hoitink [EMAIL PROTECTED] wrote: hi there, I have written a behavior to change the appearance of a form component when it's invalid. I'm now looking for a way to automatically add this behavior to all components in

Re: PagingNavigator with custom images

2007-10-26 Thread Swaroop Belur
Probably shud raise an RFE for this. -swaroop On 10/26/07, Dipu Seminlal [EMAIL PROTECTED] wrote: What i did was had a dummy extension of the Paging Navigator and Provided Markup for the extension and used it where ever needed. So that you can modify the markup as you want it. Regards

Re: PagingNavigator with custom images

2007-10-26 Thread Dipu Seminlal
What i did was had a dummy extension of the Paging Navigator and Provided Markup for the extension and used it where ever needed. So that you can modify the markup as you want it. Regards Dipu On 10/26/07, Swaroop Belur [EMAIL PROTECTED] wrote: It looks like you will have to copy that

Re: RequiredTextField

2007-10-26 Thread Lars Hoss
Ok, I will apply a filter to my eyes. But yeah, maybe you should add a note or depcrate this class in the JavaDocs. Yours, Lars RequiredTextField is a relic of an older time. It should be deprecated for future Wicket versions. Making a field required is now as simple as calling

Re: RequiredTextField

2007-10-26 Thread Martijn Dashorst
RequiredTextField is a relic of an older time. It should be deprecated for future Wicket versions. Making a field required is now as simple as calling setRequired(true). There will never again be a RequiredFooComponent Martijn On 10/26/07, Lars Hoss [EMAIL PROTECTED] wrote: Hi all! If there

Re: RequiredTextField

2007-10-26 Thread Lars Hoss
My personal opinion is that RequiredTextField component can be removed from the core.. it's implementation is trivial. Well, that was my point actually :-) Yours, Lars - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Scrollbars on AutomCompleteTextField?

2007-10-26 Thread Erik van Oosten
Hi WK, My solution was to just limit the number of things you show. This is how most autocomplete implementations work anyway. Regards, Erik. WicketKeeper wrote: Hi all Has anyone managed to put scrollbars on the drop-down bit of an AutomCompleteTextField? Seems that i have loads of

Scrollbars on AutomCompleteTextField?

2007-10-26 Thread WicketKeeper
Hi all Has anyone managed to put scrollbars on the drop-down bit of an AutomCompleteTextField? Seems that i have loads of things beginning with t so the explorer window's scrollbars compensate, which isn't ideal because there's other stuff on the panel. I'm guessing its something to do the

Re: Scrollbars on AutoCompleteTextField?

2007-10-26 Thread Nino Saturnino Martinez Vazquez Wael
Could'nt you style your way out of it? WicketKeeper wrote: Hi all Has anyone managed to put scrollbars on the drop-down bit of an AutoCompleteTextField? Seems that i have loads of things beginning with t so the explorer window's scrollbars compensate, which isn't ideal because there's other

Re: Scrollbars on AutoCompleteTextField?

2007-10-26 Thread WicketKeeper
sorry - new to Wicket - don't understand the lingo yet :) how do mean style my way out? something to do with Session.getSyle()? Nino.Martinez wrote: Could'nt you style your way out of it? WicketKeeper wrote: Hi all Has anyone managed to put scrollbars on the drop-down bit of an

Re: Scrollbars on AutomCompleteTextField?

2007-10-26 Thread WicketKeeper
Hi, Yes, i think that might be the most sensible/easy way. Cheers! WK Erik van Oosten wrote: Hi WK, My solution was to just limit the number of things you show. This is how most autocomplete implementations work anyway. Regards, Erik. WicketKeeper wrote: Hi all Has

Re: PagingNavigator with custom images

2007-10-26 Thread Swaroop Belur
It looks like you will have to copy that markup(PagingNavigator.html) and replace the default ones by ur images.Right now they are directly embedded in markup as (lt;) for eg. -swaroop On 10/26/07, BatiB80 [EMAIL PROTECTED] wrote: Hi, is it possible to use the PagingNavigator with own

Re: Load Image from another server

2007-10-26 Thread Swaroop Belur
is it possible to load an image which is located on another server try using ExternalLink for this. add(new ExternalLink(el,full path,External Image)); -swaroop On 10/26/07, BatiB80 [EMAIL PROTECTED] wrote: Hi, is it possible to load an image which is located on another server. In my

Re: PagingNavigator with custom images

2007-10-26 Thread BatiB80
Hmm... - not very nice but it works! Thanks for the fast response! -- View this message in context: http://www.nabble.com/PagingNavigator-with-custom-images-tf4695835.html#a13424495 Sent from the Wicket - User mailing list archive at Nabble.com.

how to add a confirm window to a Link button?

2007-10-26 Thread raybristol
I use PageableListView to make a table and there is a column called 'delete', which works fine but I want to add a confirm window so when people click 'delete' a window will pop up asking 'yes' or 'no', in html, this can be done use javascript, but with wicket control link button, how to add to

Re: Changing IDEs to eclipse

2007-10-26 Thread Thies Edeling
Indeed the Sysdeo plugin works a lot better than WTP. For more convenience they provide a development classloader allowing you to load the dependencies of your Eclipse project into Tomcat. Just set your context root to src/main/webapp, add maven's target directory and any dependencies to the

Re: IllegalStateException when delivering a PDF

2007-10-26 Thread martinf
Hi, it's the flush() that's bad. Best answer to your question of streaming PDF's to the client is: http://www.nabble.com/Stream-Excel-to-the-client-tf1955606.html#a5364044 mf Benjamin Ernst wrote: Hi guys, I am delivering a PDF-Document with wicket like this: Document

Re: JavaRebel experience

2007-10-26 Thread James Law
Doug- So far javarebel is working for me. Using tomcat and adding those lines worked for me. --James Doug Leeper wrote: I recently downloaded JavaRebel and attempted to integrate into my project in Eclipse. I changed the Run parameters as indicated in the installation but there was nothing

Re: hot deploy new/updated components?

2007-10-26 Thread ivom2gi
Have you tried JSP Weaver which eliminates compilation and interpretes JSP pages? Check out http://www.zeroturnaround.com/jspweaver Bruno Borges wrote: This is a problem of understanding, IMHO. :) Actually, hot deploys are re-deploys. They are just re-deploys of one file. The JSP will

Re: Portlet howto

2007-10-26 Thread Thijs
Hello Charly, Have you got any answer from Liferay jet? We could put this in an issue in the Liferay support system. Or post a message on the forum. I tried something very ugly I implemented encodeRedirectURL as encodeURL is implemented. (copied the code) This prevents the nullpointer of

Re: is it a bug? (using beta 4)

2007-10-26 Thread Al Maw
Otan wrote: The problem with the extra dot-dot in the image src that arises when the filter is map to /* seems to be fixed when I do this: mountBookmarkablePage(/home, HomePage.class); Now, the URL I see in the browser when I access the homepage is this: http://server/context-path/home instead

Re: how to add a confirm window to a Link button?

2007-10-26 Thread raybristol
That's great sample, thanks so much Jan, I will try that soon! Jan Kriesten wrote: just add a behavior to the link which ads a javascript 'onclick': public class JavascriptEventConfirmation extends AttributeModifier { private static final long serialVersionUID = 1L;

Re: IllegalStateException when delivering a PDF

2007-10-26 Thread Benjamin Ernst
Thanks for your help. It works great! - Benjamin 2007/10/26, martinf [EMAIL PROTECTED]: Hi, it's the flush() that's bad. Best answer to your question of streaming PDF's to the client is: http://www.nabble.com/Stream-Excel-to-the-client-tf1955606.html#a5364044 mf Benjamin Ernst

Re: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-26 Thread Johan Compagner
you only get that when the newBrowserWindow detection already did detect a new browser window and created an pagemap for you If you just stayed in the first window then the pagemap wouldn't happen. You can turn the new browser window detection off in 1.2 so that you don't get those redirects But

Re: IE DownloadLink problems

2007-10-26 Thread wheleph
I Explored :) that IE expects input Content-Disposition attachment; filename=%D0%A1 ... instead of Content-Disposition attachment; filename==?utf-8?Q?=D0=A1 ... I wonder what kind of encoding is it? wheleph -- View this message in context:

Re: i18n feedbackmessages

2007-10-26 Thread Johan Compagner
With that code you are adding an attribute modifier ever time the button renders And you did get an exception i guess because you call getString() out of the blue inside a construtor of a not fully constructed class. To do that you have to lazy get the string through a model.getObject(). Then

IE DownloadLink problems

2007-10-26 Thread wheleph
Hello everyone! I've got a problem using DownloadLink. When a name of a file that is referenced by DownloadLink contains non-ASCII characters I get CAC96UV instead of Кириллица.txt in Internet Explorer download prompt. I encode the name in Q-encoding, and this doesn't help. Firefox displays

Re: Load Image from another server

2007-10-26 Thread Johan Compagner
you want to load the picture on the server? and stream that to the browser from your server? Make your own WebResource or DynamicWebResource that loads the img from an url johan On 10/26/07, BatiB80 [EMAIL PROTECTED] wrote: Hi, is it possible to load an image which is located on another

Re: hot deploy new/updated components?

2007-10-26 Thread Johan Compagner
i wouldn't use those 2 in production.. What i find strange is that it seems that they have all the code just in jsp files? Because you really change only jsp files to be up and running again? Where is all the business logic? Database layer? Is all the flow control also done in jsp? On 10/25/07,

AjaxFormChoiceComponentUpdatingBehavior not working when RadioChoice prefix and suffix are set

2007-10-26 Thread Daniel Kröger
Hi all, the onUpdate() method of AjaxFormChoiceComponentUpdatingBehavior added to a RadioChoice component doesn't get called when the rendered radio buttons are nested inside another HTML tag through RadioChoice.setPrefix() and RadioChoice.setSuffix(). I think the reason is that the

Retrieving Post Parameters with PageParameters

2007-10-26 Thread Chris Fierer
I am using an IFrame to call into a webpage with a form. When, that form is submitted, it posts back to my site. It sends the data via a POST Request. I was using the PageParameters object in my Page Constructor, but it never gets hit (I was using breakpoints). I have dug around the forum and

Re: Get libs without installing Maven?

2007-10-26 Thread Igor Vaynberg
i never said you have to use maven. you want the dependencies and want maven to download them for you, it can do that very well. like i said, simply follow the quickstart guide, generate a basic project and create a war using mvn package command. then you have a war file with all the dependencies

Re: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-26 Thread Carl-Eric Menzel
Johan Compagner wrote: you only get that when the newBrowserWindow detection already did detect a new browser window and created an pagemap for you If you just stayed in the first window then the pagemap wouldn't happen. Interesting. I did stay in the first window. But now that you say it, I

Re: Configuring AJAX tree

2007-10-26 Thread dstruck
Thanks for the advice, Matej. I've upgraded to Wicket 1.3 and the LinkTree lays out much nicer. That said, I actually was able to adjust the width by using CSS: 1. Create a CSS file in the same package as the HTML file. 2. Use a span tag in the HTML for the tree (when the HTML is generated by

Checkbox tree component

2007-10-26 Thread dstruck
Has anyone put together a checkbox tree component? I've done some searches but haven't turned anything up. Basically, I'd like a tree with a checkbox leading each node that when checked also selects all child nodes. I'm thinking of something like the tree you see when you do software updates in

Re: hot deploy new/updated components?

2007-10-26 Thread Eelco Hillenius
Yes I think this comparison is a little off. If the concern is fixing rendering quirks, typos in the copy, etc, you can leave Wicket's template reloader on in production if you want to, right? Actually, you don't even have to do that. Just enable JMX and you'll be able to clear the markup

Re: how do I add a feedback message to another page?

2007-10-26 Thread Eelco Hillenius
I have a LoginPage class that basically handles login through acegi. When a user is logged in, I have LoginPanel that shows some information about the user, an Edit Profile link and a Logout link. When the user clicks on logout, I have the following blocK: add(new Label(logoutDisplay,

Re: Retrieving Post Parameters with PageParameters

2007-10-26 Thread Johan Compagner
what kind of form do you use? Cant you use a stateless form on a stateless page? then you dont have to worry about anything like conversion. then everything is just as a normal statefull form. johan On 10/26/07, Chris Fierer [EMAIL PROTECTED] wrote: I am using an IFrame to call into a

Re: Retrieving Post Parameters with PageParameters

2007-10-26 Thread Johan Compagner
see examples: http://wicketstuff.org/wicket13/stateless/public/StatelessPage/ On 10/26/07, Andrew Lombardi [EMAIL PROTECTED] wrote: Johan, is there any code examples out there for using stateless forms? On Oct 26, 2007, at 1:01 PM, Johan Compagner wrote: what kind of form do you use?

Re: AjaxFormChoiceComponentUpdatingBehavior not working when RadioChoice prefix and suffix are set

2007-10-26 Thread Johan Compagner
yes this is know behavior... Send in an patch :) johan On 10/26/07, Daniel Kröger [EMAIL PROTECTED] wrote: Hi all, the onUpdate() method of AjaxFormChoiceComponentUpdatingBehavior added to a RadioChoice component doesn't get called when the rendered radio buttons are nested inside

Re: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-26 Thread Johan Compagner
org.apache.wicket.settings.IPageSettings#getAutomaticMultiWindowSupport() On 10/26/07, Carl-Eric Menzel [EMAIL PROTECTED] wrote: Johan Compagner wrote: you only get that when the newBrowserWindow detection already did detect a new browser window and created an pagemap for you If you

Re: Retrieving Post Parameters with PageParameters

2007-10-26 Thread Andrew Lombardi
Johan, is there any code examples out there for using stateless forms? On Oct 26, 2007, at 1:01 PM, Johan Compagner wrote: what kind of form do you use? Cant you use a stateless form on a stateless page? then you dont have to worry about anything like conversion. then everything is just as

DropDownchoices : reflecting change

2007-10-26 Thread mfs
Hello Guys, Well am sort of still playing around with wicket and getting hands-on different components and their working...and so far its going pretty good, this mail is just to get as much an understanding of the way a particular task should be achieved in wicket and to make sure i am following

Re: Changing IDEs to eclipse

2007-10-26 Thread Matthijs Wensveen
Double-click the server, click the modules tab, uncheck 'enable reloading' on the module that is the project you are working on. BTW, I use Eclipse and Maven and it just works great together. Unfortunately there is no support for WTP 2.0 yet for the maven eclipse (or should I say eclipse

Re: hot deploy new/updated components?

2007-10-26 Thread ekabanov
Couldn't you just cluster two server instances on the same machine and update the application in each of them taking down one at a time? I think we used to do something similar with BEA Weblogic, but perhaps you could with Tomcat as well? This would probably solve the uptime issue even if their

Re: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter from URL?

2007-10-26 Thread Carl-Eric Menzel
Johan Compagner wrote: org.apache.wicket.settings.IPageSettings#getAutomaticMultiWindowSupport() Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: i18n feedbackmessages

2007-10-26 Thread nico
Thanks, Johan With that code you are adding an attribute modifier ever time the button renders And you did get an exception i guess because you call getString() out of the blue inside a construtor of a not fully constructed class. thats why i moved the code to the propably wrong place.. To

Re: Checkbox tree component

2007-10-26 Thread Doug Leeper
I was just about to tackle this. If I get something together I will forward the code. - Doug -- View this message in context: http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13436155 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: IE DownloadLink problems

2007-10-26 Thread Johan Compagner
hmm don't know directly what is causing that but i do get more and more those files names. My downloads folder is full of filenames starting with utf-8x for example all the patches i download from or jira issue tracker seems to do that also... johan On 10/26/07, wheleph [EMAIL PROTECTED]

Re: Checkbox tree component

2007-10-26 Thread Doug Leeper
Ok here it is. I have also included my use of it. While it won't compile for you...you will at least see how I have used it. http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html CheckBoxIconPanel.html http://www.nabble.com/file/p13439520/CheckBoxIconPanel.java CheckBoxIconPanel.java

Re: OT: API to calculate distances from zip code

2007-10-26 Thread Sean Sullivan
Take a look at: 1) MapQuest Business Solutions The name of the feature is proximity search http://company.mapquest.com/mqbs/3.html 2) Microsoft Virtual Earth proximity search http://www.microsoft.com/virtualearth/product/ 3) Multimap