Re: Dojo 1.1 integration available from wicketstuff

2008-12-23 Thread Emanuele Gesuato
Stefan Fußenegger wrote: There's now a little bit of documentation online: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-dojo-1.1 Cheers, Stefan Hi, First of all, good job. Is there any plan to support the dojo context menu ? :-) We are using it but we've got several

Re: Multi-tap operations in Wicket

2008-12-23 Thread HHB
Seam and Wicket shouldn't compared. Seam is an integration framework (Hibernate, EJB3, JSF, jBPM, Quartz ...) , Wicket is a web framework. My current favorite frameworks are: Seam, Wicket and GWT Second rank: Tapestry, Grails Erik van Oosten wrote: Glad that is out of the way :) Wicket

unit test for dropdownchoice with ajax

2008-12-23 Thread tbt
Hi I have coded two dropdown boxes similar to the example provided at http://http://www.wicket-library.com/wicket-examples/ajax/choice.1 The hotel dropdown is populated once a country is selected via ajax. This works fine and now i am writing a unit test for it. The code is as follows

Re: debugging

2008-12-23 Thread Dipu
use the Sysdeo Eclipse Tomcat Launcher plugin http://www.eclipsetotale.com/tomcatPlugin.html Cheers Dipu On Tue, Dec 23, 2008 at 10:34 AM, Björn Tietjens bjor...@web.de wrote: Hi, I am developing a webapp with wicket on eclipse, deploying as war, using a local tomcat for testing. What is

debugging

2008-12-23 Thread Björn Tietjens
Hi, I am developing a webapp with wicket on eclipse, deploying as war, using a local tomcat for testing. What is the best/easiest way to debug my app with eclipse? How can I deploy/start the webapp from within eclipse or how can I attach eclipse to tomcat in order to debug my code? Thanx

Re: debugging

2008-12-23 Thread Azzeddine Daddah
Start tomcat using catalina jpda start :) 1. Open the startup script in (your_tomcat_home)/bin (WIN: startup.bat, UNIX: startup.sh) 2. Add the following lines at the first blank line in the file WINDOWS: set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket UNIX: export

Phonebook example

2008-12-23 Thread Peter Karich
Hi, I freshly checked out the phonebook example from svn. But I have 2 problems. 1. I have to add the following dep: dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.0.8/version /dependency Otherwise it wouldn't find some

Re: Dojo 1.1 integration available from wicketstuff

2008-12-23 Thread Stefan Fußenegger
Hi Emanuele, I don't plan to support additional components myself - especially not problems that seem to be caused by Dojo only. wicketstuff-dojo-1.1 is mainly meant to ease the integration of Dojo into Wicket (i.e. to provide the infrastructure like custom builds, packaging as jar files,

[announce] Wicketstuff Artwork first release!

2008-12-23 Thread Nino Martinez
Hi Guys So I made it in time for x-mas :) The very first release of wicketstuff Artwork. Whats Wicketstuff artwork all about? If you've ever tired of spending numerous hours on fidling with css just to see it break in IE etc.. And are you having a hard time making your pages look cool? Well

Re: debugging

2008-12-23 Thread Martijn Dashorst
Use the jetty start class instead. There's little difference between tomcat/jetty when you're using Wicket as a deployment platform, but the development experience is much more different. Martijn On Tue, Dec 23, 2008 at 11:34 AM, Björn Tietjens bjor...@web.de wrote: Hi, I am developing a

Re: code for DataGrid with vertical scrolling

2008-12-23 Thread Stefan Fußenegger
I once started working on a component that used vertical scrolling. It was based on a GrowableListView (based on http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/), GrowableListView.java: http://pastie.org/345504 GrowableListView.html:

Re: debugging

2008-12-23 Thread John Krasnay
I use Tomcat via the Eclipse WTP. Here are some quick instructions if you're using Maven: - add the wtpversion and wtpContextName elements to your maven-eclipse-plugin config plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId

Applying Styles Through Java

2008-12-23 Thread walnutmon
I have found very little in my wicket books, and on this forum in terms of adding styles to components through java. Is this because it's outside of the scope of wicket? As an example. If I have a panel, and I want all of those panels to have a style class someComponentClass, is it better to

RE: Applying Styles Through Java

