Server requirements for Web Apps

2009-02-03 Thread greeklinux
Hello Wicket devs, I would like to know what your server requirements are. What is your experience in different use cases? Is one server enough (Tomcat, DB, Spring, messaging) or do you use different servers for different components? What is a typical scenario for you? It can be a short answer

Re: Server requirements for Web Apps

2009-02-03 Thread greeklinux
etc.). I think you guys have more experience how such a configuration will perform in average. best regards Martijn Dashorst wrote: What are your house requirements? Martijn On Tue, Feb 3, 2009 at 4:06 PM, greeklinux mars...@gmx.net wrote: Hello Wicket devs, I would like to know

Re: Server requirements for Web Apps

2009-02-03 Thread greeklinux
Would like to use JCR with my MySQL DB, but Hibernate for other Objects too. greeklinux wrote: Hello Martijn, I am working on a private project. I use tomcat, wicket, spring a mysql database, and I want to use a jcr, too. The project will get online. (uploading data, recommend data

Re: Server requirements for Web Apps

2009-02-05 Thread greeklinux
on the server when 20-25 users are online. I'm just about to start preparing some jmeter scripts to test the scalability of the site, if you're interested in the results just let me know... Janos On Tue, Feb 3, 2009 at 4:06 PM, greeklinux mars...@gmx.net wrote: Hello Wicket devs, I would like

Resource/SharedResource - Display an image

2008-07-08 Thread greeklinux
Hello, I am building a simple Page. The Page has a form and allows an user to upload a profile picture. If the user does not have a profile picture, then I want to display a standard picture. This should be a shared resource, so the browser can cache it. Now if the user uploads a picture, the

Re: Add a component to a page without a markup in the page's html

2008-07-09 Thread greeklinux
Hello, what is your aimed use case for the component? burnt99 wrote: Hi, I have a JavaScript component that represents a data table, so there is nothing to visualize. However, I want to move this component to the Java world with Wicket. I would like to assign the component to the page

Re: Reading files

2008-07-09 Thread greeklinux
Hello, I do not know if it helps: Can you read the CSV file as Resource, get the IResourceStream, then getInputStream() on IResourceStream and put this inputStream in a java.io.InputStreamReader? greetings David Nedrow-3 wrote: I have a third party package that requires a java.io.Reader

Re: Resource/SharedResource - Display an image

2008-07-09 Thread greeklinux
know why the Exception is thrown. greetings Roland Huss wrote: greeklinux wrote: But now I get a NullPointerException: at .PhotoUploadPage$1.getResourceStream(PhotoUploadPage.java:66) at org.apache.wicket.Resource.init(Resource.java:199

Re: Add a component to a page without a markup in the page's html

2008-07-09 Thread greeklinux
wrote: if you dont add a div in markup where in the markup should the table appear? -igor On Wed, Jul 9, 2008 at 2:10 AM, burnt99 [EMAIL PROTECTED] wrote: I have another component that can draw nice diagrams out of this table. greeklinux wrote: Hello, what is your aimed use case

Re: Dynamic Link label

2008-07-09 Thread greeklinux
Hello HITECH79, Is this a normal link to a page? You can do it much cleaner. I think this should be enough: add(new PageLink(mainLinkSupport, AcsSupportPage.class)); I suppose you will have somethink like this: # SUPPORT You can add a Label component to your link: add(new

Re: Resource/SharedResource - Display an image

2008-07-09 Thread greeklinux
Roland Huss wrote: greeklinux wrote: the line where the NullPointerException is thrown is: resourceStream = new ResourceReference(MyApplication.PROFILE_STANDARD) .getResource().getResourceStream(); If I am using only

Re: Dynamic Link label

2008-07-09 Thread greeklinux
MyPage(with Params)); } }); greetings HITECH79 wrote: greeklinux wrote: Hello HITECH79, Is this a normal link to a page? You can do it much cleaner. I think this should be enough: add(new PageLink(mainLinkSupport, AcsSupportPage.class)); I suppose you will have somethink

Re: Wicket 1.3.4 Final - Incorrect resource blurbs out files in Glassfish folder

