Re: Ajax & ActionErrors

2011-01-11 Thread Frank W. Zammetti
you need to do is render the AJAX result using a JSP... the output of that JSP can include the errors... you can use a JSP to render JSON for example, or XML if you wish, or some other custom format. Frank -- Frank W. Zammetti Author of "Practical Palm Pre webOS Projects" and &q

Re: JPA with Struts 1

2011-01-11 Thread Frank W. Zammetti
ent of web framework, so yes, you can use it. As such, any JPA tutorial should do the trick. The first Google hit looks decent enough: http://download.oracle.com/javaee/5/tutorial/doc/bnbpz.html Frank -- Frank W. Zammetti Author of "Practical Palm Pre webOS Projects" and "Practical E

Re: best way to ajaxize a Struts2 application

2010-12-02 Thread Frank W. Zammetti
em, even adding them after the fact. Again though, really depends on what your needs actually are... just augmenting a Struts-based app or developing a true RIA? What best answers your question will be heavily influenced by that factor, among others. hth, Frank -- Frank W. Zammetti Author of "

Re: AJAX file upload

2010-12-01 Thread Frank W. Zammetti
ad (because Robert is 100% right that there isn't actually such a thing) than DWR v3 will make you smile as you write the 2-3 lines of code you need :) -- Frank W. Zammetti Author of "Practical Palm Pre webOS Projects" and "Practical Ext JS Projects with Gears" and &

Re: Ajax support for Struts 2.2.1

2010-08-24 Thread Frank W. Zammetti
argued otherwise. And maybe it's true that in shops with absolutely zero Javascript experience the tags still make some sense... but in general, they don't really buy you anything IMO, and in many cases will just get in your way. That's mine or anyone else' taglib. Frank -

Re: Struts vs Other competitors

2009-07-27 Thread Frank W. Zammetti
The phrase "OH GOD KILL IT! KILL IT WITH FIRE!" has been heard exclaimed in relation to JSF on more than one occassion. -- Frank W. Zammetti Author of "Practical Ext JS Projects with Gears" and "Practical Dojo Projects" and "Practical DWR 2 Project

RE: opening a popup window from Action Class

2009-06-11 Thread Frank W. Zammetti
e JavaScript doesn't break, which I think is the only real consideration because I'd expect the browser to handle the content regardless of what what charset it uses once it's opened in the new window. I may be very wrong of course :) -- Frank W. Zammetti Author of "Practical

Re: opening a popup window from Action Class

2009-06-11 Thread Frank W. Zammetti
This is a question asked so frequently that someone should create an FAQ entry or something. Oh, wait... http://wiki.apache.org/struts/OpenWindowFromAction :) Frank -- Frank W. Zammetti Author of "Practical Ext JS Projects with Gears" (coming soon) and "Practical Dojo

Re: executing inline scripts from ajax responses (dojo 0.4)

2009-03-30 Thread Frank W. Zammetti
a = data.split("~~"); document.getElementById(divId).innerHTML = a[0]; alert(a[1]); The response could also be JSON: { divContent: "Content", msg : "test" } Then you do: data = eval(data); document.getElementById(divId).innerHTML = data.divContent; alert(data.msg); hth, Fran

Re: Struts2.1 and ajax

2009-02-18 Thread Frank W. Zammetti
one of them that you might consider. Here's an introductory article that, while not dealing with Struts specifically, would still generally be applicable: http://www.omnytex.com/articles/apt/ hth, Frank -- Frank W. Zammetti Author of "Practical Dojo Projects" and "P

Re: Is Spring worth it?

2009-01-27 Thread Frank W. Zammetti
7;s both the blessing and the curse of something that presents so much power, simply finding what you need is daunting. Don't take that to mean there's no point or benefit to be had though :) Frank -- Frank W. Zammetti Author of "Practical Dojo Projects" and "Practi

Re: Upgrading Struts from 1 to 2.0.14

2009-01-13 Thread Frank W. Zammetti
l enough alone really is the best option. Frank -- Frank W. Zammetti Author of "Practical Dojo Projects" and "Practical DWR 2 Projects" and "Practical JavaScript, DOM Scripting and Ajax Projects" and "Practical Ajax Projects With Java Technology" (Fo

Re: Dijit Calendar usage in Struts 1.3

2008-12-28 Thread Frank W. Zammetti
lly nice GUI toolkits we do today (or the level of knowledge we have now about making nice-looking and working widgets!), so I'd have been shocked if you thought it stacked up against Dojo's calendar :) Thanks, Ilan Frank -- Frank W. Zammetti Author of "Practical Dojo Projects

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Frank W. Zammetti
after the page has loaded :) Frank --- On Tue, 12/9/08, Frank W. Zammetti wrote: [...] I actually expected the alert() to NOT work because I figured the document.write() call was overwriting your page, which would have made sense, but it appears document.write() actually appends to the do

