Re: [shale] some improvement proposal for performance

2006-05-25 Thread Gary VanMatre
>From: ÁÖ Ã÷ <[EMAIL PROTECTED]> > > thanks for your explaination and let me know more about clay details. > here, I borrow the clay template parser code to expand the my advice of > where and how merge verbatim component children. > > because the template parsing usually runs only once and th

Re: Continuous integration for Struts

2006-05-25 Thread Wendy Smoak
On 5/25/06, Patrick Lightbody <[EMAIL PROTECTED]> wrote: Do we have something like Continuum setup for Struts? If not, we should. What's the process to kick this off? I think Continuum was running on our zone at one point. James? Martin? Do we need a separate list notifications? From watch

Re: [shale] some improvement proposal for performance

2006-05-25 Thread 林 明
thanks for your explaination and let me know more about clay details. here, I borrow the clay template parser code to expand the my advice of where and how merge verbatim component children. because the template parsing usually runs only once and then generated meta bean tree will be placed in

Continuous integration for Struts

2006-05-25 Thread Patrick Lightbody
Do we have something like Continuum setup for Struts? If not, we should. What's the process to kick this off? Besides the unit tests we should be running frequently, I'd like to turn on nightly runs of HostedQA (the product my company has donated to Struts for doing end-to-end automated tests).

Re: Custom RequestProcessor

2006-05-25 Thread Miguel Galves
Niall, the className parameter its just what I was looking for. I think the name could be a little more intuitive, like configClassName, or something like that. Now its working. Thanks for your help. Regards, Miguel On 5/25/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: On 5/25/06, Miguel Ga

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Craig McClanahan
On 5/25/06, Joe Germuska <[EMAIL PROTECTED]> wrote: > > Likewise, isn't JSON content supposed to be sent with "text/javascript"? actually, no, "application/json" "text/*" types are meant to be things that are more human readable, despite the historic reality of "text/javascript" http://www.i

Re: Custom RequestProcessor

2006-05-25 Thread Niall Pemberton
On 5/25/06, Miguel Galves <[EMAIL PROTECTED]> wrote: Hi, I wrote a new controller class, which extends TileRequestProcessor, in order to solve a problem we had with POST requests enconding (UTF-8), specially with multipart-form requests. I'm now trying to pass some paremeters to the new control

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Jason Carreira
> > It's been talked about here, but I don't know how > much interest there > might be... At this moment I'm grabbing the code I > started and intend to > finish it this weekend... > > My plan is to create 4 interceptors. Two for input > and two for output, > one each for XML and one each for JS

Re: Custom RequestProcessor

2006-05-25 Thread Joe Germuska
The custom properties go on the config objects (in this case, ControllerConfig), not on the RequestProcessor itself. Not all the controller config properties you might set are pertinent to the request processor. In your subclass of the request processor, override the "init" method and use

Re: [action1] Snapshot of 1.3.5 available

2006-05-25 Thread Joe Germuska
At 8:10 PM -0700 5/24/06, Wendy Smoak wrote: On 5/24/06, Joe Germuska <[EMAIL PROTECTED]> wrote: I haven't had a chance to file a bug on this one yet, but I think there's a problem in how the PerformForward command handles modules. (I posted about it to the list but got no responses.) Oh, I t

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Joe Germuska
> Likewise, isn't JSON content supposed to be sent with "text/javascript"? actually, no, "application/json" "text/*" types are meant to be things that are more human readable, despite the historic reality of "text/javascript" http://www.ietf.org/internet-drafts/draft-crockford-jsonorg-json-

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Frank W. Zammetti
On Thu, May 25, 2006 2:30 pm, Frank W. Zammetti wrote: > My plan is to create 4 interceptors. Two for input and two for output, > one each for XML and one each for JSON. See, I learned something already... I thought there was a difference between Interceptors that fire before and after an Action,

Re: Custom RequestProcessor

2006-05-25 Thread Miguel Galves
Thats because I've worte two emails, and I've changed the name of the classes. I'm using ScyllaTilesRequestProcessor, both in the class and in the config file. On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I note that you've declared setTeste() in ScyllaTilesRequestProcessor but you'

