Re: Struts 1 Logging

2014-05-30 Thread Mark Shifman
if I am missing something. Thanks Usha You need a line like this: log4j.logger.org.apache.struts=DEBUG Regards, Christoph This Email was scanned by Sophos Anti Virus -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: SV: Upgrade from 1.2 to 1.3x

2010-05-25 Thread Mark Shifman
...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Mark Shifman

struts-blank-1.3.10.war has memory leak.

2010-05-13 Thread Mark Shifman
Hi: I have been trying to track down a memory leak in my struts 1.3.10 web app. I am using tomcat 6.0.26 which has a leak detector button in the manager app. After basically gutting my app to a start up page, it occurred to me that I should just see if the struts-blank web app has a memory

Re: Simple two button form - Struts 1.2.x

2009-12-10 Thread Mark Shifman
Use EventDispatchAction or just use javascript to go to the action you want when the button is pushed. mas davargas123 wrote: I am putting in page that loads at the beginning of my application, and all it has two buttons that should end up forwarding to do one of two different actions. How can

Re: Struts HTML taglib vs. Standard HTML tags

2009-12-04 Thread Mark Shifman
Come on, at least tell us the strut version. I happen to be using struts 1.3.10 and if you look in /META-INF/tld/struts-html.tld of the struts-taglib-1.3.10 jar you will find urihttp://struts.apache.org/tags-html/uri so i use %@ taglib uri=http://struts.apache.org/tags-html; prefix=html% mas

Re: Taglib to refence html in Struts 1.3.8

2009-12-01 Thread Mark Shifman
%@ taglib uri=http://struts.apache.org/tags-html; prefix=html% seems to work for me bladu wrote: Hi, I would be very grateful If somebody could say to me what is the Struts taglib equivalent in Struts 1.3.8 to the taglib below allocated in Struts 1.2 %@ taglib

Re: [DispatchAction] no handler parameter

2009-11-01 Thread Mark Shifman
I have also gotten this error and it was not obvious how it happened since the appropriate parameters were where they were supposed to be. You need to think of weird causes like double clicking a link that contains parameters or some how the form is submitted twice, the second time the command

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
commands, e-mail: user-h...@struts.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: struts1 - html:hidden tag

2009-03-05 Thread Mark Shifman
) always return value=. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: html:select for a string list

2008-12-10 Thread Mark Shifman
and label i need just to recuperate the value and set the list of string what must i add as attribute to html:optionCollection, here is html:select nested:select property=selectedVal html:optionsCollection property=valList name=intaffForm / /nested:select Regards Elyes. -- Mark

Re: Is it hard to migrate from struts 1.2.x to 1.3.x ??

2007-09-05 Thread Mark Shifman
the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: refresh problem

2007-05-31 Thread Mark Shifman
done. Page has waiting and show result but action class still working. It can be possible a settings in action mapped xml file? Or any suggestion? Regards, -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: Displaytag

2007-05-16 Thread Mark Shifman
://tv.yahoo.com/collections/265 -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to change the Context Root of a webapplication

2007-04-20 Thread Mark Shifman
this e-mail and any attachment and all copies and inform the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical

Re: DispachAction - does not contain specified method

2007-03-13 Thread Mark Shifman
) Thanks, -Nitin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: combining chain of commands with struts action

2007-01-19 Thread Mark Shifman
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Struts2, DisplayTags OGNL-error

2006-12-13 Thread Mark Shifman
$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) ERROR (061212 20:29:29) Developer Notification (set webwork.devMode to false to disable this message): -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

[s2] Radio buttons example

2006-12-07 Thread Mark Shifman
Hi: The Struts 2 Documentation pages seem to have left out radio buttons: http://struts.apache.org/2.x/docs/tag-reference.html http://struts.apache.org/2.x/docs/ui-tag-reference.html There is a page but its example is a little opaque: http://struts.apache.org/2.x/docs/radio.html I couldn't find

[s2] Making LazyDynaBean work with ModelDriven interface

2006-12-05 Thread Mark Shifman
Some folks may be as pig-headed as me or may need to use LazyDynaBeans as they are translating from struts1 to struts2. After fooling around, I figured it out but it is pretty clear to me this is not the way to go. Below is a simple example. public final class MyAction extends ActionSupport

