Hi Hank,
You can output any binary data by using an OutputStream: http://
rifers.org/docs/api/com/uwyn/rife/engine/
ElementSupport.html#getOutputStream()
This is exactly what is used by the content management framework.
You should be able to setup any kind of pathinfo mapping when you
specify customized regular expressions for the inputs. You can find
detailed information about this on the following wiki page:
http://rifers.org/wiki/display/RIFE/Pathinfo+mapping+for+element+inputs
Hope this helps,
Geert
On 29 Jun 2006, at 13:35, henk wrote:
Hi,
is it possible for an element to output binary data such as an
image ? What I am trying to do is to fetch an entiry page
(including images) from an external url and then show this page.
I guess I cannot use a template for this ? An images is shown as
text that way.
A second smaller question : using <pathinfo> in my element
definition. It looks like a only can have parameters between '/'
slashes and not, say, everything (including the '/'). Like '/
mysite/mypath/x/y/z?x=6' and store the 'x/y/z?x=6' in an input
variable.
Thanks a lot !
Henk
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users