2008-07-09 Thread greeklinux
Hello, yesterday I experienced this problem too. I had to do some Resource stuff and wanted to test if the resource was available and get this listing too. But Glassfish logged a message that the resource is not found. I am using Glassfish, Wicket 1.3.4 on an Ubuntu System. gtreetings.

Re: Branding a PageLink target Page

2008-07-10 Thread greeklinux
Hello, I am not understanding exactly what you mean with branding. Dynamicaly configure the PageLink Target for a customer? greetings jensiator wrote: Hi Does anyone know if its possible to brand the target/response page for a PageLink in wicket? I have a core jar with all the base

Re: Branding a PageLink target Page

2008-07-11 Thread greeklinux
framework. And I think this would be an interresting feature for wicket. greetings jensiator wrote: Hi greeklinux Yes. The branding of links means that I want to dynamicaly configure the PageLink Target for a customer? -- View this message in context: http://www.nabble.com/Branding

Re: Resource/SharedResource - Display an image

2008-07-11 Thread greeklinux
Hello, no I am not using any AJAX with this form. I only get the resource and set it in an Image component. Maybe the uploaded picture is not persistet fast enough to be available on the response... Ok, I thank you for your help. greetings Roland Huss wrote: Hi, greeklinux wrote

Re: Branding a PageLink target Page

2008-07-11 Thread greeklinux
Hello, for me it would be important to know where to look if I see the Navlink code. When I know where to find the property file with the navigation roules then it is ok. Cant you use the wicket:link tag? then you have to change only the html instead of the java part. greetings jensiator

Re: ByteArrayResource's getCacheDuration( )

