Re: Handling Exceptions in WebSession or WebApplication

2008-08-26 Thread Martijn Dashorst
throw restartresponseexception with your error page On 8/27/08, m_salman <[EMAIL PROTECTED]> wrote: > > Hi, > > In my subclass of WebSession the constructor has to call a method that > throws an exception. As you know the WebApplication calls the constructor > of the WebSession. > > > publi

Handling Exceptions in WebSession or WebApplication

2008-08-26 Thread m_salman
Hi, In my subclass of WebSession the constructor has to call a method that throws an exception. As you know the WebApplication calls the constructor of the WebSession. public UserSession(Request request) { super(request); try {

Re: How do you get a LoadableDetachableModel to load again

2008-08-26 Thread Igor Vaynberg
it may be possible that the model is loaded (getobject) is called before the object is removed, in which case you have to manually detach the model by calling .detach() on it - which will cause the list to be reloaded next time getobject() is called on it. -igor On Tue, Aug 26, 2008 at 9:35 PM, W

Re: Use wicket page templates not for webapplication

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Kan, please put in your findings in a page on the wiki (maybe under faq). Seems it's something people do once in a while.. I did something similar once, but realized somewhere in the process that it werent exactly the same content writing a mail as the web page. I used the wicket text template

Re: How do you get a LoadableDetachableModel to load again

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Call modelchanged? Warren Bell wrote: I have a page that displays a list of items backed by a LoadableDetachableModel. The page allows you to delete one item from the list and then shows the list less the item you just deleted. How do I get the LoadableDetachableModel to load the list of items

How do you get a LoadableDetachableModel to load again

2008-08-26 Thread Warren Bell
I have a page that displays a list of items backed by a LoadableDetachableModel. The page allows you to delete one item from the list and then shows the list less the item you just deleted. How do I get the LoadableDetachableModel to load the list of items again after the one item has been dele

Re: Use wicket page templates not for webapplication

2008-08-26 Thread James Carman
I would check the archives. This question has been asked/answered many times before. I'm sure you'll find some example code. On Tue, Aug 26, 2008 at 10:14 PM, kan <[EMAIL PROTECTED]> wrote: > Can I render a page but not in web environment? E.g. I want to create > an javax.mail with html-body and

Use wicket page templates not for webapplication

2008-08-26 Thread kan
Can I render a page but not in web environment? E.g. I want to create an javax.mail with html-body and want to reuse my wicket components to generate content. So, no servlets, no sessions, no requests/responses, no ajax - just render a page to a stream. -- WBR, kan. -

Fwd: Override HeaderResponse' renderJavascript() method

2008-08-26 Thread 张伟
Hello, I use the renderJavascript(java.lang.CharSequence javascript, java.lang.String id) method in HeaderResponse class to output the some js code in html header. This renderJavascript method will render javascript code to the response, if the javascript has not already been rendered. But i w

Re:getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread fish3934
在2008-08-27,"Ritesh Trivedi" <[EMAIL PROTECTED]> 写道: > >Hi, > >I have a Page which contains Fragment (A) and which in turn contains >Fragment (B). Fragment B has a button. In Fragment B class if I do >button.getForm() I get null. I also tried button.getParent().getParent() >which should b

Re:Re: wicket frame and tree

2008-08-26 Thread fish3934
Yes.Because the old web application used frames,now I update this application with wicket.I can not change it's structure. 在2008-08-27,"Matej Knopp" <[EMAIL PROTECTED]> 写道: >Generally it's not a good idea to use frames for things like this. >Especially with a stateful framework like w

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-08-26 Thread Matej Knopp
>> >> Jörn >> >> PS: Comet support is a nice to have, but I think there a way more >> important things for core than that, eg. annotation-based validation >> You can have annotation based validation already. It is possible to do even with Wicket 1.3. I don't see how that is related to comet support

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-08-26 Thread Matej Knopp
On Wed, Aug 27, 2008 at 12:50 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 10:19 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: >> Hi, >> >> On Tue, Aug 26, 2008 at 9:24 PM, jWeekend <[EMAIL PROTECTED]> wrote: >>> >>> Matej, >>> >>> What are the implications of the decision t

Re: [announce] Openlayers contrib upgraded to 1.4-SNAPSHOT

2008-08-26 Thread Jörn Zaefferer
Ah, thanks Nino! Jörn On Wed, Aug 27, 2008 at 12:45 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > I am refering to > http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-openlayers > > Openlayer components for wicket:) Previously only supported wicket 1.3, >

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-08-26 Thread Jörn Zaefferer
On Tue, Aug 26, 2008 at 10:19 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > On Tue, Aug 26, 2008 at 9:24 PM, jWeekend <[EMAIL PROTECTED]> wrote: >> >> Matej, >> >> What are the implications of the decision to "base Wicket Ajax Next >> Generation on YUI" in terms of choosing a Javascript libr

Re: Mounting parameters on homepage

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
im still wondering why another mount path wouldnt work... I know new commers to the application will hit mydomain.com , but if you make a bookmarkable reference to the "/front" you can still obtain that people can come in that way.. Jörn Zaefferer wrote: Thanks for your answers, though thats

Re: [announce] Openlayers contrib upgraded to 1.4-SNAPSHOT

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
I am refering to http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-openlayers Openlayer components for wicket:) Previously only supported wicket 1.3, although a pretty trivial upgrade I thought it nice to announce it. If you combine the openlayer contrib, wicket and geoserver

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Jörn Zaefferer
Hi Matej, let me know if you reconsider jQuery and have any specific question. The jQuery team is there to help! Jörn On Tue, Aug 26, 2008 at 7:57 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > I haven't announced yet publicly but for some time I was working on > Ajax implementation for 1.