RE: Custom RequestProcessor

2006-05-25 Thread George.Dinwiddie
I note that you've declared setTeste() in ScyllaTilesRequestProcessor but you're asking it to be set in utilities.MyTilesRequestProcessor > -Original Message- > From: Miguel Galves [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 25, 2006 2:47 PM > To: dev@struts.apache.org > Subject: Cus

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Frank W. Zammetti
On Thu, May 25, 2006 2:47 pm, Craig McClanahan wrote: > I would expect a well-behaved client to set the content type on the > incoming > request to "text/xml" for XML content, so you should be able to check > that. Yes, I think that's a reasonable assumption (something, I'm ashamed to say, my Ajax

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Craig McClanahan
On 5/25/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: On Thu, May 25, 2006 2:12 pm, Jason Carreira wrote: > I'm still waiting to see how this plays out... I've been a big proponent > of Dojo and built several Dojo widgets, but I understand that it can be > tricky and not as easy to use as we'

Custom RequestProcessor

2006-05-25 Thread Miguel Galves
Hi, I wrote a new controller class, which extends TileRequestProcessor, in order to solve a problem we had with POST requests enconding (UTF-8), specially with multipart-form requests. I'm now trying to pass some paremeters to the new controller, using the set-property tag in server.xml

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Frank W. Zammetti
On Thu, May 25, 2006 2:12 pm, Jason Carreira wrote: > I'm still waiting to see how this plays out... I've been a big proponent > of Dojo and built several Dojo widgets, but I understand that it can be > tricky and not as easy to use as we'd all like. I think there'll be room > for different strateg

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Jason Carreira
> > No, I definitely would love to see ajax support...I > just think it needs > to be done right. Integrating DWR looks like it > might get a bit messy. > Taking ideas from DWR, maybe even some of the code > and/or the js libs, > and building the support directly into SAF2 would be > a better

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Ian Roughley
Brian Dittmer wrote: Ian Roughley wrote: So, you are saying that your preference would be to include no ajax integration and leave the framework and let users integrate this as required - either directly in the HTML or by creating custom themes? /Ian No, I definitely would love to see ajax

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Ted Husted
On 5/24/06, Joe Germuska <[EMAIL PROTECTED]> wrote: but if you want to model best practices, then you have to ask "why would you be intent on calling Actions"? I'm not trying to build walls so that people can't just get-the-job-done, but I do know from experience that people tend to overload Act

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Brian Dittmer
Ian Roughley wrote: So, you are saying that your preference would be to include no ajax integration and leave the framework and let users integrate this as required - either directly in the HTML or by creating custom themes? /Ian No, I definitely would love to see ajax support...I just think

Re: [shale] some improvement proposal for performance

2006-05-25 Thread Gary VanMatre
>From: ÁÖ Ã÷ <[EMAIL PROTECTED]> > > thanks much for comments. > > Now give some explaination from me. > To jsf component tree iterating, I only give a guess if we use treemap but > not arraylist to store children components. The disadvantage of that is > necessary space of component tree str

Re: DWR/Struts integration: why? (Re: JavaOne Ajax Discussion)

2006-05-25 Thread Ian Roughley
So, you are saying that your preference would be to include no ajax integration and leave the framework and let users integrate this as required - either directly in the HTML or by creating custom themes? /Ian -- From Down & Around, Inc. Innovative IT Solutions Software Architecture * Design

JWebUnut / HttpUnit and Struts Modules

2006-05-25 Thread jamurph
Has anyone successfully used HttpUnit or JWebUnit and Struts Modules? I've got a problem with it The webpages have the element set, It looks like if may not be supported in httpunit? http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#h-12.4 Example of problem.. I have a webpage

Re: [shale] some improvement proposal for performance

2006-05-25 Thread 林 明
thanks much for comments. Now give some explaination from me. To jsf component tree iterating, I only give a guess if we use treemap but not arraylist to store children components. The disadvantage of that is necessary space of component tree struture will be great larger. But we can direct f