Re: LazyDynaBean question

2005-02-09 Thread Niall Pemberton
Yes BeanValidatorForm is just a DynaBean wrapper - it can wrap either other
DynaBean or POJO beans. FormBeanConfig has become the ActionForm factory
(since Struts 1.2) which makes it straight forward to plug in your own
mechanism by overriding the createActionForm() method. You can get it to
default to your own config implementation either by having your own
ModuleConfig flavour or through the struts-config...

form-beans className=myPackage.MyFormBeanConfig
  
/form-beans

Niall

- Original Message - 
From: Joe Hertz [EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 4:59 AM


 How about a simpler case then

 My real goal is to have DynaForms that are backed my experimental
 semi-lazy-dynabean.

 BeanValidatorForm (while an impressive piece of work IMHO) isn't actually
 subclass of a DynaForm (even though it seems like it can be used in almost
 the same way).

 The way I see it, the easiest way is to implement a FormBeanConfig that
 identifies my DynaBean and have all my beans use it? (I can get it to
 default by mucking with the ModuleConfig object, right?)

 Sorry for asking so many questions on this. I am delving into the innards
of
 Struts on a level I haven't before, and I think I'm *this* close to fixing
 the thing about Struts that I seem to whine about incessantly.

 If I have a DynaForm Object backed with my own brand of DynaBean, I'm most
 of the way home.

 Tx again



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: request Processor in struts.

2005-02-09 Thread Niall Pemberton
You can configure it using the controller element in the
struts-config.xml...

http://struts.apache.org/userGuide/configuration.html#controller_config

controller processorClass=myPackage.MyRequestProcessor/

Niall

- Original Message - 
From: Sandip Khetle [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, February 09, 2005 7:42 AM
Subject: request Processor in struts.


 Hi
Where do we make the entry for the request processor in
 struts application?for example I have extended the RequestProcessor
 class to create my
 MyRequestProcessor ...How do I communicate this to the
 application.Will i have to make any entry in some config
 file...?

 Thanks in advance

 -- 
 Regards,
 SandipK



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



request Processor in struts-2.

2005-02-09 Thread Sandip Khetle
hi

  Thank You very much for ur help NiallI have one more
question ..

Can we have multiple RequestProcessor classes for a single application
.I mean as we have a single ActionServlet is it mandatory to have
a single RequestProcessor as well...?

thanks in advance...




On Wed, 9 Feb 2005 08:33:20 -, Niall Pemberton
[EMAIL PROTECTED] wrote:
 You can configure it using the controller element in the
 struts-config.xml...
 
 http://struts.apache.org/userGuide/configuration.html#controller_config
 
 controller processorClass=myPackage.MyRequestProcessor/
 
 Niall
 
 - Original Message -
 From: Sandip Khetle [EMAIL PROTECTED]
 To: user@struts.apache.org
 Sent: Wednesday, February 09, 2005 7:42 AM
 Subject: request Processor in struts.
 
  Hi
 Where do we make the entry for the request processor in
  struts application?for example I have extended the RequestProcessor
  class to create my
  MyRequestProcessor ...How do I communicate this to the
  application.Will i have to make any entry in some config
  file...?
 
  Thanks in advance
 
  --
  Regards,
  SandipK
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Regards,
Sandip Khetle

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: request Processor in struts-2.

2005-02-09 Thread Niall Pemberton
In Struts 1.2 you can configure different RequestProcessors for different
modules, but you can' t have different RequestProcessors for the same
module. Struts 1.3 (under development) is based on the Chain of
Responsibilty (CoR) pattern (using  Jakarta Commons Chain) - that introduces
alot more flexibility in how you can configure request processing. Sounds
like it might be worth you downloading the nightly build and having a look
at that.

Niall

- Original Message - 
From: Sandip Khetle [EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 9:25 AM


 hi

   Thank You very much for ur help NiallI have one more
 question ..

 Can we have multiple RequestProcessor classes for a single application
 .I mean as we have a single ActionServlet is it mandatory to have
 a single RequestProcessor as well...?

 thanks in advance...



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts validator [ client side error when using date validator]

2005-02-09 Thread Amjad I. Shahrour

Any ideas please ?

Amjad

-Original Message-
From: Amjad I. Shahrour [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 09, 2005 8:54 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Struts validator [ client side error when using date
validator]

Already tried, but still not working !

Amjad



-Original Message-
From: Saul Qunming Yuan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 08, 2005 7:35 PM
To: Struts Users Mailing List
Subject: Re: Struts validator [ client side error when using date
validator]

Off the top of my head, try using: datePatternStrict instead of
datePattern in var-name in your validation.xml.

Saul


 Hi,

 I have configured and used struts validator for my application,
 Server side validation is working perfectly...

  For client side, the required  validator is working fine, but the
date
 ( for example) is not working and giving a java script error 
 datePattern has no properties.



 Please help.


 Thanx in advance
 Amjad


 --Snippet from validation.xml-
 field
   property=startDate
   depends=date
   arg0 key=label.startDate/
   var
   var-namedatePattern/var-name
   var-valuedd/MM//var-value
/var
 /field


 --- Snippet from validation-rules.xml -- - --- ---
validator name=date
 classname=org.apache.struts.validator.FieldChecks
method=validateDate
  methodParams=java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionErrors,
javax.servlet.http.HttpServletRequest
   depends=
   msg=errors.date
jsFunctionName=DateValidations

  javascript![CDATA[
 function validateDate(form) {
var bValid = true;
var focusField = null;
var i = 0;
var fields = new Array();
oDate = new DateValidations();
for (x in oDate) {
var value = form[oDate[x][0]].value;
var datePattern = oDate[x][2](datePatternStrict);
if ((form[oDate[x][0]].type == 'text' ||
 form[oDate[x][0]].type == 'textarea') 
(value.length  0) 
(datePattern.length  0)) {
  var MONTH = MM;
  var DAY = dd;
  var YEAR = ;
  var orderMonth = datePattern.indexOf(MONTH);
  var orderDay = datePattern.indexOf(DAY);
  var orderYear = datePattern.indexOf(YEAR);
  if ((orderDay  orderYear  orderDay 
 orderMonth)) {
  var iDelim1 = orderMonth + MONTH.length;
  var iDelim2 = orderDay + DAY.length;
  var delim1 = datePattern.substring(iDelim1,
 iDelim1 + 1);
  var delim2 = datePattern.substring(iDelim2,
 iDelim2 + 1);
  if (iDelim1 == orderDay  iDelim2 ==
 orderYear) {
 dateRegexp = new
 RegExp(^(\\d{2})(\\d{2})(\\d{4})$);
  } else if (iDelim1 == orderDay) {
 dateRegexp = new
RegExp(^(\\d{2})(\\d{2})[
 + delim2 + ](\\d{4})$);
  } else if (iDelim2 == orderYear) {
 dateRegexp = new RegExp(^(\\d{2})[ +
 delim1 + ](\\d{2})(\\d{4})$);
  } else {
 dateRegexp = new RegExp(^(\\d{2})[ +
 delim1 + ](\\d{2})[ + delim2 + ](\\d{4})$);
  }
  var matched = dateRegexp.exec(value);
  if(matched != null) {
 if (!isValidDate(matched[2], matched[1],
 matched[3])) {
if (i == 0) {
focusField = form[oDate[x][0]];
}
fields[i++] = oDate[x][1];
bValid =  false;
 }
  } else {
 if (i == 0) {
 focusField = form[oDate[x][0]];
 }
 fields[i++] = oDate[x][1];
 bValid =  false;
  }
  } else if ((orderMonth  orderYear  orderMonth

 orderDay)) {
  var iDelim1 = orderDay + DAY.length;
  var iDelim2 = orderMonth + MONTH.length;
  var delim1 = datePattern.substring(iDelim1,
 iDelim1 + 1);
  var delim2 = datePattern.substring(iDelim2,
 iDelim2 + 1);
 

Error 404: FileNotFound : sortError

2005-02-09 Thread Gaet
Hello to all,

I use a layout:pager maxPageItems=10  tage around a layout:collection
.. tag in my jsp (very simple ;o)).

The problem is when I click on a link of the pager to go to the next page
and then press the Refresh button of Internet Explorer. If I try to
navigate again on my pager links, I got the following error : Error 404:
FileNotFound : sortError

If you could help me

Thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Extending Action Mapping

2005-02-09 Thread Todd Nine
I came to a solution where I just passed a comma delimited string of
properties, then when
I set the ignore value, they are parsed into a list which my validate
uses to check if it should validate.  This approach seems similar to
the validator when multiple xml files are defined.

On Tue, 8 Feb 2005 15:09:05 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
 At 3:35 PM -0500 2/8/05, Todd Nine wrote:
 Thanks for the help, given the Java Bean standards of getters and
 setters, is there any way to set a Map or a List from the xml file
 (something like the way Spring Framework does it)?   And thanks for
 the naming complement, we get quite a few amusing ones, like
 LaserBeanUtils... :)
 
 There is no way to set a map or a list at the moment.  It wouldn't be
 all that hard to write some Digester rules that did it, but I haven't
 heard much call for it so far.It is possible to add your own
 rules to the Digester ruleset used during struts-config processing,
 but is that really worth it?
 
 For an immediate solution, I'd suggest just writing your mapping
 class to fit the constraints; just change the name of your method
 from getIgnore() to getIgnoreList().
 
 There has been a bit of discussion on the dev list about using
 Spring, or other alternative ways for configuring the system of
 objects in a Struts application; my conclusion at this point is that
 we are better off refining the model before changing configuration
 approaches -- that is, to design a Struts API bean which
 encapsulates what a running Struts application does without being so
 entangled with the ActionServlet and the Servlet API.
 
 Joe
 
 
 
 On Tue, 8 Feb 2005 15:23:41 -0500, Benedict, Paul C
 [EMAIL PROTECTED] wrote:
   If your setter (for setIgnore?) does not have the same type as its getter,
   it is probably ignored. The JavaBean spec is really strict with its
   requirement for properties.
 
   By the way, LaserActionMapping is the coolest action classname I've ever
   seen. If there was an award for these things, I think you would win :o)
 
   -Original Message-
   From: Todd Nine [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, February 08, 2005 3:20 PM
   To: Struts Users Mailing List
   Subject: Extending Action Mapping
 
   Hi all, I am trying to extend the ActionMapping Class with my own,
   LaserActionMapping.  I have a List that I want to populate with
   MessageResource keys,.  I have the configuration below, and my class.
   The setter is never being called, does anyone have any suggestions?
 
   action path=/otherparties
   type=com.llic.web.action.OtherPartiesAction parameter=method
   input=newBusiness/OtherPartiesTab.jsp name=otherPartiesForm
   scope=request validate=true
   className=com.llic.web.action.LaserActionMapping 
   set-property property=ignore
   value=annuity.button.next/
   set-property property=ignore
   value=annuity.button.previous/
   set-property property=ignore
   value=annuity.defaultmethod/
   set-property property=ignore
   value=annuity.reloadmethod/
 
   forward name=load
   path=newBusiness/OtherPartiesTab.jsp/
   forward name=next
   path=newBusiness/OtherPartiesTab.jsp/
   forward name=addnewparty
   path=newBusiness/OtherPartiesTab.jsp/
   forward name=removeparty
   path=newBusiness/OtherPartiesTab.jsp/
   forward name=updatechanges
   path=newBusiness/OtherPartiesTab.jsp/
   forward name=loadParty
   path=newBusiness/OtherPartiesTab.jsp/
 
   /action
 
   /*
* Created on Feb 8, 2005
*
*/
   package com.llic.web.action;
 
   import java.util.ArrayList;
   import java.util.List;
 
   import org.apache.struts.action.ActionMapping;
 
   /**
* @author Todd Nine
* This implementation allows for multiple keys to be set.
* This will allow us to skip validation on certain mappings.
*/
   public class LaserActionMapping extends ActionMapping {
 
   //map of parameters to ignore
   private List ignore;
 
   /**
 * Constructor for LaserActionMapping.
*/
   public LaserActionMapping() {
   super();
   ignore = new ArrayList();
 
   }
 
   /**
* @param map
*/
   public void setIgnore(String value) {
   ignore.add(value);
   }
 
   /**
* @return A list of keys to ignore
*/
   public List getIgnore() {
   return ignore;
   }
 
   }
 
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 --
   

Struts Wireless Question

2005-02-09 Thread Brandon Mercer
Does anyone in here have any experience converting existing struts 
applications to work on wireless?  If so, I'd appreciate any docs/advice 
you could give.  Also, if anyone knows of a linux emulator that I could 
test these apps out on as I go, I'd really appreciate it. 

I've already found the struts-wml.tld and related stuff, so I'm more 
curious to find information about detecting if a client is coming in 
from a wireless device and showing them a different page than the web 
based client.  Is this possible or smart?  Let me know, Thanks,
Brandon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Struts Wireless Question

2005-02-09 Thread Martin Kindler
Brandon,

the easiest way I can think of is using http headers. You may have a look on
http://wurfl.sourceforge.net. They strive to build a list of the
capabilities of mobile phones. There is even a standard (I think) for
manufacturers of mobile phones to give access to the capabilities of their
devices. Have a look at e.g. http://forum.nokia.com. In their documents
section they have a paper Introduction to User Agent Profile v1.1 which
gives you some information.

Martin

 -Ursprüngliche Nachricht-
 Von: Brandon Mercer [mailto:[EMAIL PROTECTED] 
 Gesendet: Mittwoch, 9. Februar 2005 15:21
 An: Struts Users Mailing List
 Betreff: Struts Wireless Question
 
 
 Does anyone in here have any experience converting existing struts 
 applications to work on wireless?  If so, I'd appreciate any 
 docs/advice 
 you could give.  Also, if anyone knows of a linux emulator 
 that I could 
 test these apps out on as I go, I'd really appreciate it. 
 
 I've already found the struts-wml.tld and related stuff, so I'm more 
 curious to find information about detecting if a client is coming in 
 from a wireless device and showing them a different page than the web 
 based client.  Is this possible or smart?  Let me know, 
 Thanks, Brandon
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts Wireless Question

2005-02-09 Thread Marco Mistroni
Hello,
Not sure if I can help... but last year I wrote a Struts-based
application that was communicating with a  J2ME Emulator phone via XML.
I was using kXML on the emulator.. the emulator was just loading a
struts URL, which was getting the input stream and parse it to get the
data for request.. after processing a response was sent in XML to the
J2ME emulator

Or you may want to check Frank Zammetti's project on sourceforge, it
does 
What I said above (and more I gues) in a better way

http://sourceforge.net/projects/strutsws/


regards
marco

-Original Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED] 
Sent: 09 February 2005 14:21
To: Struts Users Mailing List
Subject: Struts Wireless Question

Does anyone in here have any experience converting existing struts 
applications to work on wireless?  If so, I'd appreciate any docs/advice

you could give.  Also, if anyone knows of a linux emulator that I could 
test these apps out on as I go, I'd really appreciate it. 

I've already found the struts-wml.tld and related stuff, so I'm more 
curious to find information about detecting if a client is coming in 
from a wireless device and showing them a different page than the web 
based client.  Is this possible or smart?  Let me know, Thanks,
Brandon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: request Processor in struts-2.

2005-02-09 Thread Joe Germuska
There are thousands of lines of discussion on this in the mailing 
list archives, if you really want to get into it.  The earliest 
discussions I have hanging around in my archives are May 2003, but 
they may go back even further.

In short, having RequestProcessor be a concrete class severely 
hampered the ability for people to make minor modifications to the 
request processing lifecycle.  Furthermore, it made it nearly 
impossible for anyone to develop shareable libraries: the SSLExt and 
Workflow projects made brave efforts, but what if you wanted to use 
both in one project?  It became clear that Struts needed to expose 
the request processing lifecycle more readily.

Furthermore, despite the problem of using more than one extension to 
the RequestProcessor, it became clear that the Template Pattern 
used in RequestProcessor was a way too rigid to allow certain kinds 
of changes.  It imposed too strongly a specific idea of what steps 
would happen and in what order.

If you've never cared about changing your RequestProcessor, you can 
safely ignore everything about the CoR RequestProcessor, with the 
possible exception of if you want to use Tiles, in which case you'll 
simply have to specify an alternate chain-config, which will be 
something which we will write a simple HOWTO for.

But for people who have cared about changing the RequestProcessor, 
there seems to be a lot of enthusiasm and agreement that the CoR 
stuff is a good way to head.

Joe
At 7:30 PM +0530 2/9/05, [EMAIL PROTECTED] wrote:
Hi,
It is not clear to me why CoR would be so special in the new Struts
architecture. After reading the proposal it seems that the 3 types of
controllers seem to be more interesting.
Was CoR chosen to leverage Commons Chain ? Why does a Web
application need the flexibility of CoR ? I know that Swing uses it
because the UI hierarchy is not simple.
Can't we just use Commons Chain with Struts with the same effect ?
Do we have to design Struts itself based on CoR ?
At this point I haven't looked at any code. I am just trying to
understand this particular design
decision. I remember that Action chaining was discouraged.
Mohan
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 3:15 PM
To: Struts Users Mailing List
Subject: Re: request Processor in struts-2.
In Struts 1.2 you can configure different RequestProcessors for
different modules, but you can' t have different RequestProcessors for
the same module. Struts 1.3 (under development) is based on the Chain of
Responsibilty (CoR) pattern (using  Jakarta Commons Chain) - that
introduces alot more flexibility in how you can configure request
processing. Sounds like it might be worth you downloading the nightly
build and having a look at that.
Niall
- Original Message -
From: Sandip Khetle [EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 9:25 AM

 hi
   Thank You very much for ur help NiallI have one more
 question ..
 Can we have multiple RequestProcessor classes for a single application
 .I mean as we have a single ActionServlet is it mandatory to have
 a single RequestProcessor as well...?
 thanks in advance...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information.  If you 
have received it in error, please notify the sender immediately and 
delete the original.  Any other use of the email by you is 
prohibited.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


session race / transfer issue

2005-02-09 Thread Brown, James
We have encountered a problem in which it appears (from user's
description, transaction records, web application logs, and web server
access logs), that user sessions are being transferred from one user to
another.
 
For example, two authenticated users:
 * user A with session id 1 from ip 1.2.3.4
 * user Z with session id 9 from ip 6.7.8.9
At some point the sessions are crossed (or half crossed) and we see the
following:
 * user A with session id 1 from ip 6.7.8.9  
 * user Z with session id 9 from ip 1.2.3.4
 
A few things:
1) this is a rare condition  1%.
2) it may not be a complete crossing, we have seen instances where user
A is doing transactions from two IP addresses interlaced
(pseudo-simultaneously) in the transaction details/logs.
 
As a stop block measure, we have implemented a custom RequestProcessor
to map sessions to IPs.  In the event that the IP associated with an
session changes, we invalidate the session and force re-authentication.
This is a stop measure and is not the ultimately desired solution.
 
Now, a little about the application:
* struts 1.1 - using url encoding/rewriting instead of cookies
* struts-menu 2.2 - with a slight modification to DisplayMenuTag.java
(as per
http://sourceforge.net/mailarchive/forum.php?thread_id=4195199forum_id=
32784) to handle url encoding issues.  Snippet of revisions below.
* one module built via Oracle's BC4J framework
* primary integration/dao layer is EJB-based.
 
WebServer environment:
* Netscape iPlanet 6.1 connected through tomcat-connector to tomcat
4.1.24
 
We have inspected our web application code (all jsp, javascript, and
java) and to our knowledge we are handling session creation,
invalidation and access properly.  In addition, we are using the html
taglib and/or explicit encodeURL calls to insure URL rewriting is being
enforced.
 
We have trolled BugZilla, mailing lists and google to no avail.
 
We have also not been able to replicate the problem via load testing.
 
Any suggestions, recommendations would be greatly appreciated.
 
 

DisplayMenuTag.java:
 
protected void setPageLocation(MenuComponent menu)
throws MalformedURLException, JspException {
HttpServletRequest request =
(HttpServletRequest) pageContext.getRequest();
 
// if the location attribute is null,
// then set it with a context relative page
// attribute if it exists
 
  //
--
  //
  // Force the menu location to be set each and every time.
  // As recommended/noted in:
  //
http://sourceforge.net/mailarchive/forum.php?thread_id=4195199forum_id=
32784
  // There seems to be a bug which results in the same session id
being
  // used.  This hack has been applied to our current source copy,
but
  // hopefully struts-menu baseline will be updated with a corrected
  // version.
  //
  // NOTE: Above article mentions also applying same patch to
  // net.sf.navigator.taglib.el.DisplayMenuTag but it is currently
not
  // needed within PPRS Refresh.
  //
  //
--
//if (menu.getLocation() == null) {
if (menu.getPage() != null) {
// are we sure we'll get an HttpServletRequest?



-- James 

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers. 

 


Log4j: Hibernate, Struts Logging in TC

2005-02-09 Thread Karan
Hi,
I am running TC + Hib + Struts. I have log4j.jar in the classpath. The 
following is the log4j.properties of my web application. The files 
struts.html and hibernate.html are created automatically everytime TC 
reads log4j.properties. However, nothing is ever written into them. I 
have log4j.jar in both my_application/WEB-INF/lib and in 
tomcat/common/lib. I do not have commons-logging in both the lib paths.

--
log4j.rootLogger=debug, all
log4j.appender.all=org.apache.log4j.FileAppender
log4j.appender.all.layout=org.apache.log4j.HTMLLayout
log4j.appender.all.layout.LocationInfo=true
log4j.appender.all.layout.Title='All' Log
log4j.appender.all.File=/usr/local/tomcat/webapps/singlemote/logs/all.html
log4j.appender.all.ImmediateFlush=true
log4j.appender.all.Append=false
# COMPLETE LOGGING ###
log4j.logger.singlemote=DEBUG, singlemote
log4j.logger.singlemote.bean=DEBUG
log4j.logger.singlemote.dao=DEBUG
log4j.appender.singlemote=org.apache.log4j.FileAppender
log4j.appender.singlemote.layout=org.apache.log4j.HTMLLayout
log4j.appender.singlemote.layout.LocationInfo=true
log4j.appender.singlemote.layout.Title='Singlemote' Log
log4j.appender.singlemote.File=/usr/local/tomcat/webapps/singlemote/logs/singlemote.html
log4j.appender.singlemote.ImmediateFlush=true
log4j.appender.singlemote.Append=false
 HIBERNATE-UTIL LOGGING 
##
log4j.logger.singlemote.hibutil=DEBUG, hib
log4j.appender.hib=org.apache.log4j.FileAppender
log4j.appender.hib.layout=org.apache.log4j.HTMLLayout
log4j.appender.hib.layout.LocationInfo=true
log4j.appender.hib.layout.Title='Hibernate Util' Log
log4j.appender.hib.File=/usr/local/tomcat/webapps/singlemote/logs/HibUtil.html
log4j.appender.hib.ImmediateFlush=true
log4j.appender.hib.Append=false

 HIBERNATE LOGGING 
##
log4j.logger.net.sf.hibernate=debug, hib2

### log just the SQL
log4j.logger.net.sf.hibernate.SQL=debug
### log JDBC bind parameters ###
log4j.logger.net.sf.hibernate.type=debug
### log schema export/update ###
log4j.logger.net.sf.hibernate.tool.hbm2ddl=debug
### log cache activity ###
log4j.logger.net.sf.hibernate.cache=debug
### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace, 
hib2

log4j.appender.hib2=org.apache.log4j.FileAppender
log4j.appender.hib2.File=/usr/local/tomcat/webapps/singlemote/logs/hibernate.html
log4j.appender.hib2.ImmediateFlush=true
log4j.appender.hib2.Append=false
log4j.appender.hib2.layout=org.apache.log4j.HTMLLayout
log4j.appender.hib2.layout.LocationInfo=true
log4j.appender.hib2.layout.Title='Hibernate' Log
## STRUTS LOGGING 

log4j.logger.org.apache.struts=debug, struts

log4j.appender.struts=org.apache.log4j.FileAppender
log4j.appender.struts.File=/usr/local/tomcat/webapps/singlemote/logs/struts.html
log4j.appender.struts.ImmediateFlush=true
log4j.appender.struts.Append=false
log4j.appender.struts.layout=org.apache.log4j.HTMLLayout
log4j.appender.struts.layout.LocationInfo=true
log4j.appender.struts.layout.Title='Struts' Log

I did make struts and hib2 part of the rootLogger, but then all messages 
are stored in the struts.html and hibernate.html (basically they become 
copies of all.html). Moreover, the reason I'm implementing logging in 
this manner is because I want to seperate the logging of different 
layers of my application.
In beans: -- goes to singlemote.html
private static Logger log = Logger.getLogger(singlemote.bean);
In DAOs: -- goes to singlemote.html
private static Logger log = Logger.getLogger(singlemote.dao);
In HibernateUtil.java: -- goes to HibUtil.html
private static Logger log = Logger.getLogger(singlemote.hibutil);

Any help is greatly appreciated.
Also, Off-topic: how do I make log4j pick up $catalina_home from the env 
and use that to specify the destination path for the generated log files.

Thanks,
Karan
--
CM II
Resolution Systems Inc.
/-- never compromise. what if you compromise and lose? --/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How do I prefill a form

2005-02-09 Thread Norris Shelton
I am using a LazyValidatorForm for each area of my site.  They
want information entered on a form in one part of the site to be
the default value when a form in another part of the site is
displayed.  I am accumulating the information that is entered in
a session bean.  I then tried to copy that to the form for the
current action before it is displayed.  The form comes in as
null.  I then tried to create a new form it it's null, but it
gets a NPE on the toString() method.

Is there a way to do this?

=

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I prefill a form

2005-02-09 Thread Dakota Jack
snip
On Wed, 9 Feb 2005 08:04:44 -0800 (PST), Norris Shelton
[EMAIL PROTECTED] wrote:
 I am using a LazyValidatorForm for each area of my site.  They
 want information entered on a form in one part of the site to be
 the default value when a form in another part of the site is
 displayed.  I am accumulating the information that is entered in
 a session bean.  I then tried to copy that to the form for the
 current action before it is displayed.  The form comes in as
 null.  I then tried to create a new form it it's null, but it
 gets a NPE on the toString() method.
 
 Is there a way to do this?
 
/snip

If you showed a bit of your code, that would tell us what you are
doing.  This is fairly simple, actually.  Where you get the
information for the second form is rather beside the point.  If you
have the information and a way to store it on the form and do so in
your action  then the information will be there.  So, you need to show
us what you are doing.  My guess is that the data stored is null. 
But, without seeing your code, I cannot tell for sure.

Jack

-- 
You can lead a horse to water but you cannot make it float on its back.
Heaven has changed.  The Sky now goes all the way to our feet.

~Dakota Jack~

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: session race / transfer issue

2005-02-09 Thread Wendy Smoak
From: Brown, James [EMAIL PROTECTED]
 We have encountered a problem in which it appears (from user's
 description, transaction records, web application logs, and web server
 access logs), that user sessions are being transferred from one user to
 another.
 * Netscape iPlanet 6.1 connected through
 tomcat-connector to tomcat 4.1.24

Have you checked the archives for tomcat-user?  I think a couple of people
have reported something similar.  Unfortunately, as a rare, seemingly random
occurrence it's going to be hard to track down.

-- 
Wendy Smoak


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Is 'announce' mailing list's address correct?

2005-02-09 Thread Serguei Mokhov
Hi,

Following the guidelines on http://struts.apache.org/mail.html, I tried
subscribing on the announce list, but it barked at me as per below. The
email address copy-pasted as-is from the page above, and the spelling
seems fine.

Thank you,

-s

-- Forwarded message --
Date: 9 Feb 2005 16:31:57 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 83105 invoked by uid 99); 9 Feb 2005 16:31:57 -
X-ASF-Spam-Status: No, hits=1.6 required=10.0
tests=MISSING_SUBJECT
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from perseverance-96.encs.concordia.ca (HELO 
perseverance.encs.concordia.ca) (132.205.96.94)
  by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Feb 2005 08:31:56 -0800
Received: from ipecac.cs.concordia.ca (IDENT:[EMAIL PROTECTED] [132.205.45.2])
by perseverance.encs.concordia.ca (8.12.11/8.12.11) with ESMTP id 
j19GVquV013574
for [EMAIL PROTECTED]; Wed, 9 Feb 2005 11:31:52 -0500
Date: Wed, 9 Feb 2005 11:31:27 -0500 (EST)
From: Serguei Mokhov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.43 on perseverance.encs.concordia.ca at 2005/02/09 
11:31:52 EST
X-Virus-Checked: Checked

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSP produces invalid XML?

2005-02-09 Thread Laurent
I just realised the problem only occures when my JSP files have the 
.jspx file extension. Files whose names end in .jsp do not have this 
problem. However, my question remains...

Thank you.

Laurent wrote:
Hi,
There is something I do not understand with the way JSP outputs XML:
If in my source JSP file, I have something like this:
a amp; b
The XML parser should interpret this string as a  b and represent it 
internally as a  b. However, when it ouputs that data to the XML file 
being sent back to the browser, in this string a  b the ampersand 
should be escaped as a amp; b, as the destination is XML.
The problem is the output I get is simply a  b. I believe this 
behaviour to be wrong (as the resulting XML file does not comply to the 
specs).

Of course, if have included a html:xhtml/ tag at the top of my file 
(with the proper namespace set).

Is there a problem with my configuration of struts or tomcat, or is this 
behaviour intended for some reason, or is this a bug, or am I just 
missing something here?

Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: session race / transfer issue

2005-02-09 Thread Joe Germuska
At 9:37 AM -0700 2/9/05, Wendy Smoak wrote:
From: Brown, James [EMAIL PROTECTED]
 We have encountered a problem in which it appears (from user's
 description, transaction records, web application logs, and web server
 access logs), that user sessions are being transferred from one user to
 another.
 * Netscape iPlanet 6.1 connected through
 tomcat-connector to tomcat 4.1.24
Have you checked the archives for tomcat-user?  I think a couple of people
have reported something similar.  Unfortunately, as a rare, seemingly random
occurrence it's going to be hard to track down.
Is there any chance that there's a caching proxy in the middle?  I've 
hit that 3 or 4 times, especially when you deal with multiple users 
inside a corporate network.  Some ISPs also install caching proxies 
without telling their customers as a way of economizing on bandwidth. 
A few years ago we ran into this with the ISP for our office network. 
Needless to say, as a web development shop we noticed where their 
other clients might not -- and we dropped them soon after we noticed.

Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Log4j: Hibernate, Struts Logging in TC

2005-02-09 Thread Joe Germuska
At 9:49 AM -0600 2/9/05, Karan wrote:
Any help is greatly appreciated.
I suggest starting by specifying the log4j.debug system property 
when you launch startup.  You can often find out exactly what's going 
wrong with that.

Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How do I prefill a form

2005-02-09 Thread Dakota Jack
snip
On Wed, 9 Feb 2005 09:08:02 -0800 (PST), Norris Shelton
[EMAIL PROTECTED] wrote:
 Here is the entire contents of my init method:
 if (form == null) {
  form = new DynaValidatorActionForm();
 }
 CommonTools.formDataCopy(request, form);
 return mapping.findForward(searchName);
/snip

This is unexceptional and would not be the problem.

snip
 The contents of the formDataCopy method is:
 BeanUtils.copyProperties(object, getFormData(request));

 The getFormData method retrieves the formData bean from the
 request.  The bean exists and has the previously entered
 information.
/snip

Something is wrong here.  You said the information was stored in the
session, but here you are retrieving it from the request.  If you are
retrieving it from the request, it should be in the form, right? 
Please explain.

Jack

-- 
You can lead a horse to water but you cannot make it float on its back.
Heaven has changed.  The Sky now goes all the way to our feet.

~Dakota Jack~

This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How do I prefill a form

2005-02-09 Thread Joe Germuska
At 9:08 AM -0800 2/9/05, Norris Shelton wrote:
Here is the entire contents of my init method:
if (form == null) {
 form = new DynaValidatorActionForm();
}
You can never simply instantiate a DynaBean and use it; it needs to 
be configured to know what it's properties are.  (Well, the 
LazyDynaBean is changing this, but...)

You should use Struts' normal mechanisms for looking up a form bean 
instance.  Since Struts 1.2.1, the FormBeanConfig object has acted as 
a factory for beans, so this means looking up the FBC object and 
calling it's createActionForm(ActionServlet) method.

ModuleConfig has a findFormBeanConfig(String) method; you get the 
current ModuleConfig by calling 
ModuleUtils.getInstance().getModuleConfig(HttpServletRequest, 
ServletContext);

Hope that helps.
Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Trouble with DispatchAction and ValidatorActionForm

2005-02-09 Thread Joe Germuska
At 10:15 AM -0700 2/9/05, Daniel Watrous wrote:
Some googling brought me to a solution 
(http://www.junlu.com/msg/50968.html).  It would seem that the input 
attribute of an action element in the configuration file must 
reference the logical name of a forward.  With this in place the 
validation works fine.
This is only the case if you specifically configure your controller to do 
so:
controller...
set-property property=inputForward value=true /
/controller
The default behavior of Struts is to treat the value of the input 
attribute as the kind of thing which would be a legitimate value for 
an ActionForward's path (that is, a tile name or a path to a JSP or 
other thing which can be reached with RequestDispatcher.forward(...))

Joe

DW
- Original Message - From: Daniel Watrous [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday, February 08, 2005 3:37 PM
Subject: Re: Trouble with DispatchAction and ValidatorActionForm
Thanks for the advice!
I have enabled debug and found as you suggested these lines at the 
bottom of my file:

16:32:57,446 DEBUG RequestProcessor:787 -  Populating bean 
properties from this request
16:32:57,459 DEBUG RequestProcessor:919 -  Validating input form properties
16:32:57,460 DEBUG PropertyMessageResources:134 - 
getMessage(en_US,prompt.stakeName)
16:32:57,461 DEBUG PropertyMessageResources:226 - loadLocale(en_US)
16:32:57,461 DEBUG PropertyMessageResources:226 - loadLocale(en)
16:32:57,462 DEBUG PropertyMessageResources:226 - loadLocale()
..[and so on for each field]
16:32:57,479 DEBUG RequestProcessor:951 -  Validation failed, 
returning to '/manage_stake.jsp'

Shouldn't this mean that manage_stake.jsp should be displayed? 
That is the last line in my log.  What shall I look to now?

DW
- Original Message - From: Niall Pemberton 
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February 07, 2005 4:19 PM
Subject: Re: Trouble with DispatchAction and ValidatorActionForm

You need to know what struts is trying to do. I suggest configuring the
logging to debug - then you should find out where its trying to go to and
what the problem is.
If validation is being performed but failing then you should see something
like...
  DEBUG Validating input form properties
  DEBUG Validation failed, returning to '/manage_stake.jsp'
If validation either isn't being performed or no errors are found, then it
should tell you where its forwarding to, something like...
  DEBUG processForwardConfig(ForwardConfig[name=?,path=...])
Blank pages are usually when either you haven't configured things properly,
or somethings blowing up on the page. Either way the logs should tell you.
Niall
P.S. In your struts config, you have  a failure forward for the mapping
that doesn't look like a proper path - although the code you say your using
doesn't show it being used...
forward name=failure path=error/

- Original Message - From: Daniel Watrous [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February 07, 2005 10:34 PM
Subject: Re: Trouble with DispatchAction and ValidatorActionForm
Thank you for the suggestion.  I tried this and am still getting only a
BLANK page with validate=true.  Are there any other ideas?
DW
- Original Message - From: Niall Pemberton 
[EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February 07, 2005 2:19 PM
Subject: Re: Trouble with DispatchAction and ValidatorActionForm


 Looks to me like your missing a / off your input parameter
 --- input=manage_stake.jsp
 Niall
 P.S. don't forget to set validate back to true.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
Narrow minds are weapons made for mass destruction  -The Ex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


URL pattern for validation

2005-02-09 Thread Daniel Watrous
Hello,

I am trying to use the URL validation for a form in my application.  It always 
fails and so I'm not sure that I understand what it expects to see.

In my validation.xml I have the following:
field property=website depends=url
arg0 key=prompt.website/
var
   var-nameallowallschemes/var-name
   var-valuetrue/var-value
/var
var
   var-nameallow2slashes/var-name
   var-valuetrue/var-value
/var
/field

I have tried
www.maintainfit.com
http://www.maintainfit.com

niether of which work.  Is there some special format that this validation 
expects.  Is there some way to make it accept the above URLs as valid?

DW

Re: URL pattern for validation

2005-02-09 Thread Jeff Beal
I think that, strictly speaking, a URL needs at least the first '/' in 
the path portion.  Have you tried http://www.maintainfit.com/ ?  When in 
doubt, check the RFC: http://www.faqs.org/rfcs/rfc1738.html

-- Jeff
Daniel Watrous wrote:
snip
I am trying to use the URL validation for a form in my application.
/snip
snip
I have tried
www.maintainfit.com
http://www.maintainfit.com
/snip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP produces invalid XML?

2005-02-09 Thread Jeff Beal
I'm not familiar enough with the JSPX portion of the JSP documentation 
to be able to definitively say what is and is not according to the 
specification.  My guess is that the behavior you are seeing is in 
accordance with the specification.  The 'amp;' is parsed normally as 
XML, creating a simple '' which is written to the response.  The XML 
parser at the other end sees a stand-alone '' as non-well-formed and 
throws an error.  'amp;amp;' will allow 'amp;' to be written to the 
response, which the XML parser at the other end can then handle 
appropriately.

-- Jeff
Laurent wrote:
I just realised the problem only occures when my JSP files have the 
.jspx file extension. Files whose names end in .jsp do not have this 
problem. However, my question remains...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: URL pattern for validation

2005-02-09 Thread Craig McClanahan
On Wed, 09 Feb 2005 13:13:19 -0500, Jeff Beal [EMAIL PROTECTED] wrote:
 I think that, strictly speaking, a URL needs at least the first '/' in
 the path portion.  Have you tried http://www.maintainfit.com/ ?  When in
 doubt, check the RFC: http://www.faqs.org/rfcs/rfc1738.html
 

FYI, there are more recent standards documents than RFC 1738 around
the syntax of URLs and URIs ... in particular you'll want to review
the following document:

  http://www.faqs.org/rfcs/rfc3986.html

for the latest updates.

 -- Jeff

Craig

 
 Daniel Watrous wrote:
 
 snip
  I am trying to use the URL validation for a form in my application.
 /snip
 
 snip
  I have tried
  www.maintainfit.com
  http://www.maintainfit.com
 /snip
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
But I still have to implement my own ActionForm class, no?

I just can't plug in an alternative dynabean implementation for the a
DynaForm class to be backed by?
 

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, February 09, 2005 3:30 AM
 To: Struts Users Mailing List
 Subject: Re: LazyDynaBean question
 
 Yes BeanValidatorForm is just a DynaBean wrapper - it can 
 wrap either other DynaBean or POJO beans. FormBeanConfig has 
 become the ActionForm factory (since Struts 1.2) which makes 
 it straight forward to plug in your own mechanism by 
 overriding the createActionForm() method. You can get it to 
 default to your own config implementation either by having 
 your own ModuleConfig flavour or through the struts-config...
 
 form-beans className=myPackage.MyFormBeanConfig
   
 /form-beans
 
 Niall
 
 - Original Message -
 From: Joe Hertz [EMAIL PROTECTED]
 Sent: Wednesday, February 09, 2005 4:59 AM
 
 
  How about a simpler case then
 
  My real goal is to have DynaForms that are backed my experimental
  semi-lazy-dynabean.
 
  BeanValidatorForm (while an impressive piece of work IMHO) 
 isn't actually
  subclass of a DynaForm (even though it seems like it can be 
 used in almost
  the same way).
 
  The way I see it, the easiest way is to implement a 
 FormBeanConfig that
  identifies my DynaBean and have all my beans use it? (I can 
 get it to
  default by mucking with the ModuleConfig object, right?)
 
  Sorry for asking so many questions on this. I am delving 
 into the innards
 of
  Struts on a level I haven't before, and I think I'm *this* 
 close to fixing
  the thing about Struts that I seem to whine about incessantly.
 
  If I have a DynaForm Object backed with my own brand of 
 DynaBean, I'm most
  of the way home.
 
  Tx again
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
But I still have to implement my own ActionForm class, no?

I just can't plug in an alternative dynabean implementation for the a
DynaForm class to be backed by?
 

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, February 09, 2005 3:30 AM
 To: Struts Users Mailing List
 Subject: Re: LazyDynaBean question
 
 Yes BeanValidatorForm is just a DynaBean wrapper - it can 
 wrap either other DynaBean or POJO beans. FormBeanConfig has 
 become the ActionForm factory (since Struts 1.2) which makes 
 it straight forward to plug in your own mechanism by 
 overriding the createActionForm() method. You can get it to 
 default to your own config implementation either by having 
 your own ModuleConfig flavour or through the struts-config...
 
 form-beans className=myPackage.MyFormBeanConfig
   
 /form-beans
 
 Niall
 
 - Original Message -
 From: Joe Hertz [EMAIL PROTECTED]
 Sent: Wednesday, February 09, 2005 4:59 AM
 
 
  How about a simpler case then
 
  My real goal is to have DynaForms that are backed my experimental
  semi-lazy-dynabean.
 
  BeanValidatorForm (while an impressive piece of work IMHO) 
 isn't actually
  subclass of a DynaForm (even though it seems like it can be 
 used in almost
  the same way).
 
  The way I see it, the easiest way is to implement a 
 FormBeanConfig that
  identifies my DynaBean and have all my beans use it? (I can 
 get it to
  default by mucking with the ModuleConfig object, right?)
 
  Sorry for asking so many questions on this. I am delving 
 into the innards
 of
  Struts on a level I haven't before, and I think I'm *this* 
 close to fixing
  the thing about Struts that I seem to whine about incessantly.
 
  If I have a DynaForm Object backed with my own brand of 
 DynaBean, I'm most
  of the way home.
 
  Tx again
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL pattern for validation

2005-02-09 Thread Jeff Beal
I ended up getting curious, so rather than just speculate, I dug into 
both RFC's, it looks like I was wrong.  According to the both RFC's 
(1738 and 3986) the '/' is not required for an empty path in a URL/URI. 
 Sorry, Daniel, no help here.

-- Jeff
Craig McClanahan wrote:
On Wed, 09 Feb 2005 13:13:19 -0500, Jeff Beal [EMAIL PROTECTED] wrote:
I think that, strictly speaking, a URL needs at least the first '/' in
the path portion.  Have you tried http://www.maintainfit.com/ ?  When in
doubt, check the RFC: http://www.faqs.org/rfcs/rfc1738.html

FYI, there are more recent standards documents than RFC 1738 around
the syntax of URLs and URIs ... in particular you'll want to review
the following document:
  http://www.faqs.org/rfcs/rfc3986.html
for the latest updates.

-- Jeff

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP produces invalid XML?

2005-02-09 Thread Laurent
Although amp;amp; is a *workaround* that will work, the JSP parser is 
still modifying the data in the file, as amp;amp; in an XML file 
represents the amp; string, *not* the  string. This is more a 
question of conforming to the XML spec than the JSP spec.

Of course, I can perfectly understand that in non-XML JSP mode there may 
be glitches in the way the XML is parsed. However, I don't believe it is 
acceptable to output something that isn't XML when you've explicitly 
demanded to have XML. (For example, Mozilla-based browsers refuse to 
display the page and show an XML Parsing Error instead (when an XML 
mime-type is used).)


Jeff Beal wrote:
I'm not familiar enough with the JSPX portion of the JSP documentation 
to be able to definitively say what is and is not according to the 
specification.  My guess is that the behavior you are seeing is in 
accordance with the specification.  The 'amp;' is parsed normally as 
XML, creating a simple '' which is written to the response.  The XML 
parser at the other end sees a stand-alone '' as non-well-formed and 
throws an error.  'amp;amp;' will allow 'amp;' to be written to the 
response, which the XML parser at the other end can then handle 
appropriately.

-- Jeff
Laurent wrote:
I just realised the problem only occures when my JSP files have the 
.jspx file extension. Files whose names end in .jsp do not have 
this problem. However, my question remains...

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: URL pattern for validation

2005-02-09 Thread Daniel Watrous
I have found that the only url that passes validation in the struts package 
is a url that references a specific page.  For example 
http://www.maintainfit.com/ will not pass but 
http://www.maintainfit.com/index.php will pass.  I suspected that the 
nofragments set to false would allow the first url, but even with that it 
doesn't.  I think that I will end up using a regexp instead.

DW
- Original Message - 
From: Jeff Beal [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, February 09, 2005 12:17 PM
Subject: Re: URL pattern for validation


I ended up getting curious, so rather than just speculate, I dug into both 
RFC's, it looks like I was wrong.  According to the both RFC's (1738 and 
3986) the '/' is not required for an empty path in a URL/URI. Sorry, 
Daniel, no help here.

-- Jeff
Craig McClanahan wrote:
On Wed, 09 Feb 2005 13:13:19 -0500, Jeff Beal [EMAIL PROTECTED] wrote:
I think that, strictly speaking, a URL needs at least the first '/' in
the path portion.  Have you tried http://www.maintainfit.com/ ?  When in
doubt, check the RFC: http://www.faqs.org/rfcs/rfc1738.html

FYI, there are more recent standards documents than RFC 1738 around
the syntax of URLs and URIs ... in particular you'll want to review
the following document:
  http://www.faqs.org/rfcs/rfc3986.html
for the latest updates.

-- Jeff

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSP produces invalid XML?

2005-02-09 Thread Jeff Beal
Laurent wrote:
Of course, I can perfectly understand that in non-XML JSP mode there may 
be glitches in the way the XML is parsed. However, I don't believe it is 
acceptable to output something that isn't XML when you've explicitly 
demanded to have XML. (For example, Mozilla-based browsers refuse to 
display the page and show an XML Parsing Error instead (when an XML 
mime-type is used).)

I just scanned the JSP Document specification (From JSP 1.2), and I 
didn't see anything in there to indicate that JSP Documents have 
anything to do with *outputting* XML.  It seems that they are only an 
XML-compliant way to author the JSP page.  Section 5.1 (Uses for XML 
Syntax for JSP Pages) makes no mention of using JSP to generate XML. 
 Section 5.2.1 begins with The semantic model of a JSP document is 
unchanged from that of a JSP page in JSP syntax.  Taken with the rest 
of what I read, it seems that a '.jspx' file is just using a different 
kind of syntactic sugar to pass instructions to the JSP compiler.  I 
don't see any indication that the compiled Java class will make any 
assumputions about what kind of content you will be generating.

I agree that it seems silly to have to double-escape all of your XML 
entities, but it seems that you do.

-- Jeff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: LazyDynaBean question

2005-02-09 Thread Niall Pemberton
Now I'm just confused. sorry.

Niall

- Original Message - 
From: Joe Hertz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Wednesday, February 09, 2005 7:15 PM
Subject: RE: LazyDynaBean question


 But I still have to implement my own ActionForm class, no?
 
 I just can't plug in an alternative dynabean implementation for the a
 DynaForm class to be backed by?
  
 
  -Original Message-
  From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, February 09, 2005 3:30 AM
  To: Struts Users Mailing List
  Subject: Re: LazyDynaBean question
  
  Yes BeanValidatorForm is just a DynaBean wrapper - it can 
  wrap either other DynaBean or POJO beans. FormBeanConfig has 
  become the ActionForm factory (since Struts 1.2) which makes 
  it straight forward to plug in your own mechanism by 
  overriding the createActionForm() method. You can get it to 
  default to your own config implementation either by having 
  your own ModuleConfig flavour or through the struts-config...
  
  form-beans className=myPackage.MyFormBeanConfig

  /form-beans
  
  Niall
  
  - Original Message -
  From: Joe Hertz [EMAIL PROTECTED]
  Sent: Wednesday, February 09, 2005 4:59 AM
  
  
   How about a simpler case then
  
   My real goal is to have DynaForms that are backed my experimental
   semi-lazy-dynabean.
  
   BeanValidatorForm (while an impressive piece of work IMHO) 
  isn't actually
   subclass of a DynaForm (even though it seems like it can be 
  used in almost
   the same way).
  
   The way I see it, the easiest way is to implement a 
  FormBeanConfig that
   identifies my DynaBean and have all my beans use it? (I can 
  get it to
   default by mucking with the ModuleConfig object, right?)
  
   Sorry for asking so many questions on this. I am delving 
  into the innards
  of
   Struts on a level I haven't before, and I think I'm *this* 
  close to fixing
   the thing about Struts that I seem to whine about incessantly.
  
   If I have a DynaForm Object backed with my own brand of 
  DynaBean, I'm most
   of the way home.
  
   Tx again



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL pattern for validation

2005-02-09 Thread Niall Pemberton
Theres an open bugzilla ticket for this,

http://issues.apache.org/bugzilla/show_bug.cgi?id=30686

Niall

- Original Message - 
From: Daniel Watrous [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, February 09, 2005 5:54 PM
Subject: URL pattern for validation


Hello,

I am trying to use the URL validation for a form in my application.  It
always fails and so I'm not sure that I understand what it expects to see.

In my validation.xml I have the following:
field property=website depends=url
arg0 key=prompt.website/
var
   var-nameallowallschemes/var-name
   var-valuetrue/var-value
/var
var
   var-nameallow2slashes/var-name
   var-valuetrue/var-value
/var
/field

I have tried
www.maintainfit.com
http://www.maintainfit.com

niether of which work.  Is there some special format that this validation
expects.  Is there some way to make it accept the above URLs as valid?

DW



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Identify web user in intranet

2005-02-09 Thread Ashish Kulkarni
Hi
Is there any thing unique to identify the client
machine(desktop) other then IP address?
I have a situtation where in my intranet, i need to
identify the machine uniquely and do some processing,
But the problem is that we dont haev static IP
address, but dynamic IP address.
I want to display a particular screen if the user is
using a perticular computer or network node

Ashish



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSP produces invalid XML?

2005-02-09 Thread Laurent
Jeff Beal wrote:
Laurent wrote:
Of course, I can perfectly understand that in non-XML JSP mode there 
may be glitches in the way the XML is parsed. However, I don't believe 
it is acceptable to output something that isn't XML when you've 
explicitly demanded to have XML. (For example, Mozilla-based browsers 
refuse to display the page and show an XML Parsing Error instead 
(when an XML mime-type is used).)
I just scanned the JSP Document specification (From JSP 1.2), and I 
didn't see anything in there to indicate that JSP Documents have 
anything to do with *outputting* XML.  It seems that they are only an 
XML-compliant way to author the JSP page.  Section 5.1 (Uses for XML 
Syntax for JSP Pages) makes no mention of using JSP to generate XML. 
Ok, thanks for your quick reply!
Well I still think that
   1. sending a text/xml mime-type by default
   2. adding ?xml version=1.0 encoding=UTF-8?
  automatically at the top of the file
only make sense if you're trying to output XML (and gives a strong 
indication that that's what you're trying to do, even though it is 
apparently not the case here).

And also:
   3. It seems absurd that having bbold/b or
  lt;bgt;boldlt;/bgt; in source code produces *exactly* the
  same output (bbold/b), because if you wrote it differently
  you probably mean 2 different things (e.g. in the first case you
  want bold text, in the second case you're explaining HTML
  formatting)
   4. normal jsp files get it right (but for different reasons...)
So it would be nice if there was a way of telling the parser you're 
generating XML. But for now, I'll have to do without.


 Section 5.2.1 begins with The semantic model of a JSP document is 
unchanged from that of a JSP page in JSP syntax.  Taken with the rest 
of what I read, it seems that a '.jspx' file is just using a different 
kind of syntactic sugar to pass instructions to the JSP compiler.
IMHO it is more than that: jsp is PHP-ish tag soup, whereas jspx source 
MUST be well-formed XML (it is parsed and namespaces are interpreted, 
etc.); simply using the XML syntax is not enough. This kind of 
garantees you have clean maintanable source code, and also helps to 
seperate layout and content.
But that's more a question of opinion :)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SessionState vs. request state.

2005-02-09 Thread Brian McGovern
Hi,

I'm planning my approach to a data driven app that I have to write in the near 
future.  I've used struts before in more of a demo-type, proof of concept 
scenarios, and am no where near and expert, but now need to build a production 
level system.

For a web app that needed to display a username on every screen I was 
previously doing it like this:

HttpSession zCurrentSession = request.getSession(false);
if (zCurrentSession == null){
zCurrentSession = request.getSession(true);
}
try {
zUserInfoBn = zUserData.getUserInfo(sEmailAddress);
zUserInfoBn.setIsLoggedIn(true);
 }catch (ApplicationException zAppEx){
  throw zAppEx;  //stubbed out not complete
 }
 zCurrentSession.setAttribute(sUSERINFO_BN, zUserInfoBn);

So I'm hoping I can get some opinions on how to display things like user 
information on the screens in an intelligent way.  I'm not sure where the trade 
offs are between hitting the DB every time and storing at the request level, 
using cookies, or storing it some other way.

Any ideas would be helpful.  I'm in the rare position of being able to take my 
time and think out the approach and would love input from people who've got 
more experience than me. 

My env is linux, tomcat 5.0.28, latest jdk, struts, separate box running db 
(sql server 2000 w/ stored procs) on a 2.8ghz xeon box with 1 gig mem.  To 
start the app shouldnt get more than 50,000 page views a month.

Thanks
-Brian


Re: SessionState vs. request state.

2005-02-09 Thread Eric Lemle
Use the

 bean:write 

tag, and you could use tiles and put it in your template.


Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111 
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]


 [EMAIL PROTECTED] 2/9/2005 3:47:19 PM 
Hi,

I'm planning my approach to a data driven app that I have to write in
the near future.  I've used struts before in more of a demo-type, proof
of concept scenarios, and am no where near and expert, but now need to
build a production level system.

For a web app that needed to display a username on every screen I was
previously doing it like this:

HttpSession zCurrentSession = request.getSession(false);
if (zCurrentSession == null){
zCurrentSession = request.getSession(true);
}
try {
zUserInfoBn = zUserData.getUserInfo(sEmailAddress);
zUserInfoBn.setIsLoggedIn(true);
 }catch (ApplicationException zAppEx){
  throw zAppEx;  //stubbed out not complete
 }
 zCurrentSession.setAttribute(sUSERINFO_BN, zUserInfoBn);

So I'm hoping I can get some opinions on how to display things like
user information on the screens in an intelligent way.  I'm not sure
where the trade offs are between hitting the DB every time and storing
at the request level, using cookies, or storing it some other way.

Any ideas would be helpful.  I'm in the rare position of being able to
take my time and think out the approach and would love input from people
who've got more experience than me. 

My env is linux, tomcat 5.0.28, latest jdk, struts, separate box
running db (sql server 2000 w/ stored procs) on a 2.8ghz xeon box with 1
gig mem.  To start the app shouldnt get more than 50,000 page views a
month.

Thanks
-Brian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SessionState vs. request state.

2005-02-09 Thread Martin Gainty
Brian
I vote for storing information in session variables for the simple reason 
most Admins do not allow Browsers writing cookies on the hard drive for fear 
of introducing viruses to the system
+1 for session variables

Martin Gainty


From: Brian McGovern [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject: SessionState vs. request state.
Date: Wed, 9 Feb 2005 17:47:19 -0500
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC6-F17.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Feb 2005 14:45:42 -0800
Received: (qmail 49425 invoked by uid 500); 9 Feb 2005 22:45:30 -
Received: (qmail 49412 invoked by uid 99); 9 Feb 2005 22:45:30 -
Received: pass (hermes.apache.org: local policy)
Received: from leni.reliaserve.com (HELO imediainc.com) (64.241.144.147)  
by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Feb 2005 14:45:30 -0800
X-Message-Info: JGTYoYF78jESkPxkwn2FXw4rMlcuUOy2In/RcGEKnAU=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:user@struts.apache.org
List-Id: Struts Users Mailing List user.struts.apache.org
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.1 
required=10.0tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE
X-Spam-Check-By: apache.org
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SessionState vs. 
request state.
Thread-Index: AcUO+QeVnpJ3anHJRmmIRsAR1nyw2Q==
X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 09 Feb 2005 22:45:42.0176 (UTC) 
FILETIME=[15968A00:01C50EF9]

Hi,
I'm planning my approach to a data driven app that I have to write in the 
near future.  I've used struts before in more of a demo-type, proof of 
concept scenarios, and am no where near and expert, but now need to build a 
production level system.

For a web app that needed to display a username on every screen I was 
previously doing it like this:

HttpSession zCurrentSession = request.getSession(false);
if (zCurrentSession == null){
zCurrentSession = request.getSession(true);
}
try {
zUserInfoBn = zUserData.getUserInfo(sEmailAddress);
zUserInfoBn.setIsLoggedIn(true);
 }catch (ApplicationException zAppEx){
  throw zAppEx;  //stubbed out not complete
 }
 zCurrentSession.setAttribute(sUSERINFO_BN, zUserInfoBn);
So I'm hoping I can get some opinions on how to display things like user 
information on the screens in an intelligent way.  I'm not sure where the 
trade offs are between hitting the DB every time and storing at the request 
level, using cookies, or storing it some other way.

Any ideas would be helpful.  I'm in the rare position of being able to take 
my time and think out the approach and would love input from people who've 
got more experience than me.

My env is linux, tomcat 5.0.28, latest jdk, struts, separate box running db 
(sql server 2000 w/ stored procs) on a 2.8ghz xeon box with 1 gig mem.  To 
start the app shouldnt get more than 50,000 page views a month.

Thanks
-Brian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Redirect instead of forward in action mapping

2005-02-09 Thread Bill Siggelkow
Set the redirect attribute on the forward to true:
forward name=success path=register.success redirect=true/
Of course, if the success page displays data you will need to make sure 
that is is available in the session since it you will be issuing a new 
request. (You may want to look into the saveMessages(HttpSession 
session) method).

Neil Aggarwal wrote:
Hello:
When I set up a form in struts, I am using this action
mapping:
action path=/registerForm
type=register.RegisterAction
name=registerForm
scope=request
input=register.index
validate=true
  forward name=success path=register.success/
/action
When the form is posted successfully, the user is forwarded
to a page that says their information was entered successfully.
Unfortunately, if they hit reload on that page, it will re-execute
the form and their data will be posted again.
To get around this, I use a redirect instead of forward in many
of my apps.
Is there a way to do that within struts?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to Resize the window in my popup

2005-02-09 Thread senthil Kumar
my code is here.




function MM_callProjectSummary() {
   
previewSummary = 
window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.value
 +,previewwin,previewwin,scrollbars=yes,resizable=yes, location=no );
 previewSummary.focus();
   }


Re: How to Resize the window in my popup

2005-02-09 Thread Frank W. Zammetti
Simply add width and height to your window.open() call parameters...
function MM_callProjectSummary() {
  previewSummary = 
window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.value 
+,previewwin,previewwin,width=1180,height=924,scrollbars=yes,resizable=yes, 
location=no );
  previewSummary.focus();

}
...just change them to the size you want.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
senthil Kumar wrote:
my code is here.

function MM_callProjectSummary() {
   
previewSummary = window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.value +,previewwin,previewwin,scrollbars=yes,resizable=yes, location=no );
 previewSummary.focus();
   }


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to Resize the window in my popup

2005-02-09 Thread senthil Kumar
Sir.,


 Now it is comming, thanks.
 How to set autosize of the Window.
I mean without scroll bar the window size show according to the data
available in window.


Thanks in advance.



- Original Message -
From: Frank W. Zammetti [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, February 10, 2005 10:57 AM
Subject: Re: How to Resize the window in my popup


 Simply add width and height to your window.open() call parameters...

 function MM_callProjectSummary() {

previewSummary =

window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.v
alue

+,previewwin,previewwin,width=1180,height=924,scrollbars=yes,resizabl
e=yes,
 location=no );
previewSummary.focus();

 }

 ...just change them to the size you want.

 --
 Frank W. Zammetti
 Founder and Chief Software Architect
 Omnytex Technologies
 http://www.omnytex.com


 senthil Kumar wrote:
  my code is here.
 
 
 
 
  function MM_callProjectSummary() {
 
  previewSummary =
window.open(ViewProjectSummary.do?projectId=+document.forms[0].projectId.v
alue +,previewwin,previewwin,scrollbars=yes,resizable=yes,
location=no );
   previewSummary.focus();
 }
 



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]