Re: [announce] Openlayers contrib upgraded to 1.4-SNAPSHOT

2008-08-26 Thread Jörn Zaefferer
I guess I missed previous discussions or announcements - but based on your mail and the URL you provide I have no idea what you are talking about, eg. how openlayers is related to Wicket and the 1.4-SNAPSHOT. Could you give some more details for those uninvolved in the development? Thanks Jörn On

Re: Mounting parameters on homepage

2008-08-26 Thread Jörn Zaefferer
Thanks for your answers, though thats not what I asked for. I know that the homepage is already mounted, thats why I'm asking how I can change the strategy for its parameters. Creating a seperate page for the search result is a workaround, not a solution. Any other ideas? Thanks Jörn On Tue, Aug

Re: Localization issue

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Yeah I can confirm what Daniel are saying.. I have the same approach.. On the otherhand if it's an ajax link you'll need to add all the components you want rerendered. Daniel Stoch wrote: Hi, But what exactly not work? I'm using a Link with onClick() code: getSession().setLocale(locale); to

Re: "WANG–Wicket Ajax Next Generation–bei ng based on YUI" (MD)

2008-08-26 Thread Peter Ertl
cool :-) this will be quite a big challenge ... thinking of concurrency issues and multiple server implementations (jetty, tomcat, ??) and the upcoming servlet api which will probably include 'Async and Cometd Support' http://dist.codehaus.org/jetty/misc/AsyncServlet3.0-draft0.html I will

Re: Wicket merchandise

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Great:) Martijn Dashorst wrote: Just done that Martijn On Tue, Aug 26, 2008 at 11:19 PM, James Carman <[EMAIL PROTECTED]> wrote: It might help to have someone on the Wicket PMC contact the PRC folks as well. That way they know this stuff is going on with the consent of someone "in house."

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Martijn Dashorst
because you're inside the constructor, and the fragment hasn't been added to the page yet. So there is no parent to ask for a Form instance. Martijn On Tue, Aug 26, 2008 at 11:35 PM, Ritesh Trivedi <[EMAIL PROTECTED]> wrote: > > Edvin, > > Before posting, I already made Form a private member of t

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Ritesh Trivedi
Edvin, Before posting, I already made Form a private member of the toolbar and passed it from the parent fragment as a workaround. My main question was - why didnt getForm() on the button work? and second - not sure how you are saying markupProvider is the form? markup provider is the page. My p

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-08-26 Thread Matej Knopp
I'm generally not against having push in core, so any suggestion about how the api should look like is appreciated. -Matej On Tue, Aug 26, 2008 at 11:12 PM, Peter Ertl <[EMAIL PROTECTED]> wrote: > +1 for including support for cometd in wicket core > > I expect server side push the next great thin

