I'm not bashing Rails, I'm just got bored from the Rails guys and how they
underestimate Java culture (the language, frameworks and the performance !!)
When I say Rails is a good replacement of PHP, I'm not disdaining them.
Both are good for building public web sites (forums, e-commerce) but not
Hi
I hope I can use wicket to serve image data.
I know I can extend org.apache.wicket.markup.html.image.Image and provide a
DynamicImageResource
but the generated image link is
http://localhost/app/?wicket:interface=:0:customImage::IResourceListener::
The image data is stored in the session and
Search the list, use either a resource or a servlet are the conclusion...
Like so :
package zeuzgroup.web.icons;
import org.apache.log4j.Logger;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.ResourceReference;
import org.apache.wicket.markup.html.image.Image;
import
Seattle, WA USA
i just finished writing a foreword for a Japanese book on Wicket
i'm constantly amazed to see how far Wicket is spreading in the world.
i've been invited to holland twice now (deventer and utrecht) and have
clients in norway and new zealand. and i suspect there will be more
Hello,
I'm new to wicket and have been struggling with this problem for a few hours
now and any help is greatly appreciated. I created a form with ajaxbuttons
for submit and cancel.
When I try to submit the form via the FormTester, it does a regular submit
instead of an ajax submit and hence the
ResourceReference reference;
WebApplication.mountSharedResource(/path/to/my/image,
reference.getSharedResourceKey())
smallufo wrote:
Hi
I hope I can use wicket to serve image data.
I know I can extend org.apache.wicket.markup.html.image.Image and provide
a
DynamicImageResource
but
hmm... this really is a bit harder than it ought to be.
below is a url encoding strategy and a sub-classable auto-mounting resource
that makes this a lot easier. you can modify to suit your needs.
the use case looks like:
// This dynamically rendered resource will auto-mount itself
Take a look at Wicket's shared resources if you need a stable URL.
You may get some ideas
http://www.nabble.com/Re%3A-Mounting-shared-resources-p15236047.html here
too.
Regards - Cemal
http://www.jWeekend.co.uk jWeekend
smallufo wrote:
Hi
I hope I can use wicket to serve image data.
There was also just a new strategy added in 1.4 (I know you're on 1.3.5 -
but just so you or others are aware of it) for creating very nice URLs for
resources. See this commit:
http://fisheye6.atlassian.com/changelog/wicket/?cs=729078
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu,
Well ,
What I need is parsing URL and generating a corresponding image from
BufferedImage ,
not a bookmarkable link to internal file resource...
for example :
http://localhost/app/myImage/text/Hello/width/500
This will generate a 500x500 png , containing a Hello String.
I spent a while playing with this, and indeed - it is much more difficult
than it should be (or I missed something that one of the core devs can point
out. I really hope one of them can review this and point me to an easier
way. But in the meantime, this should work for you.
First, let's start
Oh, sorry, mean to include that if you add this to a quickstart, you can
test with URL:
http://localhost:8080/foo
http://localhost:8080/foo?text=fffwidth=200
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Dec 26, 2008 at 12:48 AM, Jeremy Thomerson
jer...@wickettraining.com wrote:
12 matches
Mail list logo