Re: Displaying "Please Wait" message

2008-12-09 Thread Frank W. Zammetti
s so far: what happens if the call to the server takes too long, or doesn't work as expected? Is there a graceful way for the user to recover? Probably not, and maybe you can live with that, otherwise you might want to do something fancier (possibly a "click me to abort" link

Re: Refreshing image with AJAX request

2008-09-25 Thread Frank W. Zammetti
sting stuff. > Cheers, > > Manos Frank -- Frank W. Zammetti Author of "Practical Dojo Projects" and "Practical DWR 2 Projects" and "Practical JavaScript, DOM Scripting and Ajax Projects" and "Practical Ajax Projects With Java Technology" (Fo

Re: Refreshing image with AJAX request

2008-09-25 Thread Frank W. Zammetti
er suggestions because they can get a bit wacky :) That one is simple, and should work fine. It's not an Ajax request per se as most people mean it, but it would update the image without rewriting the page, which is what counts :) hth, Frank -- Frank W. Zammetti Author of "Prac

Re: Background Threads

2008-07-29 Thread Frank W. Zammetti
time :) I've said for a lone time that there are some problems that can't really be solved any other way, so whether you're *supposed* to do it or not is irrelevant, you just have to be careful and be aware of the gotchas to watch out for, as Jeremy points out. Frank -- Frank W. Zam

Re: struts 1 ajax integration

2008-06-17 Thread Frank W. Zammetti
S1, S2, or virtually any other JSP-based framework) and is immensely more powerful and flexiible than AjaxTags ever was. Frank -- Frank W. Zammetti Author of "Practical DWR 2 Projects" and "Practical JavaScript, DOM Scripting and Ajax Projects" and "Practical Ajax Pr

Re: What can you do with S2?

2008-06-14 Thread Frank W. Zammetti
don't think use of a semicolon is too unusual (although I can't comment on it's standards compliance)... I seem to remember Websphere doing that as well (I could be wrong, I don't have an install here to check, but that's what I remember seeing). Frank -- Frank W. Zamme

Re: [OT] What do you code today?

2008-04-04 Thread Frank W. Zammetti
ve cleared out that portion of my brain to make room for more useful knowledge!) Err, actually, I think that's it! Most of my work has been internal-facing. Oh, I actually consulted on an interface for CheckFree at one point too :) I'm leaving out all the Windows-only products

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
s into the picture. It's only when you have totally different domains (mycompany.com and othercompany.com say) that cross-frame scripting is impossible (or, dicey and requiring hackery at best). With that one hint in mind, you're probably good to go :) Frank -- Frank W. Zammetti Auth

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
oming back to frames I think :) The question then is whether frames is viable or not... if the apps are all hosted under the same domain, your life is a lot easier. If not, trouble abounds! Frank -- Frank W. Zammetti Author of "Practical Ajax Projects With Java Technology" (2006, A

Re: OT: Alternative to html frames

2008-02-13 Thread Frank W. Zammetti
rtlet. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Tue, 12 Feb 2008 10:36:08 -0500 To: Struts Users Mailing List Subject: Re: OT: Alternative to html frames A

Re: OT: Alternative to html frames

2008-02-12 Thread Frank W. Zammetti
opinion you should put much stock in :) I mean, we've all heard the admonishment about not using a screw driver as a hammer because it's not the right tool for the job, and we'd all agree with that I'm sure. But, sometimes a screwdriver is all you have, so a screwdriv

Re: OT: Alternative to html frames

2008-02-12 Thread Frank W. Zammetti
rvers). Would a portal have allowed for things like that? If so, do you have any idea how it pulls that off without frames? Most importantly, avoiding those naming conflicts I mentioned. I don't want to hijack a thread here, but it's already marked OT, and since you've

Re: OT: Alternative to html frames

2008-02-11 Thread Frank W. Zammetti
es are avoided with iFrames... but what problems are you seeing that you're trying to overcome? That answer will guide your decision-making quite a bit. Frank -- Frank W. Zammetti Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "

Re: open new window using Struts action