Re: Wicket merchandise

2008-08-26 Thread Martijn Dashorst
Just done that Martijn On Tue, Aug 26, 2008 at 11:19 PM, James Carman <[EMAIL PROTECTED]> wrote: > It might help to have someone on the Wicket PMC contact the PRC folks > as well. That way they know this stuff is going on with the consent > of someone "in house." > > On Tue, Aug 26, 2008 at 4:44

Re: Wicket merchandise

2008-08-26 Thread James Carman
It might help to have someone on the Wicket PMC contact the PRC folks as well. That way they know this stuff is going on with the consent of someone "in house." On Tue, Aug 26, 2008 at 4:44 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > > Johan Compagner wrote: >> >> i do

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread David Blevins
jpswain wrote: > > I'm just curious what everyone is using for transaction management. I > have been working with Wicket for a while now (and loving it) on a pet > project that also uses Hibernate and Guice. > I'm realizing now that I might need/want transactional support for a > couple part

Re: Localization issue

2008-08-26 Thread Daniel Stoch
Hi, But what exactly not work? I'm using a Link with onClick() code: getSession().setLocale(locale); to swicth current locale and everything works ok. All page components are localized correctly. I think this setResponsePage(this.getPage()); call in your code is not necessary: @

Re: "WANG–Wicket Ajax Next Generation–bei ng based on YUI" (MD)

2008-08-26 Thread Peter Ertl
+1 for including support for cometd in wicket core I expect server side push the next great thing in web development :) my 2 pct Am 26.08.2008 um 22:19 schrieb Matej Knopp: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend <[EMAIL PROTECTED]> wrote: Matej, What are the implications of the d

Re: datepicker visibility problem

2008-08-26 Thread Julien Gaucher
ok, i tried, and in fact, i had a bad understanding of my probleme. in fact, i use ajax to refresh the datepicker, and it doesnt refresh the datepicker binded to the datetextfield. i could of course refresh all the form, but it's a little overkill. (and my form is pretty heavy) i can't see how t

Re: Wicket resources (css, js and images)?

2008-08-26 Thread richardwilko
Hi, A few months back I started work on a slightly different method of adding resources to a page, where, it works out what resources are added on the page, combines them together with the yui javascript compressor, caches the result, and serves it. Unfortunately I haven't had any time to work o

Re: Wicket merchandise

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Johan Compagner wrote: i dont have to have anything for free! No, but I think it would be nice... And i think that stuff should be able to sell just fine. So i guess the problem is that it says Apache on the shirt?? For now it are (I think also the logo it self are trademarked), but I'l

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Edvin Syse
Your CartActionToolbar#markupProvider is infact your form, so you can do ((Form)markupProvider).setDefaultButton(checkoutButton), or you could make the cartForm a private field in ViewCartPage and just access it with cartForm.setDefaultButton(checkoutButton). For the first approach you'll need

Re: Wicket merchandise

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
James Carman wrote: I would recommend just putting down that the money goes straight to the ASF. If the committers really want some merchandise for free, then I say we take up a collection via paypal or something and just buy it for them. Well true, but it incurs more administration.. I a

Re: IClusterable -- When should it be used?

2008-08-26 Thread shetc
Ah, so it's Terracotta-specific. I'm working with WebSphere, which I presume won't take notice of the IClusterable hint. Thanks very much, Johan! -- View this message in context: http://www.nabble.com/IClusterableWhen-should-it-be-used--tp19163261p19169841.html Sent from the Wicket - User ma

Re: IClusterable -- When should it be used?

2008-08-26 Thread Johan Compagner
both ways of doing it? i think there are 2 now right? the one that was made up first and now the one that is just the pagestore? On Tue, Aug 26, 2008 at 10:30 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Right now there really isn't any practical reason for having > IClusterable at all. > > Even

Re: IClusterable -- When should it be used?