2008-07-13 Thread greeklinux
Hello, reading the docs of ByteArrayResource I do not think it is dynamic. The generated resource is in memory. greetings Ricky-22 wrote: Hi, I want to be able to generate the byteArray (for MS - Excel report being passed to a byteArrayResource every time the resource link is clicked.

Re: Let us list the frameworks and tools we use together with Wicket!

2008-08-01 Thread greeklinux
Hello, thats interesting. I am using Wicket with Ejb3. For development I use IDEA, SVN and Glassfish. Kent Larsson-3 wrote: Hi, I thought it could be interesting if we (I'll contribute a little later, as I'm just learning Wicket) could list the frameworks and tools we always use with

Re: In memoriam: Maurice Marrink

2008-08-05 Thread greeklinux
That is very sad. Maurice, RIP Martijn Dashorst-4 wrote: It is with great sadness that we must report the staggering loss of our good friend and colleague, Maurice Marrink. Maurice died in a car crash last friday. Maurice was a dear co-worker, project member and good friend. He was

Re: German umlaute in PageParameters

2008-08-05 Thread greeklinux
Hello, do you want to use Umlaute in your URL Parameters? unka_hahrry wrote: Hello! Is there a possibility to use german umlaute (like ü, ö, ä) in the PageParameters? -- View this message in context: http://www.nabble.com/German-umlaute-in-PageParameters-tp18826285p18826815.html

Re: Comparing JSF and Wicket

2008-08-06 Thread greeklinux
Hello, maybe you read this already: http://www.nabble.com/Questions-about-GWT%2C-JSF-and-Wicket-to12875910.html#a12875910 http://www.nabble.com/JSF%3A-standards-versus-OSS-to13400509.html#a13400509 greetings nlif wrote: Hi all, We are in the process of selecting a web-framework, and

Re: German umlaute in PageParameters

2008-08-06 Thread greeklinux
Hello, you have to escape the values (name) unka_hahrry wrote: Yes, I want to give a name as parameter, and German names may include umlaute, but the names are not correctly represented. greeklinux wrote: Hello, do you want to use Umlaute in your URL Parameters

Re: AjaxButton does not work

2008-08-08 Thread greeklinux
Hello, is it possible to see some code? BertrandDatas wrote: Hello thanks for your answers but, I add the OnError method and nothing more happens, with firebug have seen that there is no request at all when i click on this button, just like if there was no event attach on it, I don't

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread greeklinux
Congratulation and thank you! I bought the book and it was very helpfull. Martijn Dashorst wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying lovely wives, late nights, early mornings, frustrated family, and all other bad (and good) things that cross one's

Development Platform

2008-10-16 Thread greeklinux
Hello wicket users, I have to bye a new notebook and I am thinking about the new Apple MacBook Pro. I am using Ubuntu for my development, Java/Wicket with maven, Eclipse/Idea, Tomcat. Are here any Mac OS X users and developers with pros and cons? I want to know if Mac OS X will be a good dev

Re: Development Platform

2008-10-16 Thread greeklinux
Hello guys, thank you for the feedback. best regards greeklinux wrote: Hello wicket users, I have to bye a new notebook and I am thinking about the new Apple MacBook Pro. I am using Ubuntu for my development, Java/Wicket with maven, Eclipse/Idea, Tomcat. Are here any Mac OS X

Re: how to avoid concurrent clic/submit on ajax links ?

2009-05-31 Thread greeklinux
Hello, maybe you can get inspiration from here: http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ regards LiveNono wrote: hi when trying to push my ajax app to its

Localization of DropDownChoice

2008-03-22 Thread greeklinux
Hello, I want to localize a DropDownChoice component. I read the examples http://www.wicket-library.com/wicket-examples/compref/ and http://cwiki.apache.org/WICKET/dropdownchoice-examples.html. The displayed option value is a localized string and the value is a key that will be stored in DB.

Re: Localization of DropDownChoice

2008-03-24 Thread greeklinux
Erik van Oosten wrote: Hi Greeklinux, Thanks for the link. It helped. Please see my earlier reply on a similar question. http://www.nabble.com/DropDownChoice-getting-value-into-the-model-td15905486.html#a15906830 I am not sure the wiki page is correct. Regards, Erik

create email with wicket/javamail

2008-03-25 Thread greeklinux
Hello, I would like to create an email body with wicket and send it with javamail. I read that it is possible to create a page and get it from a buffer. I do not want to use other template languages like velocity. I think wicket schould be enough. I read about StringRequestTarget and the

Re: Size of TextFilter TextField

2008-03-26 Thread greeklinux
Hello, why do you want to set the size of a textfield via java? I think it is better to use CSS for presentation stuff. Kai Mütz wrote: Hi, I want to set the size of a textfield within the FilterForm. How can I do that? Subclass TextFilter or is there a better way? Regards, Kai

Re: create email with wicket/javamail

2008-03-27 Thread greeklinux
I found the method Component.render(MarkupStream markupStream). I am thinking about to create this page and then render it, save the stream, and set it as email body... Or is there a more elegant and better wicket-way to achieve this? greeklinux wrote: Hello, I would like to create

Re: create email with wicket/javamail

2008-03-29 Thread greeklinux
believe. On Thu, Mar 27, 2008 at 4:43 AM, greeklinux [EMAIL PROTECTED] wrote: I found the method Component.render(MarkupStream markupStream). I am thinking about to create this page and then render it, save the stream, and set it as email body... Or is there a more elegant and better

wicket-contrib-javaee

2008-04-13 Thread greeklinux
Hello, I am building an ee application and I want to use wicket in the web tier. Now I find wicket-contrib-javaee on wicketstuff.org and it looks nice. But there is a problem. It is not possible to initialize the injection in the WebApplications init() method with:

Re: wicket-contrib-javaee

2008-04-13 Thread greeklinux
Hello, thank you. wicket-ioc was the missing part. On the wiki page of wicket-contrib-javaee there was no information about this dependency. greeklinux wrote: Hello, I am building an ee application and I want to use wicket in the web tier. Now I find wicket-contrib-javaee

Re: wicket-contrib-javaee

2008-04-15 Thread greeklinux
Hello, I am using maven2 but did not found a maven2 repository with wicket-contrib-javaee. Found only this one http://wicketstuff.org/maven/repository/org/wicketstuff/maven/ -greeklinux igor.vaynberg wrote: if you used maven it wouldve all been setup for you... -igor On Sun, Apr 13

Problem with german error messages in feedback panel

2008-04-27 Thread greeklinux
Hello, I have problems with german umlauts in a feedback panel. I define the error messages in a property file. It displays as follows: Bitte geben Sie eine gültige E-Mail ein In my HTML: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: Problem with german error messages in feedback panel

2008-04-27 Thread greeklinux
Encoding everything was fine. So, either you use Unicode Characters in your String literals, which is plain ugly, or use an editor which is capable of using UTF-8 Encodings. Am Sonntag, 27. April 2008 11:35:16 schrieb greeklinux: Hello, I have problems with german umlauts

Re: Problem with german error messages in feedback panel

2008-04-28 Thread greeklinux
Hello, thank you. I converted the properties file with native2ascii and it works. Vit Rozkovec wrote: Hi, try to convert the property file with native2ascii tool. greeklinux wrote: Hello, I am using IDEA as IDE. I configured it to use UTF-8. Did I forget something

SWARM Login

2008-05-16 Thread greeklinux
Hello, I am using Wicket 1.3.3 with SWARM 1.3.0. I have pages with a common layout (secure and not secure). I can login and see the secure pages. Now I want to achieve to be automaticaly redirected to user home when a user is accessing the domain and logged in before... I think I have to add a

Re: Account Activation Email generation and response processing: any design example?

2008-05-16 Thread greeklinux
Hello, yes you can create an activation column that stores a hash value that is created by UUID or MD5. Then send this data in an activation url to the user email. The url can be mounted (nice url) to a Page, which gets the PageParameters. Then you can validate the hash value. MYoung wrote:

Re: SWARM Login

2008-05-17 Thread greeklinux
but this is imo not a common situation swarm should be able to do out of the box. But maybe i do not understand you correct and you actually have a valid use case. Hope to hear from you. Maurice On Fri, May 16, 2008 at 8:42 PM, greeklinux [EMAIL PROTECTED] wrote: Hello, I am using

Re: Text handling in wicket

2008-05-18 Thread greeklinux
Hello, do you look at the localization/i18n support from wicket? Mathias P.W Nilsson wrote: Hi! I have a lot of pages that have text description. ( Many lines of text) It can have css markup in with bold, color etc. My problem is that the site is implemented in many languages. How

Re: Label visibility dependend on Model value

2008-05-23 Thread greeklinux
extends label { protected boolean isvisible() { return !Strings.isEmpty(getModelObjectAsString()); } } -igor On Fri, May 23, 2008 at 8:13 AM, greeklinux [EMAIL PROTECTED] wrote: Hello, I want to display diffent values. For this purpose I am using the Label component

Re: Label visibility dependend on Model value

2008-05-24 Thread greeklinux
). igor.vaynberg wrote: the result is whatever you gave the label as the model, if i look at your code above it is the firstname property of whatever user you gave to the compound model -igor On Fri, May 23, 2008 at 11:02 AM, greeklinux [EMAIL PROTECTED] wrote: Hello Igor, thank you for the help