2008-02-07 Thread Frank W. Zammetti
http://wiki.apache.org/struts/OpenWindowFromAction -- Frank W. Zammetti Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) and "Practical DWR 2

The first DWR book has arrived!

2008-01-28 Thread Frank W. Zammetti
BUY IT. BUY IT. BUY IT. BUY IT. Joe Walker, creator of DWR, actually wrote the forward for me, which you can now see on his blog: http://getahead.org/blog/joe. I think it's a real nice bit of verbiage talking about open-source projects in general and has complete relevance for Struts. Than

Re: [S1] json and Action execute()

2008-01-22 Thread Frank W. Zammetti
a JSP that reads the attribute and outputs the JSON... this is probably a bit more work and overhead than you really need... writing to the response stream in the Action and then returning null for the forward does the trick. Frank -- Frank W. Zammetti Author of "Practical DWR 2 Projects"

Re: [S1] Best practice to transfer control to next page (out of JVM)?

2008-01-22 Thread Frank W. Zammetti
a look at HTTP Components (formerly Jakarta Commons HTTPClient): http://hc.apache.org/httpclient-3.x/ It should provide everything you need without you having to mess with all the gory details. Frank -- Frank W. Zammetti Author of "Practical DWR 2 Projects" (2008, Apress, ISBN 1-5905

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
r-productive to use a framework at all). Frank -- Frank W. Zammetti Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) and "Practical

Re: [S2+AJAX]Which ajax libray did you use?

2008-01-17 Thread Frank W. Zammetti
t's just plain AJAX, it's a different question than if you are looking for widgets and the whole shebang (even if the line is certainly blurring these days). Frank -- Frank W. Zammetti Author of "Practical DWR 2 Projects" (2008, Apress, ISBN 1-59059-941-1) and "JavaScript, DOM

Re: Poor Performance & Hangs in IE

2007-12-10 Thread Frank W. Zammetti
ent we saw was moving all static content, including Dojo, onto the web server. In fact, that alone made it acceptable, anything beyond that improvement was cake. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN

Re: James Sanders wants to chat

2007-12-10 Thread Frank W. Zammetti
I got a new system for eating these things, George. I used to peel off the chocolate. Now I turn it upside down, I eat the cake first and save the frosting for the end, it's almost a dessert dessert. (George slowly backs out of room) ROFL. Frank -- Frank W. Zammetti Founder and Chief Soft

Re: James Sanders wants to chat

2007-12-10 Thread Frank W. Zammetti
sing some of Google's coolest new products. Only sports stars get to refer to themselves in the third person. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Fra

Re: Excel, Struts and Downloading

2007-12-05 Thread Frank W. Zammetti
currently) possible). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScr

Re: FreeMarker Question

2007-11-28 Thread Frank W. Zammetti
get a handle to root, but somewhere should be instantiation of some type of Map, and it should be named root. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With J

Re: [ANN] Practical Apache Struts2 Web 2.0 Projects

2007-11-20 Thread Frank W. Zammetti
Congratulations Ian! I know how it feels to finally finish such an undertaking and see the end result. Kudos! I'm sure it's a fantastic book too (wink-wink). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fza

Re: ajax integration with struts

2007-11-07 Thread Frank W. Zammetti
k with S1 or S2 include Dojo (dojotoolkit.org), jQuery (jquery.com) and Prototype (prototypejs.org), just to name a few. Frank -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 2:32 PM To: Struts Users Mailing List Subject: Re: ajax integra

Re: ajax integration with struts

2007-11-07 Thread Frank W. Zammetti
;t something you "integrate" into an app per se, it's a technique you make use of. What are you trying to accomplish? We can give you some options, because there's many in the AJAX space, once you tell us what it is you'll actually trying to do. Frank -- Frank W. Zamm

Re: [OT] Write a thread to check database in web application

2007-11-05 Thread Frank W. Zammetti
as the container is actually better because then the pool can't be exhausted... then again, at that point you run the risk of chewing up the listener threads in the RDBMS, so six of one, half dozen of another I figure). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omny

Re: [OT] Write a thread to check database in web application

2007-11-05 Thread Frank W. Zammetti
s possible is probably also a good idea. Or you can do as Chris said and use Quartz, which will deal with most of these concerns for you. I say most because you can still write bad Quartz jobs that bork things as badly as if you didn't use Quartz at all, but it'll help a little bit. &

Re: struts 1.2: calling an action by ajax (javawebparts)

