Re: Apache is freezing CPU

2008-09-11 Thread Martijn Dashorst
With that many users you probably have session retention. Try to profile your app with yourkit or another profiler. Failing that, you could look at the numbers using jmap and jstat. Martijn On 9/11/08, jmatt [EMAIL PROTECTED] wrote: We have a server with more or les 30K daily pageviews with 6k

Forcing HybridUrlCodingStrategy version change

2008-09-11 Thread Sergio García
I've trying to make an ajax undo implementation into a wicket page. Is there any way to force HybridUrlCodingStrategy version change? I want that some (or all) of the ajax enabled components could change the wicket page version so the users could press the web browser back button in order to undo

RE: https flips to http

2008-09-11 Thread Rikard Lindström
I have the same problem as above, and by using the Tamper Data plugin I get similar results. A request to https flips to http. Everything works ofc if both protocols are opened, but in production mode we only use https :( Do you have any ideas how to solve this issue?

BookmarkablePageLink in ModalWindow, a bug?

2008-09-11 Thread Artur W.
Hi, I create a bookmarkablePageLink and add it to the page: new BookmarkablePageLink(link, ProductPage.class, new PageParameters(0= + product.getId())); It generates correct url: http://127.0.0.1:8080/myapp/admin/product/2446/ But when I add the same bookmarkablePageLink to a ModalWinow it

Re: JavaRebel experience

2008-09-11 Thread Johan Compagner
thats our own modification watcher turn it on (development mode or manual) On Wed, Sep 10, 2008 at 4:52 PM, reikje [EMAIL PROTECTED] wrote: Is it possible to have Java Rebel reload the Wicket HTML as well? Like when we deploy a war file to JBoss, it will contain html and class files. The

Migrate to 1.4 - Problems...

2008-09-11 Thread Markus
Hi all, first of all, I want to ask how the CompundPropertyModel replaces the BoundCompoundPropertyModel? How can I bind something? Before it was model.bind(Component, String), now it´s only model.bind(String)? What Component is bound? How? Don´t get that L Second: regF.add(new

Re: Reporting Engine on Wicket 1.3.4

2008-09-11 Thread Edvin Syse
We use Apache XmlGraphhics/FOP to create PDF successfully in our Wicket-applications. Some places I use an external XML-datasource and convert using XSLT, and other times I use Freemarker to generate the .fo directly. It's extremely fast, and the markup is easy to understand and easy to

Re: Hot deployment / code swapping

2008-09-11 Thread pixologe
Martijn Dashorst wrote: Wicket can't magically detect changes that are not on the classpath. Well, you never what what Frameworks might be able to do below the hood. And with all the magical things wicket can do, I wouldn't have been too surprised to find a config param pointing to my

Access iframe

2008-09-11 Thread NTS
Hi, I have a wicket page with a textbox, button and iframe in it. when the user enters some text and submits, a request is sent to another ASP page(on different domain) with the value and the callback file name. AjaxButton btnFindMe = new AjaxButton(btnFindMe, finderPanelForm) {

Re: WicketTester feature request

2008-09-11 Thread Jan Stette
2008/9/11 Timo Rantalaiho [EMAIL PROTECTED] Hi Timo, thanks for your reply. See below for comments. On Wed, 10 Sep 2008, Jan Stette wrote: I've had a few problems with WicketTester recently and would like to submit a request for when it gets overhauled for version 1.5 (is that still the

Wicket 1.3.4 + SWFObject

2008-09-11 Thread Piller Sébastien
Hello, this time I haven't any dummy question :) I've developped a wicket panel to display a *.swf file with a autoinstall feature of the flash player, using SWFObject, and I'm ready to share it with the community. Are you interested?

Apache FOP and Wicket

2008-09-11 Thread Paolo Di Tommaso
Dear all, If I'm not wrong Wicket is able to manage any king of markup not just HTML. So it would be possibile to use Wicket to generate an Apache FOP markup to rendere a PDF file? Any suggestions? Thank you, -- Paolo

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
how do you submit the form? it seems like you do not add a submit button or submit link into the form.. Ajayi Yinka wrote: Hi, This problem still persist till now. I can really figure out the cause of the problem. Could anyone help me out? This is one of the pages in my application. I have

Re: WebResource and authentication

2008-09-11 Thread Adriano dos Santos Fernandes
Am I on wrong direction? How can I have a PDF generator integrated with Wicket authentication? I can't image how can I ask Wicket if user is authenticated or not. I don't even see how can I access the Session from WebResource... Adriano Adriano dos Santos Fernandes escreveu: H! I

Re: WebResource and authentication

2008-09-11 Thread Serkan Camurcuoglu
Session javadoc says: *Access via Thread Local *- In the odd case where neither a RequestCycle nor a Component is available, the currently active Session for the calling thread can be retrieved by calling the static method Session.get(). This last form should only be used if the first two

Wicket, HTML or XHTML ?

2008-09-11 Thread pierre . goiffon
Hello, As a Wicket beginner, I was wondering if there are any contra-indication to generate some HTML 4.01 Strict instead of any XHTML 1.0 version (transitionnal or strict) ? I tried to simply add an HTML 4.01 strict doctype to my html files, and it seems to work fine (thought in development

Re: Reporting Engine on Wicket 1.3.4

2008-09-11 Thread Edvin Syse
The freemarker-version is something like this: The user has created a template using the .fo format with Freemarker, a (too) simple example could be: http://tornado.no/template/show?template=global.fop (Notice the list-directive to iterate over articles in this case, since it is a CMS).

Re: Reporting Engine on Wicket 1.3.4

2008-09-11 Thread Edvin Syse
Btw, the ByteArrayResourceStream is just a simple extension of the AbstractResourceStream, wrapping the bytearray :) -- Edvin Edvin Syse skrev: The freemarker-version is something like this: The user has created a template using the .fo format with Freemarker, a (too) simple example could

Re: Wicket, HTML or XHTML ?

2008-09-11 Thread Erik van Oosten
For Wicket the doctype is not needed, so do what you like. Just remember to keep it in XML syntax. There is only one ceavat: you should always write div wicket:id=.../div instead of div wicket:id=.../, Wicket ignores the XML definition that specifies that these should be treated as semantically

Re: Apache FOP and Wicket

2008-09-11 Thread Edvin Syse
I don't think Wicket is the right tool for that, try Freemarker instead. You can still serve up the file through Wicket though :) -- Edvin Paolo Di Tommaso skrev: Dear all, If I'm not wrong Wicket is able to manage any king of markup not just HTML. So it would be possibile to use Wicket to

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
Thanks for your concern. I added it (check the LoginForm class, you will see the onSubmit method). I used the default form submit button. I tried the wicket button before, but the same problem persist. On Thu, Sep 11, 2008 at 5:33 AM, Serkan Camurcuoglu [EMAIL PROTECTED]wrote: how do you submit

Re: Wicket, HTML or XHTML ?

2008-09-11 Thread pierre . goiffon
Erik van Oosten [EMAIL PROTECTED] wrote on 11/09/2008 15:06:05: For Wicket the doctype is not needed, so do what you like. Just remember to keep it in XML syntax. Reading this I wonder if I just have to produce well-formed html files ( http://www.w3.org/TR/REC-xml/#sec-well-formed), or taking

Re: Reporting Engine on Wicket 1.3.4

2008-09-11 Thread Ajayi Yinka
thanks, I will try that yinka On Thu, Sep 11, 2008 at 6:00 AM, Edvin Syse [EMAIL PROTECTED] wrote: The freemarker-version is something like this: The user has created a template using the .fo format with Freemarker, a (too) simple example could be:

Re: Apache FOP and Wicket

2008-09-11 Thread Paolo Di Tommaso
Why not? I was remembering that Wicket can manage any markup, not just HTML . . Am I missing something ? Paolo On Thu, Sep 11, 2008 at 3:03 PM, Edvin Syse [EMAIL PROTECTED] wrote: I don't think Wicket is the right tool for that, try Freemarker instead. You can still serve up the file through

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
turning your code into a quickstart project works for me, onSubmit is successfully called.. Did you debug and see the return value of continueToOriginalDestination() ? Ajayi Yinka wrote: Thanks for your concern. I added it (check the LoginForm class, you will see the onSubmit method). I

RE: cross session leakage

2008-09-11 Thread Weaver, Scott
Yes I to would like to know the cause also as we have had this happen more than once in our production environment, five or six times that I know (through trouble tickets). -scott -Original Message- From: Edward [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2008 4:44 PM

Any wicket based (or plain java) Calendars out there? (not a datepicker)

2008-09-11 Thread Wayne Pope
Hi, does anyone know of a Calendar out there - something comparible to Google's calander in terms of functionality. I've found plenty of php ones and a couple of 'clunky' java ones. Any pointers much appreciated. thanks

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
When I debugged the codes, it wasn't getting to the onSubmit method. Maybe you try to do this with the code, don't enter value when the page is first rendered and click the submit button. After that, enter values nto the textfields and click the submit button and check if the onSubmit method is

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
when I try, it works as expected, onError is called whenever data is not entered, and onSubmit is called when I enter both values.. Ajayi Yinka wrote: When I debugged the codes, it wasn't getting to the onSubmit method. Maybe you try to do this with the code, don't enter value when the page

How to made a direct response html in wicket

2008-09-11 Thread miata
Hi, I have a problem to including a html flow in web page. In Jsp page, the code will be like this : html %=api.callHtml % /html How I can tranfered the html flow since wicket Page without markup ??? If someone have an idea... thanks -- View this message in context:

RE: How to made a direct response html in wicket

2008-09-11 Thread Stefan Lindner
You can always have html div wicket:id=content/div /html and java class MyPage extens WebPage { public MyPage() { add(new Label(content, a lot of html tags and things fort he page).setEscapeModelStrings(false));

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
Thanks so much, I appreciate this, Now help me remove the onError method from the LoginForm class so that Login.class is not called. Do the same thing again and check the result. check if the page in the setResponsePage is redered. Actually, I am confussed with this problem. thanks so much yinka

Re: How to made a direct response html in wicket

2008-09-11 Thread James Carman
Probably want to add setRenderBodyOnly(true) On Thu, Sep 11, 2008 at 10:11 AM, Stefan Lindner [EMAIL PROTECTED] wrote: You can always have html div wicket:id=content/div /html and java class MyPage extens WebPage { public MyPage() {

RE: https flips to http

2008-09-11 Thread insom
Thanks to everyone who has suggested solutions. It turns out that the issue is stranger than I thought, and it's not Wicket-specific. I'll share what we've got, in case it helps anyone else (not that we have a solution yet.) We have a load balancer, Apache, and Tomcat handling requests. When any

Re: cross session leakage

2008-09-11 Thread Martijn Dashorst
afaik http://issues.apache.org/jira/browse/WICKET-1409 On Thu, Sep 11, 2008 at 3:35 PM, Weaver, Scott [EMAIL PROTECTED] wrote: Yes I to would like to know the cause also as we have had this happen more than once in our production environment, five or six times that I know (through trouble

Dynamic (generated) HTML

2008-09-11 Thread Adriano dos Santos Fernandes
Can wicket be used with dynamic (generated) HTML? I mean, for example, HTML is generated to a stream based on a table metadata and wicket reads that stream and call the page class to add logic (also querying the metadata) to it normally (as if the HTML was static). If yes, can anyone point

Re: WebResource and authentication

2008-09-11 Thread Adriano dos Santos Fernandes
Serkan Camurcuoglu escreveu: Session javadoc says: *Access via Thread Local *- In the odd case where neither a RequestCycle nor a Component is available, the currently active Session for the calling thread can be retrieved by calling the static method Session.get(). This last form should

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread kayce
Did you find a solution for this? Thanks Thomas Lutz wrote: I've a form with some validation added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the submit

RE: How to made a direct response html in wicket

2008-09-11 Thread miata
Thanks!!! it's perfect and very simple... For remove the div we can add the setRenderBodyOnly(): label.setRenderBodyOnly(true); Stefan Lindner wrote: You can always have html div wicket:id=content/div /html and java class MyPage extens WebPage {

Re: Dynamic (generated) HTML

2008-09-11 Thread James Carman
This might help you: public abstract class AbstractVelocityPanel extends VelocityPanel { //** // Fields

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Ajayi Yinka
this is exacltly the same problem I am having. Could anyone render any solution to this. Thanks Yinka. On Thu, Sep 11, 2008 at 7:40 AM, kayce [EMAIL PROTECTED] wrote: Did you find a solution for this? Thanks Thomas Lutz wrote: I've a form with some validation added, nothing special

RE: cross session leakage

2008-09-11 Thread Weaver, Scott
Thanks Martijn. The comments/description really doesn't tell me much, I will see if looking at the code changes tells me more. Thanks again, -scott -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 9:22 AM To:

Re: Dynamic (generated) HTML

2008-09-11 Thread James Carman
You can use Velocity to generate HTML and then have Wicket parse that resulting markup. Check out the wicket-velocity subproject. On Thu, Sep 11, 2008 at 10:34 AM, Adriano dos Santos Fernandes [EMAIL PROTECTED] wrote: Can wicket be used with dynamic (generated) HTML? I mean, for example, HTML

Re: Components render problem

2008-09-11 Thread Serkan Camurcuoglu
I can't help that much but I've uploaded my quickstart project here http://www.nabble.com/file/p19436483/ajaylogin.zip ajaylogin.zip , you can run it using mvn -Dmaven.test.skip=true jetty:run and see for yourself.. Good luck.. Ajayi Yinka wrote: Thanks so much, I appreciate this,

Re: cross session leakage

2008-09-11 Thread Johan Compagner
if you guys want to test if wicket still leaks a threadlocal somehow then what you should do is make a filter that goes around our filter and that test the Session.get(), RequestCycle.get() and the Applicaiton.get() if one of these are already there before (and after) our wicketfilter then there

Re: cross session leakage

2008-09-11 Thread Edward Zarecor
Look at the fisheye tab in Jira. Ed. On Thu, Sep 11, 2008 at 10:37 AM, Weaver, Scott [EMAIL PROTECTED]wrote: Thanks Martijn. The comments/description really doesn't tell me much, I will see if looking at the code changes tells me more. Thanks again, -scott -Original Message-

Re: Apache FOP and Wicket

2008-09-11 Thread Adrian Wiesmann
Why not? I was remembering that Wicket can manage any markup, not just HTML . . Am I missing something ? Not sure. If you do, so do I :) I have written a renderer which takes an XML containing some UI description and either generates Swing, HTML (Wicket), PDF (FOP) or CSV from the same UI

Re: Components render problem

2008-09-11 Thread Ajayi Yinka
Thanks, I have downloaded the code, but it seems your application structure is somehow different from mine. I will try to figure this out. On Thu, Sep 11, 2008 at 7:53 AM, Serkan Camurcuoglu [EMAIL PROTECTED]wrote: I can't help that much but I've uploaded my quickstart project here

Re: Any wicket based (or plain java) Calendars out there? (not a datepicker)

2008-09-11 Thread Scott Swank
webical uses Wicket for its UI. http://code.google.com/p/webical/wiki/StandardsAndTechnologies On Thu, Sep 11, 2008 at 6:45 AM, Wayne Pope [EMAIL PROTECTED] wrote: Hi, does anyone know of a Calendar out there - something comparible to Google's calander in terms of functionality. I've found

Wciket fails to set seesion and request attributes for external webpages

2008-09-11 Thread Benny Weingarten
Hello. I am worker on a Jboss server, with a security-constraint set on the same path as the wicket filter. Thus, all wicket pages are under the security constraint. To support that I have a login page outside the path of security-constraint. I also have an error page in teh same location as

Re: Form values lost in combination of Forms plus ModalWindow

2008-09-11 Thread German Morales
Hi again, jira issue added: https://issues.apache.org/jira/browse/WICKET-1826 I've attached a quickstart project which shows my problem, has detailed explanation, and also proposes 2 solutions (you must uncomment some code to see it working). Of course, the solutions work for my particular

Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread Lukasz Kucharski
Hi group Did anyone use wicket witch such configuration - i know this may sound silly but I'm having serious issues with slf4j binding for log4j. Jboss internally uses very old implementation of log4j for which i guess no slf4j binding exists (pre 1.2.x versions i guess). I run wicket

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread James Carman
Have you looked at this: http://wiki.jboss.org/wiki/ClassLoadingConfiguration There's a section in there about how to isolate your application from JBoss' stuff. On Thu, Sep 11, 2008 at 12:55 PM, Lukasz Kucharski [EMAIL PROTECTED] wrote: Hi group Did anyone use wicket witch such

Embedding Wicket into an existing web application

2008-09-11 Thread Philippe Marschall
Hi I'd like to integrate Wicket into an existing web application. That means a part of the web page should be done Wicket. Similar to a portlet, except that I don't use JSR-186. The application is structured in a chain of servlet filters. Ideally I'd able to split the callback processing in a

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread Lukasz Kucharski
Have you looked at this: http://wiki.jboss.org/wiki/ClassLoadingConfiguration There's a section in there about how to isolate your application from JBoss' stuff. Thanks for the link. I'll try those solutions tomorrow when I get back to work. I guess this is similar to what we used to do

Form Constructor is not invoked

2008-09-11 Thread zaheers
Appreciate your help with this issue. Our application has a HomePage called PetStorepage which adds different Panels as links. When the Profile Panel link is clicked the ProfileForm constructor should be invoked. But I see that the ProfileForm constructor is invoked only the first time the

Wicket 1.4 m3 StatelessForm

2008-09-11 Thread FakeBoy
Hi everyone, I try to work with StatelessForm, but I have strange problem. When I fill in form fields first time everything works good. But If I have some validation in some field (in my example field: first name is required) and if the walidation failed, and i try to click submit button some

Re: Form Constructor is not invoked

2008-09-11 Thread Igor Vaynberg
when the link is clicked are you calling new ProfileForm() ? -igor On Thu, Sep 11, 2008 at 11:32 AM, zaheers [EMAIL PROTECTED] wrote: Appreciate your help with this issue. Our application has a HomePage called PetStorepage which adds different Panels as links. When the Profile Panel link is

Re: Form Constructor is not invoked

2008-09-11 Thread zaheers
No, because we're trying to make the form automatically refresh when the panel's page is refreshed, by using a dynamic model. Is this something that would not be possible with forms? igor.vaynberg wrote: when the link is clicked are you calling new ProfileForm() ? -- View this message

Re: Form Constructor is not invoked

2008-09-11 Thread Johan Compagner
When the link is clicked you are going to the page with the form that is already created. So no construction is being done at that time. If you want to control visibility of some components depending on data override the isVisible() method of that component. On 9/11/08, zaheers [EMAIL PROTECTED]

check if FeedbackPanel has error messages

2008-09-11 Thread newbieabc
Hi, I'm new to wicket framework. I have a form that performs a mathematical calculation with the user input and then outputs the result. I have added a couple of basic validations to the input fields, like numbervalidator, and required field etc. And also have a feedbackpanel to display the error

Re: ajax dropdowns

2008-09-11 Thread Scott Swank
This is apparently an IE6 bug, in that inserting an image in the dom above the select screws up the tabindex/focus in some way. If I have the span/image already in the dom and I just toggle display:block vs. display:hidden then things work. Is there any way that I populate the evaluate tag of

Re: check if FeedbackPanel has error messages

2008-09-11 Thread Ritesh Trivedi
In general, here are the things you can do before you seek out for help - not necessarily in this order 1. Best thing to do it to look at wicket sources and its Javadocs. Look at FeedbackMessages.java and Session.java, IFeedbackMessageFilter.java, ContainerFeedbackMessageFilter,

Re: check if FeedbackPanel has error messages

2008-09-11 Thread Igor Vaynberg
you can put the code to clear in form.onerror() -igor On Thu, Sep 11, 2008 at 2:05 PM, newbieabc [EMAIL PROTECTED] wrote: Hi, I'm new to wicket framework. I have a form that performs a mathematical calculation with the user input and then outputs the result. I have added a couple of basic

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread James Carman
If you're just evaluating, try creating a quickstart (http://wicket.apache.org/quickstart.html) and just use the embedded Jetty server (mvn jetty:run or run the Start class in your project) to check things out. It works quite well. On Thu, Sep 11, 2008 at 2:22 PM, Lukasz Kucharski [EMAIL

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread James Carman
By the way, I wouldn't fault Wicket too much when it comes to the JBoss/Log4j issue. Many others have had problems and it has nothing to do with Wicket itself. http://www.theserverside.com/discussions/thread.tss?thread_id=29870 http://www.theserverside.com/discussions/thread.tss?thread_id=34146

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread Igor Vaynberg
On Thu, Sep 11, 2008 at 11:22 AM, Lukasz Kucharski [EMAIL PROTECTED] wrote: I must say, I'm surprised Wicket will not work out of the box in such a popular environment. I did not expect to encounter such problems during evaluation stage. why does such a popular environment force outdated

Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread walnutmon
Very new to Wicket, I've been reading about it for a few days, I'm really excited now that I'm using it. The stuff I do requires that you be able to create dynamic form elements... as an example, how would I be able to create a form that has a radio button input, where the amount of radio

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread James Carman
Take a look at ListView. On Thu, Sep 11, 2008 at 9:29 PM, walnutmon [EMAIL PROTECTED] wrote: Very new to Wicket, I've been reading about it for a few days, I'm really excited now that I'm using it. The stuff I do requires that you be able to create dynamic form elements... as an example,

Re: Wicket + jboss 4.0.5 + slf4j-log4j12 markup refresh problem issue

2008-09-11 Thread jWeekend
Lukasz, I agree that this is an irritating constraint JBoss, and others, inadvertently force on their users and it's a shame to lose time fiddling around with this stuff - but if that's your stack, then I guess you need a workaround, eg try Wicket 1.2.x (not what I would recommend). Have you

Re: Newbie Question: Dynamically Building Form Elements

2008-09-11 Thread Igor Vaynberg
have a look see here for an example https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-crud/ -igor On Thu, Sep 11, 2008 at 6:29 PM, walnutmon [EMAIL PROTECTED] wrote: Very new to Wicket, I've been reading about it for a few days, I'm really excited now that I'm

Re: WicketTester feature request

2008-09-11 Thread Timo Rantalaiho
On Thu, 11 Sep 2008, Jan Stette wrote: Absolutely, I see what you're saying. Part of the problem here may be that on the project I'm working on, WicketTester is indeed used to do integration/functional tests. I'm not sure why this was done in the first place, but it does seem to work - most

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Timo Rantalaiho
On Thu, 11 Sep 2008, Ajayi Yinka wrote: Thomas Lutz wrote: I've a form with some validation added, nothing special (Required, Email check). When I submit the form I get the validation messages in the FeedbackPanel as expected, but :-), hitting f5 for a page refresh after the

Re: FeedbackPanel and page refresh (f5) after submit

2008-09-11 Thread Igor Vaynberg
here is how it works: if the message is reported against session it is held until rendered, if the message is reported against a component it is held only during the request in which it has been reported. wicket is smart enough to look at the render strategy and not clear messages during the