page content in panel

2009-07-22 Thread Gerald Fernando
i used java 1.6 wicket 1.2.7 jar wicket-extensions 1.2.7 jar with Eclipse is it enough? Please give me quick reply -- Thanksregards, Gerald A

Check if ajax request in HeaderContributor

2009-07-22 Thread Marieke Vandamme
Hello, How do I test if the request is an ajax request in the HeaderContributor? Because I don't want to call renderJavascriptReference and renderCSSReference when processing ajax request. Many thanks in advance! Marieke. DISCLAIMER A

Re: Check if ajax request in HeaderContributor

2009-07-22 Thread Linda van der Pal
So you are rendering the entire page again? Because usually you only target certain areas of the page, so the headers don't come into the picture. Linda Marieke Vandamme wrote: Hello, How do I test if the request is an ajax request in the HeaderContributor? Because I don't want to call

Re: Can not find library for SortableListView

2009-07-22 Thread Steve Olara
Hello All,   Am trying to use the SortableListView to use the drag and drop feature of scriptaculous but i can not get the library to add to my project, all I got are javascript files but am not sure if that can be added as libraries, has anyone used this before and take me through setting up

Re: Check if ajax request in HeaderContributor

2009-07-22 Thread Marieke Vandamme
I have specific components that need specific javascript or css (jquery, scriptaculous,...). For those components I put the includes in headercontributor for those components. And when these are added to a page again, the js and css is loaded again too. That I want to avoid. Thanks ! Linda

What are the jar files needed.

2009-07-22 Thread Gerald Fernando
What are the jar files needed. now i have got wicket 1.4 . what are jar files those i have to add in webcontent lib folder i have included wicket 1.4rc5.jar wicket-extension 1.4rc5.jar but in my code ,it shows the error such as import org.apache.wicket cannot be resolved WebApplication cannot

Re: Check if ajax request in HeaderContributor

2009-07-22 Thread Peter Ertl
check for AjaxRequestTarget.get() != null Am 22.07.2009 um 11:21 schrieb Marieke Vandamme: I have specific components that need specific javascript or css (jquery, scriptaculous,...). For those components I put the includes in headercontributor for those components. And when these

AW: AW: SSL - ajax login

2009-07-22 Thread Arthur Leigh Allen
Hi again, I need to know if it's possible to switch to SSL via button or form. Otherwise I have to switch back to wicket 1.3.5. I'm in hurry because we will go online within the next 10-14 days. Can anyone give me a prompt answer please? Thx Best regards Arthur

Re: What are the jar files needed

2009-07-22 Thread Martin Makundi
Use maven2 to automatically handle dependencies. 2009/7/22 Gerald Fernando gerald.anto.ferna...@gmail.com: What are the jar files needed. now i have got wicket 1.4 . what are jar files those i have to add in webcontent lib folder i have included  wicket 1.4rc5.jar  wicket-extension

Re: best or common practice for application plug-ins

2009-07-22 Thread Sam Stainsby
Thanks Adrian for sending through the details. We are now also looking at Apache Geronimo that has some interesting features for plugins. Thanks all, Sam. On Mon, 20 Jul 2009 17:26:03 +0200, Adrian Wiesmann wrote: Ping me offline for details since this is very much non-Wicket stuff.

Re: AW: AW: SSL - ajax login

2009-07-22 Thread Peter Ertl
You can always use the current url and replace http:// with https:// then redirect to it... WebRequest and WebRequest.getHttpServletRequest() provides you with all you need. if you do it in ajax you could use window.location.href to force the redirect from client side... Am

Re: What are the jar files needed

2009-07-22 Thread Mathias Nilsson
The best choice is to use maven afaik. It handles all the jar dependencies for you. http://maven.apache.org http://maven.apache.org . When you have installed it you can visit http://wicket.apache.org http://wicket.apache.org and the quickstart to install wicket. If you don't want to use

Re: What are the jar files needed

2009-07-22 Thread Martin Makundi
Someone had written a nice quick start for installing maven and wicket quickstart... anybody remember the link? 2009/7/22 Martin Makundi martin.maku...@koodaripalvelut.com: Use maven2 to automatically handle dependencies. - To

Re: What are the jar files needed