2008-08-26 Thread Matej Knopp
Right now there really isn't any practical reason for having IClusterable at all. Even terracotta uses regular serialization to get pages over cluster. -Matej On Tue, Aug 26, 2008 at 10:26 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > if you have objects that would be kept in the session, you

Re: Wicket merchandise

2008-08-26 Thread Johan Compagner
i dont have to have anything for free! And i think that stuff should be able to sell just fine. So i guess the problem is that it says Apache on the shirt?? johan On Tue, Aug 26, 2008 at 9:24 PM, James Carman <[EMAIL PROTECTED]>wrote: > I would recommend just putting down that the money goes s

Re: IClusterable -- When should it be used?

2008-08-26 Thread Johan Compagner
if you have objects that would be kept in the session, you have to use Serializable. at the moment you use that you can choose for IClusterable so that when you use terracotta it will be clustered johan On Tue, Aug 26, 2008 at 10:14 PM, shetc <[EMAIL PROTECTED]> wrote: > > I guess my real ques

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-08-26 Thread Matej Knopp
Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend <[EMAIL PROTECTED]> wrote: > > Matej, > > What are the implications of the decision to "base Wicket Ajax Next > Generation on YUI" in terms of choosing a Javascript library for future > Wicket based web front ends? actually, there really are none. The

Re: IClusterable -- When should it be used?

2008-08-26 Thread shetc
I guess my real questions was: What objects in a Wicket application should be marked as clusterable? (Or did you already answer that? :confused: ) -- View this message in context: http://www.nabble.com/IClusterableWhen-should-it-be-used--tp19163261p19169507.html Sent from the Wicket - User m

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Ritesh Trivedi
public class ViewCartPage { // Add feedback panel add(new FeedbackPanel("feedbackPanel", new ComponentFeedbackMessageFilter(ViewCartPage.this))); ShoppingCart cart = ShoppingCartWorkerEx.getShoppingCart(); int cartSize = cart.size(); if (cartSize == 0)

Re: Localization issue

2008-08-26 Thread James Carman
Try setRedirect(true). The locale for the current request is probably already established. On Tue, Aug 26, 2008 at 3:56 PM, btakacs <[EMAIL PROTECTED]> wrote: > > Hi, All > > The question is: > after > getSession().setLocale(locale); > running and successfully changing the locale (I checked in de

Re: Localization issue

2008-08-26 Thread btakacs
Hi, All The question is: after getSession().setLocale(locale); running and successfully changing the locale (I checked in debug mode) when running setResponsePage(this.getPage()); why the locale changes does not apply to the components? They apply only after I click on a bookmarkable link. No

Re: Localization issue

2008-08-26 Thread James Carman
This isn't a browser setting. This is overriding the locale via code rather than using the browser default. This wiki page outlines all you need to know about i18n in Wicket: http://cwiki.apache.org/WICKET/i18n.html 2008/8/26 Łukasz Lipka <[EMAIL PROTECTED]>: > Hi, > depends on browser you use

Re: Wicket merchandise

2008-08-26 Thread James Carman
I would recommend just putting down that the money goes straight to the ASF. If the committers really want some merchandise for free, then I say we take up a collection via paypal or something and just buy it for them. On Tue, Aug 26, 2008 at 12:43 PM, Nino Saturnino Martinez Vazquez Wael <[EMAI

"WANG–Wicket Ajax Next Genera tion–being based on YUI" (MD)

2008-08-26 Thread jWeekend
Matej, What are the implications of the decision to "base Wicket Ajax Next Generation on YUI" in terms of choosing a Javascript library for future Wicket based web front ends? We too were tending towards jQuery, mainly because + code based on jQuery can be quite terse yet still easy to read an

Re: Localization issue

2008-08-26 Thread Łukasz Lipka
Hi, depends on browser you use, I think for IE you have to start a new Broswer, for Firefox you can try this: getSession().invalidate(); and than set up new Locale Best regards Łukasz Lipka 2008/8/26 btakacs <[EMAIL PROTECTED]> > > Hi > > I have a page with a TabPanel with a ListView of Bookmar

[announce] Wicket Contrib input events upgraded to 1.4 snapshot

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
For your pleasure:) Now you can enjoy hot keys easy again :) Smoke tested with FF2 and safari on mac.. I correctly some spelling error in the package name, so it's changed to org.wicket-stuff --> org.wicketstuff rest remains the same.. -- -Wicket for love Nino Martinez Wael Java Specia

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Edvin Syse
Please post the Java-code. -- Edvin Ritesh Trivedi skrev: Hi, I have a Page which contains Fragment (A) and which in turn contains Fragment (B). Fragment B has a button. In Fragment B class if I do button.getForm() I get null. I also tried button.getParent().getParent() which should be a form

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Igor Vaynberg
+1 for YUI -igor On Tue, Aug 26, 2008 at 10:57 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > I haven't announced yet publicly but for some time I was working on > Ajax implementation for 1.5. > The work is available in /repos/asf/wicket/sandbox/knopp/experimental/wicket > > I will put toge

Re: Change style of TreeNode

2008-08-26 Thread Edvin Syse
Kai Schubert-Altmann skrev: Hi everybody, I have some question regarding my existing wicket tree: 1. How can I change the style or css class of one or more TreeNodes? If you override the populateTreeItem() method, you can add an AbstractBehaviour to the item and override the onComponentTag m

[announce] Openlayers contrib upgraded to 1.4-SNAPSHOT

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
So there it are for your pleasure.. I've smoke tested it manually, and it seems to be working. However it seems there are a problem with the map provider, it's there on http://openlayers.org/ too. But i've previously experienced it to be unstable. Feel free to come with propositions on howto

Re: Calls to MarkupCache#putIntoCache does not use the key provided by MarkupCacheKeyProvider

2008-08-26 Thread Edvin Syse
Nice, thanks :) -- Edvin Igor Vaynberg skrev: i would just let the base cms page implement imarkupcachekeyprovider -igor On Tue, Aug 26, 2008 at 2:28 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: Hi, I have a virtualhosted CMS written in Wicket 1.3 where some of the pages are loaded from the da

