ApplicationResources problem

2005-12-03 Thread Comain Chen
It is said that we must use a applicationresources.properties file to format jsp view. And should create one file to a specific language local. So, maybe I have to files, one is applicationresources.properties And the other is applicationresources_ZH_CN.properties. But firstly, how does struts deci

Re: [shale] Clay - Logic components?

2005-12-03 Thread Alexandre Poitras
Look great to me. I am just wondering how sessionScopeVar is working? Is it like the "var" argument in JSTL? By the way, what I like about this approach is that we don't have to hide everything behind JSF components. I was wondering why I would need to write a list component while in fact a list o

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Frank W. Zammetti
netsql wrote: For now, Shale has an Ajax support module, and no other back end (middleware?) framework does AFAIK, and that's enogh. Just out of curiosity, what does this AJAX module offer that can't be accomplished outside Shale with little difficulty? I ask because, AJAX being nothing but

Re: Integrating Struts in DWR??

2005-12-03 Thread Frank W. Zammetti
Sorry about that, I obviously screwed up in QC... the latest build of AjaxChat IS NOT A PROPER WEBAPP. My build script is obviously not working right as far as the distro task goes, and I didn't notice. Please use the v1.0 alpha, NOT alpha2, which is, AFAIK, correct. It does have some bugs, b

Re: [shale] Clay - Logic components?

2005-12-03 Thread Gary VanMatre
I created a ticket that demonstrates a dynamic subtree in a for loop. http://issues.apache.org/bugzilla/show_bug.cgi?id=37773 Please take a look to see if this would be sufficient. Gary -- Original message -- > On 12/3/05, Alexandre Poitras wrote: > > Yeah but this type

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Paul Benedict
IMHO, I do not believe Shale should be under the Struts name. I really hope Shale is not piggy-backing off the good name of "Struts" so it gets adoption. I can't say for sure, but I do get that impression at times. I think it should be completely spun off and disassociated from Struts, or be int

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread netsql
If JSF spec gets refactored in some future to simplify ( just like EJB3, maybe we need to wait for JSF v3, and like EJB likely things will get worse before they get better) everyone wins. CoR is great, it's KISS, and imo better than Spring factories for configuration. I now think *Shale is most

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
Does anyone (I mean "anyone") believe that Shale is a potential future. Don't even its most avid advocates see it as a temporary transition to some JSF deal? On 12/2/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You know, I can't believe I'm about to say this given some of the comments > I'v

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
What I don't understand is why JSF was built when there was Tapestry? Is there an explanation for that? On 12/2/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Don Brown wrote the following on 12/2/2005 12:44 AM: > > When we started Struts Ti, it was conceived as a new > > framework that aimed to

Re: Repost:- Accessing an array from within a JSP

2005-12-03 Thread Mon Cab
Lauri I did an explicit cast and it worked. Thanks so much. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Mon Cab wrote: > > Sorry. The formatting was messed up on my first post. Hopefully > this > > is better > > > > I am trying to define a string array as a property of > DynaValidatorF

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
That's funny, porting struts to shale. Now there is truth! On 12/2/05, netsql <[EMAIL PROTECTED]> wrote: > in CoR so it could be ported to Shale and others :-) ? > .V > > > > Ted Husted wrote: > and a iBATIS JPetShop port would be next. Film at 11. :) > > > > > > ---

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
Crap! You are going to move that chain junk into WebWork? Do they know that? On 12/1/05, Don Brown <[EMAIL PROTECTED]> wrote: > Well, considering I started work a couple of hours ago, no, nothing yet :) > I can tell you my approach I thought of today - replace the WebWork > ServletDispatcher wi

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
This is an interesting "guess". Is that 70% more than a guess or is there some basis to think that? On 12/1/05, Ted Husted <[EMAIL PROTECTED]> wrote: > On 12/1/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > But the fact that Struts has always stressed backwards > > compatibility of the key A

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Dakota Jack
I don't think people forget "we're not selling anything", Ted. We are not doofuses. Does this "we" you are talking about include us? I'm for this move, completely in favor of it, but I really wonder about separating the "people" from your "we". On 12/1/05, Ted Husted <[EMAIL PROTECTED]> wrote

Re: Integrating Struts in DWR??

2005-12-03 Thread netsql
Sorry to be a broken record but Shale + DWR might be a good combo to consider since Shale has an Ajax module. .V Frank W. Zammetti wrote: From the DWR web site: http://getahead.ltd.uk/dwr/server/struts Just reading through it quickly, that's just about what I would have suggested too i

Re: How to implement a time-driven use case

