Re: stream content with an IndicatingAjaxLink

2008-05-20 Thread renaud.houver
Ok, thanks. Are you streaming the photo directly to the output stream of the request that came in from clicking the link? Yes I am ... but it does not work. Apparently no one is doing that, so it is not the way to do it. I try with the normal link and and some kind of javascript then ...

Re: Strange problem cancelling out of a modal

2008-05-20 Thread Maurice Marrink
Does your cancel button have default formprocessing set to false? Maurice On Tue, May 20, 2008 at 2:36 AM, Michael Mehrle [EMAIL PROTECTED] wrote: I've got a strange problem cancelling out of a modal. Unless I make selections on all my form components inside that modal, it just won't close.

Re: Contribution for Wicket

2008-05-20 Thread Johan Compagner
I think Matej can give you his paypal number ;) But kidding aside i dont know if this happens with individual apache projects. The thing i could think of is that you sponsor a wicket meeting or the apache foundation in general. Johan On 5/20/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:

Re: stream content with an IndicatingAjaxLink

2008-05-20 Thread Wilhelmsen Tor Iver
Take on account that in Ajax, the browser does not make a normal HTTP request, but an XmlHttpRequest from Javascript, and then expects an XML fragment as a response (a piece of DOM tree as far as I know). I cannot imagine how could you transmit an image via Ajax, but if it is possible,

Re: Contribution for Wicket

2008-05-20 Thread Gwyn Evans
Well, the 'official' Apache line is at http://www.apache.org/foundation/contributing.html - the Apache Swag! at http://www.cafepress.com/meepzor/230676 looks interesting, but there's no Wicket stuff there yet! :-) Have you got a copy of Wicket in Action? /Gwyn On Tue, May 20, 2008 at 8:12 AM,

Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-20 Thread Frank Bille
On Mon, May 19, 2008 at 6:48 PM, James Carman [EMAIL PROTECTED] wrote: I'll ask the place that's hosting if they have video equipment. They do video conferencing all the time. That would be cool if I could webcast it! +1 :-) Frank

Re: Contribution for Wicket

2008-05-20 Thread Martijn Dashorst
Since Wicket is an offical Apache project you can donate to Apache. But I'm not sure if that will be of enough interest for you. In my personal opinion, you could donate to Literacy Bridge (a project to promote literacy in 3rd world countries through developing a device that allows for cheap

Re: Encoding problem when deploying on production server

2008-05-20 Thread Thomas Mäder
Hi Sébastien, If by resource files you mean .properties files, you cannot encode them in utf-8. java.util.Properties always assumes ISO 8859-1 encoding when loading .properties files Thomas On Mon, May 19, 2008 at 1:24 PM, Piller Sébastien [EMAIL PROTECTED] wrote: Hello guys, I have a

Re: Contribution for Wicket

2008-05-20 Thread Frank Bille
A big +1 from me. Frank On Tue, May 20, 2008 at 10:32 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Since Wicket is an offical Apache project you can donate to Apache. But I'm not sure if that will be of enough interest for you. In my personal opinion, you could donate to Literacy Bridge (a

Re: Encoding problem when deploying on production server

2008-05-20 Thread Piller Sébastien
Hi Thomas, my files aren't .properties, they are .xml, encoded in utf8: ?xml version=1.0 encoding=UTF-8? !DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd; properties entry key=nullidnull/entry entry key=submitSubmit/entry entry key=cancelCancel/entry ... /properties

Re: Contribution for Wicket

2008-05-20 Thread Thomas Mäder
When I was still writing Open Source software, rounds of beer at conferences were always welcome ;-) Thomas On Tue, May 20, 2008 at 9:12 AM, Johan Compagner [EMAIL PROTECTED] wrote: I think Matej can give you his paypal number ;) But kidding aside i dont know if this happens with individual

Html mail representation

2008-05-20 Thread Davidoff
I'm developing a simple webmail application...i want to render in HTML what is in a MIME multipart message...now here is the code: GetMessage.java public abstract class GetMessage extends Panel { private MultiLineLabel text; private String type; public GetMessage(String

Re: Html mail representation

