RE: [tiles] Re: tile problem: how to find the "put" tag name attribute from called jsp/servlet
Hi Antonio, Thanks for responding. >Short answer: no. But the question is: what do you want it for? Yes. I should have clarified. Basically we want to leverage tiles to create a 'poor man's portal' (i.e. something simple w/o going full-blown jsr 168). We envisioned the following. The application would: a) "know about" the various tiles on the page by parsing tiles-definitions.xml (the values of the "name" attribute) b) offer UI to allow administrators to control "what goes where"..."put this piece of content in the left_center", put this forum teaser in the bottom right. (We would store in our app database "this module goes in this tile") c) use a "get content" servlet would process the tile and populate it with the html. In this example, the servlet would look up what should appear on the 'center_section': If this isn't an option, I thought another mechanism would be to extend/write another definitions factory and 'define/redefine' our tile definition on-the-fly using data from our application. The tilesAdvancedFeatures.pdf on Cedric Dumoulin's site says: >Another option is to write a factory that reads definitions from other >sources, like a DB. I hope Tiles will provide such a factory soon. Did anyone write such a factory? I welcome any suggestions and criticism, constructive or otherwise! Bill m - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple Sessions from the same workstation
>2. If URL rewriting is the only alternative, is there a way to configure >Tomcat to use URL rewriting regardless of whether >the browser allows cookies >or not? Use apache as a http front-end and use mod_rewrite to handle the urls. This works w/o requiring cookies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mon 3/28/2005 11:18 PM To: user@struts.apache.org Cc: Subject: Multiple Sessions from the same workstation We would like to allow our users to have multiple sessions going from the same workstation. My first thought was to use URL rewriting to keep the sessions straight, but I can not find any way to force URL rewriting at the server/container level. It appears that the browser must disable cookies in order for URL rewriting kick in. We would prefer not to force our users to disable cookies. So my question is really two parts. 1. Is there a way to enable mulitple sessions from the same workstation that does not require using URL rewriting? 2. If URL rewriting is the only alternative, is there a way to configure Tomcat to use URL rewriting regardless of whether the browser allows cookies or not? Thank you. -- Kurt Williams [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: let it flow? struts-flow vs. struts-workflow vs. other
Hi Don, A quick google indicated that you're the man, when it comes to struts-flow. Thanks for the effort. No dis intended if I said anything annoying. As for the documentation, the cocoon site had plenty of it. I mainly asked because: 1) there seem to be two projects which perform similar functionality. 2) If my project had to pick one, I'd rather pick the "right one". 3) It's not that easy to compare by reading the docs. As far as the server side javascript goes, it's not complex: all our developers know javascript for browser-stuff. It's just a new use for an old tool. Bill m -Original Message- From: Don Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:26 PM To: Struts Users Mailing List Subject: Re: let it flow? struts-flow vs. struts-workflow vs. other I'm biased, but I would be interested to hear your experience using Struts Flow. I've used it for several applications for almost a year now and am quite happy. The documentation, of course, needs work, but I'm hoping to address that with the next release which adds all sorts of things. That said, if your developers don't know Javascript and you don't need the expressiveness of a full-blown programming language, it might not be your first choice. Don On Tue, 22 Feb 2005 10:51:29 -0600, Bill Milbratz <[EMAIL PROTECTED]> wrote: > Hi, > > I need to implement wizard-ish UI in our application. I looked briefly > at struts-workflow and struts-flow. I wanted to pick the hive-mind to > see for opinions on these tools/extensions. > > Here's some discussion fodder from my brief look at the two tools. > Anyone care to comment or point me towards a writeup? > > struts-workflow > -looks like it provides good functionality. (I like the workflow scope, > particularly). > -configuration is somewhat counterintuitive, but it uses the "plain old" > struts-config.xml > > struts-flow > -configuration code is in javascript. (i.e. introduces a new > paradigm/language for server side programming) > -may be better for people who already use cocoon. > -hard to find documentation > -more "official" struts project? (i.e. struts home points to > "struts-flow" project page) > > thanks, > > bill m > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
let it flow? struts-flow vs. struts-workflow vs. other
Hi, I need to implement wizard-ish UI in our application. I looked briefly at struts-workflow and struts-flow. I wanted to pick the hive-mind to see for opinions on these tools/extensions. Here's some discussion fodder from my brief look at the two tools. Anyone care to comment or point me towards a writeup? struts-workflow -looks like it provides good functionality. (I like the workflow scope, particularly). -configuration is somewhat counterintuitive, but it uses the "plain old" struts-config.xml struts-flow -configuration code is in javascript. (i.e. introduces a new paradigm/language for server side programming) -may be better for people who already use cocoon. -hard to find documentation -more "official" struts project? (i.e. struts home points to "struts-flow" project page) thanks, bill m - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]