2005-12-03 Thread Wendy Smoak
On 12/3/05, Comain Chen <[EMAIL PROTECTED]> wrote: > I am now working with struts and hibernate to implement a web site. > Unlike other use cases, One is Time-Dirve,means when a specific time > is arrived this typicial use case is triggered. Howerver I have no idea > about > how to implents this, (

Re: Integrating Struts in DWR??

2005-12-03 Thread Frank W. Zammetti
Some of the questions you ask here are really more for you to decide... there aren't any canned answers. That being said, I'll do my best... To begin with, I highly suggest checking out the numerous articles on AJAX out there to get a firm grasp on what it really is, and if I may be so bold,

Re: Integrating Struts in DWR??

2005-12-03 Thread Sonali Kulkarni
So, does it mean that is it not a good idea to use DWR with Struts just as yet? If so, what would be the best way to integrate AJAX into our Struts application? Ours is a full-blown *financial* banking Struts application. Please also let me know if it is a good idea to use AJAX in the first place

Re: [shale] Clay - Logic components?

2005-12-03 Thread Alexandre Poitras
I think they are quite the same cases, the second one being a subset of the former. On 12/3/05, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > On 12/3/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Yeah but this type of list is not supported unfortunately. I guess I > will > > have to create a new

Re: [shale] Clay - Logic components?

2005-12-03 Thread Ryan Wynn
On 12/3/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Yeah but this type of list is not supported unfortunately. I guess I will > have to create a new display for the list component. > > But I still think forEach component is a must when you need to create a new > component wich is just an agg

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Adam Hardy
Ted Husted on 02/12/05 04:29, wrote: We have two because JSF is fundamentally incompatible with action-orientated frameworks. (As stated on the Struts home page.) But, that will not be the case for Ti. We plan to create a clear and relatively painless migration path, so that investments in skill

Re: Integrating Struts in DWR??

2005-12-03 Thread Frank W. Zammetti
From the DWR web site: http://getahead.ltd.uk/dwr/server/struts Just reading through it quickly, that's just about what I would have suggested too in terms of separating out core logic from Actions and letting your Actions and DWR servlet call them as needed. There might be some better appro

Integrating Struts in DWR??

2005-12-03 Thread Sonali Kulkarni
Please suggest if there are any good links, or some working examples that explain how Struts could be integrated into the DWR (AJAX) framework. Any help would be appreciated. There is hardly any online support or documentation. Thanks!

Re: Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-03 Thread Martin Gainty
Good Morning Shivani/Raghu Assuming the date for the QueryString is a valid date following the tutorial for date-validation with struts validator at http://www.roseindia.net/strutstutorial/usingstrutsvalidatorframewor.shtml in your "form" capture the date information in a html:text tag e.g. DATE

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Ted Husted
On 12/2/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Preach on, brother :) :) My own favorite sermon is also an ASF motto: "Be the change you want to see in the world." Or, the more popular, sometimes sardonic: "Thanks for volunteering". :) On 12/2/05, Frank W. Zammetti <[EMAIL PROTECTED]>

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-03 Thread Ted Husted
On 12/2/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > You may not be marketing anything, Ted. But those of us out in the field > that work with the decision makers and who help in the decision making > have to think about these things. It's the reality of living and > developing in a world wher

Re: [shale] Clay - Logic components?

2005-12-03 Thread Alexandre Poitras
Yeah but this type of list is not supported unfortunately. I guess I will have to create a new display for the list component. But I still think forEach component is a must when you need to create a new component wich is just an aggreation of some other components.It's a good mean to provide an ea

OT: Graphing Taglibs

2005-12-03 Thread Martin Ravell
Hi All, Just casting about for taglibs to produce graphs in a Struts, JSP app that I'm about to start prototyping. Google turned up a couple and Cewolf looks like a likely candidate. Has anyone got experiences to share about this or any other taglib set for producing nice graphs and charts

Re: Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-03 Thread Raghu Kanchustambham
Like I said .. I really doubt if you could do anything much in the xml files. They are designed to be static! (unless ofcourse you want to programatically modify them). Let me tell you the standard way of doing things: Let us say you are looking at a create use case. You would typically have a pr

RE: Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-03 Thread Shivani Sawhney
So Sorry, Raghu! The option (a) for Query 1 actually works Thanks a ton! In set up action, I was trying to get the values through "request.getParameter("id0")", changing it to "form.get("id0")" worked. About the 2nd query, when I write, ...the text box displays "rd.admin.DateForm

RE: Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-03 Thread Shivani Sawhney
Thanks Raghu for such a quick reply. I too considered the two options that you've suggested. Option (a) does not work and I was avoiding storing info in session scope. I'll try & explain the problem with option (a). The action which forwards to the JSP is a named SetupEditJobProfileAction. This

How to implement a time-driven use case

2005-12-03 Thread Comain Chen
I am now working with struts and hibernate to implement a web site. Unlike other use cases, One is Time-Dirve,means when a specific time is arrived this typicial use case is triggered. Howerver I have no idea about how to implents this, (May be a system call back or other),can some one give me some

Re: Preserving the query string while validating a form & using dynamic initialization with DynaAction

2005-12-03 Thread Raghu Kanchustambham
> Query 1: There are two approaches I can think of right now. You will need to "burn" this querystring information into (a) the form object or (b) the session. (a) If you are using dynaction form, then just adding another variable to hold the id0 in the config.xml definition should be less pain