DefaultDataTable and

2008-08-26 Thread Uwe Schäfer
hi i got empty footers from DefaultDataTable the validators (tidy et al) complain about. is there a simple way to get them out if empty ? cu uwe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: wicket frame and tree

2008-08-26 Thread Matej Knopp
Generally it's not a good idea to use frames for things like this. Especially with a stateful framework like wicket. Are you absolutely necessary you need frames? Why? -Matej On Tue, Aug 26, 2008 at 3:45 PM, fish3934 <[EMAIL PROTECTED]> wrote: > Hi, >I have a web application that required to

Re: Mounting parameters on homepage

2008-08-26 Thread Ritesh Trivedi
I dont think you need to explicitly mount a home page to /. Your application has the home page reference and application mounts that page to /. What you probably need is create a SearchPage.java, have it mounted as mixed param coding strategy and let SearchPage provide PageParameter constructor t

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Matej Knopp
Hi, I haven't announced yet publicly but for some time I was working on Ajax implementation for 1.5. The work is available in /repos/asf/wicket/sandbox/knopp/experimental/wicket I will put together a wiki page when I have some free time. I have of course considered jquery. I gave it a proper loo

getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Ritesh Trivedi
Hi, I have a Page which contains Fragment (A) and which in turn contains Fragment (B). Fragment B has a button. In Fragment B class if I do button.getForm() I get null. I also tried button.getParent().getParent() which should be a form - but it returns null as well. Here is the markup

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread Maarten Bosteels
On Tue, Aug 26, 2008 at 5:17 PM, James Perry <[EMAIL PROTECTED]>wrote: > On Sun, Aug 24, 2008 at 4:11 AM, jpswain <[EMAIL PROTECTED]> wrote: > > > > I'm just curious what everyone is using for transaction management. I > have > > been working with Wicket for a while now (and loving it) on a pet p

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
CHEECH and CHUNG? Or just Korean Clear? Jonathan Locke wrote: is WANG going to be CHUNG compatible? Martijn Dashorst wrote: Probably something for 1.5 (with WANG–Wicket Ajax Next Generation–being based on YUI) Martijn On Tue, Aug 26, 2008 at 2:25 PM, Nino Saturnino Martinez Vazquez Wael

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Jonathan Locke
is WANG going to be CHUNG compatible? Martijn Dashorst wrote: > > Probably something for 1.5 (with WANG–Wicket Ajax Next > Generation–being based on YUI) > > Martijn > > On Tue, Aug 26, 2008 at 2:25 PM, Nino Saturnino Martinez Vazquez Wael > <[EMAIL PROTECTED]> wrote: >> I've been hearing so

