The code had a small little fix:There is an extra condition in the if condition: else if( pageClass != null && httpServletRequest.isSecure
() && !isSecurityRequired ) {Using the ONE_PASS method rendering strategy everything works fine now.
Did you have to do the same?Yes had to use the One pass
We already have something implemented that classes can be loaded from other places:// This overide is required to resolve classess inside in // different // bundle,
i.e. // The classess can be resolved by OSGI classresolver
Thanks, exactly what I was looking for.
Adam
On Jul 10, 2006, at 6:27 PM, Eelco Hillenius wrote:
> Yep. Look at AbortException and subclasses. You might be looking for
> AbortWithHttpStatusException.
>
> Eelco
>
>
>
> On 7/10/06, Adam Smyczek <[EMAIL PROTECTED]> wrote:
>> Hi All,
>>
>> This is pr
If i try to clone an object that is not in the ClassLoader of the wicket jar,
this will fail on ClassNotFound
I don't know enough about serialization, but is there a way to use
object.getClassLoader to do the deserialization?
Thanks,
ittay
--
===
Ittay Dror,
C
here are some _javascript_ libs you can use:http://del.icio.us/ivaynberg/tooltip-IgorOn 7/11/06,
Jeff Lin <[EMAIL PROTECTED]> wrote:I'm starting to look into using dynamic tooltips in our Wicket
application, and was wondering if anybody had some basic advice ortips to get us going in the right dir
I'm starting to look into using dynamic tooltips in our Wicket
application, and was wondering if anybody had some basic advice or
tips to get us going in the right direction. Does the Dojo plugin
work with the latest version of Wicket? Has anybody else implemented
a dynamic tooltip widget?
Cool thanks, I used the anonymous IRequestTarget
strategy...
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
VaynbergSent: Tuesday, July 11, 2006 1:11 PMTo:
wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user]
Downloading a file generated on the fly
string tar
Title: Mark up inheritance question
Hi,
I have a child class B inheriting from a modal window with certain functionality A. With the exception of a few additional components in the child class B, the functionality of class A and B are similar. Is there a way to do this using mark up inherit
Using the ONE_PASS method rendering strategy everything works fine now. Did you have to do the same?ThanksOn 7/10/06,
[EMAIL PROTECTED] Imam <[EMAIL PROTECTED]> wrote:
Hi,I had a similar problemI decided not to use that RequiredSSL method.Instead i maintain an array of page classes that require h
string target already does the streams.copy thing in its respond so you can just dorespond() { ... r.setattachmentheader(..); r.setContentType(..) super.respond(); }or do how i showed you in the first place using an anonymous imple of IRequestTarget directly.
IRequestTarget.detach() { } IRequestTar
I'd like to do it the clean way... When I do
this:
RequestCycle.get().setRequestTarget(new
StringRequestTarget("hello"){
public void
respond(){
String txt =
"content";
WebResponse r=(WebR
while this works it is a bit hacky. it would be better to let the requesttarget's response method produce the output.-IgorOn 7/11/06, Levy, Jeremy
<[EMAIL PROTECTED]> wrote:
Thanks Sean and Igor, based on both your responses I've
come up with roughly the following which is working:
Thanks Sean and Igor, based on both your responses I've
come up with roughly the following which is working:
final
String filename =
"thefile.csv";
final String contentType =
"text/csv";
final String content = "the,content,is,this";
dont take this liteteraly but here it isadd(new Link("link) { onclick() { String txt=generatefile(); WebRequestCycle.get().setResponseTarget(new ResponseTarget() { void respond() {
WebResponse r=WebRequestCycle.get().getResponse();
I
would like to create a text file on the fly and then create a link which will
initiate a download of this file.
I
checked out the example at http://www.wicket-wiki.org.uk/wiki/index.php/UploadDownload#Downloading_Images.
I am thinking that I can do something similar but extend
Dynamic
i believe this is part of the browser implementation. at least as of a while ago all browsers except opera behaved like that. i dont know about opera 9-IgorOn 7/11/06,
jan_bar <[EMAIL PROTECTED]> wrote:
Hi,the wicket wizard component(http://www.wicket-library.com/wicket-examples/wizard) takes adva
or simply override requestcycle.onruntimeexception-IgorOn 7/11/06, Frank Bille Jensen <[EMAIL PROTECTED]
> wrote:If you want to get hold on the actual exception that has been thrown you
need to override the ExceptionResponseStrategy inDefaultWebRequestCycleProcessor. Do something like this:In you W
Hi,
the wicket wizard component
(http://www.wicket-library.com/wicket-examples/wizard) takes advantage of
using the same URL for more (wizard) pages. The browser's Back button then
skips all wizard pages with same URL and jumps to the page before the
wizard. I want to ask if this functionality is
Hi
Im a little curious about this. I have an file stream
which is delivered(actually a html file) to me, I then write the file as a
temporary file:
String path =
((WebRequest) page.getRequest())
If you want to get hold on the actual exception that has been thrown you
need to override the ExceptionResponseStrategy in
DefaultWebRequestCycleProcessor. Do something like this:
In you WebApplication extended class:
@Override
protected IRequestCycleProcessor newRequestCycleProcessor() {
Yes, take a look at IApplicationSettings.setInternalErrorPage().
Frank Bille
On Tue, 2006-07-11 at 09:46 +0300, Tymur Porkuyan wrote:
> Is it possible to override standard Wicket exception page?
>
> I would like to throw exceptions on lower levels and have a generic
> error page that will dis
21 matches
Mail list logo