But because these are database images, this can be very large.
you could do it like this:
/oz-cms/app/resources/wicket.Application/oz-pos/MyDbImage?image=logo.png
But i don't think you want that.
Maybe we should have a hook that we will call when we can't find a resource under that name
then you can add it quickly. Need to think about this.
johan
On 10/31/05, pepone pepone <[EMAIL PROTECTED]> wrote:
Hello
in my wicket app the user can upload images and this images are added
to the database app, later user can create simple html documents
writing code
in a text area or editor i want the user can be abel to add img tag
thats reference this dinamics resources like
<img src="" alt="logo"/>
but how can i initialize this resource the first time it is accesed
The only idea i have is make the link point to a page that redirect to the
correct resource and this page must ensure that resource exist and if
not it must
load the resource from db and then redirect to resource
there are a simple way for doing this or is this the good way for doit?
maybe this can help to solve my previous post about resources and
Access i can use the page checkAccess and remove the resource each
time
is and overhead to add and remove resoruces for each request or not?
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user