Re: When NOT to use models ?

2009-10-26 Thread Pieter Degraeuwe
Hmm, maybe I'm missing something, but if you want to have EVALUATED once per request, I think the following should be sufficient. (unless I'm missing somtething) new AbstractReadOnlyModelT() { private transient T cachedValue; @Override public T

Re: When NOT to use models ?

2009-10-26 Thread Martijn Dashorst
Which is identical to the LoadableDetachableModel. Nothing in LDM states that it is meant exclusively for DB access. Martijn On Mon, Oct 26, 2009 at 8:52 AM, Pieter Degraeuwe pieter.degrae...@systemworks.be wrote: Hmm, maybe I'm missing something, but if you want to have EVALUATED once per

Re: Need help with error with in my list code

2009-10-26 Thread Maarten Bosteels
On Mon, Oct 26, 2009 at 4:57 AM, Haulyn R. Jason saharab...@gmail.comwrote: I do not think JavaReble is a good tool for Wicket. Try Glassfish with hot deploy with netbeans, works very well with Wicket. Why would Wicket not work well with JavaRebel ? It works fine for me. Maarten On Mon,

Re: When NOT to use models ?

2009-10-26 Thread Martin Makundi
Hmm, maybe I'm missing something, but if you want to have EVALUATED once per request, I think the following should be sufficient. (unless I'm missing somtething) I want a generic centrally managed solution. I don't want to cache every model manually. ** Martin        new

Re: When NOT to use models ?

2009-10-26 Thread Joseph Pachod
Martin Makundi wrote: Hmm, maybe I'm missing something, but if you want to have EVALUATED once per request, I think the following should be sufficient. (unless I'm missing somtething) I want a generic centrally managed solution. I don't want to cache every model manually. From what I

Re: WhiteSpaces in PasswordTextField

2009-10-26 Thread vela
Hello again, How to change the default value to false -- View this message in context: http://www.nabble.com/WhiteSpaces-in-PasswordTextField-tp26047182p26056628.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: WhiteSpaces in PasswordTextField

2009-10-26 Thread Haulyn R. Jason
You can override it, I think so. On Mon, Oct 26, 2009 at 5:33 PM, vela vela@gmail.com wrote: Hello again, How to change the default value to false -- View this message in context: http://www.nabble.com/WhiteSpaces-in-PasswordTextField-tp26047182p26056628.html Sent from the

Re: wizard step window size / width

2009-10-26 Thread Pedro Santos
Hi, how are you using wizard? The addDefaultCssStyle method is to be overridden to add your own css. On it you configure the width properties to 100% ex: .wicketExtensionsWizardOuterTable{ width: 100%; } .wicketExtensionsWizardInnerTable { width: 100%; } On Sun, Oct 25, 2009 at 8:53 AM,

RE: Wicket Wizard Functionality (Extensions)

2009-10-26 Thread svenmeier
See https://issues.apache.org/jira/browse/WICKET-2542 Corbin, James-2 wrote: Hi Sven, What exactly am I supposed to implement in the AjaxFormSubmittingBehavior.onSubmit(...)? I've tried everything I can think of and the popup still dismisses(closes) when I press the Next button after

Re: Wicket Wizard Functionality (Extensions)

2009-10-26 Thread Ernesto Reinaldo Barreiro
Hi, Don't know if it would be of any use here but I have extended, for private use, Wizard into an Ajax Wizard. You can see details here. http://code.google.com/p/antilia/source/browse/#svn/trunk/com.antilia.web/src/com/antilia/web/wizard

Re: Isssues in Modal Window display in IE8

2009-10-26 Thread vela
Hello again, We have a button in the form. On click of the button, the modal window will be displayed. This was actually working well in IE7 and Firefox. In IE8, when I click on the button, a new blank page is displayed with value http:/// in the address bar the comment The address is not

ListMultipleChoice - Pre fill out

2009-10-26 Thread Peter Arnulf Lustig
Hi, how can I pre-select some List-Items, when showing the form with the ListMultipleChoice? Thank you for some advice! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: ListMultipleChoice - Pre fill out