2008-12-23 Thread Stefan Lindner
It depends :-) You may control the attributes of an element (e.g. attribute class) with Component.add(new simpleAttributeModifier(class, someComponentClass); Stefan -Ursprüngliche Nachricht- Von: walnutmon [mailto:justin.m.boy...@gmail.com] Gesendet: Dienstag, 23. Dezember

Re: Applying Styles Through Java

2008-12-23 Thread Steve Swinsburg
You can do it in either but since its best to separate the display from the logic, keep it in the HTML. Exception is if you need to dynamically change the class etc. HTML: div class=someCSS wicket:id=someComponent stuff /div Java: look at AttributeAppender AttributeModifier that appends

Re: Applying Styles Through Java

2008-12-23 Thread dtoffe
walnutmon wrote: Also, as an aside, where can I find wicket jars for the 1.3.5 release with javadocs contained so that I can see the javadocs from netbeans? I have had a heck of a time without them. http://repo2.maven.org/maven2/org/apache/wicket/wicket/ At the moment I

Re: Applying Styles Through Java

2008-12-23 Thread Ernesto Reinaldo Barreiro
I think this might depend on your use case: 1-If your are creating a component and you want it to tune to look different on different parts of your pages it might be useful to have something like: component.add(new SimpleAttributeModifier(class, getMyStyleClassName()); So that you can change it

Re: debugging

2008-12-23 Thread Michael O'Cleirigh
Hi Björn, If your project is configured to use maven then you can use the m2eclipse plugin to invoke the jetty:run target which will run in the debugging perspective. http://m2eclipse.codehaus.org/ For me I get dynamic code replacement, markup file changes, etc handled without needing to

Wicket and Dynamic Tables Demo

2008-12-23 Thread Ayodeji Aladejebi
http://uk.youtube.com/watch?v=6JrcFXBffLY

HR as Component

2008-12-23 Thread HITECH79
Hallo, is there any way to create a hr as Wicket Component? Thanks HITECH79 -- View this message in context: http://www.nabble.com/%3CHR%3E-as-Component-tp21148370p21148370.html Sent from the Wicket - User mailing list archive at Nabble.com.

SignInPanel of wicket-auth-roles (1.4-rc1)

2008-12-23 Thread Adriano dos Santos Fernandes
Hi! Different from the SignInPanel of the examples, the wicket-auth-roles component doesn't do setType(String.class) for username and password. That causes warnings in the log about unrecognized model type. Should not the setType be there? Adriano

Re: HR as Component

2008-12-23 Thread James Carman
You can use a WebMarkupContainer. On Tue, Dec 23, 2008 at 12:37 PM, HITECH79 hitec...@web.de wrote: Hallo, is there any way to create a hr as Wicket Component? Thanks HITECH79 -- View this message in context: http://www.nabble.com/%3CHR%3E-as-Component-tp21148370p21148370.html Sent

Re: Wicket and Dynamic Tables Demo

2008-12-23 Thread Martijn Dashorst
This one made me sea sick. Can't you use a screen cast tool instead? See http://www.codinghorror.com/blog/archives/000721.html for a list of tools for windows. Martijn 2008/12/23 Ayodeji Aladejebi aladej...@gmail.com: http://uk.youtube.com/watch?v=6JrcFXBffLY -- Become a Wicket expert,

Re: HR as Component

2008-12-23 Thread Nino Martinez
Or a label James Carman wrote: You can use a WebMarkupContainer. On Tue, Dec 23, 2008 at 12:37 PM, HITECH79 hitec...@web.de wrote: Hallo, is there any way to create a hr as Wicket Component? Thanks HITECH79 -- View this message in context:

problem with simple wicket application (http error 403)

2008-12-23 Thread wgap
I am having trouble getting a simple wicket application to work. The problem is: when I try to test the deployed app I get error 403. I am trying to get the simple wicket application described at http://nikojava.wordpress.com/2008/10/27/wicket-guide-for-jdeveloper-11g/ working, using

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Jeremy Thomerson
The examples give me an error in IE (works in Firefox). See attached screenshot. On Tue, Dec 23, 2008 at 7:30 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: Hi Guys So I made it in time for x-mas :) The very first release of wicketstuff Artwork. Whats Wicketstuff artwork all about?

Re: Wicket and Dynamic Tables Demo

2008-12-23 Thread Ayodeji Aladejebi
thanks..i hated the video myself. On Tue, Dec 23, 2008 at 5:57 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: This one made me sea sick. Can't you use a screen cast tool instead? See http://www.codinghorror.com/blog/archives/000721.html for a list of tools for windows. Martijn

Re: Case sensitivity and PackageRequestTargetUrlCodingStrategy

2008-12-23 Thread Jeremy Thomerson
I committed it. Thanks. On Tue, Dec 16, 2008 at 9:33 PM, Matthew Hanlon mrhan...@gmail.com wrote: No, I do not have commit rights. I have created an issue on JIRA and attached the project with the classes added. http://wicketstuff.org/jira/browse/WSMINIS-8 Regards, Matthew. On Tue, Dec

Re: debugging

2008-12-23 Thread Jason Lea
Eclipse WTP+Tomcat is really great :) The other setting I think you need is in the Server view, double click the tomcat server and use 'Serve modules without publishing' so it doesn't have to restart the server for changes (hot code/markup). For me it is nice to be able develop/test on the

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Jonathan Locke
this is cool, but i don't understand the concept quite. why is this: Graphics g=new Shadow(); g.setChainedGraphics(new Border()).setChainedGraphics(new Gradient()); ArtworkCanvasBehavior a=new ArtworkCanvasBehavior(g,new RoundedRect()); add(new Label(message, If

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Nino Martinez
Yup, I havent gotten around to putting in the link to excanvas(the thing for IE) yet.. Jeremy Thomerson wrote: The examples give me an error in IE (works in Firefox). See attached screenshot. On Tue, Dec 23, 2008 at 7:30 AM, Nino Martinez nino.martinez.w...@gmail.com

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Nino Martinez
True, good question im not even sure what the diff are I've just pushed it through to support what you do in js with it :) It might have something todo with combined operations versus single ones (eg if you apply more graphics at the same time it might render differently that otherwise)...