2009-07-22 Thread Mathias Nilsson
Here is one. http://www.jeremythomerson.com/blog/2008/11/17/wicket-quickstart-tutorial/ http://www.jeremythomerson.com/blog/2008/11/17/wicket-quickstart-tutorial/ -- View this message in context: http://www.nabble.com/What-are-the-jar-files-needed-tp24602837p24604032.html Sent from the Wicket

How to keep selection of TabbedPanel

2009-07-22 Thread Petr Fejfar
Hi all, I have nested tabbed panels and I'd like save/restore currect selected tab on each nested page when e.g. switching parent tab. What is a recommended way to achieve this? Thanks, Petr - To unsubscribe, e-mail:

Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
Hi, Is there any way to store CSS settings and classes into a database. I have a css file describing styles for whole website. I want to give user an option, to modify styles (background color, font, table header font, etc.) of thier own choices (at run-time). When user selects from the given

TinyMCE, in place edit with on focus lost and start RTE after a javascript request

2009-07-22 Thread Daniele Dellafiore
Hi everyone, I am trying to get this behavior mixing TinyMCE wickestuff component and some wicket default ajax features. I want to press a button, say ADD, that makes a new section appears. After ADD is pressed, there is a new item in a ListView that contains a Form that has some TextField and

Re: Can not find library for SortableListView

2009-07-22 Thread Mathias Nilsson
Maybe some can help with this. I have tried all sort of libraries for 1.4 but with no luck. Anyway, for a simple HighLight function this works. Don't think this is the latest. dependency groupIdorg.wicketstuff/groupId artifactIdwicketstuff-scriptaculous/artifactId

Re: What are the jar files needed

2009-07-22 Thread Martijn Dashorst
Or download the free chapter 15 from Wicket in Action [1], which goes into detail in setting things up with ant or maven. Martijn [1] http://wicketinaction.com/downloads/ On Wed, Jul 22, 2009 at 12:44 PM, Mathias Nilssonwicket.program...@gmail.com wrote: Here is one.

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread Mathias Nilsson
You would probably have to use cookies to save which style the users would have. There is no way knowing this without login or cookie. There are probably a better way of doing this but if you save style and classes in a database like this *{ font-family: verdana; } // a row in the database a{

Re: How to keep selection of TabbedPanel

2009-07-22 Thread Mathias Nilsson
You have the setSelectedTab(int index) the you could save. If you are not certain if the tabbes are added in the same order use a factory or something to get the tabs by identifier. -- View this message in context:

Re: Can not find library for SortableListView

2009-07-22 Thread Steve Olara
Thanks, I managed to find the library, the drag and drop feature is working --- On Wed, 22/7/09, Mathias Nilsson wicket.program...@gmail.com wrote: From: Mathias Nilsson wicket.program...@gmail.com Subject: Re: Can not find library for SortableListView To: users@wicket.apache.org Date:

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
Thanks for quick response. Obviously, styles can be loaded from database after Login. But i want to make a separate css file and dont want ot add it in the java code, for sake of simplicity. Is there any way to store css styles directly from css file for a specific user, and then load styles

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Anton Veretennikov
May I ask about wicketstuff-jquery's future? -- Tony On Wed, Jul 22, 2009 at 3:09 AM, Stefan Lindnerlind...@visionet.de wrote: Yes! Fixed. Now it's http://subversion.visionet.de/project/WicketJQuery/browser/tags/0.3.7/WicketJQueryDemo.war -Ursprüngliche Nachricht- Von: satar

Application Period for Travel Assistance to ApacheCon US 2009 Opens Soon

2009-07-22 Thread Jeremy Thomerson
This just in from the ApacheCon Travel Assistance Committee. While you're planning for ApacheCon US this year, don't forget that there will be a one-day training as well as a conference session dedicated to Wicket. --- The Travel Assistance Committee is taking in

RE: Save CSS/StyleSheet in Database ?