2007-10-31 Thread Frank W. Zammetti
tion and my action puts me a bean into the request. Greetings, Ingo Frank W. Zammetti schrieb: Can you tell where that error is coming from? I don't recognize it as an APT error, so I'm guessing Struts, but I don't recall ever seeing that before. You know what... what happens if yo

Re: struts 1.2: calling an action by ajax (javawebparts)

2007-10-31 Thread Frank W. Zammetti
lt-div When i use an action as a target, it doesn't work, too (e.g. target="action.do?parameter=xxx¶m2=yyy). I use the DispatchAction, so with the parameter I can delegate or specifiy the method, which will be called in my action... Any ideas?

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
will stay posted there though, so get it while it's hot :) Frank On Wed, October 31, 2007 10:48 am, Frank W. Zammetti wrote: > On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: >> i want to call an action by javascript, when a value in a >> field changes. I want to fill my

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( There's a couple if ways you could do that... one would be

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( There's a couple if ways you could do that... one would be

RE: Ajax Call from a html link

2007-10-10 Thread Frank W. Zammetti
Well, what debugging have you attempted? Are you running in Firefox with Firebug for instance and seeing some client-side error? Have you verified that your Action is getting called? Have you examined the returned data to ensure it's correct? -- Frank W. Zammetti Founder and Chief Sof

RE: Ajax Call from a html link

2007-10-10 Thread Frank W. Zammetti
You already have the code, you posted it! :) If you're having some *specific* problem, you'll find many helpful people here, but just saying "my code doesn't work, please help" won't elicit too many (helpful) replies. Frank -- Frank W. Zammetti Founder and Ch

Re: Ajax Call from a html link

2007-10-10 Thread Frank W. Zammetti
ress.com/book/search?searchterm=zammetti&act=search ... chapters 4 and 6 there are what's of interest, although as the note in the article says, they aren't based on the latest version, so although the underlying concepts are pretty much the same, some of the details are slightly d

Re: [OT] Ajax recommendations for use with Struts1.1

2007-10-03 Thread Frank W. Zammetti
st. Clean, well-documented, as Ted said, a pleasure to deal with whether you have to modify it or not (I do wish the widgets were more full-featured and, frankly, cooler-looking, but there's something to be said for simplicity too). Frank -- Frank W. Zammetti Founder and Chief Soft

Re: Spring tutorial

2007-09-21 Thread Frank W. Zammetti
M package, so it comes down to my first sentence: determine what your needs really are first, then look at the alternatives. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of &quo

Re: [Tangential] Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-21 Thread Frank W. Zammetti
still do it if I can find the time, but it's not a priority in any way. Thanks Musachy! Frank Musachy Barroso wrote: If you don't have "plugin" anything, there isn't any real benefit to it, but I haven't looked at JWP. musachy On 9/21/07, Frank W. Zammetti &

Re: [Tangential] Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-21 Thread Frank W. Zammetti
x27;ve had that thought before. That would be a pretty good idea :) musachy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Frank W. Zammetti Founder and Chief Software

[Tangential] Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-21 Thread Frank W. Zammetti
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Tec

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-20 Thread Frank W. Zammetti
[EMAIL PROTECTED]> wrote: Only on 2.1 Frank, if you set cache="true" it will use a custom build that includes the files needed by the S2 widgets. The first download will be big but it will be cached by the browser. To the OP: Are you using ajax? if not, don't set theme="a

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-09-20 Thread Frank W. Zammetti
worth considering. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DO

Re: [OT] Ajax recommendations for use with Struts1.1

2007-09-20 Thread Frank W. Zammetti
On Thu, September 20, 2007 5:55 am, Adam Hardy wrote: > I too found that DWR and Spring is a parallel architecture to Struts > rather than > integrated. The current project I am working on is the first time where we > have > 3 separate front-ends that use the business layer (or 'facade'): > web-ser

Re: [OT] Ajax recommendations for use with Struts1.1

2007-09-19 Thread Frank W. Zammetti
tab on the screen (plus it deals with a lot of other related things that don't have to do with Dojo). Well, that's my .0006 cents on things. Thanks Roger Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti

Re: [OT] Ajax recommendations for use with Struts1.1

2007-09-19 Thread Frank W. Zammetti
ng some older specs (Java1.4, Servlet2.3/JSP1.2 ) 2) I'd rather have easy to use and customize over a 'full featured gigantic suite of components." Thanks for any recommendations. No virus found in this incoming

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Frank W. Zammetti
Something is wrong in your JSP... looks like that stack trace was cut off, but your beyond the AJAX parts at this point, you need to find the error in your JSP. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL

Re: Ajax using XMLHttpRequest and Struts

2007-09-11 Thread Frank W. Zammetti
less bounce to follow the ball through), but in retrospect.. :( Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apre

Re: calling a javascript function from my java class

2007-09-06 Thread Frank W. Zammetti
l as this, tends to be more flexible and easier to toy with. AJAX always works this way, basically, so if your talking Struts2 you may do some things slightly different because there's some built-in AJAX support that might hide some of this from you and make it easier, but basically it's th

Re: How to access the ActionForm in a JSP?

2007-09-04 Thread Frank W. Zammetti
t;name" on your HelloWorldAction class, you can use: ...in your JSP to display it. You'll also need: <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %> ...to make that work. And of course, make sure you have an appropriate getter method on the Action too. Fra

Re: How to access the ActionForm in a JSP?

2007-09-04 Thread Frank W. Zammetti
You can find the form as a request attribute with the same name you used in your config file, so: MyActionForm form = (MyActionForm)request.getAttribute("myFormName"); Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: Running Dojo on a struts project

2007-09-03 Thread Frank W. Zammetti
olves your problem, then think about the profile your using. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISB

Re: Sanitize Text

2007-08-23 Thread Frank W. Zammetti
:) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Frank W. Zammetti
to use in place of ${list.rowId} (I think ${list.rowId} is valid JSP 2.0 EL, but that assumes JSP 2.0)... I think that's a valid JSP expression... again, give it a try, this is a syntactical issue that a minute or two of playing will resolve, it's the conceptual part you need to

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Frank W. Zammetti
his: this.form.rowId.value='${list.rowId}'; That should do it. Then, in your Action you just do: String rowId = form.getRowId(); ...assuming form is the name of the ActionForm parameter. That should be all you need to do. Frank -- Frank W. Zammetti Founder and Chief Software A

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-12 Thread Frank W. Zammetti
are good too, it just comes down to how you really want this to work. TIA, Oleg. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology&qu

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-11 Thread Frank W. Zammetti
, but maybe not... what are you actually trying to do? Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-590