DropDownChoice Dynamically adding a panel

2008-12-23 Thread wicketworker
Hi, I have a DropDownChoice with 5 selections, and based on the choice the user selected, i need to add a specific panel (out of 5 panels) to the page.. For example : If user selection is A, add panel A If user selection is B, add panel B I know this might sound very basic,

use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-23 Thread Peter Neubauer
Hi there, since Nino left the Jayway train, I am forced to work my way through wicketstuff :) Now, I want to pick a date, and am wondering what the current incarnation of a datepicker is that works with Wicket 1.3? I found the org.wicketstuff.yui.markup.html.calendar.Calendar and can insert it

Re: DropDownChoice Dynamically adding a panel

2008-12-23 Thread Peter Neubauer
Hi Siva, I am not sure but I have seen this being done with a placeholder panel that you replace with the chosen one upon changing of the choice, using placeholder.replaceWith(newPanel) ... maybe someone else can explain it more in detail? /peter Open Hearts, Open Minds, OpenCauses. GTalk:

Re: DropDownChoice Dynamically adding a panel

2008-12-23 Thread wicketworker
Thanks Peter.. Yes, Lets wait and see any body has done this.. Peter Neubauer-3 wrote: Hi Siva, I am not sure but I have seen this being done with a placeholder panel that you replace with the chosen one upon changing of the choice, using placeholder.replaceWith(newPanel) ... maybe

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Jonathan Locke
i think it would be a good idea to understand this before creating an API to it also, i'm getting some serialization exceptions. i think you need to make Graphics Serializable Nino Martinez-2 wrote: True, good question im not even sure what the diff are I've just pushed it through to

Re: DropDownChoice Dynamically adding a panel

2008-12-23 Thread Peter Neubauer
I think the concept is explained here: http://www.nabble.com/Show-hide-WebMarkupContainer-td19290460.html HTH /peter Open Hearts, Open Minds, OpenCauses. GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Jonathan Locke
sorry for being a backseat driver here, but i've got a few more issues to think about... one problem i'm having with this design is that if you do have to chain these graphics together, having a varargs constructor is not really sufficient because there's no way to create a subclass of

[OT] Merb-Rails Merge

2008-12-23 Thread Serkan Camurcuoglu
This page http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 made me dream about a world where all Java web frameworks merge into Wicket :) -- View this message in context:

Re: [announce] Wicketstuff Artwork first release!

2008-12-23 Thread Nino Martinez
Reply inline... Jonathan Locke wrote: sorry for being a backseat driver here, but i've got a few more issues to think about... No problem, good with some feedback... one problem i'm having with this design is that if you do have to chain these graphics together, having a varargs constructor

