RE: Location of wicket-ajax.js

2008-02-29 Thread Chris Colman
Using 1.3.0 - maybe I should try 1.3.1 -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, 29 February 2008 6:29 PM To: users@wicket.apache.org Subject: Re: Location of wicket-ajax.js this should happen automatically, please file a bug report -igor

Re: Location of wicket-ajax.js

2008-02-29 Thread Igor Vaynberg
that is a given. try 1.3.1 and if that doesnt work try building trunk yourself and test with that. -igor On Fri, Feb 29, 2008 at 12:16 AM, Chris Colman [EMAIL PROTECTED] wrote: Using 1.3.0 - maybe I should try 1.3.1 -Original Message- From: Igor Vaynberg [mailto:[EMAIL

RE: div close tag error

2008-02-29 Thread Maeder Thomas
And your ids are mismatched: someModal != openModal -Original Message- From: Thijs [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 28. Februar 2008 21:56 To: users@wicket.apache.org Subject: Re: div close tag error Wicket:id=someModal is missing a Michael Mehrle wrote: I have

Re: div close tag error

2008-02-29 Thread Igor Vaynberg
assuming SomePanel extends Panel you cannot embed components into panel's markup. any static markup inside tags that the panel is attached to will be removed and replaced by the panel's markup. if you do put a wicket:id into a markup that is inside panel tags you will get that error. the error

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
Could you show us some code? regards Karol Wrzesniewski wrote: Thanks for all your help. NonCachingImage is exacly what I wanted. It works fine but only after I open modal window, call setImageResource, close modal and reopen it again. After first call of modal window default image is

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
https://issues.apache.org/jira/browse/WICKET-1382 Igor Vaynberg wrote: most people want stable urls for their images i would imagine, so they can be cached by the browser. in case of ajax this doesnt work because the url has to change so that browser needs to know to refresh it. maybe image

Cross fields validation

2008-02-29 Thread Paolo Di Tommaso
Guys, Which the best pattern using wicket to write validation rule that span over more than one field?! Take in consideration the following use case: There is a form with two field Field-A and Field-B. Field-A is mandatory and contains a date value. So this is trivial: setRequired(true) + a

Re: [newbie question] How to refresh Image using an AjaxLink

2008-02-29 Thread Karol Wrzesniewski
ok - that's how it looks: this is a ListView on the panels left side: add(listaObrazow = new ListView(pics, obrazki) { public void populateItem(final ListItem listItem) { final

Re: SpringBean in AuthenticatedWebSession

2008-02-29 Thread lars vonk
If I recall it correctly only Components are injected. A Session is not a Component and therefor not injected. You could pass the UserDao as construtor argument yourself when instantiating you Session class in your newSession method in your WebApplication. Lars On Fri, Feb 29, 2008 at 10:54

Re: Cross fields validation

2008-02-29 Thread Paolo Di Tommaso
Thanks! On Fri, Feb 29, 2008 at 10:55 AM, Kai Mütz [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Guys, Which the best pattern using wicket to write validation rule that span over more than one field?! http://cwiki.apache.org/WICKET/validating-related-fields.html HTH, Kai

RE: Cross fields validation

2008-02-29 Thread Kai Mütz
[EMAIL PROTECTED] wrote: Guys, Which the best pattern using wicket to write validation rule that span over more than one field?! http://cwiki.apache.org/WICKET/validating-related-fields.html HTH, Kai - To unsubscribe,

SpringBean in AuthenticatedWebSession

2008-02-29 Thread Bert Radke
Hi List, thanks to the help i received so far here, i managed to load objects through JPA using DAOs. The DAOs get injected just fine using the wicket-spring extension (i used the blog example [1] as a starting point). So this is all fine, but now i tried using the same technique to load and

Re: Can i add multiple lines to a node-link in tree?

2008-02-29 Thread Newgro
I added a NRFE https://issues.apache.org/jira/browse/WICKET-1384 https://issues.apache.org/jira/browse/WICKET-1384 Maybe someone will take care for this. Thanks for your taken time Cheers Per -- View this message in context:

Re: SpringBean in AuthenticatedWebSession

2008-02-29 Thread Sebastiaan van Erk
One option is to add: InjectorHolder.getInjector().inject(this) In your session constructor. Regards, Sebastiaan Bert Radke wrote: Hi List, thanks to the help i received so far here, i managed to load objects through JPA using DAOs. The DAOs get injected just fine using the wicket-spring

Re: Can i add multiple lines to a node-link in tree?

2008-02-29 Thread Matej Knopp
It is not possible to do this with tree table. That is fixed for one line only. -Matej On Fri, Feb 29, 2008 at 11:26 AM, Newgro [EMAIL PROTECTED] wrote: I added a NRFE https://issues.apache.org/jira/browse/WICKET-1384 https://issues.apache.org/jira/browse/WICKET-1384 Maybe someone will

Re: SpringBean in AuthenticatedWebSession

2008-02-29 Thread Bert Radke
Thank you, while trying the approach from Lars, your answer came in ;) On Fri, Feb 29, 2008 at 11:33 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: One option is to add: InjectorHolder.getInjector().inject(this) I should have know this myself, as it came up on this list recently.. But now

Re: Can i add multiple lines to a node-link in tree?

2008-02-29 Thread Newgro
Hello Matej, is there a cause for fix single line? Or is it only not implemented yet? Thanks Per -- View this message in context: http://www.nabble.com/Can-i-add-multiple-lines-to-a-node-link-in-tree--tp15617892p15756237.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: SpringBean in AuthenticatedWebSession

2008-02-29 Thread lars vonk
Nice one Sebastiaan. Only now I have to refactor my code :-) On Fri, Feb 29, 2008 at 11:52 AM, Bert Radke [EMAIL PROTECTED] wrote: Thank you, while trying the approach from Lars, your answer came in ;) On Fri, Feb 29, 2008 at 11:33 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:

Re: Can i add multiple lines to a node-link in tree?

2008-02-29 Thread Matej Knopp
The problem is that TreeTable doesn't use table for building the actual layout. So it's not something easily fixable. It's on my todo list to rework the TreeTable to use table but I'm kinda short of time right now. -Matej On Fri, Feb 29, 2008 at 11:58 AM, Newgro [EMAIL PROTECTED] wrote: Hello

Re: Can i add multiple lines to a node-link in tree?

2008-02-29 Thread Newgro
I exchanged the tree-table by tree and have the same problem. Can you please provide me a little example how you did this? Cheers Per -- View this message in context: http://www.nabble.com/Can-i-add-multiple-lines-to-a-node-link-in-tree--tp15617892p15756637.html Sent from the Wicket - User

Problem with opening inline PDF file due to ;charset=UTF-8 in content type

2008-02-29 Thread Niels Bo
Hi After upgrading from wicket 1.2.6 to 1.3 we got a problem with opening PDF files inline in a browser window. At least for some browser versions and/or PDF readers, it now opens the PDF file in a separate window instead of inline. The difference is that in Wicket 1.3 ;charset=UTF-8 is always

TreeTable lazy loading. updateTree and javascript

2008-02-29 Thread JuanPabloCoenMitrani
Hi, I'm using the TreeTable from wicket-extensions 1.2.6 I extended it to make childs load lazily by AJAX when parent nodes are expanded. I also used some javascript to make all expand/collapse behavior client side from that moment. My problem is that, when I update the tree via AJAX (and load

JDBC Connection for CRUD operations

2008-02-29 Thread wicketUser
Hi, I am new to Wicket and I don't wish to use hibernate as persistence framework. I am trying to do CRUD operations through JDBC connection to a mysql database. I have added mysql dependency in my project's pom.xml file dependency groupIdmysql/groupId

AjaxLink throws WicketRuntimeException

2008-02-29 Thread Tim Squires
Hi, I have an AjaxLink that displays a ModalWindow onClick: AjaxLink executorLink = new AjaxLink(show executor) { public void onClick(AjaxRequestTarget target) { logger.debug(show the executor details window for will + will);

Re: JDBC Connection for CRUD operations

2008-02-29 Thread lars vonk
What driver did you specify? On Fri, Feb 29, 2008 at 1:17 PM, wicketUser [EMAIL PROTECTED] wrote: Hi, I am new to Wicket and I don't wish to use hibernate as persistence framework. I am trying to do CRUD operations through JDBC connection to a mysql database. I have added mysql

Re: JDBC Connection for CRUD operations

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
you need to have which ever driver you specified on classpath.. wicketUser wrote: Hi, I am new to Wicket and I don't wish to use hibernate as persistence framework. I am trying to do CRUD operations through JDBC connection to a mysql database. I have added mysql dependency in my project's

Re: Security Features offered by Wicket

2008-02-29 Thread Arthur Ahiceh
Hi Igor, 4. CSRF attacks first you would have to hijack the session... then in order for you to hit ?wicket:interface=:0:goGerman::ILinkListener:: a few things have to be true: a) attacker has to hijack the session b) page id (the 0 part of the url) has to

RE: Security Features offered by Wicket

2008-02-29 Thread Hoover, William
What about using the CryptedUrlWebRequestCodingStrategy? In your WebApplication: @Override protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { protected IRequestCodingStrategy

Re: fix for WICKET-1365 causes ClassCastException

2008-02-29 Thread Maurice Marrink
The problem seems to be line 97 of SerializedPagesCache where you add a SerializedPageWithSession to a list who's entries will later be cast to a SoftReference (at line 63). Maurice On Fri, Feb 29, 2008 at 2:20 PM, Maurice Marrink [EMAIL PROTECTED] wrote: Matej, I am afraid your latest

Sporadic exponential explosion of session size

2008-02-29 Thread Meetesh Karia
Hi all, We're running into a problem that we've seen happen many times though unfortunately we can't consistently reproduce it. We're using Wicket 1.3.1 with automatic multi-window support enabled and the default SecondLevelCacheSessionStore. During normal use of our site, no Pages

Re: errors on the WicketStuff Dojo split container example

2008-02-29 Thread Fernando Wermus
I have the same problem. Did you solve by yourself? This is my code an debugging, DEBUG: widget ID collision on ID: resumenPartido111 DEBUG: widget ID collision on ID: detallePartido112 wicket:panel table tr wicket:id=repeating tddiv

Re: Security Features offered by Wicket

2008-02-29 Thread Martin Makundi
Hi Arthur! It would be nice if you wrote a public wiki document about Wicket Security Audit from the point of view of security-sensitive institutions. After you have gathered all the necessary information, of course. This would speed up the adoption of Wicket in similar projects as there would be

Re: GET method parameters as List or Map?

2008-02-29 Thread Johan Compagner
What is your question exactly? What do you want todo in wicket? On 2/29/08, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi, I have a GET method which takes a bunch of optional search parameters. I then put these in a map, keyed by the . A cool servlet framework we use (wicket) has a construct

Re: GET method parameters as List or Map?

2008-02-29 Thread Gabor Szokoli
On 2/29/08, Johan Compagner [EMAIL PROTECTED] wrote: What is your question exactly? What do you want todo in wicket? Woops, wrong users list, sorry about the noise! (should have been the jersey list...) Gabor Szokoli - To

Re: Security Features offered by Wicket

2008-02-29 Thread Arthur Ahiceh
Hi again, The example that I put here is a typical example when you read articles about CSRF attacks. It demonstrates that the attack request is made by a valid user with his credentials (cookies). This second authentication usually also contains an encrypted version of the amount that should

Re: JDBC Connection for CRUD operations

2008-02-29 Thread James Carman
Just having the driver specified on the classpath doesn't register it. You have to do a Class.forName(drivernamehere) to register it with the DriverManager. I'd do that as a ServletContextListener or something. On 2/29/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: you need

Re: fix for WICKET-1365 causes ClassCastException

2008-02-29 Thread Matej Knopp
Hi, sorry about that. Didn't have time to test that properly. The fix should be committed. Thanks -Matej On Fri, Feb 29, 2008 at 3:42 PM, Maurice Marrink [EMAIL PROTECTED] wrote: The problem seems to be line 97 of SerializedPagesCache where you add a SerializedPageWithSession to a list who's

Re: Problem with multiwindow app

2008-02-29 Thread legol
Hi, thx I used constructor with Pagemap and now it works well. You also suggested upgrading to 1.3.1 could you tell me profits from upgrading to 1.3.1 in this case? What is the solution of this problem in 1.3.1? Thx again, pzdr legol Johan Compagner wrote: See PageMap and the Page

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Igor Vaynberg
please file a bug report so this doesnt fall through the cracks. reference this email thread in this issue report through nabble or whatever... -igor On Fri, Feb 29, 2008 at 8:59 AM, Meetesh Karia [EMAIL PROTECTED] wrote: There's nothing obvious and we don't hold references between pages

Re: get Form information after submit

2008-02-29 Thread Igor Vaynberg
what about it didnt work? it looks fine... -igor On Thu, Feb 28, 2008 at 12:43 PM, taygolf [EMAIL PROTECTED] wrote: hey igor thanks for all the help I really am learning a lot here. I am having an issue forwarding the model tp my textfiled in my panel and I wanted to show you my code

Re: get Form information after submit

2008-02-29 Thread Igor Vaynberg
if you create a quickstart it will make it very easy for me to see and will give us both something to work with... -igor On Fri, Feb 29, 2008 at 12:48 PM, taygolf [EMAIL PROTECTED] wrote: teststring in onSubmit is always null no matter what I have entered in the textfield. Any help with

ModificationWatcher - Cannot track modifications to resource

2008-02-29 Thread robert.mcguinness
I have a class = public class WorkspaceResourceStream extends org.apache.wicket.util.resource.AbstractResourceStream and wicket throws info message =15:58:03.004 [http-8080-3] INFO o.a.w.util.watch.ModificationWatcher - Cannot track modifications to resource I understand its just

RE: Location of wicket-ajax.js

2008-02-29 Thread Chris Colman
The class derives, ultimately, from the WebPage class. Should I try deriving it from some other wicket base class as a workaround? there are no conditions, these things are pushed to wicket by invocations on iheadercontributor's iheaderresponse interface by all interested

Re: Location of wicket-ajax.js

2008-02-29 Thread Igor Vaynberg
no. webpage is the correct choice. as a workaround you can make the page stateful -igor On Fri, Feb 29, 2008 at 1:04 PM, Chris Colman [EMAIL PROTECTED] wrote: The class derives, ultimately, from the WebPage class. Should I try deriving it from some other wicket base class as a

RE: Location of wicket-ajax.js

2008-02-29 Thread Chris Colman
I've tried 1.3.1 and still no luck in getting wicket to inject the appropriate script lines into the header of the HTML. I was wondering what is the *trigger* or set of conditions that wicket uses to determine that it should inject the script lines that import the .js files into a generated HTML

Re: Location of wicket-ajax.js

2008-02-29 Thread Igor Vaynberg
there are no conditions, these things are pushed to wicket by invocations on iheadercontributor's iheaderresponse interface by all interested components/behaviors. i guess wicket ignores these if the page is stateless, which woud be a bug... -igor On Fri, Feb 29, 2008 at 12:50 PM, Chris Colman

Re: Submit a form and ignore nested forms

2008-02-29 Thread AshleyAbraham
Hi everyone, I have a similar problem using Wizard, I have a idea but I dont know whether its a right approach or is there an easy way to do it... here is my thought, if I use a FormComponentPanel and put my nested form in it, then override the processChildren() to return false. So, when the

Re: ModificationWatcher - Cannot track modifications to resource

2008-02-29 Thread Igor Vaynberg
when in dev mode wicket tries to monitor resources for changes so it can evict them from cache - thus in dev mode resources are reloaded as you edit them without you having to redeploy the app. not sure you can do anything about the message...just disable the logger for that class/package...

Re: get Form information after submit

2008-02-29 Thread Yue Liu
Don't you need to provide getter and setter for teststring? On Fri, Feb 29, 2008 at 3:48 PM, taygolf [EMAIL PROTECTED] wrote: teststring in onSubmit is always null no matter what I have entered in the textfield. Any help with this would be most appreciated. Thanks T igor.vaynberg

Re: Submit a form and ignore nested forms

2008-02-29 Thread Igor Vaynberg
processchildren() comes from IFormVisitorParticipant which, afaik, any component can implement and therefore act as a barrier to prevent form processing logic from going any deeper. -igor On Fri, Feb 29, 2008 at 1:21 PM, AshleyAbraham [EMAIL PROTECTED] wrote: Hi everyone, I have a

Re: Submit a form and ignore nested forms

2008-02-29 Thread Igor Vaynberg
eg its probably something your nested form can implement -igor On Fri, Feb 29, 2008 at 1:29 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: processchildren() comes from IFormVisitorParticipant which, afaik, any component can implement and therefore act as a barrier to prevent form processing

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Meetesh Karia
Will do and I will respond with any other information we find as we're looking into this as well. Meetesh Igor Vaynberg wrote: please file a bug report so this doesnt fall through the cracks. reference this email thread in this issue report through nabble or whatever... -igor On Fri, Feb

Re: Submit a form and ignore nested forms

2008-02-29 Thread AshleyAbraham
Igor, Thank u for your fast response... Thanks again, Ashley Pills wrote: Hi everybody, I'm using nested forms in my web app to provide to the user a simple way for editting a product and its stock state at the same time (PRODUCTS and STOCKS are bound with a relation 1-n in my

How to get a context root in wicket?

2008-02-29 Thread Vitaly Tsaplin
Hi everyone, Simple... simple question... How to get a context root in wicket? Best regards, Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to get a context root in wicket?

2008-02-29 Thread James Carman
You can get to the ServletContext through your application object. On 2/29/08, Vitaly Tsaplin [EMAIL PROTECTED] wrote: Hi everyone, Simple... simple question... How to get a context root in wicket? Best regards, Vitaly

Re: Integrating with a forum application...?

2008-02-29 Thread Toto Laricot
We've done it. Nothing Wicket-specific. JForum runs as a separate webapp, we display it in a frame. SSO is a bit tricky but it's doable. v. On 2/29/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Has any one done this? Im thinking of jforum.. http://www.jforum.net/ ? It

Anyone thinking about an OLAP4J component?

2008-02-29 Thread Jay Hogan
Has anyone thought about writing a Wicket OLAP viewer using the new (still beta) olap4j API? (http://www.olap4j.org/) I would kill (ok, maim) for something like that and Wicket is a great platform for it IMHO. I have not been very impressed with the Java OLAP pivot tools I have seen, of which

Re: Integrating with a forum application...?

2008-02-29 Thread Scott Swank
I suspect that Nino wants to use Wicket instead of Freemarker for the UI layer. http://www.jforum.net/doc/TemplatesAndStyles On Fri, Feb 29, 2008 at 4:46 PM, Toto Laricot [EMAIL PROTECTED] wrote: We've done it. Nothing Wicket-specific. JForum runs as a separate webapp, we display it in a

Re: Testing (Ajax)TabbedPanel

2008-02-29 Thread Kent Tong
Sven Schliesing wrote: This works quite good. But I'm having problems with using too much internal knowledge (e.g. the tabs-container id) of the AjaxTabbedPanel. You can always create your own TabPanelTester that may have a getTab(id) method. This class will encapsulate the internal

Re: Wicket Wizard form need to add custom validation to each panel

2008-02-29 Thread Kent Tong
AshleyAbraham wrote: I am working on a wicket wizard component, I am trying to add an AbstractFormValidation to each wizardStep, so when the wizardStep is added/replaced the wizard form will know how to custom validate that particular wizardStep. Why not add the form validator to the

Re: Page markup caching

2008-02-29 Thread Kent Tong
hbf wrote: Has anybody implemented page caching for Wicket? If possible, I'd like to store the markup of a page in ehcache so that subsequent requests can be served without invoking the rendering mechanism of the framework at all. You may try overriding the onRender() method in the

Re: Wicket Wizard form need to add custom validation to each panel

2008-02-29 Thread Igor Vaynberg
or embed a form in the wizard panel and add the validator to that -igor On Fri, Feb 29, 2008 at 7:47 PM, Kent Tong [EMAIL PROTECTED] wrote: AshleyAbraham wrote: I am working on a wicket wizard component, I am trying to add an AbstractFormValidation to each wizardStep, so when

Re: Submitting an ajaxform with multipart/form-data

2008-02-29 Thread Martijn Dashorst
iirc wicket-extensions has a multi file upload that does this, and the ajax file upload progress bar in extensions should work as advertised. Martijn On 2/28/08, Michael Sparer [EMAIL PROTECTED] wrote: Hi, it's a known limitation that one cannot submit an ajaxform with multipart enabled.

Re: Sporadic exponential explosion of session size

2008-02-29 Thread Johan Compagner
please do and also try to attach a quickstart. On Fri, Feb 29, 2008 at 11:02 PM, Meetesh Karia [EMAIL PROTECTED] wrote: Will do and I will respond with any other information we find as we're looking into this as well. Meetesh Igor Vaynberg wrote: please file a bug report so this doesnt

Re: Location of wicket-ajax.js

2008-02-29 Thread Johan Compagner
if ajax is used in a page then the page is not stateless anyway. johan On Fri, Feb 29, 2008 at 9:55 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: there are no conditions, these things are pushed to wicket by invocations on iheadercontributor's iheaderresponse interface by all interested

RE: Location of wicket-ajax.js

2008-02-29 Thread Chris Colman
I tried that by adding a TextField - still no joy. no. webpage is the correct choice. as a workaround you can make the page stateful -igor On Fri, Feb 29, 2008 at 1:04 PM, Chris Colman [EMAIL PROTECTED] wrote: The class derives, ultimately, from the WebPage class. Should I try

RE: Location of wicket-ajax.js

2008-02-29 Thread Chris Colman
How do I force a page to be stateful? I tried that by adding a TextField - still no joy. no. webpage is the correct choice. as a workaround you can make the page stateful -igor On Fri, Feb 29, 2008 at 1:04 PM, Chris Colman [EMAIL PROTECTED] wrote: The class derives,

Re: Anyone thinking about an OLAP4J component?

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
Sounds like a great idea, and maybe give companies like SAS institute and SPSS a little run for it:) I'd love to do that, but unfortunalty I'ts not a business case for my company.. I'd be glad to help out a little though:) regards Nino Jay Hogan wrote: Has anyone thought about writing a

Re: Integrating with a forum application...?

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
It was exactly the tricky parts, that would be nice to have in a contrib:) Toto Laricot wrote: We've done it. Nothing Wicket-specific. JForum runs as a separate webapp, we display it in a frame. SSO is a bit tricky but it's doable. v. On 2/29/08, Nino Saturnino Martinez Vazquez Wael [EMAIL

Re: Integrating with a forum application...?

2008-02-29 Thread Nino Saturnino Martinez Vazquez Wael
Yeah maybe create a thin wrapper, doesnt seem that hard todo? regards Nino Scott Swank wrote: I suspect that Nino wants to use Wicket instead of Freemarker for the UI layer. http://www.jforum.net/doc/TemplatesAndStyles On Fri, Feb 29, 2008 at 4:46 PM, Toto Laricot [EMAIL PROTECTED] wrote: