A resource references a pdf or doc or whatever file. What kind of
parameter do you need? If the parameters are meant to identify the
file, than it must be part of the URL path (like the filename).

Juergen

On 6/29/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> The only problem with that is that I don't know how to get parameters
> into the resource.
> 
> On 6/29/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > On 6/29/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> > > Why do I have to maintain a list of all the files? That's what my
> > > database is good at. ;)
> > >
> > > I think a bookmarkable resource would be nice. Kind of the equivelent
> > > of a page for anything that's not markup. It would have a constructor
> > > that took parameters, letting you use one resource to represent a set
> > > of files served up dynamically.
> > >
> >
> > Isn't that similiar to the 2nd approach I mentioned above (and which
> > Eelco recommended). You may implement your own Resource /
> > ResourceReference if you like. Just copy StaticResource
> > (StaticResourceReference) and make your modification to retrieve some
> > information from the DB and subsequently the file. That's what I did
> > to test your scenario for StaticFileResource and found it simple.
> >
> > Juergen
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to