OT: JSR-168 is available for review

2003-07-18 Thread Michael Baldwin
The portlet API specification has been released for public review. If you've been waiting (im)patiently to see what the Portlet API holds for us, go take a look at: http://jcp.org/aboutJava/communityprocess/review/jsr168/index.html cheers, --Michael -

Re: Struts, search, and approval...

2003-07-11 Thread Michael Baldwin
I like it... a lot. But I can't endorse it on behalf of my employer. Maybe Craig is feeling more adventurous? :) Seriously, one way you can look at this problem is by contrasting Struts with other web development frameworks (of which there are plenty). I'm assuming that you've already argued

Re: Netscape v4.7x browser, style sheet and font problems

2002-10-23 Thread Michael Baldwin
ruts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- Michael Baldwin Software Architect, Sun Services Product Engineering <[EMAIL PROTECTED]> 200 University Avenue Toronto, Ontario M5H 3C6 Ca

Re: Struts Date Handling

2002-06-27 Thread Michael Baldwin
It is usually better to allow your action forms to deal with most everything as Strings. The http request parameters are always Strings. Users will invariably pass you dates that are not properly formatted and which cannot be converted. If you try to convert data types before mapping to the Acti

Re: Changing Request Parameters

2002-02-22 Thread Michael Baldwin
Since you're forwarding from Action to Action, you do have a minor issue. Things you set in the request will be reset after the forward. Solution 1: add what you need to the session. Solution 2: extend ActionForward with a subclass that takes a map of name value pairs to stick in the request. O

Re: internationalization

2002-02-12 Thread Michael Baldwin
You are on the right track. 1. Ensure that MySQL supports using a unicode character set. You may need to define this at install time, that is how oracle works. 2. When request parameters come in, they are assumed to be ISO-8859 (or whatever your platform default is) and encoded from there to uni

Re: Problem with UTF encoding with Action Form

2002-02-07 Thread Michael Baldwin
Try reading a really good resource on character set encoding. http://tagunov.newmail.ru/i18n/i18n.html It sounds to me like the request params aren't being decoded properly when they are being processed by the web container. I'd suggest looking at the section on "Decoding request parameters und

Re: options tag & internationalization

2002-01-10 Thread Michael Baldwin
We took a fairly simple approach for a quick and dirty prototype. We integrated in the guts of into and added a parameter "i18n=(true/false)" to the tag which is used by the tag class to identify whether the labelProperty collection should be treated as an i18n-able set. When i18n = true, it

ActionForm maintenance

2001-10-18 Thread Michael Baldwin
Has anyone run into a situation where it was desirable for users to execute an Action (a) and, while in the context of doing all of the lovely things associated with (a), the user gestures in a way that a second Action (a) process starts as a sort of child process -- in which case we have (tempora

Re: Using Struts with XML ?

2001-10-03 Thread Michael Baldwin
ng a Filter servlet to > transform the XML to HTML and decouple it from the main application. But for > that we need to move to WebLogic 6.1 to get the servlet API 2.3. > > That's what we have now... > > Denis. > > -Original Message- > From: Michael Baldw

Re: Using Struts with XML ?

2001-10-02 Thread Michael Baldwin
Denis, I'm looking at the a similar problem for a new system. I'd very much like to apply XSLT to the result. I'm considering using struts Actions to interact with an EJB layer that will produce value objects. I'm thinking then about forwarding on the request to a JSP that understands how to tran

Session State Externalization

2001-10-02 Thread Michael Baldwin
I've been looking for some information about struts regarding possibilities for Session State Externalization (to file, rdbms, oodbms, etc.) Does this functionality exist within Struts ActionServlet already or has someone developed a simple state externalization extension for Struts? Thanks, --

Re: Struts MVC Framework Vs. XSLT Tranformation for Web UI Handling

2001-10-02 Thread Michael Baldwin
Interesting. We're actually considering prototyping a solution that uses a bit of both. I'm thinking about using the MVC framework of Struts to implement application flow control, using stateless EJB to provide services and using JSP or a servlet to transform the resultant value objects into a ni

Workflow Control and Action Reuse (newbie)

2001-09-27 Thread Michael Baldwin
I just started looking at struts 4 days ago, so please bear with me... This question really gets into workflow management. I have a certain action that would be reused frequently across my site. I want to route to that action from many other actions and then return both control and information

Re: Dual-list UI

2001-09-26 Thread Michael Baldwin
Whoops. Ignore that. I gave you a solution to a slightly different problem. Sorry. Eric Rizzo wrote: > Has anyone come up with a good way to implement a dual-list interface using > Struts? I mean a UI where there are two lists, a source and a destination, and > buttons to move items between t

Re: Dual-list UI

2001-09-26 Thread Michael Baldwin
{Off topic} I made something to do this a while back as part of a prototype. It takes a reference to two select boxes: the one that you are trying to move from and to (i.e., origin and destination). It works pretty well with IE and NS4.x. It puts things in a sequential order in the two lists so

Re: multi form pages

2001-09-26 Thread Michael Baldwin
Nested forms are not supported by IE and Netscape. I know that you will not be able to post the values of a child form when the parent is submitted. Depending on the browser's implementation of the HTML standards you should get fairly wacky effects... I suggest that you make one form with diffe