2009-07-22 Thread Russell Simpkins
I have not done this myself, but I think you might get what you want using the SimpleAttributeModifier. Say you were doing a css style: link rel=stylesheet type=text/css href=css/standard.css wicket:id=userStyles:/ Then in your javacode you can have: userCss.add(new

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Martijn Dashorst
What about it? On Wed, Jul 22, 2009 at 2:41 PM, Anton Veretennikovanton.veretenni...@gmail.com wrote: May I ask about wicketstuff-jquery's future? -- Tony On Wed, Jul 22, 2009 at 3:09 AM, Stefan Lindnerlind...@visionet.de wrote: Yes! Fixed. Now it's

Generic Navigation Panel

2009-07-22 Thread Matthias Keller
Hi I'm creating a new website with wicket which should have a normal navigation bar. I'd like to be able to detect whether a link points to the current page to give the surrounding div a special class. For example on page1: div class=activeLink a href=page1page1/a /div div a

Re: Generic Navigation Panel

2009-07-22 Thread Iain Reddick
You can actually configure the tags that are put around a disabled link at application level, like this: getMarkupSettings().setDefaultBeforeDisabledLink( ); getMarkupSettings().setDefaultAfterDisabledLink( ); This would give span*linktext*/span for disabled lnks (such as an autolink to the

should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello all, I am trying to use the RequestLogger. It is really a greet idea that the interface ISessionLogInfo is defined. Developer can just implement this interface for logging more individual information. My requirement is: I want to use the instance of IRequestLogger for building a site

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jeremy Thomerson
Isn't the logger sort of a service that does the logging? Your page shouldn't hold on to that. Perhaps it can get it from the application or hold on to something else. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 22, 2009 at 9:38 AM, Jing Ge (Besitec IT

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Johan Compagner
why would you serialize the request logger? there is only one and that is attached to the Application it shouldnt be serialized. Just like that Settings object is also not serialize able or the implementations of ISessionStore johan On Wed, Jul 22, 2009 at 16:38, Jing Ge (Besitec IT DEHAM)

Re: Ajax-y interactions inside a form

2009-07-22 Thread Linda van der Pal
Have you tried adding an AjaxFormComponentUpdatingBehavior? Something like this: dropdown.add(new AjaxFormComponentUpdatingBehavior(onchange) { private static final long serialVersionUID = 1L; @Override protected void onUpdate(final AjaxRequestTarget target) {

RE: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello johan, Because I want to use the information hold in the RequestLogger as an object in a model. Something like this: New ModelRequestLogger(getRequestLogger()); Thx Jing -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Mittwoch, 22. Juli 2009 16:43

RE: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Hello Jeremy Thomerson, For example: I want the site administrator know, for example, how many users are active now, what are their session looks like, etc. Thx Jing -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Mittwoch, 22. Juli 2009 16:42 To:

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jeremy Thomerson
Would you use new ModelUserService(getYourUserService())? It's the same thing - they are services, not data objects. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 22, 2009 at 9:47 AM, Jing Ge (Besitec IT DEHAM)j...@besitec.com wrote: Hello johan, Because I want to use the

RE: should the IRequestLogger implement Serializable?

2009-07-22 Thread Jing Ge (Besitec IT DEHAM)
Well, the RequestLogger is not a pure service. It is also a data object. It is actually a combination of service and data object. Regard Jing -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Mittwoch, 22. Juli 2009 16:53 To: users@wicket.apache.org

Re: Ajax-y interactions inside a form

2009-07-22 Thread Linda van der Pal
Well I'm not too familiar with this area of Wicket, but there's also AjaxLink which is similar to Link, but sends a request using Ajax*. Which means it doesn't submit like AjaxSubmitLink does. Linda *quote from Wicket in Action (Which I heartily recommend if you haven't read it yet.)

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread Michael O'Cleirigh
Hi Farhan, You should create an IRequestTargetUrlCodingStrategy implementation to serve the CSS from the database. It should work to mount the strategy on something like '/custom-user-css' and then user the rest of the path as the options for say the user and version of the css to load.

problem with pagination when hibernate result transformer is applied

2009-07-22 Thread tubin gen
I am using hibernate criteria query to get data for my AjaxFallbackDefaultDataTable, this datatable also gives me pagination parameters which I am apply to criteria. .The entity I am using for the criteria query has a lazy load collection ,and I need the size of the collection in the view

Re: Ajax-y interactions inside a form

2009-07-22 Thread Andrea Aime
Linda van der Pal ha scritto: Well I'm not too familiar with this area of Wicket, but there's also AjaxLink which is similar to Link, but sends a request using Ajax*. Which means it doesn't submit like AjaxSubmitLink does. That's why I'm using an AjaxSubmitLink in my example (attached to the

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Anton Veretennikov
I mean, 1. What are things in other jQuery integrations that are not already done in wicketstuff-jquery? 2. When I move to wicket 1.4-rcX, what version I need to use of wicketstuff-jquery? (I mean conflicts of versions) 3. What are statuses of all different integrations? -- Tony On Wed, Jul

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Lionel Armanet
Hi, Just to talk, there's another jQuery-Wicket integration project called WiQuery (http://code.google.com/p/wiquery/) and supported by jWeekend (http://www.jweekend.com/dev/LWUGReg/). Did you look at this project too ? Lionel tauren wrote: jWicket has now been released as a wicketstuff

Re: AW: SSL - ajax login

2009-07-22 Thread Igor Vaynberg
ah, i thought i replied already because i looked into this yesterday. you will have to roll your own button. i would recommend looking at the sourcecode of the default button. when you add the formsubmitbehavior in your button you can override getcallbackurl() and append https to it. -igor On

Re: problem with pagination when hibernate result transformer is applied

2009-07-22 Thread James Carman
Do a different query to ask how many there are than the one you use to return the data. On Wed, Jul 22, 2009 at 11:10 AM, tubin genfachh...@gmail.com wrote:   I am using hibernate criteria query to get data for my AjaxFallbackDefaultDataTable, this datatable also  gives me pagination

Re: Generic Navigation Panel

2009-07-22 Thread Igor Vaynberg
cant you use PagingNavigator? -igor On Wed, Jul 22, 2009 at 7:05 AM, Matthias Kellermatthias.kel...@ergon.ch wrote: Hi I'm creating a new website with wicket which should have a normal navigation bar. I'd like to be able to detect whether a link points to the current page to give the

Re: Generic Navigation Panel

2009-07-22 Thread John Armstrong
Any plans to move this down to the Component level? I've had situations where I needed to override this at the page level and even within a panel within a page.. John- On Wed, Jul 22, 2009 at 7:14 AM, Iain Reddickiain.redd...@beatsystems.com wrote: You can actually configure the tags that are

Re: Generic Navigation Panel

2009-07-22 Thread Igor Vaynberg
it is on component level. abstractlink has those methods i believe. -igor On Wed, Jul 22, 2009 at 10:16 AM, John Armstrongsiber...@siberian.org wrote: Any plans to move this down to the Component level? I've had situations where I needed to override this at the page level and even within a

Re: Generic Navigation Panel

2009-07-22 Thread John Armstrong
Good info, thanks Igor, I'll check it out. J On Wed, Jul 22, 2009 at 10:27 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: it is on component level. abstractlink has those methods i believe. -igor On Wed, Jul 22, 2009 at 10:16 AM, John Armstrongsiber...@siberian.org wrote: Any plans to move

Re: should the IRequestLogger implement Serializable?

2009-07-22 Thread Johan Compagner
you shouldnt store those kind of objects (services or application static objects) use LoadableDetachableModel for that On Wed, Jul 22, 2009 at 16:56, Jing Ge (Besitec IT DEHAM) j...@besitec.comwrote: Well, the RequestLogger is not a pure service. It is also a data object. It is actually a

Re: Loading Velocity Templates

2009-07-22 Thread Andrew Berman
OK, so the iterator does return all combinations, so I guess I have to loop through them and check for their existence. I don't suppose Wicket has anything to do that already since it must be doing something like this with the HTML? On Tue, Jul 21, 2009 at 5:06 PM, Igor Vaynberg

Re: Loading Velocity Templates

2009-07-22 Thread Andrew Berman
It looks like ResourceStreamLocator has the logic I'm looking for. Let me give it a shot and I'll let you know if it works. Thanks for your help! On Wed, Jul 22, 2009 at 11:05 AM, Andrew Berman atber...@gmail.com wrote: OK, so the iterator does return all combinations, so I guess I have to

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread richardwilko
Hi, What are the advantages of jWicket over other Wicket jQuery projects (specifically wiQuery)? It would be nice if we could all work together on a single project. wiQuery has already pooled the development resources of two other such projects. wiQuery has Wicket behaviours for the core

Re: Loading Velocity Templates

2009-07-22 Thread Andrew Berman
I was not able to get it to work with ResourceStreamLocator. Whatever I passed in for the path yielded a null stream. The iterator does work though, so I'm just going to loop through it and check for null. Thanks again Igor! On Wed, Jul 22, 2009 at 11:09 AM, Andrew Berman atber...@gmail.com

Looking for Pop-up menu...

2009-07-22 Thread Petr Fejfar
Hi all, I went through lot of Javascript integrating components to find out pop-up menu similiar to YUI context menu except a menu could be poped-up by left mouse click, mouse hover etc... But I did not find any. Is somewhere such component? Thanks, Petr

VelocityTemplate and UTF-8

2009-07-22 Thread Andrew Berman
Hello, I cannot seem to get VelocityPanel to output my files properly. I am embedding vm files within Wicket HTML files using VelocityPanels and no matter how I encode the vm file (UTF-8 encoded or unicode escaped), I am not getting the proper characters displayed when the page is served. I

RE: https flips to http

2009-07-22 Thread TahitianGabriel
Hi, Did you ever solve this problem? I'm having the exact same problme with apache 2, tomcat 6 and wicket 1.3.6. Some of the Https URLs are redirect to Http. It seems to happen when I use the setResponsePage(Page) fonction. Any help would be appreciate... insom wrote: Thanks to everyone

Re: https flips to http

2009-07-22 Thread Dane Laverty
The problem did eventually get solved, though I couldn't tell you how. It was a server issue, so our server people finally figured it out. I'm sorry I can be of any help to you here :( Dane On Wed, Jul 22, 2009 at 1:19 PM, TahitianGabriel glan...@piti.pf wrote: Hi, Did you ever solve this

Re: VelocityTemplate and UTF-8

2009-07-22 Thread Andrew Berman
I figured it out. For reference, I overrode the parseGeneratedMarkup() method to return true and it all comes out properly. On Wed, Jul 22, 2009 at 12:54 PM, Andrew Berman atber...@gmail.com wrote: Hello, I cannot seem to get VelocityPanel to output my files properly. I am embedding vm

bindgen release

2009-07-22 Thread Stephen Haberman
Hi, I just released bindgen 2, a type-safe alternative to OGNL-like string expressions, that works particularly well in component-based frameworks like Wicket. It integrates with javac and/or Eclipse to do things like: Employee e = new Employee(); Form f = new Form(); f.add(new

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Tauren Mills
Hi Richard, I actually tried out WiQuery before deciding it wasn't the right tool for me. I can't remember the exact specifics of the issues I had with it, and I only spent about a day with it. But I remember feeling like I was being forced to use it whenever and wherever I wanted to add ANY

AW: AW: SSL - ajax login

2009-07-22 Thread Arthur Leigh Allen
that's a good hint, thanks a lot i already switched back to wicket 1.3.5 because there are too many changes and the time is too short to makes such changes now i'll try your suggestion Von: Igor Vaynberg igor.vaynb...@gmail.com An: users@wicket.apache.org

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Jeremy Thomerson
I didn't read your whole post - but if you just want to code your jquery stuff in jquery, you don't need any integration - why use WicketJQuery? Just add a header contributor that contributes jquery and then write your own JS. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 22,

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Rodolfo Hansen
So, in less words: you find WiQuery more complex than WicketJQuery? On my part, I believe WiQuery has alot of potential in keeping JQuery scripting outside of the HTML files. I would agree it could be simplified a bit though. I found the JSStatement, and JQuery classes to great at brining

Re: Bug(?) with MiniMap

2009-07-22 Thread Johannes Schneider
Aah, stop! Stupid! Made a obvious mistake within my test case... Code too long today... Sorry. Johannes Schneider wrote: Hi, I have a problem while trying to add parameters to a BookmarkablePageLink. My second parameter is simply ignored. I debugged a lot and could create that failing

Bug(?) with MiniMap

2009-07-22 Thread Johannes Schneider
Hi, I have a problem while trying to add parameters to a BookmarkablePageLink. My second parameter is simply ignored. I debugged a lot and could create that failing test. Could anyone tell me what I am doing wrong? Thanks, Johannes String val0 =

Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread David Chang
Sorry if this is a dumb question. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket Bench website is down

2009-07-22 Thread David Chang
I am hoping to download the Eclipse plugin and followed the link from the Wicket website, but the site is down. http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench Any other place to download this plugin? Thanks.

Re: Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread Peter Ertl
correct - they are not serialized however I don't know what will happen when using Terracotta... Am 23.07.2009 um 01:09 schrieb David Chang: Sorry if this is a dumb question. Thanks. - To unsubscribe, e-mail:

Re: Looking for Pop-up menu...

2009-07-22 Thread Ryan McKinley
why not just a YUI menu? (not a context menu) On Jul 22, 2009, at 12:47 PM, Petr Fejfar wrote: Hi all, I went through lot of Javascript integrating components to find out pop-up menu similiar to YUI context menu except a menu could be poped-up by left mouse click, mouse hover etc... But I

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Jason Wang
Jeremy Thomerson wrote: I didn't read your whole post - but if you just want to code your jquery stuff in jquery, you don't need any integration - why use WicketJQuery? Just add a header contributor that contributes jquery and then write your own JS. -- Jeremy Thomerson

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Jeremy Thomerson
You could write your own tag resolver - seems like it would be fairly easy. Obviously if the component you want is in a repeater or such, your tag will also have to be in the same context so to speak (same repeater, etc). -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jul 22, 2009

Re: Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread David Chang
Does anybody have the answer regarding Terracotta? Thanks! --- On Wed, 7/22/09, Peter Ertl pe...@gmx.org wrote: From: Peter Ertl pe...@gmx.org Subject: Re: Member variables in WebApplication are not serialized, correct? To: users@wicket.apache.org Date: Wednesday, July 22, 2009, 7:21 PM

Spring and Wicket - is it worth it?

2009-07-22 Thread Dane Laverty
Due to the fact that nearly every substantial sample Wicket app is Spring-based, I imagine that there's something awesome about using Spring. In fact, Wicket is what has finally gotten me to start learning Spring. I think I understand the basics of dependency injection -- configure your objects

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Jeremy Thomerson
I use it to deploy the same Wicket application to a dozen different sites. Each of them has their own configuration / some with different services, etc. Better than hard-coding a bunch of big switch statements. The same applies for loading dev / staging / production configuration. -- Jeremy

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Jason Wang
Dane Laverty wrote: Due to the fact that nearly every substantial sample Wicket app is Spring-based, I imagine that there's something awesome about using Spring. In fact, Wicket is what has finally gotten me to start learning Spring. I think I understand the basics of dependency injection --

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Stephen Haberman
Better than hard-coding a bunch of big switch statements. OO has a nice way of dealing with switch statements: polymorphism. If you know the environments up-front, you can define an interface and have each environment class implement it. Though, if you're defining environments on the fly,

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Jeremy Thomerson
On Wed, Jul 22, 2009 at 10:45 PM, Stephen Habermanstep...@exigencecorp.com wrote: OO has a nice way of dealing with switch statements: polymorphism. Yeah - but all the apps I've seen where I was consulting that didn't use Spring had a ton of switch statements to create all of their services / db

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Jeremy Thomerson
On Wed, Jul 22, 2009 at 10:42 PM, Jason Wangjason.w...@bulletin.net wrote: You dont have to use spring with wicket. Spring is a business layer framework essentially. It gives you so much convenience to decouple services from its clients. I tried to use it to manage all the web components,

Re: Spring and Wicket - is it worth it?

2009-07-22 Thread Stephen Haberman
I wasn't saying that's the only other way - just unfortunately the one a lot choose. I'll give you that. :-) - Stephen - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Jason Wang
Jeremy Thomerson wrote: You could write your own tag resolver - seems like it would be fairly easy. Obviously if the component you want is in a repeater or such, your tag will also have to be in the same context so to speak (same repeater, etc). -- Jeremy Thomerson

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
It means there will be a separate CSS file for each user. This will impose heavy load on the application, and where is database involved in that case, as i want to save and load css styles from database ? Is there any other way to do that ? Can we make CSS file dynamic e.g. body{background: