You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Germuska <Jo...@Germuska.com> on 2003/09/19 15:48:46 UTC
XForms Engines (was RE: Is it possible to remove *.do or /do/*
from the URL)
>
>XForms is cool and all, but ...
>
>* Does anyone care? Even Microsoft (who would arguably need to be
> convinced to implement support for this to make it a viable
> real world standard)?
For what it's worth, XML.com has a story this week on "10 Favorite
XForms Engines": http://www.xml.com/pub/a/2003/09/10/xforms.html
These aren't finished products, but players include IBM, Novell, and
Oracle (among others.)
I guess we'll see what happens; I'd been thinking about JSF and
XForms as complementary, but then, my thinking was at a pretty
superficial level.
Joe
--
--
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"If nature worked that way, the universe would crash all the time."
--Jaron Lanier
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re[2]: JSF and rich clients (non-HTML)
Posted by Martin Naskovski <mn...@san.rr.com>.
Thanks Craig.
Friday, September 19, 2003, 6:33:29 PM, you wrote:
CRM> On Fri, 19 Sep 2003, Martin Naskovski wrote:
>>
CRM> You might want to download and play with it yourself :-). It's packaged
CRM> in the Java Web Services Developer Pack, version 1.2:
CRM> http://java.sun.com/webservices/
CRM> and there's a tutorial included.
CRM> JavaServer Faces does indeed support non-HTML output. It separates the
CRM> concerns into a component (which has render-INdependent properties) and a
CRM> renderer that recognizes render-DEpendent attributes. For example, the
CRM> generic component for user-invokable actions is called UICommand, with
CRM> properties like a reference to the server-side Action to be invoked if the
CRM> user activates this component. The standard HTML renderkit includes two
CRM> renderers for UICommand: "Button" and "Hyperlink" that each recognize the
CRM> set of attributes relevant for the corresponding HTML element.
CRM> Out of the box, there is a set of standard renderers for HTML that are
CRM> guaranteed to be portable to any implementation of JavaServer Faces,
CRM> because this is a very common use case. But it's by no means the only
CRM> possibility. At JavaOne, for example, I gave half of a session where we
CRM> built a renderkit that output SVG, so you could take advantage of all the
CRM> neat interactivity that SVG supports. We used the same demo application
CRM> that comes with JavaServer Faces for HTM (CarDemo), and only had to switch
CRM> to the tag library for the SVG renderers and tweak a few attributes. All
CRM> the back-end logic stayed the same.
CRM> In a similar way, you can interact with components at the Java API level
CRM> (they're basically glorified JavaBeans), or with JSP tags -- JSP is not
CRM> required, although it is supported out of the box for the standard HTML
CRM> renderers.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: JSF and rich clients (non-HTML)
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 19 Sep 2003, Martin Naskovski wrote:
> Date: Fri, 19 Sep 2003 15:38:24 -0700
> From: Martin Naskovski <mn...@san.rr.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>,
> Martin Naskovski <mn...@san.rr.com>
> To: Struts Users Mailing List <st...@jakarta.apache.org>
> Subject: JSF and rich clients (non-HTML)
>
> Probably a lame question, but here it goes anyway since I haven't
> really looked into JSF - can JSF be used in a non-HTML specific way?
> E.g. use JSF to provide content for a JSwing (or similar) GUI? Is JSF
> this flexible or is it strictly confined to rendering certain output that
> can only be viewed inside a web browser?
>
You might want to download and play with it yourself :-). It's packaged
in the Java Web Services Developer Pack, version 1.2:
http://java.sun.com/webservices/
and there's a tutorial included.
JavaServer Faces does indeed support non-HTML output. It separates the
concerns into a component (which has render-INdependent properties) and a
renderer that recognizes render-DEpendent attributes. For example, the
generic component for user-invokable actions is called UICommand, with
properties like a reference to the server-side Action to be invoked if the
user activates this component. The standard HTML renderkit includes two
renderers for UICommand: "Button" and "Hyperlink" that each recognize the
set of attributes relevant for the corresponding HTML element.
Out of the box, there is a set of standard renderers for HTML that are
guaranteed to be portable to any implementation of JavaServer Faces,
because this is a very common use case. But it's by no means the only
possibility. At JavaOne, for example, I gave half of a session where we
built a renderkit that output SVG, so you could take advantage of all the
neat interactivity that SVG supports. We used the same demo application
that comes with JavaServer Faces for HTM (CarDemo), and only had to switch
to the tag library for the SVG renderers and tweak a few attributes. All
the back-end logic stayed the same.
In a similar way, you can interact with components at the Java API level
(they're basically glorified JavaBeans), or with JSP tags -- JSP is not
required, although it is supported out of the box for the standard HTML
renderers.
> Tnx.
>
> Martin
> --
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
JSF and rich clients (non-HTML)
Posted by Martin Naskovski <mn...@san.rr.com>.
Probably a lame question, but here it goes anyway since I haven't
really looked into JSF - can JSF be used in a non-HTML specific way?
E.g. use JSF to provide content for a JSwing (or similar) GUI? Is JSF
this flexible or is it strictly confined to rendering certain output that
can only be viewed inside a web browser?
Tnx.
Martin
--
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: XForms Engines (was RE: Is it possible to remove *.do or /do/*
from the URL)
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 19 Sep 2003, Joe Germuska wrote:
>
> I guess we'll see what happens; I'd been thinking about JSF and
> XForms as complementary, but then, my thinking was at a pretty
> superficial level.
>
They certainly can be -- writing a RenderKit for JavaServer Faces that
emitted the appropriate markup would be very easy. Dealing with the input
format would be just a matter of a filter that wraps the incoming request
and makes it look like request parameters instead.
> Joe
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: XForms Engines (was RE: Is it possible to remove *.do or /do/* from the URL)
Posted by Mike Jasnowski <mj...@bea.com>.
I think there are server-side XForms engines, at leave Novell said they had
one at the TSS this year
-----Original Message-----
From: Joe Germuska [mailto:Joe@Germuska.com]
Sent: Friday, September 19, 2003 9:49 AM
To: Struts Users Mailing List
Subject: XForms Engines (was RE: Is it possible to remove *.do or /do/*
from the URL)
>
>XForms is cool and all, but ...
>
>* Does anyone care? Even Microsoft (who would arguably need to be
> convinced to implement support for this to make it a viable
> real world standard)?
For what it's worth, XML.com has a story this week on "10 Favorite
XForms Engines": http://www.xml.com/pub/a/2003/09/10/xforms.html
These aren't finished products, but players include IBM, Novell, and
Oracle (among others.)
I guess we'll see what happens; I'd been thinking about JSF and
XForms as complementary, but then, my thinking was at a pretty
superficial level.
Joe
--
--
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"If nature worked that way, the universe would crash all the time."
--Jaron Lanier
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org