RE: Thread pool samples

2008-09-03 Thread Reginald.Javier
You can try looking at : http://commons.apache.org/pool/ Reginald Javier Software Engineer II, Strategic Customer Solutions Implementation T: +632-859-5442 -Original Message- From: Zoran Avtarovski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 12:44 PM To: Struts Users Maili

OT: Thread pool samples

2008-09-03 Thread Zoran Avtarovski
I¹m trying to implement a simple thread pool model (Java 1.4) for a telemetry application. I¹m getting up to speed with threads but I haven¹t been able to find any examples of setting a thread pool in a server/servlet environment. I have a number of remote units which upload telemetry data for pr

Re: Dynamic include of a CSS stylesheet

2008-09-03 Thread Chris Pratt
I'm pretty sure that wouldn't work without modifying the Struts TLD file since you can't use JSTL EL in wrote: > > try this > > > href="${pageContext.request.contextPath}/css/main.css"> > > href="${initParam.css}/css/main.css"> > > ? > Martin Gainty > > ___

Re: Dynamic include of a CSS stylesheet

2008-09-03 Thread Jeromy Evans
Al Sutton wrote: Any reason not to use; or did I miss something? Al. That had never occurred to me! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: on the chrome bandwagon

2008-09-03 Thread Jeromy Evans
dynamicd wrote: Well i Just caught something. For some reason my listentopics or action from the form is not working It shows loading.. in the Chrome browser. but never loads. nothing in the logs Works on both firefox and IE s:div > onchange="dojo.event.topic.publish('showConfigure_topi

Re: S2 tags - dynamic attributes

2008-09-03 Thread Wes Wannemacher
On Wed, 2008-09-03 at 22:52 -0300, Gabriel Belingueres wrote: > ...and adding this line to the radiomap.ftl file: > > <#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" /> > > should suffice I think. > > However, I would like to know what kind of visual effect or > functionalit

Re: struts2 How to get a option item which can invoke a action or redirect another URL

2008-09-03 Thread Mead Lai
Maybe the question is not clarity clear! if write Html code in the jsp page, it can get the purpose simplely. but I wanne use struts2 tags: to invoke a javascript function. On Thu, Sep 4, 2008 at 10:00 AM, Gabriel Belingueres <[EMAIL PROTECTED]>wrote: > Don't know if I understand correctly you

Re: struts2 How to get a option item which can invoke a action or redirect another URL

2008-09-03 Thread Gabriel Belingueres
Don't know if I understand correctly your question, but from what I understand you want a javascript function that redirect to some web site when the option is selected? There are plenty of examples in the web for doing that [1]. [1] http://www.google.com.ar/search?hl=es&q=javascript+select+redir

Re: S2 tags - dynamic attributes

2008-09-03 Thread Gabriel Belingueres
...and adding this line to the radiomap.ftl file: <#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" /> should suffice I think. However, I would like to know what kind of visual effect or functionality the dojo library adds to the radio button (I can't find the dojo 0.4.3 docum

struts2 How to get a option item which can invoke a action or redirect another URL

2008-09-03 Thread Mead Lai
Hi, struts2 How to get a option item which can invoke a javascript-function? the final HTML code show to browser is like following: http://www.cnn.com";>cnn http://www.bbc.com";>bbc http://www.facebook.com";>book more website how to get the last option item? more website it can invoke a action

RE: S2 tags - dynamic attributes

2008-09-03 Thread Dave Newton
--- On Wed, 9/3/08, Wes Wannemacher wrote: > If the TLD file declares true > for a tag, the tag's class must implement the DynamicAttributes > interface as well. Ah... hrm. Tell 'em, then tell 'em again. I love Java. Thanks, Dave ---

RE: S2 tags - dynamic attributes

2008-09-03 Thread Wes Wannemacher
It's a mix of both... There is a @StrutsTag attribute (allowDynamicAttributes=true) that will tell the TLD generator to add the appropriate parameter to the tag's entry in the TLD file. However, it is essentially useless unless you are going to do something with them. As mentioned in the OOOP, the

RE: S2 tags - dynamic attributes

2008-09-03 Thread Dave Newton
--- On Wed, 9/3/08, Wes Wannemacher wrote: > Also, as far as dynamic attributes is concerned, > some tags accept them, some don't. Oh, my bad--is that a TLD thing or an S2 thing? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: S2 tags - dynamic attributes

2008-09-03 Thread Wes Wannemacher
Also, as far as dynamic attributes is concerned, some tags accept them, some don't. This was added at some point. I looked at s:radio and I don't think it does. If you find an instance where you think support for dynamic attributes should be added, file a JIRA. It's not particularly difficult to pu

Re: on the chrome bandwagon

2008-09-03 Thread dynamicd
Well i Just caught something. For some reason my listentopics or action from the form is not working It shows loading.. in the Chrome browser. but never loads. nothing in the logs Works on both firefox and IE s:div > Any Ideas Jeromy Evans - Blue Sky Minds wrote

Re: Stream Result

2008-09-03 Thread Gabriel Belingueres
As per BNF syntax [1], the content disposition must start with either the "inline" or "attachment" string. The filename need not be quoted: example: attachment; filename=whitepaper.pdf [1] http://www.ietf.org/rfc/rfc2183.txt 2008/9/3 Geffrey Caruso <[EMAIL PROTECTED]>: > Hey Everyone, > > > > Qu

Stream Result

2008-09-03 Thread Geffrey Caruso
Hey Everyone, Quick question concerning the Stream Reuslt I've got a result that looks something like this application/pdf pdfStream filename="whitepaper.pdf" 1024 Everything works fine until I go to save a copy of the PDF and the filename is ACTIONNAME.pdf. It do

RE: on the chrome bandwagon

2008-09-03 Thread Martin Gainty
I'd be interested to know how they handle Ajax controls run this little bit from dojo.js