Re: Howto load StringResources from Database for Iternationalization?

2010-01-29 Thread Ilja Pavkovic
Hi, i don't know if this question was ever done, but i didn't find anything suitable for me. In a huge webapplication which is being in the first steps of implementation, we want to use a Database (table) to store there any String Resources by locale for translation. I have been jumping

veil

2010-01-29 Thread Douglas Ferguson
Implemented the veil and was disappointed to see that it shows up every time I click a link. Is it possible to have the veil be invisible unless the process it taking more the X seconds to respond? D/ - To unsubscribe,

Date Format on text field

2010-01-29 Thread Josh Kamau
Hi ; I have a text field that has a model of type java.util.Date. How do i set the format of how the components displays the date? Regards.

Re: veil

2010-01-29 Thread Martin Makundi
Hi! The best solution is to assign logic which links should show veil and which should not: Here is a pseudo example taken from http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html: if ((clickedElement.tagName.toUpperCase() == 'A'

Fwd: Date Format on text field

2010-01-29 Thread Josh Kamau
Hi ; I have a text field that has a model of type java.util.Date. How do i set the format of how the components displays the date? I am using it with the datePicker . DatePicker datePicker = new DatePicker(); txtStartDate.add(datePicker()); Regards. -- Forwarded message

Re: java heap space IAuthorizationStrategy

2010-01-29 Thread Thomas Kappler
On 01/29/10 08:38, Martin Asenov wrote: Hello guys! Very strange exception occurred yesterday when trying to set IAuthorizationStrategy to my webapp. Here's the exception: SEVERE: An exception or error occurred in the container during the request processing java.lang.OutOfMemoryError: Java

Re: java heap space IAuthorizationStrategy

2010-01-29 Thread Martin Grigorov
On Fri, 2010-01-29 at 09:38 +0200, Martin Asenov wrote: Hello guys! Very strange exception occurred yesterday when trying to set IAuthorizationStrategy to my webapp. Here's the exception: SEVERE: An exception or error occurred in the container during the request processing

Re: Fwd: Date Format on text field

2010-01-29 Thread Martin Grigorov
see http://wicketstuff.org/wicket14/dates/ There is a link in the upper right corner Source code On Fri, 2010-01-29 at 11:29 +0300, Josh Kamau wrote: Hi ; I have a text field that has a model of type java.util.Date. How do i set the format of how the components displays the date? I am

RE: java heap space IAuthorizationStrategy

2010-01-29 Thread Martin Asenov
Hello Thomas (and Martin :)) It's obviously an endless loop, but accessdeniedpage is not a subclass of neither domainrequiredpage, administrationpage, nor BaseFrame, which is my base page. Unfortunately I can't find where this loop is coming from... Thanks and regards, Martin -Original

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote: Greetings all, Just to make sure , I create another skeleton Wicket application and integrated a module which I used before with GWT (use only Spring+Hibernate) .And whenever I configure

ModalWindow as confirmation dialog for forms

2010-01-29 Thread Ilja Pavkovic
Hi, has anyone an idea how to achieve the following: A form has a modal window that shall confirm the changes. - After validation but before writing the changes to the model the modalWindow shall be shown. - If one closes the modal window (clicking on an AjaxButton) the form shall write the

Re: Howto load StringResources from Database for Iternationalization?

2010-01-29 Thread MattyDE
Thanks a lot you both, it work very nice with private class DatabaseResourceLoader implements IStringResourceLoader{ ... } so i will implement a self-learning translation-database in the next days :) Have a nice weekend, Martin German Morales-3 wrote: Hoi Martin, we have a subclass of

CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread Richard Wiesinger
Hi, I am currently testing my app for valid xhtml markup with this fine project (http://github.com/dashorst/wicket-stuff-markup-validator). In my LoginPage class I add a css file like this: add(CSSPackageResource.getHeaderContribution(HomePage.class, css/style.css)); which generates this code:

Re: Opening Wicketpages from external link?

2010-01-29 Thread Martin Grigorov
http://www.jweekend.com/dev/LegUp On Fri, 2010-01-29 at 18:39 +0900, Ashika Umanga Umagiliya wrote: Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote: Greetings all, Just to make sure , I create another skeleton Wicket application and

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread Martijn Dashorst
On Fri, Jan 29, 2010 at 11:30 AM, Richard Wiesinger richard.wiesin...@gmail.com wrote: which generates this code: link rel=stylesheet type=text/css href=resources/org.mycompany.pages.HomePage/css/style.css / This code is obviously not valid xhtml and therefore the wicketstuff-validator

Re: Wicket VoiceXML framework?

2010-01-29 Thread shetc
I need to officially confirm this but I don't think there will be a problem making it open. -- View this message in context: http://old.nabble.com/Wicket-VoiceXML-framework--tp22058044p27371523.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Wicket VoiceXML framework?

2010-01-29 Thread Martijn Dashorst
On Thu, Jan 28, 2010 at 7:56 PM, shetc sh...@bellsouth.net wrote: I currently support an IVR system that uses an IBM proprietary technology rather than standard VXML. Would that be DirectTalk? I remember working with that technology in 2002... I have created a really nice test utility for that

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread morbo
I completely forgot to include the error message from the html validator. Here it is: * Line 27 Fatal Error: (27, 3) The element type link must be terminated by the matching end-tag /link. According to http://www.w3schools.com/TAGS/tag_link.asp this site it seems that the validator is right.

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread Martijn Dashorst
Nope. a link element can be closed by either link/link *or* link /. Both are valid X(HT)ML. Try it in the w3 validator... http://validator.w3.org Martijn On Fri, Jan 29, 2010 at 3:08 PM, morbo richard.wiesin...@gmail.com wrote: I completely forgot to include the error message from the html

RE: @RequireHttps with reverse proxy

2010-01-29 Thread Boydens Joeri (OZ)
I've created an issue for it, but how could I solve it for now ? Any hints/tips where to start ? Thanks -Oorspronkelijk bericht- Van: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Verzonden: vrijdag 29 januari 2010 4:21 Aan: users@wicket.apache.org Onderwerp: Re: @RequireHttps with

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread morbo
Martijn Dashorst wrote: Nope. a link element can be closed by either link/link *or* link /. Both are valid X(HT)ML. You are absolutely right. Empty tags can be closed in both ways, just as you mentioned. So the validator should not complain. So its a bug in the tuckey validation

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread Martijn Dashorst
On Fri, Jan 29, 2010 at 4:10 PM, morbo richard.wiesin...@gmail.com wrote: I am not able to test my app with w3c validator as it is not running on a public server yet. Or am I missing something? I know good developers hate copy/paste, but this time it is all about it... view source, select all,

Re: Nasty problem with component not found and images [solved]

2010-01-29 Thread Thomas Kappler
On 01/28/10 09:35, Marat Radchenko wrote: You could file enhancement request to make EmptySrcAttributeCheckFilter also report images whose src starts with #. Cool, I didn't even know about this filter. Its javadoc nicely explains the issue. I filed WICKET-2709 to make it check for src=#,

Re: CSSPackageResource.getHeaderContribution - valid xhtml markup

2010-01-29 Thread morbo
Ahh nice. Thank you Martijn Dashorst wrote: On Fri, Jan 29, 2010 at 4:10 PM, morbo richard.wiesin...@gmail.com wrote: I am not able to test my app with w3c validator as it is not running on a public server yet. Or am I missing something? I know good developers hate copy/paste, but

Re: Fwd: Date Format on text field

2010-01-29 Thread Riyad Kalla
The good part: = DateTextField dateTextField = new DateTextField(dateTextField, new PropertyModelDate( this, date), new StyleDateConverter(S-, true)) = You'll need wicket-stuff On Fri, Jan 29, 2010 at 1:43 AM, Martin Grigorov mcgreg...@e-card.bgwrote:

Authorization with Wicket

2010-01-29 Thread Riccardo Trombini
Hi I wrote an AuthorizationManager which checks if a user is authorized to access a given resource. An an example, I have an EditPage to edit articles. Only users with the write privilege should be able to access this page. I call therefor the AuthorizationManager.authorize(); Method to check the

Re: Wicket VoiceXML framework?

2010-01-29 Thread shetc
That's correct, Martijn. Our app currently uses the DT java beans technology rather than VXML. -- View this message in context: http://old.nabble.com/Wicket-VoiceXML-framework--tp22058044p27373825.html Sent from the Wicket - User mailing list archive at Nabble.com.

Apache Click

2010-01-29 Thread Giovanni
Apache Click is very similar to Wicket: http://incubator.apache.org/click/ What are the main differences and advantages? regards giovanni

Re: Apache Click

2010-01-29 Thread Martin Makundi
Hi! I guess click comes with its own layout.. like Vaadin http://demo.vaadin.com/sampler/ ** Martin 2010/1/29 Giovanni pino_o...@yahoo.com: Apache Click is very similar to Wicket: http://incubator.apache.org/click/ What are the main differences and advantages? regards giovanni

RE: Apache Click

2010-01-29 Thread Jing Ge (Besitec IT DEHAM)
Wow! Vaadin looks really cool! Could anyone here provide a good look css for the wicket? I think wicket with a good look css can beat them. Regards! Jing -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Freitag, 29. Januar 2010 17:14 To:

dropdown choice null value

2010-01-29 Thread tubin gen
dropdown choice I call setNullValid(true), the null value is a blank string ,can I change this to Choose One by overriding some method , I do not want to use the property file , I want to do it by overriding a method , Please tell me how can I ?

Re: Apache Click

2010-01-29 Thread Peter Karich
Hi, for me the main disadvantage of click is that it uses velocity instead pure html. Then click has probably less publicity/mailing support and less components. An advantage could be that cayenne is supported as a default persistent solution. Search for wicket vs click or sth. like (was

Re: Howto load StringResources from Database for Iternationalization?

2010-01-29 Thread Riyad Kalla
self-learning, wow... it sounds like the custom IStringResourceLoader was the easy part of this problem :D On Fri, Jan 29, 2010 at 3:15 AM, MattyDE ufer.mar...@gmail.com wrote: Thanks a lot you both, it work very nice with private class DatabaseResourceLoader implements

Trying to pass object to server side

2010-01-29 Thread Raj Kaushik
Hi I am trying to manually pass certifcate to the server before authentication. But so far I am not successful. // -- In the test client -- //WebApplication object is given wicketTester = new WicketTester(webApp);

Re: @RequireHttps with reverse proxy

2010-01-29 Thread Igor Vaynberg
if you need to solve it now then simply copy and paste the code for the request processor and customize it -igor On Fri, Jan 29, 2010 at 7:08 AM, Boydens Joeri (OZ) joeri.boyd...@oz.be wrote: I've created an issue for it, but how could I solve it for now ? Any hints/tips where to start ?

Re: Apache Click

2010-01-29 Thread Josh Kamau
I looked at click. Its not just HTML and just java like wicket. Lack of documentation and books and less widgets. On Fri, Jan 29, 2010 at 7:04 PM, Giovanni pino_o...@yahoo.com wrote: Apache Click is very similar to Wicket: http://incubator.apache.org/click/ What are the main differences

Re: (my code palette) how to set default options in object palette

2010-01-29 Thread victorTrapiello
well I have defined my palette component like this: asignString is an string linst with the available subjects (It works fine, the palette shows the proper subjects, but it doesn´t show the default selected one which I save them in the list lSelected IChoiceRenderer renderer = new

AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-01-29 Thread Andreas Lüdtke
Hi, I have an AjaxFallbackDefaultDataTable on a page and when I delete a row of the displayed data, I can't get the DataTable to reload and show the reduced list. I tried already the following: - delete the object (row) in the database - reload the ISortableDataProvider class I'm using -- this

Re: Opening Wicketpages from external link?

2010-01-29 Thread Igor Vaynberg
make sure you are mounting your pages in application.init() and not in the constructor... -igor On Fri, Jan 29, 2010 at 1:39 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote:

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread nino martinez wael
I think it will be hard, because there are so many options for everything. I mean for that kind of tool you would assume a lot of things. And in the end you will probably end up with something similar to jmeter.. Maybe you could create a plugin for jmeter ? I still think recording scenarios with

Re: Trying to pass object to server side

2010-01-29 Thread Thomas Kappler
On 01/29/10 17:46, Raj Kaushik wrote: Hi I am trying to manually pass certifcate to the server before authentication. But so far I am not successful. The standard way to store things that must survive a request/response cycle is in the Session. See the java doc for Session and Application:

Re: Wicket VoiceXML framework?

2010-01-29 Thread nino martinez wael
Hehe, whats exactly what I've done at work with jbehave :) Seems our minds are somewhat similar :) Only problem are that people in the IVR business apparently do not always see the value of automated testing.. Even though I've tried to explain the obvious benefits. We have something like: A

Re: Wicket VoiceXML framework?

2010-01-29 Thread nino martinez wael
Yeah go ahead and shoot :) And I think using wicket for basis of an VXML framework would be very handy. 2010/1/28 shetc sh...@bellsouth.net Hi Nino, I currently support an IVR system that uses an IBM proprietary technology rather than standard VXML. I have been tasked with determining

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread Juan Carlos Garcia M.
What about using BadBoy App for recording and then exporting the recorded test suite into a JMeter Script for load testing your application: http://www.badboy.com.au/ nino martinez wael wrote: I think it will be hard, because there are so many options for everything. I mean for that kind

Re: (my code palette) how to set default options in object palette

2010-01-29 Thread nino martinez wael
Form f=new Form(form); add(f); List persons = ComponentReferenceApplication.getPersons();; IChoiceRenderer renderer = new ChoiceRenderer(fullName, fullName); final Palette palette = new Palette(palette, new ListModelPerson(new ArrayListPerson()), new CollectionModelPerson(

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread nino martinez wael
Why not record it with the Jmeter http proxy? And do the same? What does badboy bring to the game? http://www.exforsys.com/tutorials/jmeter/using-http-proxy-server-to-record-page-requests.html 2010/1/29 Juan Carlos Garcia M. jcgarc...@gmail.com What about using BadBoy App for recording and

Re: images not under the context root directory

2010-01-29 Thread Matthew J
Question, as I am dealing with a similar issue, except I save my file to my glassfish directory (ie: glassfish/domains/domain1/uploads/ Videos/...). I can't seem to find the url though I have tried many different types of urls... For the record ((WebApplication )WebApplication

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread Juan Carlos Garcia M.
Umm, you're right probably not much. The way we use it was to record against a HTTPS connection where the jmeter http-proxy wasn't supporting it at that time (i dont know if it supported right now). nino martinez wael wrote: Why not record it with the Jmeter http proxy? And do the same?

Re: Trying to pass object to server side

2010-01-29 Thread rajkaushik
Thanks Thomas. I agree Session should be the place for storing such objects. But in the application as it is working. The Tomcat is passing information via Servlet requests. I want to test the application as it is - without changing the logic of the application. Raj Thomas Kappler-3 wrote:

Re: AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-01-29 Thread Riyad Kalla
Andreas, This might be a dumb question, but are you sure at the point that the page reloads and re-renders, the object *has* been erased from the database or cache you are utilizing? For example, right after you delete, if you put in some silly/junk code to immediately re-query for that object,

Re: images not under the context root directory

2010-01-29 Thread Riyad Kalla
Matthew, this seems like a glassfish question... if you can mount local system dirs in glassfish as web dirs, for example: alternatedocroot_1 from=/uploads/* dir=/Users/insane/path/under/netbeans/glassfish/domain1/uploads/Videos would you access that content using http://www.mysite.com/uploads/*

Re: images not under the context root directory

2010-01-29 Thread Matthew J
Correct, Glassfish would allow this; however, if I can do it programmatically with ease I would rather do this (as installations may change and I would rather not have the static uri). I assumed Wicket had access to all files in the context root (or what I assume is one, which maybe

Re: images not under the context root directory

2010-01-29 Thread m j
Well after my question I started researching and changed my upload folder to: String path = WebApplication.get().getServletContext().getRealPath(); Folder uploadFolder = new Folder(path+/uploads); I can now reference the files via the url (.../uploads/..), so much simpler this way... I suppose

nested forms onSubmit

2010-01-29 Thread Dave Kallstrom
Hi, Is there anyway to notify nested forms that they are being submitted? The onSubmit method of nested forms do not get called when the parent form is submitted. I tried implementing IFormSubmitListener but that didn't seem to help. -- Dave Kallstrom

Re: (my code palette) how to set default options in object palette

2010-01-29 Thread victorTrapiello
I does not work, I think the key point is my IChoiceRenderer renderer = new ChoiceRenderer(fullName, fullName); i leave it empty and it works for the available subject but not for the predefined! any more thoughts¿? Thank you very much guys nino martinez wael wrote: Form f=new

Re: Stateless AJAX links

2010-01-29 Thread Joachim Kainz
I have created a wiki page with my solution for stateless Ajax at http://cwiki.apache.org/confluence/display/WICKET/A+StatelessAjaxFallbackLink. jcompagner-2 wrote: we dont know that really if it is the respond step And normally that getPage() isnt called in wicket when not in a Response

Re: images not under the context root directory

2010-01-29 Thread Riyad Kalla
Good call -- going the intercept-and-stream route is great when you cannot read from a web-addressable folder, but if you can do that, and can avoid all that server-side processing by using a direct URL and just let the app server do it's thing, then +1 on that. Sounds like you got it going that

Re: nested forms onSubmit

2010-01-29 Thread Riyad Kalla
Are nested forms a valid HTML construct? I'm running through the use-case here in my head and it doesn't click -- form submission is 1:1 with an HTTP POST, what do multiple embedded forms even mean in this regard? I don't think this is kosher... On Fri, Jan 29, 2010 at 2:04 PM, Dave Kallstrom

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
Hi Igor, I moved the mounting to constructor because in init() method it gives the error: org.apache.wicket.WicketRuntimeException: search is already mounted for BookmarkablePageEncoder[page=class edu.jst.nihonbare.web.pages.SearchResultsPage] at

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
Hi Igor, Martin, Thanks alot for your help. I changed to Annotation based Spring configuration and now everything works fine,I cant figure out why it didnt work with ApplicationObjectApproach ? Thanks again umanga Martin Grigorov wrote: http://www.jweekend.com/dev/LegUp On Fri, 2010-01-29

Re: Wicket, Spring 3 and UnitTesting

2010-01-29 Thread Kent Tong
Jochen Mader-2 wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. An alternative is to use http://wicketpagetest.sourceforge.net. It works fine with Spring 3.0 without changing any of your code. - -- Kent Tong Better way to unit test Wicket pages

Re: wicket osgi (not Pax)

2010-01-29 Thread Eelco Hillenius
In any case, this is getting REALLY off topic... ;-) On the contrary; this is really helpful for OSGi n00bs like me. Thanks for replying everyone. Eelco - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For