Re: Mounting parameters on homepage

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Jörn Zaefferer wrote: Hi, I have a simple search form on my homepage and would like to mount the search parameter, eg. to have host/?term=foo instead of host/?x=faniwfani35gfsge353 (when using CryptedUrlWebRequestCodingStrategy). I can't figure out a way to configure the strategy used to moun

Re: Wicket merchandise

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Nope, I guess it's about donations back to ASF (I guess I might have been unclear about it). In my reply I've sumarized what we agreed on here. Non profit, exeding money goes to supply comitters / patchers with merchandise and if none of the previous then ASF.. Although I think they might want

Re: Calls to MarkupCache#putIntoCache does not use the key provided by MarkupCacheKeyProvider

2008-08-26 Thread Igor Vaynberg
i would just let the base cms page implement imarkupcachekeyprovider -igor On Tue, Aug 26, 2008 at 2:28 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: > Hi, > > I have a virtualhosted CMS written in Wicket 1.3 where some of the pages are > loaded from the database. This is done using a custom Resource

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Scott Swank
Has jquery been considered for WANG, or am I coming into this conversation late? Scott On Tue, Aug 26, 2008 at 5:51 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Probably something for 1.5 (with WANG–Wicket Ajax Next > Generation–being based on YUI) > > Martijn > > On Tue, Aug 26, 2008 at 2:2

Re: Wicket Image -> Java Image

2008-08-26 Thread insom
Confused? Who, me? Okay, I confess, graphics are a gaping hole in my Java knowledge. Here's the working solution I came up with in the end, using a BufferedDynamicImageResource. I'll have to do some more figuring to see how to do it with a RenderedDynamicImageResource. BufferedDynamicImageRes

Re: Wicket merchandise

2008-08-26 Thread Yiannis Mavroukakis
Any particular reason why? Nino Saturnino Martinez Vazquez Wael wrote: I've gotten word from apache PRC, and the shop are closed. The lucky people that have ordered will recieve their merchandise as I cant stop it. I hope the discussion with PRC will end out to benefit the wicket community and

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Michael Sparer wrote: yepp, but that's server-side caching isn't it? Yup. stefan wrote some interesting blog entries about merging resources and interface speed-up in general on http://talk-on-tech.blogspot.com/2008/08/wicket-interface-speed-up.html ... I read it:) And it compliments m

Re: Wicket merchandise take 2

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
It could. But for now the shop are closed..:( Lets take it up if it open again. Johan Compagner wrote: is it also possible to have the letters on the back and the logo on the front (or visa versa)? i think i would like to have to logo on the back and the letters on the front. johan On Tue,

Wicket merchandise

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
I've gotten word from apache PRC, and the shop are closed. The lucky people that have ordered will recieve their merchandise as I cant stop it. I hope the discussion with PRC will end out to benefit the wicket community and make it so we again can get merchandise.. -- -Wicket for love Nino Ma

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread James Perry
On Sun, Aug 24, 2008 at 4:11 AM, jpswain <[EMAIL PROTECTED]> wrote: > > I'm just curious what everyone is using for transaction management. I have > been working with Wicket for a while now (and loving it) on a pet project > that also uses Hibernate and Guice. > I'm realizing now that I might need

Link inside DataTable - PropertyColumn with Link

2008-08-26 Thread nanotech
Hi All, I looked at the following http://cwiki.apache.org/WICKET/adding-links-in-a-defaultdatatable.html to create a column with hyperlinks. Also added the following for the markup public IResourceStream getMarkupResourceStream(MarkupContainer container, Class con

Mounting parameters on homepage

2008-08-26 Thread Jörn Zaefferer
Hi, I have a simple search form on my homepage and would like to mount the search parameter, eg. to have host/?term=foo instead of host/?x=faniwfani35gfsge353 (when using CryptedUrlWebRequestCodingStrategy). I can't figure out a way to configure the strategy used to mount the homepage. This throw

Re: IClusterable -- When should it be used?

2008-08-26 Thread Johan Compagner
wicket uses it as a tagging interface that it is clusterable/serializeable this is used in Terracotta for example to know what objects they can cluster johan On Tue, Aug 26, 2008 at 4:34 PM, shetc <[EMAIL PROTECTED]> wrote: > > Some of the Wicket examples have classes that implement the ICluste

IClusterable -- When should it be used?

2008-08-26 Thread shetc
Some of the Wicket examples have classes that implement the IClusterable interface. Could the experts offer some guidelines as to when this interface should be used? Thanks! -- View this message in context: http://www.nabble.com/IClusterableWhen-should-it-be-used--tp19163261p19163261.html S

Change style of TreeNode

2008-08-26 Thread Kai Schubert-Altmann
Hi everybody, I have some question regarding my existing wicket tree: 1. How can I change the style or css class of one or more TreeNodes? 2. How can I specify custom icons for some nodes? 3. How can i change the name, that will be shown in the tree, without changing the name of the userObject?

Re: Wicket merchandise take 2

2008-08-26 Thread Johan Compagner
is it also possible to have the letters on the back and the logo on the front (or visa versa)? i think i would like to have to logo on the back and the letters on the front. johan On Tue, Aug 26, 2008 at 3:01 PM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PROTECTED]> wrote: > too impatient:

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Michael Sparer
yepp, but that's server-side caching isn't it? stefan wrote some interesting blog entries about merging resources and interface speed-up in general on http://talk-on-tech.blogspot.com/2008/08/wicket-interface-speed-up.html ... an RFE will follow after the last post of the series; might be a good i

Re: Implement LabeledLink and ImageLink components - what is the most elegant way?

2008-08-26 Thread pixologe
Thanks for the hint... I did look into the source code and could figure out the onComponentTagBody trick, too... replacing this with text is one thing... but wrapping other components would not be as easily done (as far as I am able to grasp this - correct me if I am wrong) - that's why I brought

Re: Implement LabeledLink and ImageLink components - what is the most elegant way?

2008-08-26 Thread pixologe
Thanks for your opinion on this... I think this is a similar approach to what I had in mind with the panel. What I do not like about those Panel solutions is that the link has to be wrapped and thus in itself is not a subclass of Link anymore. I think a really elegant solution should inherit from

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
YUP, I wrote something about a cache technique on my blog, http://ninomartinez.wordpress.com/2008/08/25/java-caching/ Maybe something could be taken from that and generalized? Im thinking on the part where you automatically add a keyword parameter (cache) to the url.. UMMM NG always reminds

