RE: Error on Websphere 6.1 for Wicket Application

2009-11-13 Thread Alex Rass
It's not a problem. It's a warning. Just means that it's not optimized for production and you will see an ajax debug message in the UI. Everything will run perfectly fine. It's a setting to turn production mode on and off. By the time you write ANYTHING, you would have figured out how to turn it

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Lester Chua
Thanks for the reply. Due to network reasons, I can't add external dependencies to my project that require connections to obtain code. So Maven was out as a build mgmt tool for me. I should be looking at the release tags on the svn repo right? Is that current? Regards, Lester Jeremy

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Pierre Goupil
Hello, In the release tags, you'll find wicketstuff-core-1.4.1. For more up to date code, you'll have to fall back to the trunk. Regards, Pierre On Fri, Nov 13, 2009 at 10:58 AM, Lester Chua cicowic...@gmail.com wrote: Thanks for the reply. Due to network reasons, I can't add external

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Lester Chua
Thanks! Pierre Goupil wrote: Hello, In the release tags, you'll find wicketstuff-core-1.4.1. For more up to date code, you'll have to fall back to the trunk. Regards, Pierre On Fri, Nov 13, 2009 at 10:58 AM, Lester Chua cicowic...@gmail.com wrote: Thanks for the reply. Due to network

XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Hi. As you know, Wicket uses disk storage to save web pages by serializing them. PageMap and DiskPageStore classes are examples for it. Is there any way to change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an object seralization

RE: Error on Websphere 6.1 for Wicket Application

2009-11-13 Thread sharief Mohammed
Vinay,   is the code working in WAS v6.1 even the sample hello world doesn't work on Websphere v6.1 --- On Fri, 11/13/09, Alex Rass a...@itbsllc.com wrote: From: Alex Rass a...@itbsllc.com Subject: RE: Error on Websphere 6.1 for Wicket Application To: users@wicket.apache.org Date: Friday,

Exception while testing cluster failover with Tomcat Session Replication

2009-11-13 Thread Onur Ağın
Hi, I am trying session replication with tomcat 6.0.16 and wicket 1.3.6 There is a load balancer in front of two servers. I noticed that, Within a page that is requested from server A, I stop server A and make a postback, request succeeds if that page is requested from server B before and fails

Re: XML Serialization Wicket

2009-11-13 Thread Martin Makundi
I would never guess that DiskPageStore should waste time producing xml... ** Martin 2009/11/13 Pamir Erdem pamir.er...@gmail.com: Hi. As you know, Wicket uses disk storage to save web pages by serializing them.  PageMap and DiskPageStore classes are examples for it. Is there any way to

Re: XML Serialization Wicket