Re: Add Web Service to Struts Web App

2007-08-11 Thread Frank W. Zammetti
No, currently this does not apply for S2... it's in my to-do list to bring this capability to S2, but I have no ETA on that at the moment. I don't know if there are other options that do something similar already for S2, I wouldn't be surprised if there was. Frank -- Fr

Re: Add Web Service to Struts Web App

2007-08-10 Thread Frank W. Zammetti
n you have configured should still work, they don't know they are being accessed as services versus part of a Struts app. I have to say the project hasn't been developed lately, but we left it in a stable state, and anyone is free to pick up where we left off if they wanted to. Fr

Re: struts1 or struts 2?

2007-08-10 Thread Frank W. Zammetti
you'll see a really huge improvement in performance of your apps because the fundamental design leads to better performance naturally. rgds Rahul Frank -- -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTE

Re: struts1 or struts 2?

2007-08-09 Thread Frank W. Zammetti
indset is starting to change, and Ted's right, many of the technologies we're saddled with today would never have needed inventing if everyone had listened to me (or the others that were doing what I did in various orgamizations) back in 1998! LOL > -Ted. Frank -- Frank W. Zammetti Fo

Re: struts1 or struts 2?

2007-08-08 Thread Frank W. Zammetti
Thanks Paul... The envelope is in the mail! :) Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-5

RE: struts1 or struts 2?

2007-08-08 Thread Frank W. Zammetti
nuary. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripti

Re: struts1 or struts 2?

2007-08-07 Thread Frank W. Zammetti
peed quick, but custom enough to fit the problem domain like a glove. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN

RE: DownloadAction and a normal Forward

2007-08-02 Thread Frank W. Zammetti
I guess if it's an exceptional situation and isn't going to happen often it may not be a big deal. If it's frequent though, I think I'd do some more creative thinking to avoid it somehow. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies h

Re: DownloadAction and a normal Forward

2007-08-01 Thread Frank W. Zammetti
ve been surprised if constructing one with two null arguments *didn't* move the NPE elsewhere, but I was hoping!). Frank Paul Benedict wrote: Who is throwing the NPE? I can't tell by your code what's causing it. On 8/1/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: You k

RE: DownloadAction and a normal Forward

