wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Decebal Suiu <decebal.s...@asf.ro>
Subject Re: WebResource in Wicket 1.5
Date Fri, 23 Mar 2012 13:45:41 GMT
Hi 

I have the same problem. I changed WebResource to ByteArrayResource but I
don't know how I can migrate the following lines:

public void onResourceRequested() {
	createJsonResource();
	// TODO wicket 1.5
//	jsonResource.onResourceRequested();
}
No method onResourceRequested() in ByteArrayResource.


// CharSequence dataPath = RequestCycle.get().urlFor(OpenFlashChart.this,
IResourceListener.INTERFACE); 
CharSequence dataPath = RequestCycle.get().urlFor(new
ComponentRenderingRequestHandler(this));
System.out.println("*** " + dataPath);

datePath is null after migration to wicket 1.5


Best regards,
Decebal

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4498851.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message