Re: [OT] Merb-Rails Merge

2008-12-23 Thread Nick Heudecker
Can you imagine if we only had one web framework? Most of the conferences would shut down and Java book sales would plummet. What would Java developers argue about with only one web framework? Other than disputes over IDEs, AJAX frameworks, SOAP APIs, testing, SCM, and dozens of other things

Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-23 Thread Nino Martinez
Hi Peter Just use it the ordinary way add a field containing a date, and ADD the datepicker to it... Like this: add(dateField = new DateTextField(date, new PropertyModel(this, date))); dateField.add(new DatePicker()); Peter Neubauer wrote: Hi there, since Nino

Wicket Ajax Table Demo

2008-12-23 Thread Ayodeji Aladejebi
Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w -- Aladejebi Ayodeji A., DabarObjects Solutions

Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-23 Thread Jeremy Thomerson
There is a Wicket core DatePicker now: 1.4: http://svn.apache.org/repos/asf/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/ 1.3:

Re: Wicket Ajax Table Demo

2008-12-23 Thread Martijn Dashorst
Much better thanks! Martijn On Tue, Dec 23, 2008 at 11:49 PM, Ayodeji Aladejebi aladej...@gmail.com wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w -- Aladejebi Ayodeji A., DabarObjects Solutions -- Become a Wicket expert, learn from the best:

Re: Wicket Ajax Table Demo

2008-12-23 Thread Nino Martinez
Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Wicket Ajax Table Demo

2008-12-23 Thread Ayodeji Aladejebi
please can you explain what you mean? its actually still in making... On Tue, Dec 23, 2008 at 11:20 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video

Wicket and Javascript framework integration

2008-12-23 Thread tabiul mahmood
Hi, I would like to know more about how can I go about integrating wicket with one of the popular javascript framework (Dojo or jQuery). We would like to use the standard wicket component and flavour the component with the JS. I want to avoid writing wicket component extension. I am aware that

Re: Wicket and Javascript framework integration

2008-12-23 Thread Jeremy Thomerson
Check out one of the many examples in Wicket Stuff, for instance, the YUI integration: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/ You can also see what Nino has just been working on in the past couple of days with this:

Re: ERROR: Error while parsing response: Could not find root ajax-response element

2008-12-23 Thread Jeremy Thomerson
I submitted a patch for it. You could patch your version locally if you wanted. Another temporary workaround would be to create a page that simply redirects to the homepage - then from your ajax submit, you could redirect to that alternative page rather than directly to the homepage. I haven't

About a thread safe problem of the WebApplication class

2008-12-23 Thread 加納充照
The following errors occurred when the performance of the wicket application was tested. [Trace of error] [08/12/18 9:53:34:575 JST] 003e SystemOut O 2008-12-18 09:53:34,499 ERROR RequestCycle - concurrent access to HashMap attempted by Thread[WebContainer : 6,5,main]

Re: Dynamic Select and SelectOptions

2008-12-23 Thread tbt
homar70 wrote: Hi, I have trouble of finding out how to make dynamic optgroups and options from the select and selectoptions in wicket-extensions. The same issue is described in this post http://www.nabble.com/Select-and-SelectOptions-td11684707.html#a11695243 Any ideas? -Spratle

Re: Wicket and Javascript framework integration

2008-12-23 Thread T C
I understand all integrations may be different but has anyone posted a recipe for how to create an integration jQuery, i.e., what is required for creating a behavior? Thanks, /tc From: Jeremy Thomerson jer...@wickettraining.com To: users@wicket.apache.org

HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).

2008-12-23 Thread Michiaki Kanou
I am using Wicket1.3.5 and WAS6.1.0(And FixPack21) now, and when WicketFilter is used, HTTP error code 404 is occur(It is not occur in Tomcat5.0.28). The following question is here. In the close() method of BufferedWebResponse, the Writer instance might have to be shut. For instance, after the

Re: About a thread safe problem of the WebApplication class

2008-12-23 Thread Johan Compagner
Hmm weird nobody else seem to notice this before, we just should make it a concurrenthashmap On 24/12/2008, 加納充照 michiaki.ka...@gmail.com wrote: The following errors occurred when the performance of the wicket application was tested. [Trace of error] [08/12/18 9:53:34:575 JST] 003e