2007-08-01 Thread Frank W. Zammetti
You know, I just reread what your trying to do... have you tried using a global exception handler? I'm not sure you'll be able to catch the exception with one, but if you give it a try and you can, there you go, you can forward as desired from there. -- Frank W. Zammetti Founder

Re: DownloadAction and a normal Forward

2007-08-01 Thread Frank W. Zammetti
It's not the *right* answer, and I'm not sure it won't cause some other exception anyway (in fact, I'd bet it would), but what if instead of returning null you instead do: return new ByteArrayStreamInfo(null, null); ? Frank -- Frank W. Zammetti Founder and Chief Softwa

Re: CSS / JavaScript menu libraries for Struts 2 Showcase application

2007-07-31 Thread Frank W. Zammetti
Well, I guess that's that then... dhtmlx components are currently under GPL2. Shame, they're really excellent implementations. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED]

Re: CSS / JavaScript menu libraries for Struts 2 Showcase application

2007-07-31 Thread Frank W. Zammetti
ay. All feedback is helpful. Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies ht

Re: Is Struts still a better choice over JSF as on today ?

2007-07-30 Thread Frank W. Zammetti
On Mon, July 30, 2007 9:39 am, Ted Husted wrote: > On 7/29/07, souravm <[EMAIL PROTECTED]> wrote: >> However, I'm still not very sure whether the design approach of Swing/VB >> is a right fit for a >> scenario where the underlying technology is http. They are good for a >> thick client >> scenari

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
In our case, it's not the initial load that was killing us... well, it *was* a little too long (and we have a very nice Please Wait with spinning gears and such during that period)... the problem is the underlying requirements for the application. Let me try and give a brief background (althou

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
es would obviously break stuff. Kudos for attaining astounding 70% performance increase!!! Thanks :) The early days of last week were really rough, trying to figure out where we were truly losing time, but the last two days were very rewarding indeed. Thanks, M-- Frank -- Frank W. Zamme

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
at you do. I'm not sure here, might be worth some time to experiment and see what happens. Thanks, Nuwan Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Aj

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
l the dojo performance enhancements recommended by dojo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: Is Struts still a better choice over JSF as on today ?

2007-07-26 Thread Frank W. Zammetti
widgets and APT widgets aren't generally compatible, and certainly aren't designed to some common pattern). That's kind of what's happened in Struts land too... there's been a bit of a melding of the component paradigm and the non-component paradigm, largely with AJ

Re: [OT] Re: Is Struts still a better choice over JSF as on today ?

2007-07-26 Thread Frank W. Zammetti
Not nearly as good would be my guess :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and &

RE: Is Struts still a better choice over JSF as on today ?

2007-07-26 Thread Frank W. Zammetti
ve played with it a little, didn't think anything particularly good or bad about it from that admittedly limited experience. I'm very much a text editor kind of guy, so my opinions are frankly tainted by experience hand-coding JSF (which, to be honest, hasn't been all *that*

Re: Is Struts still a better choice over JSF as on today ?

2007-07-25 Thread Frank W. Zammetti
tandard", don't use Struts because it's the most popular still after all this time, use one or the other (or something else entirely!) because it suits your needs better than the other for a given project, simple as that. Regards, Sourav Frank -- Frank W. Zammetti Founder an

Re: Rendering an image into

2007-07-13 Thread Frank W. Zammetti
d returns it --> Chart displayed Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "Jav

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
gains yet. Sent via BlackBerry. -Original Message- From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Date: Thu, 12 Jul 2007 17:10:17 To:Struts Users Mailing List Subject: Re: Struts 2 performance Well, here's exactly why I hate benchmarking: it's never cons

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
Ted Husted wrote: On 7/12/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: (b) the OGNL bump, at least as far asjust a straight drop-in, makes no real difference I don't think we really expected the "drop-in" to make a difference without making other adjustment to

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
out 30 minutes after all), but if we can use this as a basis going forward, maybe build it up as a more expansive, realistic and solid benchmarking suite, then it's all good in the end. Anyway, it's there, if anyone's interested. Frank -- Frank W. Zammetti Founder and Chief Softw

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
hat will immediately remove that element of difference between the two. James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Frank W. Zammetti Founder and Chief S

Re: Struts 2 performance

2007-07-12 Thread Frank W. Zammetti
se this as a basis going forward, maybe build it up as a more expansive, realistic and solid benchmarking suite, then it's all good in the end. Anyway, it's there, if anyone's interested. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

  1   2   3   4   5   6   7   8   9   10   >