2008-05-20 Thread Michael Sparer
try label.setEscapeModelStrings(true) Davidoff wrote: I'm developing a simple webmail application...i want to render in HTML what is in a MIME multipart message...now here is the code: GetMessage.java public abstract class GetMessage extends Panel { private MultiLineLabel text;

Re: Html mail representation

2008-05-20 Thread Michael Sparer
i mean label.setEscapeModelStrings(false) ;-) Michael Sparer wrote: try label.setEscapeModelStrings(true) Davidoff wrote: I'm developing a simple webmail application...i want to render in HTML what is in a MIME multipart message...now here is the code: GetMessage.java public

Re: Html mail representation

2008-05-20 Thread Davidoff
wonderful...the problem now is that some mail do not render completely...i don't see any tags now, i see the rendered mail, but some mails are half rendered, maybe a part of these contain text/plain? Michael Sparer wrote: i mean label.setEscapeModelStrings(false) ;-) Michael Sparer wrote:

[announce] JavaRanch promotion: Wicket in Action

2008-05-20 Thread Martijn Dashorst
Eelco and myself will be joining the JavaRanch this week and we will answer questions asked in the Application Frameworks forum. When you ask a question you may win a copy of Wicket in Action! You are invited to ask us questions and of course participate in the ongoing discussions, or even answer

Deployment vs development session