2009-11-13 Thread Uwe Schäfer
Pamir Erdem schrieb: As you know, Wicket uses disk storage to save web pages by serializing them. PageMap and DiskPageStore classes are examples for it. Is there any way to change the serialization type from DOM Serialization to SAX Serialization in these classes ? If serialization of an

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
No, I'm not dealing with PageSizes. I'm dealing to decrea stack tree depth in serialization. One way to achieve this converting changing DomSerializer to SAXSerializer. So is there any way to make it possible in wicket ? 2009/11/13 Uwe Schäfer schae...@thomas-daily.de Pamir Erdem schrieb:

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Jeremy Thomerson
You do have to download the jars from somewhere at some point. You could use Maven with a local repo and nobody would require an external connection to build. You download the jars oce (like you must be dong now), and add them to your local repo (rather than checking them into source control or

try wicket example 1.4.3

2009-11-13 Thread Jack He
Hi, I tried auto complete example locally (under tomcat in windows), but isn't presented with any auto complete suggestions. Maybe the example losts data ? Who can help me? Thanks !

try wicket example

2009-11-13 Thread Jack He
Hi, I tried auto complete example locally (under tomcat in windows), but isn't presented with any auto complete suggestions. Maybe the example losts data ? Who can help me? Thanks !

page without class

2009-11-13 Thread tubin gen
can I create a page just with html and not write class ? I need some static html pages and writing java for those will be of no use .

Re: page without class

2009-11-13 Thread Linda van der Pal
Have you tried? I'd guess it should just work. Regards, Linda tubin gen wrote: can I create a page just with html and not write class ? I need some static html pages and writing java for those will be of no use .

Re: page without class

2009-11-13 Thread Pedro Santos
Only put then on top-level directory of a web module. http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz On Fri, Nov 13, 2009 at 1:21 PM, tubin gen fachh...@gmail.com wrote: can I create a page just with html and not write class ? I need some static html pages and writing java

Page expired in BEA, not Jetty

2009-11-13 Thread Xavier López
Hi, I'm having a weird problem deploying my Wicket application in BEA. I only manage to view the Application's HomePage and mounted BookMarkablePages. Whenever I try to move from one of these pages (including a failed login from the HomePage, which does not do 'setResponsePage', so it should load

Re: page without class

2009-11-13 Thread Jack He
yes,you can do it. On Fri, Nov 13, 2009 at 1:21 PM, tubin gen fachh...@gmail.com wrote: can I create a page just with html and not write class ? I need some static html pages and writing java for those will be of no use . -- Pedro Henrique Oliveira dos Santos

Re: Restarting AjaxLazyLoadingPanel

2009-11-13 Thread Ryan O'Hara
Finally got this working by changing the following line of code: newPanel.setOutputMarkupId(true); to : newPanel.setOutputMarkupId(true).setOutputMarkupPlaceholderTag(true); Hopefully this helps someone. Ryan On Nov 12, 2009, at 2:57 PM, rjohara wrote:

Re: Exception while testing cluster failover with Tomcat Session Replication

2009-11-13 Thread Igor Vaynberg
can you check your tomcat logs for what its doing? -igor On Fri, Nov 13, 2009 at 5:54 AM, Onur Ağın onura...@gmail.com wrote: Hi, I am trying session replication with tomcat 6.0.16 and wicket 1.3.6 There is a load balancer in front of two servers. I noticed that, Within a page that is

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
wicket doesnt store pages using xml. we use ObjectOutputStream which uses java's serialization format, not xml. -igor On Fri, Nov 13, 2009 at 6:37 AM, Pamir Erdem pamir.er...@gmail.com wrote: No, I'm not dealing with PageSizes. I'm dealing to decrea stack tree depth in serialization. One way

Re: Page expired in BEA, not Jetty

2009-11-13 Thread Igor Vaynberg
try in tomcat. sounds like bea is not tracking your sessions. -igor On Fri, Nov 13, 2009 at 7:37 AM, Xavier López xavil...@gmail.com wrote: Hi, I'm having a weird problem deploying my Wicket application in BEA. I only manage to view the Application's HomePage and mounted BookMarkablePages.

Re: Page expired in BEA, not Jetty

2009-11-13 Thread Xavier López
Hi, It's working nicely on Tomcat. I'll have to rectify on what I've said on the first assertion. With Jetty, the first time I try, pageMapsUsedInRequest is null too. I'll try to provide a more elaborate description of the things happening in the second code fragment... I've tried even to

Re: Page expired in BEA, not Jetty

2009-11-13 Thread Igor Vaynberg
sorry, i dont use bea so i have no clue. but if it works on jetty and on tomcat it limits where you should look - bea configuration? bea sessions? -igor On Fri, Nov 13, 2009 at 8:21 AM, Xavier López xavil...@gmail.com wrote: Hi, It's working nicely on Tomcat. I'll have to rectify on what

Re: Page expired in BEA, not Jetty

2009-11-13 Thread Xavier López
It's ok, I'm heading that way. Thanks anyway. 2009/11/13 Igor Vaynberg igor.vaynb...@gmail.com sorry, i dont use bea so i have no clue. but if it works on jetty and on tomcat it limits where you should look - bea configuration? bea sessions? -igor On Fri, Nov 13, 2009 at 8:21 AM, Xavier

Re: page without class

2009-11-13 Thread fachhoch
Ok I have to tell that page to my IApplicationSettings IApplicationSettings settings= super.getApplicationSettings(); settings.setAccessDeniedPage(accessDeniedPage) here accessDeniedPage page is a static html page and I dont need java . I am talking about a

Re: page without class

2009-11-13 Thread Dane Laverty
I believe you can do this if you change the Wicket filter mapping in your web.xml to something other than /*. Then Tomcat will serve the page and bypass Wicket entirely. Dane On Fri, Nov 13, 2009 at 8:36 AM, fachhoch fachh...@gmail.com wrote: Ok I have to tell that page to my

ajax and visibility question

2009-11-13 Thread Troy Cauble
Yes, I know about using setOutputMarkupPlaceholderTag(true). But shouldn't updating the in/visible component's container work too? Here's a simple example that fails on 2.0-M5. -troy - To unsubscribe, e-mail:

Re: ajax and visibility question

2009-11-13 Thread Troy Cauble
Ugh. I mean on version 1.3.7. I'm confusing my libraries. -troy On Fri, Nov 13, 2009 at 12:13 PM, Troy Cauble troycau...@gmail.com wrote: Yes, I know about using setOutputMarkupPlaceholderTag(true). But shouldn't updating the in/visible component's container work too? Here's a simple

HybridUrlCodingStrategy to get /path/http://what/ever as /path?q=http://what/ever

2009-11-13 Thread Kaspar Fischer
I am looking for a hybrid URL coding strategy X that when mounted via mount(new X(link, LinkPage.class)); maps URLs contained in my URLs, as in /link/http://code.google.com/p/salve/wiki/WhySalve to a PageParameters instance with a single parameter containing the URL:

Re: page without class

2009-11-13 Thread fachhoch
but can I tell IApplicationSettings about this html page ? insom wrote: I believe you can do this if you change the Wicket filter mapping in your web.xml to something other than /*. Then Tomcat will serve the page and bypass Wicket entirely. Dane On Fri, Nov 13, 2009 at 8:36 AM,

Re: page without class

2009-11-13 Thread fachhoch
I am asking about creating a wicket page without a class , can I create a org.apache.wicket.markup.html.WebPage instance without any additional java file just html ? insom wrote: I believe you can do this if you change the Wicket filter mapping in your web.xml to something other

Re: page without class

2009-11-13 Thread Jeremy Thomerson
No. Although you can create a single page (java class) that can serve multiple html pages if you'd like - either through panels or style variation. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Nov 13, 2009 at 12:11 PM, fachhoch fachh...@gmail.com wrote: I am asking about

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Sorry for the information that i gave, i tried to explain how wicket stores information. But we really want to know if there is a way to do in SAX way, cause as you know java's default serializer uses DOM Serializer. On Fri, Nov 13, 2009 at 6:07 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

RE: page without class

2009-11-13 Thread Alex Rass
Yup. Works for me! Or just configure tomcat or whatever you use as servlet container to pick up the files elsewhere. This has totally nothing to do with Wicket. It, very wisely, picks up just the stuff it knows about. All your other requests fall through to Tomcat/servlet engine. In fact, it's

RE: page without class

2009-11-13 Thread Alex Rass
Oh, for that... Try messing with: getRequestCycle().setRequestTarget(new RedirectRequestTarget(access-in-denial.html)); -Original Message- From: fachhoch [mailto:fachh...@gmail.com] Sent: Friday, November 13, 2009 11:36 AM To: users@wicket.apache.org Subject: Re: page without class

RE: page without class

2009-11-13 Thread Alex Rass
... Or by overwriting how page requests are handled. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Friday, November 13, 2009 1:14 PM To: users@wicket.apache.org Subject: Re: page without class No. Although you can create a single page (java class)

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
Again sorry i sent it too quickly, BinarySerialization is default, but i want to do it in XMLSerializaion and with SAXParse is it possible ? On Fri, Nov 13, 2009 at 8:27 PM, Pamir Erdem pamir.er...@gmail.com wrote: Sorry for the information that i gave, i tried to explain how wicket stores

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
http://java.sun.com/javase/6/docs/platform/serialization/spec/protocol.html -igor On Fri, Nov 13, 2009 at 10:27 AM, Pamir Erdem pamir.er...@gmail.com wrote: Sorry for the information that i gave, i tried to explain how wicket stores information. But we really want to know if there is a way to

Re: XML Serialization Wicket

2009-11-13 Thread Igor Vaynberg
sure, you can implement your own ipagestore and save pages however you want. -igor On Fri, Nov 13, 2009 at 10:43 AM, Pamir Erdem pamir.er...@gmail.com wrote: Again sorry i sent it too quickly, BinarySerialization is default, but i want to do it in XMLSerializaion and with SAXParse is it

Re: XML Serialization Wicket

2009-11-13 Thread Pamir Erdem
That's cool thanks On Fri, Nov 13, 2009 at 8:47 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: sure, you can implement your own ipagestore and save pages however you want. -igor On Fri, Nov 13, 2009 at 10:43 AM, Pamir Erdem pamir.er...@gmail.com wrote: Again sorry i sent it too

Automatically avoid executing component code when not authorized for instantiation?

2009-11-13 Thread Early Morning
Hi All, There are cases wherein a user is authorized to view a page, but not a component within that page. Currently we set the authorizations needed for a component using a custom annotation, and handle the Render and Enable actions in a custom AuthorizationStrategy. However, we also have to

Re: Automatically avoid executing component code when not authorized for instantiation?

2009-11-13 Thread Igor Vaynberg
abstract class securecomponentcontainer extends webmarkupcontainer { protected component abstract newsecurecomponent(string id); protected component boolean isauthrorized(); protected void onbeforerender() { if (isauthorized()) { replacewith(newsecurecomponent(getid());

RE: page without class

2009-11-13 Thread Frank Silbermann
I don't know, but I wouldn't be surprised if the answer is no. A foundational assumption about the way Wicket works is that a WebPage object would result from the combination of a WebPage class with a matching HTML file. When Wicket sees MyPage.html in MyPackage with no matching class, it

Security/login for pages?

2009-11-13 Thread Alex Rass
I need a rather simple authentication added to some of my screens. Is WASP still the way to go? Or are there newer/better things now? http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security I could write my own with a panel, 2 tables and a hammer, but I'd rather use something proper

RE: (Frank) page without class

2009-11-13 Thread Alex Rass
Frank, They/he/she wants to just serve static content w/o being probed by wicket. It's there, it's possible, read rest of the threads on it. Yeah, the poster wasn't clear at all at first as to what was needed. It's better further you read. -Original Message- From: Frank Silbermann

Re: page without class

2009-11-13 Thread Igor Vaynberg
add an rfe to have it changed to take an irequesttarget instead of a page class, that way you can do whatever you want. -igor On Fri, Nov 13, 2009 at 12:21 PM, Frank Silbermann frank.silberm...@fedex.com wrote: I don't know, but I wouldn't be surprised if the answer is no. A foundational

RE:(Igor) page without class

2009-11-13 Thread Alex Rass
You could also create an interface to EVERY class in Wicket (as OO suggests). ;) Is there a point in doing it though? If you are NOT handling something - let Tomcat(or whomever) deal with it! Works GREAT for me, btw. 1/2 of my pages are static + all the image resources and other crap. This

Re: London Wicket Event at Foyles Bookshop, November 21st, 2009

2009-11-13 Thread jWeekend
Jeremy, Yes, that is the right place In fact your map looks identical to the one on our registration page. We're drawing another good crowd for this LWE (around 40 so far, including many of our regulars), so you'll have a good audience to appreciate your talk! I'll probably fix a drink for you,

Re: (Igor) page without class

2009-11-13 Thread Igor Vaynberg
huh? the current approach is seterrorpage(class? extends page), this is the page wicket will show when there is an error it can be changed to: seterrorpage(irequesttarget target) and become more flexible. you can use seterrorpage(new pagerequesttarget(page.class)) to achieve the same as what

Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
Hi, I'm trying at extending the FeedbackPanel but could not find a reference as to how to do a markup extension. Is there a tag in HTML that is equivalent to the java super()? This may be a case of rtfm but I cant seem to find it in Manning's Wicket in Action. I know about the wicket:extend

Re: Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
For anyone interested, I did a workaround. Basically I just put in wicket:extend tag, without any other tags, into my Child panel. This basically throws an exception, as expected in the webpage. I just took whatever markup that is shown in the error and added it to my Child, thus

Re: Question regarding extending components and their html markups

2009-11-13 Thread Igor Vaynberg
if you do not want to alter the parent's markup then simply do not provide a markup file. -igor On Fri, Nov 13, 2009 at 4:10 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm trying at extending the FeedbackPanel but could not find a reference as to how to do a markup extension. Is there

Re: Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
Hi, thanks for the quick response. But I do in fact needed to do some markup. Just that I did not want to alter the original, just add additional markups. I guess I could make a main panel and instantiate the FeedbackPanel in it and perform markups there. But I feel that this is not making

Re: Updating a Dynamic Image with AJAX (and JFreeChart)

2009-11-13 Thread wicketnewuser
I have same situation. I'm not able to refresh my image. But if i view the image i do get refreshed image Here is my code. Based on my dropdownchoice it should make new Jfreechart and the image should refresh. I couldn't get it working so i wrapped the image with in a span but it still doesn't

Re: Updating a Dynamic Image with AJAX (and JFreeChart)

2009-11-13 Thread McIlwee, Craig
Look at the source of the DynamicImageResource class. The getResourceState method does something like (sorry for the lame pseudocode) 'if image data is null then save and return value of getImageData else return the previous image data'. So its gonna call your getImageData() method once and

RE: Updating a Dynamic Image with AJAX (and JFreeChart)

2009-11-13 Thread Swarnim Ranjitkar
I couldn't override getResourceState of DynamicImageResource as it new Resource state uses variable from DynamicImageResource eg format. Instead i copied DynamicImageResource class and made my own version of it and modified the getResourceState() get method. When I changed the drop down I was