Re: Wicket merchandise take 2

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
too impatient:) I cant even delay it or merge orders:( Yiannis Mavroukakis wrote: Aaah thanks..too bad I ordered the tee's first I could have done without the extra $5 shipping charge :P Nino Saturnino Martinez Vazquez Wael wrote: The bib are back up.. Yiannis Mavroukakis wrote: Nice, two

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Martijn Dashorst
Probably something for 1.5 (with WANG–Wicket Ajax Next Generation–being based on YUI) Martijn On Tue, Aug 26, 2008 at 2:25 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > I've been hearing some rants on how merging resources can up the > performance, should wicket be able to

Re: Overriding panel markup

2008-08-26 Thread shetc
Excellent! Thanks for your help. -- View this message in context: http://www.nabble.com/Overriding-panel-markup-tp14642196p19161133.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Wicket merchandise take 2

2008-08-26 Thread Yiannis Mavroukakis
Aaah thanks..too bad I ordered the tee's first I could have done without the extra $5 shipping charge :P Nino Saturnino Martinez Vazquez Wael wrote: The bib are back up.. Yiannis Mavroukakis wrote: Nice, two t-shirts winging themselves my way already :-) What happened to the bib by the way, I

Wicket resources (css, js and images)?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
I've been hearing some rants on how merging resources can up the performance, should wicket be able todo this? I mean merging several css's into one etc.. I know it wont work for dynamic css/js/images. But on static it could, even yslow recommends you merge your resources into one... Images mi

Localization issue

2008-08-26 Thread btakacs
Hi I have a page with a TabPanel with a ListView of BookmarkableLinks, and with some contents. I would need to reload the TabPanel, and the contents after changing the locale. I tried the following, but haven't succeeded: add(new Link("enSwitch") { @Override pu

Re: Save CSS/Stylesheet in Database

2008-08-26 Thread Markus Haspl
because every component has his own css styles, but the users (registered users in the database) should change the look & feel of their own page. On Tue, Aug 26, 2008 at 1:53 PM, Michael Sparer <[EMAIL PROTECTED]>wrote: > > why do you want to do this? why not using HeaderContributors and css fi

Re: Wicket merchandise take 2

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
The bib are back up.. Yiannis Mavroukakis wrote: Nice, two t-shirts winging themselves my way already :-) What happened to the bib by the way, I wanted one for my youngster! Nino Saturnino Martinez Vazquez Wael wrote: I haven't heard anything from prc @ apache that we could not do this, so im

Re: Wicket Image -> Java Image

2008-08-26 Thread Al Maw
Sounds to me like you're somewhat confused. ;-) Load the image from the classpath into a bufferedimage as you would outside of Wicket (Foo.class.getResourceAsStream() or whatever it is). Draw text, etc. on it as you see fit. Display it with Wicket if you want to via a BufferedDynamicImageResource.

Re: Wicket merchandise take 2

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
But how should people know what it's about when you run away? :) Okay i'll adjust then.. James Carman wrote: On Mon, Aug 25, 2008 at 6:18 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: I like the idea of a professional shirt, something you can wear in the office to show your support for wicke

Re: No get method defined for expression recorder when using Palette and CompoundPropertyModel

2008-08-26 Thread FakeBoy
I have also the same problem, because my backend bean collection attributes sometimes is null. I have some client logic bind to this attribute a I need that it will be null. I understand that is not so good when Pallete creates some List impl. But I thought about it and I see solution in Palette's

Re: Save CSS/Stylesheet in Database

2008-08-26 Thread Michael Sparer
why do you want to do this? why not using HeaderContributors and css files analog to your html files? Markus Haspl wrote: > > hi, > > i want to save all the CSS Data for each component in the database. That's > no problem, i save the key and values for the component in a table. But, i > don't

build from the wicket-1.4-m3 source failing

2008-08-26 Thread wicket user
Hi, when i try to build the wicket from the wicket-1.4-m3 source its failing with the following message \wicket-1.4-m3\wicket\src\main\java\org\apache\wicket\util\tester\FormTester.java:[600,20] inconvertible types found : org.apache.wicket.markup.html.form.FormComponent required: org.apache.wi

Re: Implement LabeledLink and ImageLink components - what is the most elegant way?

2008-08-26 Thread Al Maw
For something like this, you probably want to avoid having markup files at all. Seeing as you want something that is both a Link and a Label, a good starting point might be to look at the source code for both. You should be able to extend the Link class, and override onComponentTagBody() in much

Re: Wicket merchandise take 2

2008-08-26 Thread James Carman
On Mon, Aug 25, 2008 at 6:18 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: > I like the idea of a professional shirt, something you can wear in the > office to show your support for wicket. However, I don't know about you > Europeans but > http://images.cafepress.com/product/297944696v9_240x240_Bac

Re: Wicket merchandise take 2

2008-08-26 Thread Yiannis Mavroukakis
Nice, two t-shirts winging themselves my way already :-) What happened to the bib by the way, I wanted one for my youngster! Nino Saturnino Martinez Vazquez Wael wrote: I haven't heard anything from prc @ apache that we could not do this, so im gonna take this as silent approval. So any profit

  1   2   >