Re: Upload ok - how about downloading a bytestream?

2008-05-24 Thread greeklinux
Hello, use a IResourceStream that returns the DB bytes as stream. Then you can set this stream as new RequestTarget after a click. new Link(clickMe) { void onClick() { IResourceStream s = { @Override InputStream getInputStream() { ...from DB...} void close() {

[Solved] Re: Label visibility dependend on Model value

2008-05-24 Thread greeklinux
) { protected boolean isVisible() { return !Strings.isEmpty(getModelObjectAsString()); } }); The label will have a model inherited from the CompoundPropertyModel. Sven greeklinux schrieb: Hello Igor, If I am using a PropertyModel for my Label, new VisibleLabel(firstName, new

Re: Wrap a ListView and it cannot be updated via AJAX ?

2008-06-02 Thread greeklinux
Hello, I do not work with wicket ajax so far...but I think you have to update the whole container. regards smallufo wrote: I have a WebPage , containing a gmap2 and a Panel with a ListView inside. I added the panel to the gmap2's onClick(AjaxRequestTarget ...) , So when user clicks the

Re: wicket generics

2008-06-10 Thread greeklinux
Hi, if the consequences are a cleaner api then I think to decouple the model is right. The migration for older code may be hard. But I think it will be worth it when the new code base is more robust. -- View this message in context:

Re: The component(s) below failed to render

2008-06-12 Thread greeklinux
Do you add the DropDownChoice to the markup and forgott the wicket id? Michael_Bo wrote: Hi, i have a problem with some Components. I'm using Wicket Web beans. If tried to add an additional form to a beanFrom. Then I get The following Error: WicketMessage: The component(s) below