2008-05-20 Thread Cristi Manole
Hello, Today I tested an application on a number of computers (if it's useful know that they were in the same network). What I found out is that the wicket session was shared among them when wicket was started in dev mode. When I started the application in deploy mode, everything was as needed -

Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-20 Thread James Carman
It went pretty well. I think with a little practice (I sometimes forgot where I was in the code), it could be a good presentation. I've never tried to present that way before, but I think I like it better than the slides. When folks ask questions, since I'm in my IDE anyway, I can just tinker

Re: Html mail representation

2008-05-20 Thread James Carman
How are you spitting out the contents of the mail? Are you using a stream of some sort? Are you forgetting to flush/close the stream? On Tue, May 20, 2008 at 6:45 AM, Davidoff [EMAIL PROTECTED] wrote: wonderful...the problem now is that some mail do not render completely...i don't see any

GMap2 problem with displaying in IE 6/7

2008-05-20 Thread Java Programmer
Hello, I have problem with GMap2 on IE 6/7 - in Firefox 2.x/3.x Maps are shown correctly, but in IE I have JS error lack of definition WicketMap2, and map was not shown. I'm pretty sure that maps were shown some time before maybe some Microsoft update caused problems? I use 1.3-SNAPSHOT build, and

Re: Deployment vs development session

2008-05-20 Thread Maurice Marrink
No, that is not how it is supposed to work. Each user should always get his/her own session regardless. development mode is for quick reloading of markupfiles etc without redeploying. Not sure how you managed that but we use dev mode all the time and we have never seen this behavior. Maurice On

Re: GMap2 problem with displaying in IE 6/7

2008-05-20 Thread Java Programmer
Found bug in that version comma after 'marker': overlayID, in addGOverlayListener click event, probably repaired in earlier versions, sorry for troubling you :(. Best regards, Adr - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Encoding problem when deploying on production server

2008-05-20 Thread Piller Sébastien
Hi Timo, About the locale, I made a small jsp to show them. - For the request, it is mine ( fr ) - For the response, it is specified as en_US. But does the locale have an impact on how the character are encoded? PS: I have asked my hosting, they swore me that everything is setted to UTF-8 on

[PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread James Carman
All, I was looking at the structure of the wicketstuff.org SVN repository today and I came up with an idea. Currently, the wicket-persistence-template project is located at: http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicket-persistence-template/ So, all subprojects sort of hang

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread Martijn Dashorst
With that proposal it is very hard to upgrade a version of a project to a newer version of Wicket. Each maintainer has do create and maintain the branches. Currently we split off the projects in one go when we upgrade Wicket. In an ideal world all projects are constantly rebuilt when Wicket has

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread James Carman
So, is the philosophy of wicket-stuff that all of the projects kind of mirror Wicket's release schedule? On Tue, May 20, 2008 at 9:06 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: With that proposal it is very hard to upgrade a version of a project to a newer version of Wicket. Each maintainer

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread Martijn Dashorst
If you want your project to be used, I think it is wise to do so. A higher release schedule is also nice, but lower seems to indicate a bit of a dead end imo. Martijn On Tue, May 20, 2008 at 3:13 PM, James Carman [EMAIL PROTECTED] wrote: So, is the philosophy of wicket-stuff that all of the

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread James Carman
So, the aim is for all wicketstuff projects to stay up-to-date with the current wicket release, correct? I was thinking of wicketstuff kind of like Apache Commons, a grouping of useful, self-contained projects (that just happen to all be based on Wicket). The way we handle upgrading across

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread gumnaam23
But then, the wicketstuff maven repository is never deployed with these builds following the wicket releases. Everything in the maven repository follows wicket snapshot. This is really a pain, I have to maintain a private wicketstuff code base, just to give the projects proper release #, and

Hiding a border on a RepeatingView

2008-05-20 Thread Ned Collyer
Hi, I have a border I've applied to a repeater. When items are removed from the repeater - and its effectively empty, I'd like to hide the border. I'm not sure how to go about doing this. I assume i should override isVisible on the border, but I'm unsure whats the best way of checking if it

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread Martijn Dashorst
or you could volunteer to build those releases for the wicket stuff projects :D Martijn On Tue, May 20, 2008 at 3:35 PM, gumnaam23 [EMAIL PROTECTED] wrote: But then, the wicketstuff maven repository is never deployed with these builds following the wicket releases. Everything in the maven

Re: Encoding problem when deploying on production server

2008-05-20 Thread Johan Compagner
what are you doing with that StringResponse? Because that string response still is just java so UTF when that string is streamed or converted to bytes you should do something.. johan On Mon, May 19, 2008 at 1:24 PM, Piller Sébastien [EMAIL PROTECTED] wrote: Hello guys, I have a problem with

Providing IModel to Validators

2008-05-20 Thread Hoover, William
What does everyone think about updating the Wicket core validators to contain an optional IModel? Simple Use Case: # properties file label.myminimum=My Object at row: {0} with value '${input}' must be smaller than ${minimum} ... final RefreshingView myView = new

Re: stream content with an IndicatingAjaxLink

2008-05-20 Thread Johan Compagner
what do you want to do with that picture? what should happen? a save dialog? (attachement?) if that is the case then the best thing i guess to do is use a normal link or use an ajax link that sets the window.location.href = xxx in a piece of javascript. (maybe inside a iframe?) johan On Mon,

Re: Deployment vs development session

2008-05-20 Thread Igor Vaynberg
On Tue, May 20, 2008 at 3:55 AM, Cristi Manole [EMAIL PROTECTED] wrote: Hello, Today I tested an application on a number of computers (if it's useful know that they were in the same network). What I found out is that the wicket session was shared among them when wicket was started in dev

Re: Providing IModel to Validators

2008-05-20 Thread Johan Compagner
we kind of have that support in AbstractValidator protected Map variablesMap(IValidatable validatable) { final Map resourceModel = new HashMap(1); return resourceModel; } the problem is that somehow it should do a call back to the IValidatable (which is FormComponent

Re: stream content with an IndicatingAjaxLink

2008-05-20 Thread Timo Rantalaiho
On Tue, 20 May 2008, Wilhelmsen Tor Iver wrote: http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embed ded-in-html So in your callback handler for success you would put something like getElementById('theImage').src = 'data:image/jpeg;base64,' . this.responseText;

Re: Deployment vs development session

2008-05-20 Thread Cristi Manole
well, i figured it was just me... so I quit bothering you guys with something that's ... just me... :) i'm using tomcat, no clustering. this is my websession class: package com.fx.core; import java.security.NoSuchAlgorithmException; import org.apache.commons.logging.Log; import

Re: Hiding a border on a RepeatingView

2008-05-20 Thread Igor Vaynberg
repeatingview.size() should do it -igor On Tue, May 20, 2008 at 6:39 AM, Ned Collyer [EMAIL PROTECTED] wrote: Hi, I have a border I've applied to a repeater. When items are removed from the repeater - and its effectively empty, I'd like to hide the border. I'm not sure how to go about

Creating Image from local directory outside project

2008-05-20 Thread Blackbird
Hi, I have a repository storing many images somewhere on the server. The hierarchy is like : C:\Images\\MM\DD.jpg I want to be able to create a dynamic Image object (or ContextImage or whatever works with i-m-g wicket:id=fooImage /) with one of the images stored in my repository. I can't

Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
I have a panel that has a LoadableDetachableModel as its model (i.e. I'm calling this.setModel(new LoadableDetachableModel() { ... }) in the constructor of my panel, but this load method of the model is never invoked. If I use that model in another component, such as a Label, it works correctly.

Re: Encoding problem when deploying on production server

2008-05-20 Thread Piller Sébastien
Hi Johan, Well, I then use the string returned by StringResponse#toString on Javamail, with that code: BodyPart htmlBodyPart = new MimeBodyPart(); htmlBodyPart.setContent(htmlBody, text/html); multipart.addBodyPart(htmlBodyPart); ... Is it possible to be a javamail issue? I

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread James Carman
Does the panel ever use its model? Do you have any subcomponents that try to access their parent's (the panel's model)? On Tue, May 20, 2008 at 11:19 AM, msmall [EMAIL PROTECTED] wrote: I have a panel that has a LoadableDetachableModel as its model (i.e. I'm calling this.setModel(new

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread Martijn Dashorst
When you don't use the model, it is not used. A panel doesn't do anything by itself. When you add a label, the model is needed to render the label value, so it will retrieve the data, and hence use the load() method. Martijn On Tue, May 20, 2008 at 5:19 PM, msmall [EMAIL PROTECTED] wrote: I

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
No, I'm just wiring up the panel so it does not have any subcomponents yet. Regardless, I'm confused as to why Panel, as a Component, would not handle this on its own. jwcarman wrote: Does the panel ever use its model? Do you have any subcomponents that try to access their parent's (the

Re: Hiding a border on a RepeatingView

2008-05-20 Thread Ned Collyer
Thanks Igor, I'd been checking all the api for getXXX and skipped that. How do I get the scope to the repeater inside the isVisible of the Border? igor.vaynberg wrote: repeatingview.size() should do it -igor On Tue, May 20, 2008 at 6:39 AM, Ned Collyer [EMAIL PROTECTED] wrote:

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread James Carman
If it doesn't need the object (nothing's using it), then why would it call load()? On Tue, May 20, 2008 at 11:24 AM, msmall [EMAIL PROTECTED] wrote: No, I'm just wiring up the panel so it does not have any subcomponents yet. Regardless, I'm confused as to why Panel, as a Component, would not

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
I certainly understand from a performance standpoint, but all the documentation (reference and API) makes no reference to this subtlety. In fact, the reference documentation implies that you can attach a detachable model to any component and it will auto-magically handle the load on all

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
And thanks for the help. jwcarman wrote: If it doesn't need the object (nothing's using it), then why would it call load()? On Tue, May 20, 2008 at 11:24 AM, msmall [EMAIL PROTECTED] wrote: No, I'm just wiring up the panel so it does not have any subcomponents yet. Regardless, I'm

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread James Carman
Do you *need* it to load? On Tue, May 20, 2008 at 11:45 AM, msmall [EMAIL PROTECTED] wrote: And thanks for the help. jwcarman wrote: If it doesn't need the object (nothing's using it), then why would it call load()? On Tue, May 20, 2008 at 11:24 AM, msmall [EMAIL PROTECTED] wrote:

Re: [PROPOSAL] wicketstuff SVN reorganization...

2008-05-20 Thread Martijn Dashorst
But when a component can't be used with a recent Wicket release, there is little or no use for it IMO. I like the fact that many folks have contributed to wicket stuff, but I think there is little reality in giving each project its own release cycle. Though for popular javascript libraries such

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
Yes. I'm just invoking the load method directly in my overriding onBeforeRender method of the panel. Works just fine ... I just expected the component to handle without my manual involvement. jwcarman wrote: Do you *need* it to load? On Tue, May 20, 2008 at 11:45 AM, msmall [EMAIL

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread Martijn Dashorst
But why? In any case, you can just call getModelObject() on the panel to get the loaded object. Which is much better from an encapsulation pov. Martijn On Tue, May 20, 2008 at 5:55 PM, msmall [EMAIL PROTECTED] wrote: Yes. I'm just invoking the load method directly in my overriding

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread James Carman
I think maybe you're using models incorrectly, then. If you need the model object, call panel.getModelObject() and that will, in turn, call the load() method. On Tue, May 20, 2008 at 11:55 AM, msmall [EMAIL PROTECTED] wrote: Yes. I'm just invoking the load method directly in my overriding

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
I have a parent panel that has several sub panels that are indirectly dependent on their parent's model. By that I mean the parent panel's model needs to load data that is independent of the data loaded in the sub panels, but the sub panels are dependent on the data loaded by the parent to load

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread msmall
Thanks for the encapsulation suggestion ... as I described in my previous reply, this situation might be a bit out of the normal for models, but the encapsulation helps. jwcarman wrote: I think maybe you're using models incorrectly, then. If you need the model object, call

Re: ListItem queries

2008-05-20 Thread Johan Compagner
where do you want get the first panel? On Tue, May 20, 2008 at 5:46 AM, Ned Collyer [EMAIL PROTECTED] wrote: Hi, I need to get access to the first panel added to a list item in onBeforeRender from its parent. I have the following ListView featuresList = new ListView(listView, myList) {

Re: ListItem queries

2008-05-20 Thread Johan Compagner
final MyPanel[] firstPanel =new MyPanel[1]; ListView featuresList = new ListView(listView, myList) { protected void populateItem(ListItem item) { MyPanel panel = new MyPanel(panel, item.getModelObject())); if (firstPanel[0] == null) firstPanel[0] = panel; item.add(panel); }

Forum?

2008-05-20 Thread Uwe Schäfer
hi i remember someone asking for a wicket based forum few weeks ago. i plan to build one within the next few months. is there anyone interested in contributing code, ideas, reviews, tests or criticism? it is going to be as modular as i can get it, and should play nicely with guice as well

Re: Providing IModel to Validators

2008-05-20 Thread Igor Vaynberg
that is why formcomponents have a setLabel(IModelString) whose text is then available via ${label} place holder. -igor On Tue, May 20, 2008 at 7:14 AM, Hoover, William [EMAIL PROTECTED] wrote: What does everyone think about updating the Wicket core validators to contain an optional IModel?

Re: Deployment vs development session

2008-05-20 Thread Igor Vaynberg
do the two users have different session ids? try printing it out from your authenticate method. -igor On Tue, May 20, 2008 at 7:59 AM, Cristi Manole [EMAIL PROTECTED] wrote: well, i figured it was just me... so I quit bothering you guys with something that's ... just me... :) i'm using

Re: Hiding a border on a RepeatingView

2008-05-20 Thread Igor Vaynberg
On Tue, May 20, 2008 at 8:27 AM, Ned Collyer [EMAIL PROTECTED] wrote: Thanks Igor, I'd been checking all the api for getXXX and skipped that. How do I get the scope to the repeater inside the isVisible of the Border? pass it in and keep it as a field? make it an anonymous class and a final

AjaxFormComponentUpdatingBehavior not working in IE7 using Wicket 1.3.3

2008-05-20 Thread jfowler06
AjaxFormComponentUpdatingBehavior works with Firefox, but not IE7. The error in the wicket debug window is: Could not locate ajax transport. Your browser does not support the required XMLHttpRequest object or wicket could not gain access to it. I created this simple example to demonstrate the

Re: AjaxFormComponentUpdatingBehavior not working in IE7 using Wicket 1.3.3

2008-05-20 Thread Igor Vaynberg
our jira is a much better place for bug reportsissues.apache.org -igor On Tue, May 20, 2008 at 11:12 AM, jfowler06 [EMAIL PROTECTED] wrote: AjaxFormComponentUpdatingBehavior works with Firefox, but not IE7. The error in the wicket debug window is: Could not locate ajax transport. Your

Re: AjaxFormComponentUpdatingBehavior not working in IE7 using Wicket 1.3.3

2008-05-20 Thread jfowler06
Agreed. I will open a new bug report. - Jarmar igor.vaynberg wrote: our jira is a much better place for bug reportsissues.apache.org -igor On Tue, May 20, 2008 at 11:12 AM, jfowler06 [EMAIL PROTECTED] wrote: AjaxFormComponentUpdatingBehavior works with Firefox, but not IE7. The

RE: Strange problem cancelling out of a modal

2008-05-20 Thread Michael Mehrle
Not that I am aware of - don't know that setting. What would that do exactly? -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 12:02 AM To: users@wicket.apache.org Subject: Re: Strange problem cancelling out of a modal Does your cancel

AutoCompleteTextField question

2008-05-20 Thread Cristi Manole
Hello, I'm interested in the following behavior for an auto complete text field, which is to contain a phone number: - when the user starts typing a phone number in the text field, the autocomplete will present information structured like this [number] - [name]. - when the user selects a

Re: Strange problem cancelling out of a modal

2008-05-20 Thread Maurice Marrink
It turns off form validating and model updating, giving you full control to this yourself or skip it all together. In the case of a cancel button the latter is generally what you want. Alternatively you can use a plain link so your form does not even get submitted. Maurice On Tue, May 20, 2008

RE: Strange problem cancelling out of a modal

2008-05-20 Thread Michael Mehrle
I looked for that call, but couldn't find it - could you please point me in the right direction? Also, I assume setting this in the cancel button's event handler would be sufficient? Thanks for your input. -Original Message- From: Maurice Marrink [mailto:[EMAIL PROTECTED] Sent:

Re: Panel's LoadableDetachableModel not being loaded

2008-05-20 Thread Maurice Marrink
Or you can wrap the LDM in a CompoundPropertyModel and set that as the model of parent panel, that way your subpanels do not need to have there own model and they will trigger a load on the LDM. Maurice On Tue, May 20, 2008 at 6:23 PM, Johan Compagner [EMAIL PROTECTED] wrote: so you have Panel

Re: Strange problem cancelling out of a modal

2008-05-20 Thread Maurice Marrink
See Button#setDefaultFormProcessing and you would call it either in the constructor of the button or directly after constructing the button. onsubmit is too late. Maurice On Tue, May 20, 2008 at 8:49 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I looked for that call, but couldn't find it -

Re: Forum?

2008-05-20 Thread Maurice Marrink
Which security framework do you plan on using? ;) Maurice 2008/5/20 Uwe Schäfer [EMAIL PROTECTED]: hi i remember someone asking for a wicket based forum few weeks ago. i plan to build one within the next few months. is there anyone interested in contributing code, ideas, reviews, tests or

RE: Strange problem cancelling out of a modal

2008-05-20 Thread Michael Mehrle
That seems to be working fine now. It's sometimes easy to ignore/forget the underpinnings of how wicket works. Obviously, to wicket this is a submit button and the form was being processed prior to closing the modal. Thanks a lot for your help :-) Michael -Original Message- From:

Re: Deployment vs development session

2008-05-20 Thread Cristi Manole
no, nothing fancy there... anyways, I can't seem to replicate it easily now and I don't have time for further investigation. sorry for your time and also thank you for it. i will definitely try later. On Tue, May 20, 2008 at 8:59 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: also, what does

Getting an IllegalStateException when refreshing a WebMarkupContainer containing a AjaxFallbackDefaultDataTable with one of the columns is a AjaxEditableLabel which refreshes the markup container on s

2008-05-20 Thread Eric Gulatee
Getting the following error. Not sure what I am doing wrong. I've seen other JIRA issues opened along the same lines. IllegalStateException when refreshing a WebMarkupContainer containing a AjaxFallbackDefaultDataTable where one of the columns is a AjaxEditableLabel which refreshes the markup

Re: Encoding problem when deploying on production server

2008-05-20 Thread Eirik Rude
Try setHeader(Content-Type,text/plain;charset=utf-8); on your message for JavaMail. Thanks, Eirik Rude http://www.i18now.com On Tue, May 20, 2008 at 12:13 PM, Johan Compagner [EMAIL PROTECTED] wrote: i think that is the place where you should look If you give it as a String to java mail

Re: Encoding problem when deploying on production server

2008-05-20 Thread Eirik Rude
Make sure to do the same for body and subject. body.setContent(msgtext, text/html;charset=utf-8); Thanks, Eirik Rude http://www.i18now.com On Tue, May 20, 2008 at 3:23 PM, Eirik Rude [EMAIL PROTECTED] wrote: Try setHeader(Content-Type,text/plain;charset=utf-8); on your message for JavaMail.

Re: Forum?

2008-05-20 Thread James Carman
If you are creating a product, why do you need to be able to plugin a different IoC container (Guice vs. Spring for example)? Do you think a site admin will honestly care which container you use (or ORM API for that matter)? 2008/5/20 Uwe Schäfer [EMAIL PROTECTED]: hi i remember someone

Re: Forum?

2008-05-20 Thread Peter Ertl
Don't forget to make it language independent so it runs on C#, Scala, Fortran or Algol 68 as well :-) Am 20.05.2008 um 22:15 schrieb James Carman: If you are creating a product, why do you need to be able to plugin a different IoC container (Guice vs. Spring for example)? Do you think a

Re: Forum?

2008-05-20 Thread Cristi Manole
I am interested in helping out. And I am sure others are too. I hope you keep going with this idea. Cristi Manole On Tue, May 20, 2008 at 11:26 PM, Peter Ertl [EMAIL PROTECTED] wrote: Don't forget to make it language independent so it runs on C#, Scala, Fortran or Algol 68 as well :-) Am

Re: Forum?

2008-05-20 Thread James Carman
I'm interested. I just don't know about making it ORM and container agnostic. There are too many things you can do with Spring that I can't live without (like @Transactional annotations). On Tue, May 20, 2008 at 4:29 PM, Cristi Manole [EMAIL PROTECTED] wrote: I am interested in helping out.

Checkbox inside the Dropdown

2008-05-20 Thread nanotech
Hi, Does wicket have a component that gives the ability to nest the various choices with checkboxes as dropdown options. I want to be able to put checkboxes in the dropdown along with other text from compnent's model and user should be able to make selections by checking one or multiple check

Re: Forum?

2008-05-20 Thread Peter Ertl
guice DOES support @Transactional (and any other AOP Alliance interceptor) it's called AbstractModule.bindInterceptor() Am 20.05.2008 um 22:33 schrieb James Carman: I'm interested. I just don't know about making it ORM and container agnostic. There are too many things you can do with

New wiki page: Simple FBML redirect with Wicket

2008-05-20 Thread Lauri Lehtinen
Hi all - I ended up summarizing some of my day here: http://cwiki.apache.org/WICKET/simple-fbml-redirect-with-wicket.html Check it out if you're interested. I'd also like to get in touch with other Wicket developers doing apps for social networks. I searched the archives for facebook, fbml,

DateField strangeness

2008-05-20 Thread Michael Mehrle
I'm adding a DateField like this: DateField endTimeField = new DateField(eventSchedule.endTime); Now, when I open my page I see two fields - one with the id eventSchedule.endTime and one next to it, before the JS calendar icon called 'date83'. All I want to do is to show one field

Re: DateField strangeness

2008-05-20 Thread Gerolf Seitz
iirc, that happens when the corresponding markup of the DateField is an input tag and not a div tag. DateField is a Panel (or FormComponentPanel), but not a FormComponent like TextField. hth, Gerolf On Tue, May 20, 2008 at 10:47 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I'm adding a

RE: DateField strangeness

2008-05-20 Thread Michael Mehrle
Grrr - of course!! I originally mocked it as a TextField. Thanks :-) Michael -Original Message- From: Gerolf Seitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 1:52 PM To: users@wicket.apache.org Subject: Re: DateField strangeness iirc, that happens when the corresponding

Re: stream content with an IndicatingAjaxLink

2008-05-20 Thread renaud.houver
Yes, a save dialog. Just a normal standard download but, as there is some time consuming processing related to the download, I want some busy icon to tell the user that something is happening. There not all so good to see the browser status bar and they click again and again until the save

Re: Forum?

2008-05-20 Thread Uwe Schäfer
Maurice Marrink schrieb: Which security framework do you plan on using? ;) *g* actually, it could use a homegrowkn one, which essentially is a bunch of interfaces (together with a trivial impl). sorry, that i did not (yet?) choose swarm for frontend permission handling, but i needed

Caused by: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2008-05-20 Thread Fernando Wermus
I am trying to instantiate a Panel according to an specific object. I thought this was something related to reflection, but the panel is throwing this exception. Caused by: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main I developed a test with

Re: Forum?

2008-05-20 Thread Uwe Schäfer
James Carman schrieb: If you are creating a product, why do you need to be able to plugin a different IoC container (Guice vs. Spring for example)? i do not intend to build an off-the-shelf, plug-and-run product. if you want smth like that, use JForum. what i want to create is a barebone

Re: Forum?

2008-05-20 Thread Uwe Schäfer
Peter Ertl schrieb: Don't forget to make it language independent so it runs on C#, Scala, Fortran or Algol 68 as well :-) well, at least scala runs on the JVM, so: no 1: checked ;) - To unsubscribe, e-mail: [EMAIL

Re: Checkbox inside the Dropdown

2008-05-20 Thread Igor Vaynberg
no, wicket does not have a component like this out of the box, but you can easily create one yourself by wrapping the javascript on the example page. there are plenty of javascript driven components you can use as examples in wicket-stuff -igor On Tue, May 20, 2008 at 1:35 PM, nanotech [EMAIL

Re: DateField strangeness

2008-05-20 Thread Igor Vaynberg
you should make it check what tag it is attached to :) -igor On Tue, May 20, 2008 at 1:52 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: iirc, that happens when the corresponding markup of the DateField is an input tag and not a div tag. DateField is a Panel (or FormComponentPanel), but not a

Re: Forum?

2008-05-20 Thread Uwe Schäfer
Peter Ertl schrieb: guice DOES support @Transactional (and any other AOP Alliance interceptor) it's called AbstractModule.bindInterceptor() actually, there are quite a few frameworks on top of guice using this to implement the exact same @Transactional behaviour. shouldn´t it be quite

Re: Forum?

2008-05-20 Thread James Carman
But, if you're already using spring as a dependency (by using @Transactional), then why use another IoC container? On Tue, May 20, 2008 at 4:42 PM, Peter Ertl [EMAIL PROTECTED] wrote: guice DOES support @Transactional (and any other AOP Alliance interceptor) it's called

Re: Forum?

2008-05-20 Thread Igor Vaynberg
if you make it pragmatically configurable then it shouldnt matter what IOC you use, after all thats the point. i think @Transactional is pretty much a standard by now and you can make that work via guice or spring or any other aspect you want to have in your environment -igor On Tue, May 20,

Re: Caused by: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2008-05-20 Thread Frank Bille
Take a look on WicketTester. Frank On Tue, May 20, 2008 at 11:20 PM, Fernando Wermus [EMAIL PROTECTED] wrote: I am trying to instantiate a Panel according to an specific object. I thought this was something related to reflection, but the panel is throwing this exception. Caused by:

Re: Forum?

2008-05-20 Thread Uwe Schäfer
James Carman schrieb: But, if you're already using spring as a dependency (by using @Transactional), then why use another IoC container? nope, don´t. others can define @Transactional annotations as well ;) - To unsubscribe,

Re: Forum?

2008-05-20 Thread Maurice Marrink
On Tue, May 20, 2008 at 11:38 PM, Uwe Schäfer [EMAIL PROTECTED] wrote: Maurice Marrink schrieb: Which security framework do you plan on using? ;) *g* actually, it could use a homegrowkn one, which essentially is a bunch of interfaces (together with a trivial impl). sorry, that i did not

  1   2   >