2009-10-26 Thread Pieter Degraeuwe
just make sure that the model, which contains the 'selected' items, does already contain the selected items. Your model probably maps to an object property. (in this case, the property is a collection(List/set) . So, add te 'pre-selection' to the collection, and the ListMultipleChoice will

AW: ListMultipleChoice - Pre fill out

2009-10-26 Thread Peter Arnulf Lustig
and in the html it is also showed as selected ? - Ursprüngliche Mail Von: Pieter Degraeuwe pieter.degrae...@systemworks.be An: users@wicket.apache.org Gesendet: Montag, den 26. Oktober 2009, 13:59:36 Uhr Betreff: Re: ListMultipleChoice - Pre fill out just make sure that the model,

Re: ListMultipleChoice - Pre fill out

2009-10-26 Thread Pedro Santos
yes: List options = Arrays.asList(a, b, c); add(new ListMultipleChoice(select, new Model((Serializable)Arrays.asList(b)), options)); On Mon, Oct 26, 2009 at 11:06 AM, Peter Arnulf Lustig u...@yahoo.dewrote: and in the html it is also showed as selected ? - Ursprüngliche Mail

AW: ListMultipleChoice - Pre fill out

2009-10-26 Thread Peter Arnulf Lustig
fantastic pedro! it works really great! - Ursprüngliche Mail Von: Pedro Santos pedros...@gmail.com An: users@wicket.apache.org Gesendet: Montag, den 26. Oktober 2009, 14:13:55 Uhr Betreff: Re: ListMultipleChoice - Pre fill out yes: List options = Arrays.asList(a, b, c); add(new

Re: I18N for bookmarkable urls

2009-10-26 Thread Bernhard Grünewaldt
Hello, After thinking a bit I came up with a solution (which many of you might call dirty workaround). But since no one else came up with a solution I will stick to it until something better will be provided. The solution can be found here:

RE: Wicket Wizard Functionality (Extensions)

2009-10-26 Thread Corbin, James
Hi Sven, Thanks for the link. I agree with your assessment and think the Wizard Button functionality should be enhanced to easily support Ajax-ification. Regards, J.D. -Original Message- From: svenmeier [mailto:s...@meiers.net] Sent: Monday, October 26, 2009 4:45 AM To:

Fw: new to wicket

2009-10-26 Thread sharief Mohammed
Hi,   i am resending this message .i thought question would be missed since iam not subscribed to the list .since i sent the message for subscription i hope the subscription is complete now.   this is first time i am trying to learn or trying to write code through the wicket.i know

Wicket-stuff site down?

2009-10-26 Thread Brill Pappin
Is the Wicket-stuff site down for anyone else? - Brill - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket-stuff site down?

2009-10-26 Thread Jeremy Thomerson
Yes -- Jeremy Thomerson http://www.wickettraining.com On Mon, Oct 26, 2009 at 11:08 AM, Brill Pappin br...@pappin.ca wrote: Is the Wicket-stuff site down for anyone else? - Brill - To unsubscribe, e-mail:

Re: [ANN] wicket-dnd project

2009-10-26 Thread nestrmu
Hi, Sven I'm trying to use you wonderfull wicket-dnd, but i met with the problem - how can i use it with a regular wicket tree like a LabelTree, for example. Is it possible? Alex svenmeier wrote: Hi all, I'm happy to announce wicket-dnd, a generic drag and drop framework for

How to write HTML directly

2009-10-26 Thread nick kitching
Hi, I have a Java class which outputs HTML directly including HTML,HEAD and BODY tags. Using JSP I simply include this class as a bean and then have the JSP do something like ${bean.itsMethod} to have those tags written directly into my page. I'm just starting out with Wicket and wondered

Re: How to write HTML directly

2009-10-26 Thread Mauro Ciancio
Nick: On Mon, Oct 26, 2009 at 2:27 PM, nick kitching n_kitch...@hotmail.comwrote: I have a Java class which outputs HTML directly including HTML,HEAD and BODY tags. Using JSP I simply include this class as a bean and then have the JSP do something like ${bean.itsMethod} to have those tags

Re: How to write HTML directly

2009-10-26 Thread Igor Vaynberg
add(new label(output, new propertymodel(this, itsMethod)).setescapemodelstrings(false)); and im markup wicket:container wicket:id=output/wicket:container -igor On Mon, Oct 26, 2009 at 10:27 AM, nick kitching n_kitch...@hotmail.com wrote: Hi, I have a Java class which outputs HTML directly

Re: How to write HTML directly

2009-10-26 Thread NiJK
Mauro, Thanks for your reply. I understand that Wicket doesn't work the same way and was wondering how this could be achieved. Is there just no way to output HTML directly? How would you use wicket to send an XML file, for example, or an image? -- View this message in context:

Re: How to write HTML directly

2009-10-26 Thread Mauro Ciancio
Nick: On Mon, Oct 26, 2009 at 2:43 PM, NiJK n_kitch...@hotmail.com wrote: Thanks for your reply. I understand that Wicket doesn't work the same way and was wondering how this could be achieved. Is there just no way to output HTML directly? How would you use wicket to send an XML file, for

Re: Isssues in Modal Window display in IE8

2009-10-26 Thread TahitianGabriel
Which version are you using? This issue has been solved month ago, see : https://issues.apache.org/jira/browse/WICKET-2207 Regards, Gabriel. vela wrote: Hello again, We have a button in the form. On click of the button, the modal window will be displayed. This was actually working

Re: WhiteSpaces in PasswordTextField

2009-10-26 Thread TahitianGabriel
Yeah, it's a known issue that won't be fixed in 1.4 : https://issues.apache.org/jira/browse/WICKET-2393 Regards, Gabriel. Haulyn Jason-2 wrote: You can override it, I think so. On Mon, Oct 26, 2009 at 5:33 PM, vela vela@gmail.com wrote: Hello again, How to change the default

Re: How to write HTML directly

2009-10-26 Thread NiJK
igor.vaynberg wrote: add(new label(output, new propertymodel(this, itsMethod)).setescapemodelstrings(false)); and im markup wicket:container wicket:id=output/wicket:container -igor Igor, I just tried this and I end up with all the HTML contained within the wicket tags. Also, despite

Validation Warning vs. Validation Error

2009-10-26 Thread Charles Deal
I know that a validation can be implemented using the IValidator interface, however, a FormComponent causes an error to be registered and prevents the form from submitting. So, how would you implement a validation warning? Something that essentially does the same thing (including resource

Wicket with Shindig

2009-10-26 Thread Brill Pappin
I'm considering using Shindig for a new project (See: http://incubator.apache.org/shindig/index.html) Is there any Wicket/Shindig code around or has anyone been working on getting the two to work together? - Brill - To

Re: Fw: new to wicket

2009-10-26 Thread Ralf Eichinger
have a look at http://cwiki.apache.org/WICKET/newuserguide.html perhaps it helps... sharief Mohammed wrote: Hi, i am resending this message .i thought question would be missed since iam not subscribed to the list .since i sent the message for subscription i hope the subscription is

Re: [ANN] wicket-dnd project

2009-10-26 Thread Sven Meier
Hi Alex, I'm not sure I understand your question: wicket-tree is an alternative to the tree classes in wicket-core and wicket-extensions. DefaultNestedTree gives you almost the same functionality as LabelTree. Regards Sven nestrmu wrote: Hi, Sven I'm trying to use you wonderfull

Re: How to write HTML directly

2009-10-26 Thread Igor Vaynberg
On Mon, Oct 26, 2009 at 11:17 AM, NiJK n_kitch...@hotmail.com wrote: igor.vaynberg wrote: add(new label(output, new propertymodel(this, itsMethod)).setescapemodelstrings(false)); and im markup wicket:container wicket:id=output/wicket:container -igor Igor, I just tried this and I end

Re: I18N for bookmarkable urls

2009-10-26 Thread Ilja Pavkovic
Hi, a better solution (in my eyes.. :)) is something like: import java.util.Locale; import org.apache.wicket.IRequestTarget; import org.apache.wicket.Page; import org.apache.wicket.Session; import org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy; public

Re: How to write HTML directly

2009-10-26 Thread NiJK
igor.vaynberg wrote: Also, despite the setEscapeModelString(false), all the HTML is escaped. that is pretty weird. i just tried and it worked fine for me... -igor Igor, Thanks for the info about setStripWicketTags(true). Something as simple as add(new

Re: How to write HTML directly

2009-10-26 Thread Igor Vaynberg
when you do view source in your browser, what does it show? -igor On Mon, Oct 26, 2009 at 1:33 PM, NiJK n_kitch...@hotmail.com wrote: igor.vaynberg wrote: Also, despite the setEscapeModelString(false), all the HTML is escaped. that is pretty weird. i just tried and it worked fine for

Re: How to write HTML directly

2009-10-26 Thread Jason Novotny
Try changing add(new Label(output,h1Hello/h1)).setEscapeModelStrings(false); to Label label = new Label(output,h1Hello/h1); label.setEscapeModelStrings(false); add(label); Jason NiJK wrote: igor.vaynberg wrote: Also, despite the setEscapeModelString(false), all the HTML is escaped.

Re: How to write HTML directly

2009-10-26 Thread James Carman
Yes add(new Label(output,h1Hello/h1)) returns this which is the current component/page. Then, you're calling setEscapeModelStrings(false) on that, which is not what you want. You want: add(new Label(output,h1Hello/h1).setEscapeModelStrings(false)); Igor's example had the double end parens

Re: How to write HTML directly

2009-10-26 Thread NiJK
James Carman-3 wrote: add(new Label(output,h1Hello/h1).setEscapeModelStrings(false)); Thanks for all your help on this, guys. And apologies to Igor for not paying attention to that syntax. -- View this message in context:

Re: Fw: new to wicket

2009-10-26 Thread sharief Mohammed
no luck with helloworld example.if you have any war file .if you can send me war file with wicket 1.4.3  that would be great .i will try to run on websphere Application server. --- On Mon, 10/26/09, Ralf Eichinger ralf.eichin...@pixotec.de wrote: From: Ralf Eichinger ralf.eichin...@pixotec.de

Re: Fw: new to wicket

2009-10-26 Thread Igor Vaynberg
use the maven quickstart on our webpage type mvn package and you will have a war file inside the target dir. -igor On Mon, Oct 26, 2009 at 2:23 PM, sharief Mohammed sharief_ibm...@yahoo.com wrote: no luck with helloworld example.if you have any war file .if you can send me war file with

Re: Wicket with Shindig

2009-10-26 Thread Fernando Wermus
Brill, It would be nice to have a wicket example shiding app at least. What I know is that most developers choose liferay instead. I dont know any who is using shiding with wicket. On Mon, Oct 26, 2009 at 4:59 PM, Brill Pappin br...@pappin.ca wrote: I'm considering using Shindig for a new

Re: Wicket-stuff site down?

2009-10-26 Thread nino martinez wael
Here aswell ? argh : http://wicketstuff.org/confluence/errors.jsp 2009/10/26 Jeremy Thomerson jer...@wickettraining.com Yes -- Jeremy Thomerson http://www.wickettraining.com On Mon, Oct 26, 2009 at 11:08 AM, Brill Pappin br...@pappin.ca wrote: Is the Wicket-stuff site down for anyone

Re: Fw: new to wicket

2009-10-26 Thread James Carman
On Mon, Oct 26, 2009 at 5:24 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: use the maven quickstart on our webpage type mvn package and you will have a war file inside the target dir. And a bunch of source code you can tweak to your liking!

Re: Need help with error with in my list code

2009-10-26 Thread Lester Chua
Hi, To set the record straight, JavaRebel works very well for Wicket. My error was that I didnt understand Wicket's object lifecycles. I did not refresh my wicket pages after a building affected page classes. So the object instances where still old ones when I interacted with the pages. I had

Release 1.4.3

2009-10-26 Thread Marc-Andre Houle
Hello wicket user list, I would like to know when is suppose to happen the actual release of wicket 1.4.3. When I looked into the branch, it is like if the release have been done. Also in Jira the 1.4.3 project looked closed. So I am right to expect the release of 1.4.3 anytime soon? I am

Re: Release 1.4.3

2009-10-26 Thread James Carman
It's there: http://repo1.maven.org/maven2/org/apache/wicket/wicket/1.4.3/ There was an announcement just recently. On Mon, Oct 26, 2009 at 10:48 PM, Marc-Andre Houle mho...@gmail.com wrote: Hello wicket user list, I would like to know when is suppose to happen the actual release of wicket

Re: Wicket with Shindig

2009-10-26 Thread Brill Pappin
I'm still reading up on Shindig and Open Social... The I suspect the renderer (container) won't be too hard to implement in Wicket (although I'm not as familiar with the internals as some on the list). Shindig uses a RESful interface for all its server comms though, and I'm not sure yet how

Re: Wicket-stuff site down?

2009-10-26 Thread Brill Pappin
I don't think this is maintenance, unless they have an extremely long running SQL export or something. I'd say broken at this point. - Brill On 2009-10-26, at 7:26 PM, nino martinez wael wrote: Here aswell ? argh : http://wicketstuff.org/confluence/errors.jsp 2009/10/26 Jeremy Thomerson