Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-14 Thread Michael Jouravlev
On 7/14/05, Ted Husted <[EMAIL PROTECTED]> wrote: > On 7/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > I really want people to understand what is that I am actually > > advertising ;-), so questions are welcome. > > Have you done a version of the infamous Struts MailReader using Struts >

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-14 Thread Ted Husted
On 7/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I really want people to understand what is that I am actually > advertising ;-), so questions are welcome. Have you done a version of the infamous Struts MailReader using Struts Dialog yet? Many of us are already familiar with the MailRead

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-08 Thread Rich Feit
I just want to clarify on the Beehive angle... it's a common misperception that Beehive is all about controls, or all about web services, or all about page flow. It contains all three fairly independent pieces (the conceptual link is that all use annotations in the programming model, and the code

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > So are you saying you've implemented the Portlet specification, or some > subset of it? > > If not, I'm not sure I see the point. > > If so, why would I choose this over an actual portlet implementation > (which can be built on top of Stru

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-05 Thread Frank W. Zammetti
So are you saying you've implemented the Portlet specification, or some subset of it? If not, I'm not sure I see the point. If so, why would I choose this over an actual portlet implementation (which can be built on top of Struts, which is exactly what we use at work in the form of IBM's port

Re: HTTP method for action-mappings

2005-07-05 Thread netsql
protected boolean isInput(HttpServletRequest request) { return "POST".equalsIgnoreCase(request.getMethod()); } Michael. Just to state the obvious... one can allwas set up a filter... a lot of 1up.com is in filters to actions. .V ---

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-05 Thread Michael Jouravlev
I want to add a little to my previous email. Let's look at Portlet spec. "A portlet fragment can be aggregated with other fragments to form a complete document. The content of a portlet is normally aggregated with the content of other portlets to form the portal page." Yup, can do that. "The lif

Re: Struts Dialogs (was HTTP method for action-mappings)

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Don Brown <[EMAIL PROTECTED]> wrote: > About Struts Dialogs, perhaps I missed it, but how does it differ from > Beehive? They seem to be tackling the same problem and are quite far > along. > > Don Beehive is an all-ebracing system, they call a "control" anything that exposes some kin

Struts Dialogs (was HTTP method for action-mappings)

2005-07-05 Thread Don Brown
About Struts Dialogs, perhaps I missed it, but how does it differ from Beehive? They seem to be tackling the same problem and are quite far along. Don On 7/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/5/05, Don Brown <[EMAIL PROTECTED]> wrote: > > Couldn't you create a custom Dispat

Re: HTTP method for action-mappings

2005-07-05 Thread Michael Jouravlev
On 7/5/05, Don Brown <[EMAIL PROTECTED]> wrote: > Couldn't you create a custom DispatchAction that also takes into account the > request method? > > Don Actually, this is what I did. The idea was to enhance DispatchAction and to build a Struts/JSP component framework on it without sliding to JSF

Re: HTTP method for action-mappings

2005-07-05 Thread Don Brown
Couldn't you create a custom DispatchAction that also takes into account the request method? Don Michael Jouravlev wrote: At 7:11 PM +0100 7/4/05, Miles, AJ \(Alistair\) wrote: Hi all, A struts-config.xml file is a great way to formally specify a REST API. However, with struts 1.2 you cann

Re: HTTP method for action-mappings

2005-07-05 Thread Michael Jouravlev
At 7:11 PM +0100 7/4/05, Miles, AJ \(Alistair\) wrote: >Hi all, > >A struts-config.xml file is a great way to formally specify a REST >API. However, with struts 1.2 you cannot configure separate action >mappings for GET vs POST requests to the same resource. What about >adding a 'method' attribut

Re: HTTP method for action-mappings

2005-07-05 Thread Joe Germuska
At 7:11 PM +0100 7/4/05, Miles, AJ \(Alistair\) wrote: Hi all, A struts-config.xml file is a great way to formally specify a REST API. However, with struts 1.2 you cannot configure separate action mappings for GET vs POST requests to the same resource. What about adding a 'method' attribute

HTTP method for action-mappings

2005-07-04 Thread Miles, AJ \(Alistair\)
Hi all, A struts-config.xml file is a great way to formally specify a REST API. However, with struts 1.2 you cannot configure separate action mappings for GET vs POST requests to the same resource. What about adding a 'method' attribute to the 'action' element? Cheers, Alistair. P.S. Sor