[s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
. If I use a simple pojo like public class myBean { String my_field; public String getMy_field() { return my_field; } public void setMy_field(String my_field) { this.my_field= my_field } Things work. What am I missing or doing wrong? Thanks in advance mas -- Mark Shifman

Re: [s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
Mark Shifman wrote: Does anybody have an example of using a LazyDynaBean with the ModelDriven interface? http://struts.apache.org/2.x/docs/struts-1-solutions.html implies that it should work. I have a simple action: public final class MyAction extends ActionSupport implements ModelDriven

Re: Themes and templates

2006-11-28 Thread Mark Shifman
it Regards Juan -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation + multiple Submit buttons

2006-11-14 Thread Mark Shifman
-config.xml or validation.xml but I am not sure if this is actually possible (I fear the worst) If anyone has any tips, much appreciated. Andrew -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: FormFile getPath() ?

2006-09-29 Thread Mark Shifman
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

how to initialize custon-chain.config

2006-09-26 Thread Mark Shifman
HI; I am starting to play with chains and commands in 1.3.5 and I was wondering where I initialize the my custom chains ? I don't want to mess with the request processor, just add a few command chains of my own. The cookbook mail reader example from commons.chain uses a context-param and

Re: how to initialize custon-chain.config

2006-09-26 Thread Mark Shifman
Thanks Wendy, I used: init-param param-namechainConfig/param-name param-valueorg/apache/struts/chain/chain-config.xml, /WEB-INF/ custom-chain-config..xml/param-value /init-param And it worked! The first loads the struts catalog and the second load my own catalog. Thanks again, Mark Shifman

Re: Validation on String[]

2006-09-21 Thread Mark Shifman
: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: Retrieve results and display

2006-07-24 Thread Mark Shifman
~~ -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: upgrading from struts version 1.2.6 to 1.2.9

2006-06-27 Thread Mark Shifman
there is a wiki page: http://wiki.apache.org/struts/StrutsUpgrade Picha, Gayatri wrote: Hi, I am trying to upgrade from struts version 1.2.6 to 1.2.9, what are the steps that needs to be done in order to do this. Thanks in advance, -Gayatri. -- Mark Shifman MD. Ph.D. Yale Center

[Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Hi: When I use the commonsValidator for required on the client side, the name of the component is not being picked up and the alert says null is required. This happens with both h:inputText and h:selectOneListbox, the only two I have tried. h:inputText id=s_id size=16 value=#{su_menu.s_id}

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
in advance. mas Gary VanMatre wrote: From: Mark Shifman [EMAIL PROTECTED] Hi: When I use the commonsValidator for required on the client side, the name of the component is not being picked up and the alert says null is required. This happens with both h:inputText and h:selectOneListbox

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Thanks!! I will submit a bug ticket tomorrow. Looking at the validator-rules.xml it looks like a double validator has been completely omitted. mas Gary VanMatre wrote: From: Mark Shifman [EMAIL PROTECTED] Thanks Gary: I am now getting a much more insidious exception thrown. I using

Re: [Shale] where to put the jsp pages and shale-blank app

2006-03-23 Thread Mark Shifman
Thanks for the information on disallowing direct access via chain-config! I couldn't find any exceptions that were thrown while trying to access WEB-INF$pages$welcome. Craig McClanahan wrote: I suspect an exception (due to not being able to directly access things under /WEB-INF) is getting

[Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
fancy except f:convertDateTimetype=both/ I am baffled. Am I somehow configured wrong? Is there something funny about f:convertDateTime in myfaces? Thanks in advance. mas -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

Re: [Shale]shale-blank time is 5 hours off

2006-03-22 Thread Mark Shifman
Mea Culpa. I guess the default timezone is GMT. Setting the zone to EST, did the correct thing. Mark Shifman wrote: I compiled a war with the shale-blank stuff and deployed it and a weird thing happened, the time was 5 hours fast (minutes seemed ok) I downloaded and deployed shale-blank

[Shale] where to put the jsp pages and shale-blank app

2006-03-22 Thread Mark Shifman
be. What am I missing? Why isn't the page picking up the correct timestamp from the welcome bean? -- Mark Shifman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Shale] shale-mailreader could not be started

2006-03-16 Thread Mark Shifman
Hi : Today I got the shale-mailreader-20060316.war, dropped it into my webapps dir, went to the tomcat manager and it wasn't running. I tried to start it and was told Message: FAIL - Application at context path /shale-mailreader-20060316 could not be started I am using Apache

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Mark Shifman
does that happen? How can I figure out what caused the error to happen? thanks very much, Michael from Ottawa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman

Re: Managing exceptions

2005-04-25 Thread Mark Shifman
also extend ExceptionHandler and introduce your own error logging behavior or other specialized operations. Hope this helps, Joe -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED

sslext java.lang.ClassCastException in SecureRequestProcessor

2005-03-31 Thread Mark Shifman
that gives the error I am stumped as to why there should be a problem with the class cast. mapping = (SecureActionConfig) processMapping(request, response, path); Any ideas would be appreciated. Mark Shifman - To unsubscribe, e

Re: How to clear ActionForm before calling mapping.forward(...)???

2005-03-21 Thread Mark Shifman
You could request.removeAttribute(employeeForm) before the forward and a new actionForm would be made on the next round. Gaet wrote: Hello the list! I have an action-mapping with a forward action that recall the same action mapping in order to display other informations. My problem is that my form

custom validator stopped working

2005-01-27 Thread Mark Shifman
I have a very simple custom validator that checks if a select list has 1 or more selections. when I upgraded to struts 1.2.6 it stopped working. I have done all the things in http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd I also tried using the most

multiple struts-config.xml and validator.xml files for dealing with stories

2004-07-13 Thread Mark Shifman
Ted Husted wrote: For a large, heavy-duty-input data-driven web application, I would recommend C. C) [Conventional class] is NOT used, data form validation is defined within the validation.xml and handled by struts, the Action class (or some surrogate) then enforces all business rules.

jsp document/xml and struts

2004-06-11 Thread Mark Shifman
I have been trying to make a jsp document work and display. I'm using tomcat5 and mosiac 1.6. and struts 1.1 I have saved my document as a jspx file and have tried a variety of ways to add links to a stylesheet. mosiac tells me this : This XML file does not appear to have any style

Re: [SOLVED] Default methodName for DispatchAction

2004-06-02 Thread Mark Shifman
You should look at the source code for the version of DispatchAction and LookupDispatchAction (available either from a download of src or the cvs repository). Older builds just threw an exception if LDA didn't find a parameter for method. You can overide the execute() but you might just as