AW: AW: display tag and struts

2003-10-15 Thread Otto, Frank
Hello Dirk,

thanks for your answer.

how can I use JSTL in this way?


Regards,

Frank

-Ursprüngliche Nachricht-
Von: Dirk Markert [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 16. Oktober 2003 08:43
An: Struts Users Mailing List
Betreff: Re: AW: display tag and struts


Hello Frank,
   use something like:


  



Or you can use JSTL.
  

***

OF> Hi,

OF> I have asked this question in display-tag maillist, but I got no answer.

OF> I think the i18n with display-tag is a "struts problem", because I read the mail 
from Nelson in display-tag maillist and he has the same problem. Struts can't parse 
nested tags. Mail of Nelson:

OF> -
OF> Von: Nelson Ferreira Jr [mailto:[EMAIL PROTECTED]
OF> Gesendet: Mittwoch, 15. Oktober 2003 21:38
OF> An: [EMAIL PROTECTED]
OF> Betreff: [displaytag-user] Display taglib and struts
OF> internationalization


OF>Hi,

OF>I´d like to internationalize my table headers, reading the column title 
OF> from ApplicationResources. Something like this:

OF> "/>

OF>But it looks like Struts does not parse nested tags, and I just get a 
OF> blank title. Any ideas?


OF>Thanks,

OF>   
Nelson 
OF> 




OF> -Ursprüngliche Nachricht-
OF> Von: Yansheng Lin [mailto:[EMAIL PROTECTED]
OF> Gesendet: Mittwoch, 15. Oktober 2003 23:42
OF> An: 'Struts Users Mailing List'
OF> Betreff: RE: display tag and struts


OF> Hi Frank, you might want to ask this question on display-tag maillist.  I
OF> subscribed to that list a while ago, and as far as I can tell, there are quite a
OF> few nice people on the list.

OF> As to your sorting problem,  I don't think it has anything to do with the scope.
OF> I got it working with request scope Can you do paging?  And what kind of
OF> error message do you get?



OF> -Original Message-
OF> From: Otto, Frank [mailto:[EMAIL PROTECTED] 
OF> Sent: October 15, 2003 9:27 AM
OF> To: Struts-User (E-Mail)
OF> Subject: display tag and struts


OF> Hello,
 
OF> I have read something about diplay tag library and have test it. If I want to
OF> sort the table by clicking on column, I will get an error, because my collection
OF> is null. It isn't saved in the session, only in the request. An idea?
 
OF> My other questions is:
 
OF> - Can I use display tag with i18n and resource bundles? I need the column titles
OF> in different languages.
 
 
OF> Regards,
 
OF> Frank


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

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



Regards,
Dirk

+--- Quality leads ---+
| Dirk Markert [EMAIL PROTECTED] |
| Dr. Markert Softwaretechnik AG  |
| Joseph-von-Fraunhofer-Str. 20   |
| 44227 Dortmund  |
+-->>> to success! <<-+ 


-
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: AW: display tag and struts

2003-10-15 Thread Dirk Markert
Hello Frank,
   use something like:


  



Or you can use JSTL.
  

***

OF> Hi,

OF> I have asked this question in display-tag maillist, but I got no answer.

OF> I think the i18n with display-tag is a "struts problem", because I read the mail 
from Nelson in display-tag maillist and he has the same problem. Struts can't parse 
nested tags. Mail of Nelson:

OF> -
OF> Von: Nelson Ferreira Jr [mailto:[EMAIL PROTECTED]
OF> Gesendet: Mittwoch, 15. Oktober 2003 21:38
OF> An: [EMAIL PROTECTED]
OF> Betreff: [displaytag-user] Display taglib and struts
OF> internationalization


OF>Hi,

OF>I´d like to internationalize my table headers, reading the column title 
OF> from ApplicationResources. Something like this:

OF> "/>

OF>But it looks like Struts does not parse nested tags, and I just get a 
OF> blank title. Any ideas?


OF>Thanks,

OF>   
Nelson 
OF> 




OF> -Ursprüngliche Nachricht-
OF> Von: Yansheng Lin [mailto:[EMAIL PROTECTED]
OF> Gesendet: Mittwoch, 15. Oktober 2003 23:42
OF> An: 'Struts Users Mailing List'
OF> Betreff: RE: display tag and struts


OF> Hi Frank, you might want to ask this question on display-tag maillist.  I
OF> subscribed to that list a while ago, and as far as I can tell, there are quite a
OF> few nice people on the list.

OF> As to your sorting problem,  I don't think it has anything to do with the scope.
OF> I got it working with request scope Can you do paging?  And what kind of
OF> error message do you get?



OF> -Original Message-
OF> From: Otto, Frank [mailto:[EMAIL PROTECTED] 
OF> Sent: October 15, 2003 9:27 AM
OF> To: Struts-User (E-Mail)
OF> Subject: display tag and struts


OF> Hello,
 
OF> I have read something about diplay tag library and have test it. If I want to
OF> sort the table by clicking on column, I will get an error, because my collection
OF> is null. It isn't saved in the session, only in the request. An idea?
 
OF> My other questions is:
 
OF> - Can I use display tag with i18n and resource bundles? I need the column titles
OF> in different languages.
 
 
OF> Regards,
 
OF> Frank


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

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



Regards,
Dirk

+--- Quality leads ---+
| Dirk Markert [EMAIL PROTECTED] |
| Dr. Markert Softwaretechnik AG  |
| Joseph-von-Fraunhofer-Str. 20   |
| 44227 Dortmund  |
+-->>> to success! <<-+ 


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



Re: Validator vs. XForms

2003-10-15 Thread Craig R. McClanahan
Stephan Wiesner wrote:

? The validator lets me set rules for the input fields in my forms. So 
does XForms. There are already tools to generate the necessary 
JavaScript for that (IBM Alphaworks) or to validate the input on the 
Server (Chiba) and display errors.


The challenge for XForms is that there are (effectively) zero clients 
with XForms support already installed in the world.  If IE were to 
support XForms natively, that would be one thing, but it doesn't ... and 
even Microsoft's InfoPath is not planning to support XForms.  So why 
should anyone care?

By the way, building XForms "submit" support into Struts -- or pretty 
much any servlet-based environment -- would be a straightforward thing 
to do with a Filter.

Stephan


Craig


Yansheng Lin wrote:

Sorry, I don't get it.  It has nothing to do with the Validator 
Any pointers appreciated!

-Original Message-
From: Stephan Wiesner [mailto:[EMAIL PROTECTED] Sent: October 
15, 2003 11:49 AM
To: Struts Users Mailing List
Subject: Validator vs. XForms

What is the future of the Validator, concerning the now finalized 
XForms specification? As I understand it, both do about the same. 
Will there be a kind of merge?

Stephan

-
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]




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


RE: html:hidden, disabled attribute

2003-10-15 Thread Robert Lamping
Dear Haiwei,

>but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

What is then the purpose of have the hidden tag in it? You could also leave
it out.
You can always access a property using the  tag.

Kind regards,

Robert

-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: html:hidden, disabled attribute


Thanks for your response. We have a need to include a hidden tag in the
form; but sometime we want the hidden tag to be disabled so its value will
not be posted to the server. 

I have filed a bug report. The problem will be fixed in the future Struts
releases.

-Original Message-
From: Robert Lamping [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 6:38 PM
To: Struts Users Mailing List
Subject: RE: html:hidden, disabled attribute


Haiwei,

The purpose of the hidden tag is to keep the property and its value in the
dataset of the form. And you will use it, when you don't want to expose the
value to the user.
Whereas the disabled attribute will exclude the property from the dataset in
the request. 

For your information. When you would have a unique value for the item
presented on the screen and you use , then
you will find out
that the property for this unique value is not in your request. With the
normal getters and setters, your unique value now gets blanked. "". And gone
is your unique code.

Hence, the hidden tag and the disabled attribute are more or less mutually
exclusive.

Kind regards,

Robert Lamping


-Original Message-
From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 5:36 PM
To: Struts Users Mailing List (E-mail)
Subject: html:hidden, disabled attribute


Does anyone know whether future Struts release will support the "disabled"
attribute for the  tag? 

For some reason, it is not supported in the Struts 1.1. Does anyone know the
reason behind that?

Thanks.

Haiwei

-
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]

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



AW: display tag and struts

2003-10-15 Thread Otto, Frank
Hi,

I have asked this question in display-tag maillist, but I got no answer.

I think the i18n with display-tag is a "struts problem", because I read the mail from 
Nelson in display-tag maillist and he has the same problem. Struts can't parse nested 
tags. Mail of Nelson:

-
Von: Nelson Ferreira Jr [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 21:38
An: [EMAIL PROTECTED]
Betreff: [displaytag-user] Display taglib and struts
internationalization


   Hi,

   I´d like to internationalize my table headers, reading the column title 
from ApplicationResources. Something like this:

"/>

   But it looks like Struts does not parse nested tags, and I just get a 
blank title. Any ideas?


   Thanks,

  
Nelson 





-Ursprüngliche Nachricht-
Von: Yansheng Lin [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 23:42
An: 'Struts Users Mailing List'
Betreff: RE: display tag and struts


Hi Frank, you might want to ask this question on display-tag maillist.  I
subscribed to that list a while ago, and as far as I can tell, there are quite a
few nice people on the list.

As to your sorting problem,  I don't think it has anything to do with the scope.
I got it working with request scope Can you do paging?  And what kind of
error message do you get?



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: October 15, 2003 9:27 AM
To: Struts-User (E-Mail)
Subject: display tag and struts


Hello,
 
I have read something about diplay tag library and have test it. If I want to
sort the table by clicking on column, I will get an error, because my collection
is null. It isn't saved in the session, only in the request. An idea?
 
My other questions is:
 
- Can I use display tag with i18n and resource bundles? I need the column titles
in different languages.
 
 
Regards,
 
Frank


-
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: intRange Validation works but displays always null

2003-10-15 Thread Dirk Markert
Hello Martin,

   change

   to

***

MG> Hello togehter,

MG> i have a problem with range validation. I think it is a simple thing but I
MG> can't get it solved.
MG> I already searched the archive but can't find a solution.
MG> I defined a Form in validation.xml with a field like this:

MG> 
MG> 
MG>  // Tried it
MG> already with name="range"
MG> 
MG> 
MG>   min
MG>   1
MG> 
MG> 
MG>   max
MG>   31
MG> 
MG> 

MG> in Application Resources the entry is:

MG> errors.range={0} ist nicht im Bereich von {1} bis {2}.

MG> Results in my jsp to message :
MG> Datum ist nicht im Bereich von null bis null 

MG> Why does it not Display not Datum ist nicht im Bereich von 1 bis 31?

MG> Thanks in advance,
MG> Martin Grüneberg
 



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



Regards,
Dirk

+--- Quality leads ---+
| Dirk Markert [EMAIL PROTECTED] |
| Dr. Markert Softwaretechnik AG  |
| Joseph-von-Fraunhofer-Str. 20   |
| 44227 Dortmund  |
+-->>> to success! <<-+ 


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



Is this a bug? html:image tag rewriting src attribute

2003-10-15 Thread James JKE95 Kerridge
Hi,

I am using the  tag and I notice that if I open a new browser 
and access the page with the image tag I get an error (i.e. internet 
explorer says ! Done but with errors in the bottom left of the status 
bar.) Also the image doesn't load correctly.

On inspection I notice that:



has been rendered as:



Notice that the src attribute's URL has been rewritten to include the 
tradesite cookie. The source code confirms this is the intention.

I don't think this is correct. I can understand why the URL should be 
rewritten on the form tag and also links but why would it be done for a 
URL of a graphic?

Should I raise this as a bug or am I misunderstanding a fundamental of web 
development here.

Note this also happens for the img tag.

To fix this I have used plain html for the image tag, but I would like to 
use the struts tags because they are fantastic!

Cheers

James

***Confidentiality and Privilege Notice***

This email is intended only to be read or used by the addressee. 
It is confidential and may contain legally privileged information. 
If you are not the addressee indicated in this message (or 
responsible for delivery of the message to such person), you 
may not copy or deliver this message to anyone, and you should 
destroy this message and kindly notify the sender by reply email. 
Confidentiality and legal privilege are not waived or lost by
reason of mistaken delivery to you.

Qantas Airways Limited
ABN 16 009 661 901

Visit Qantas online at http://www.qantas.com.au



Re: Validator vs. XForms

2003-10-15 Thread Stephan Wiesner
? The validator lets me set rules for the input fields in my forms. So 
does XForms. There are already tools to generate the necessary 
JavaScript for that (IBM Alphaworks) or to validate the input on the 
Server (Chiba) and display errors.

Stephan

Yansheng Lin wrote:

Sorry, I don't get it.  It has nothing to do with the Validator 
Any pointers appreciated!

-Original Message-
From: Stephan Wiesner [mailto:[EMAIL PROTECTED] 
Sent: October 15, 2003 11:49 AM
To: Struts Users Mailing List
Subject: Validator vs. XForms

What is the future of the Validator, concerning the now finalized XForms 
specification? As I understand it, both do about the same. Will there be 
a kind of merge?

Stephan

-
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]


RE: html:checkbox Tag problem

2003-10-15 Thread Lynn Guy
I think multibox will return the "value" of the
checked items which might help you out.

--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Faisal wrote:
> > I populate data from database in to the Action
> form, which i am using
> to
> > display multiple records in the JSP Page. Here i
> am using
>  > an indicator to every record in the the page. I
> have associated the
> > checkobox with String array Property. My Problem
> is when i submit the
> form 
> > and say form.getPropertyName(), I am getting the
> values of only the
> checked 
> > items. I would like to know how to iniatilize the
> unchecked values and
> how 
> > struts handles. I need it urgently .
> 
> The request will only contain successful form
> elements.  Un-checked
> checkboxes are NOT successful and will not be in the
> request.  (This is
> an HTML/browser thing, not Struts.)
> 
> If you need something to come through in the
> request, 
> might be appropriate.  Post some of the JSP and your
> Form bean, and
> perhaps someone will have an idea for you.
> 
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University, PA, IRM 
> 
>
-
> 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 and Links

2003-10-15 Thread Max Cooper
The forward is a forward, not necessarily a request that Struts will know
how to handle when it comes in from the outside (which is what will happen
with a link). With the JSP residing in the WEB-INF subtree, it could not be
served directly anyway.

You probably want to setup a doGetCostCenter action mapping, and use that
for your link instead. Inside that action mapping, you'll want a forward to
the /WEB-INF/pages/getcostcenter.jsp page.

OPTIONAL: If you want to be able to have other actions forward to the
doGetCostCenter action, you could setup a global forward that forwards to a
"/doGetCostCenter.do" path, which will send the request first through the
action and then the doGetCostCenter action will forward to the JSP. You
might want to make that a redirect forward (by setting redirect="true" in
the global forward) so that the URL in the user's browser window will match
the page they see.

-Max


- Original Message - 
From: "Bryce Fischer" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 6:54 PM
Subject: Struts and Links


> I'm crossposting this into the Struts group, as this question may have
> to do with me not understanding how to access a Global Forward inside an
>  tag. Specifically, this deals with DisplayTag. I don't know if I can
> use the  tag there
>
> I'm trying to create a link in my tag that will call a global forward.
> I'm using a decorator to create the link.
>
> My Global Forward looks like this:
>
>  name="doGetCostCenter"
> path="/WEB-INF/pages/getcostcenter.jsp"/>
>
> Currently, my link looks like this:
> Edit
>
> I've tried it:
> doGetCostCenter.do
> \doGetCostCenter (with and without the .do)
>
> I see in the FAQ, it mentions using requestURI in the display:table tag.
> Does this affect how I would create my value in the Decorator class?
>
> Thanks
>
> -- 
> Bryce Fischer <[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]



Help : Great concern on why mapped back ActionForm works in EJB tier

2003-10-15 Thread Low Han Ming
Hi,

I'm using mapped back ActionForm in my project and it is running fine.

However, I have great concern as I don't understand why it works.

My flow of events is as follows

1) User submit action
2) Action handles and mapped to a mapped back ActionForm
3) An event object is JavaBean that wrap the mapped back ActionForm as an
attribute
4) Event object is passed over to the EJB tier through
ejbFacade.handleEvent(Event myevent)
handleEvent is a command pattern that create the corresponding Command
class.
5) ** In mycommand, I'll use the Event to retrieve the mapped back
ActionForm , do the business logic, set some additional values to the mapped
back ActionForm and pass back an EventResponse (another JavaBean, but note
that the ActionForm is not passed back)
6) Back to the web tier, the event will doEnd to decide the forward mapping
7) ** Interesting enough, the next jsp can retrieve the key value set into
the mapped back ActionForm during the command in the EJB tier


Mapped Back ActionForm (MBA)

client -> Action (with MBA) -> Create Event -> event.setForm(MBA) ->
ejbFacade.handleEvent(event) -> ** ejb command getForm.setMBA(key,
newValueObj) -> command returns EventResponse JavaBean -> event.doEnd for
forward mapping -> ** JSP CAN display newValueObj


Isn't the event passed into the EJB tier be a clone of the Web tier event?
If this is the case, then why did changes in the EJB tier ActionForm is
reflected in the Web tier ActionForm.


I have great concern on why this work and really hope that someone could
shed some light on this as without a good understanding, I'm worried that it
might break without knowing why.

I greatly appreciate any explanation on this matter.

Sorry for another request, that is to send the reply to my mail account as
well as I didn't manage to see my previous post appear on the list.

Thanks again and looking forward to a reply.

Cheers.


Han Ming


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



Cannot find ActionMappings or ActionFormBeans collection

2003-10-15 Thread Juan José Velázquez Garcia
Hello,

I'm trying to run a sample from the book Struts in Action without success. I getting 
"Cannot find ActionMappings or ActionFormBeans collection" error. 

If anyone can help me ...

Thanks in advance.

The source code is:

ActionForm.java
===
package app;

import org.apache.struts.action.*;

public class RegisterForm extends ActionForm {
  protected String username;
  protected String password1;
  protected String password2;
 
  public String getPassword1() { return password1; }
  public String getPassword2() { return password2; }
  public String getUsername() { return username; }
  public void setPassword1(String string) { password1 = string; }
  public void setPassword2(String string) { password2 = string; }
  public void setUsername(String string) { username = string; }

}
 
Action.java
==

package app;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class RegisterAction extends Action {

  public ActionForward perform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest req,
HttpServletResponse res)
throws IOException, ServletException {

// Cast the form to RegisterForm
RegisterForm rf = (RegisterForm) form;
String username = rf.getUsername();
String password1 = rf.getPassword1();
String password2 = rf.getPassword2();

if (password1.equals(password2)) {
  try {
UserDirectory.getInstance().setUser(username,password1);
return mapping.findForward("success");
  } catch (UserDirectoryException e) {
return mapping.findForward("failure");
  }
}
return mapping.findForward("failure");

  }

}

struts-config.xml
===

http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>



   

  


  




register.jsp
=

<%@ taglib uri="/WEB-INF/lib/struts-html.tld" prefix="form" %>


 UserName:
 enter password:
 re-enter password:
 





++
  Juan Jose Velazquez Garcia 
Information System Developer 
www.htmlspider.com.br
++


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



Struts and Links

2003-10-15 Thread Bryce Fischer
I'm crossposting this into the Struts group, as this question may have
to do with me not understanding how to access a Global Forward inside an
 tag. Specifically, this deals with DisplayTag. I don't know if I can
use the  tag there

I'm trying to create a link in my tag that will call a global forward.
I'm using a decorator to create the link.

My Global Forward looks like this:



Currently, my link looks like this:
Edit

I've tried it:
doGetCostCenter.do
\doGetCostCenter (with and without the .do)

I see in the FAQ, it mentions using requestURI in the display:table tag.
Does this affect how I would create my value in the Decorator class?

Thanks

-- 
Bryce Fischer <[EMAIL PROTECTED]>


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



Initializing Configuration Parameters..

2003-10-15 Thread Ritvik
Hi There,

In Struts, How to load application specific environment parameters from
an external file i.e properties file at the time of Servlet load up? How
to make suub class of ActionServlet read the evironment\Service
information from a properties file?

regards,
Ritvik


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



RE: javax.servlet.ServletException: Missing message for key "inde x.title"

2003-10-15 Thread Timothy Stewart
Ended up being

  
action
org.apache.struts.action.ActionServlet

application

org.apache.struts.webapp.example.ApplicationResources



in my struts-config.xml I have defined

  
  

  
  

When I look at the server debug output it reads

17:06:54,917 INFO  [PropertyMessageResources] Initializing,
config='org.apache.struts.webapp.example.AlternateApplicationResources',
returnNull=true

Nothing about the ApplicationResources,  Until I added the init-param in the
web.xml.

Where can I find documentation on this struts-config.xml file.  Are you not
supposed to have a message-resource without a key?  
Do you always have to pass the init param to the servlet for a
message-resource without a key?

Thanks Everyone that Suggested solutions,
Timmy




-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 4:21 PM
To: Struts Users Mailing List
Subject: Re: javax.servlet.ServletException: Missing message for key
"index.title"


 

   
 action
 org.apache.struts.action.ActionServlet
 
   application
   resources.properties.messages
 
 

-Martin Gainty

*Everything has a price..*

- Original Message - 
From: "Timothy Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 5:56 PM
Subject: javax.servlet.ServletException: Missing message for key
"index.title"


> I am trying to view the struts-example/index.jsp
>
> when the page loads I get the
> javax.servlet.ServletException: Missing message for key "index.title"
>
> I found the entry in ApplicationResources.properties that defines
> index.title.
> I verified that the ApplicationResources.properties is in the war
>
> I check the documentation for the example and it says
>
> If you check the application's web.xml, you will see how these objects are
> loaded. The message resource is loaded by the application parameter to the
> ActionServlet. When the ActionServlet initializes, it parses the
> ApplicationResources.properties in the package folder into the default
> message resource. If you change a message in the resource, and then reload
> the application, it will appear throughout the application.
>
> I looked at the web.xml and found no mention of the
> ApplicationResources.properties.
>
>   
> action
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml,
> /WEB-INF/struts-config-registration.xml
> 
> 1
>   
>
> I looked at the javadoc for the ActionServlet,  it mentions nothing about
> the resource parameter for the ActionServlet.
>
> How does the Struts framework find these resources? Why is mine failing?
>
> Thanks,
> Timmy
>
>
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
that
> any dissemination, distribution or copying of this e-mail is prohibited.
If
> you have received this e-mail in error, please notify the sender by
replying
> to this message and delete this e-mail immediately.
>
> -
> 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]


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.

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



Re: IDE

2003-10-15 Thread Kirk Wylie
Is there a price that you would feel comfortable paying, or by "a bit 
more open" do you mean that you're looking for a pure open 
source/free-as-in-beer solution?

In addition, our marketing people tell me that we are currently selling 
4.0 Professional for $1495.

Kirk Wylie
M7 Corporation
Voinea, Marina wrote:

But that's expensive : 2000 $ (or else, evaluation for 1 month only). Is
there anything a bit more "open" ?
Thanks,
Marina
-Original Message-
From: Kirk Wylie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 4:53 PM
To: Struts Users Mailing List
Subject: Re: IDE

You might want to evaluate the 4.0 release of the M7 Application
Assembly Suite, Professional Edition.
http://www.m7.com/

Kirk Wylie
M7 Corporation
virupaksha wrote:

 > Dear All,
 >
 > I am working on struts using exadel struts studio,
 > Can any one know other open IDE for struts ..?
 > especially for designing View(Drag & drop approach..?)
 >
 > let me know please..
 >
 > Regards,
 > viru
 >


-
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]


Re: javax.servlet.ServletException: Missing message for key "index.title"

2003-10-15 Thread Martin Gainty
 

   
 action
 org.apache.struts.action.ActionServlet
 
   application
   resources.properties.messages
 
 

-Martin Gainty

*Everything has a price..*

- Original Message - 
From: "Timothy Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 5:56 PM
Subject: javax.servlet.ServletException: Missing message for key
"index.title"


> I am trying to view the struts-example/index.jsp
>
> when the page loads I get the
> javax.servlet.ServletException: Missing message for key "index.title"
>
> I found the entry in ApplicationResources.properties that defines
> index.title.
> I verified that the ApplicationResources.properties is in the war
>
> I check the documentation for the example and it says
>
> If you check the application's web.xml, you will see how these objects are
> loaded. The message resource is loaded by the application parameter to the
> ActionServlet. When the ActionServlet initializes, it parses the
> ApplicationResources.properties in the package folder into the default
> message resource. If you change a message in the resource, and then reload
> the application, it will appear throughout the application.
>
> I looked at the web.xml and found no mention of the
> ApplicationResources.properties.
>
>   
> action
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml,
> /WEB-INF/struts-config-registration.xml
> 
> 1
>   
>
> I looked at the javadoc for the ActionServlet,  it mentions nothing about
> the resource parameter for the ActionServlet.
>
> How does the Struts framework find these resources? Why is mine failing?
>
> Thanks,
> Timmy
>
>
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
that
> any dissemination, distribution or copying of this e-mail is prohibited.
If
> you have received this e-mail in error, please notify the sender by
replying
> to this message and delete this e-mail immediately.
>
> -
> 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: javax.servlet.ServletException: Missing message for key "index.title"

2003-10-15 Thread Barry Volpe
Have not looked at the struts-example in awhile but
here is the entry for the web.xml file:



 application
  ApplicationResources
  


Barry

- Original Message - 
From: "Timothy Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 2:56 PM
Subject: javax.servlet.ServletException: Missing message for key
"index.title"


> I am trying to view the struts-example/index.jsp
>
> when the page loads I get the
> javax.servlet.ServletException: Missing message for key "index.title"
>
> I found the entry in ApplicationResources.properties that defines
> index.title.
> I verified that the ApplicationResources.properties is in the war
>
> I check the documentation for the example and it says
>
> If you check the application's web.xml, you will see how these objects are
> loaded. The message resource is loaded by the application parameter to the
> ActionServlet. When the ActionServlet initializes, it parses the
> ApplicationResources.properties in the package folder into the default
> message resource. If you change a message in the resource, and then reload
> the application, it will appear throughout the application.
>
> I looked at the web.xml and found no mention of the
> ApplicationResources.properties.
>
>   
> action
> org.apache.struts.action.ActionServlet
> 
>   config
>   /WEB-INF/struts-config.xml,
> /WEB-INF/struts-config-registration.xml
> 
> 1
>   
>
> I looked at the javadoc for the ActionServlet,  it mentions nothing about
> the resource parameter for the ActionServlet.
>
> How does the Struts framework find these resources? Why is mine failing?
>
> Thanks,
> Timmy
>
>
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
that
> any dissemination, distribution or copying of this e-mail is prohibited.
If
> you have received this e-mail in error, please notify the sender by
replying
> to this message and delete this e-mail immediately.
>
> -
> 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]



Multiple HTML Parameters stuff

2003-10-15 Thread Joanne L Corless
I'm not sure if it's due to the time of night or maybe I'm just so not
getting this but I'm having trouble getting the values out of the request
in the action class for the multiple parameters I'm passing in from the
jsp.

When I passed a single value through struts-config declared a form bean

 


  

and the action class uses the PropertyUtils class  to retrieve the value:

currentPageName = (String)
PropertyUtils.getSimpleProperty(form,"pageName");

What do I use when I have multiple parameters passed  into the request ?
none of the methods I've tried so far seem to work.

The html:link is creating the  correctly I just need to be able to
get at the values I've passed in

Regards
Joanne Corless

PS Thanks for all the help received so far



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



javax.servlet.ServletException: Missing message for key "index.ti tle"

2003-10-15 Thread Timothy Stewart
I am trying to view the struts-example/index.jsp

when the page loads I get the
javax.servlet.ServletException: Missing message for key "index.title" 

I found the entry in ApplicationResources.properties that defines
index.title.
I verified that the ApplicationResources.properties is in the war

I check the documentation for the example and it says

If you check the application's web.xml, you will see how these objects are
loaded. The message resource is loaded by the application parameter to the
ActionServlet. When the ActionServlet initializes, it parses the
ApplicationResources.properties in the package folder into the default
message resource. If you change a message in the resource, and then reload
the application, it will appear throughout the application.

I looked at the web.xml and found no mention of the
ApplicationResources.properties.

  
action
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml,
/WEB-INF/struts-config-registration.xml

1
  

I looked at the javadoc for the ActionServlet,  it mentions nothing about
the resource parameter for the ActionServlet.  

How does the Struts framework find these resources? Why is mine failing?

Thanks,
Timmy






This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.

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



RE: Validator vs. XForms

2003-10-15 Thread Yansheng Lin

Sorry, I don't get it.  It has nothing to do with the Validator 
Any pointers appreciated!

-Original Message-
From: Stephan Wiesner [mailto:[EMAIL PROTECTED] 
Sent: October 15, 2003 11:49 AM
To: Struts Users Mailing List
Subject: Validator vs. XForms


What is the future of the Validator, concerning the now finalized XForms 
specification? As I understand it, both do about the same. Will there be 
a kind of merge?

Stephan


-
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: display tag and struts

2003-10-15 Thread Yansheng Lin
Hi Frank, you might want to ask this question on display-tag maillist.  I
subscribed to that list a while ago, and as far as I can tell, there are quite a
few nice people on the list.

As to your sorting problem,  I don't think it has anything to do with the scope.
I got it working with request scope Can you do paging?  And what kind of
error message do you get?



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: October 15, 2003 9:27 AM
To: Struts-User (E-Mail)
Subject: display tag and struts


Hello,
 
I have read something about diplay tag library and have test it. If I want to
sort the table by clicking on column, I will get an error, because my collection
is null. It isn't saved in the session, only in the request. An idea?
 
My other questions is:
 
- Can I use display tag with i18n and resource bundles? I need the column titles
in different languages.
 
 
Regards,
 
Frank


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



Re: Can we override in struts-config?

2003-10-15 Thread Craig R. McClanahan
Derek Richardson wrote:

If I have an action mapping for path "/abc" in struts config a, and a different mapping for path "/abc" in struts config b, and I specify struts config b after struts config a in my init param for the action servlet, does the mapping in b override the mapping in a? If so, is the accidental behavior that should not be relied upon or is it something that will not change?

What about for other elements, like form-bean or message-resources or forward (in a global-forwards section)?

We are searching for a way to make our product extensible without forcing users to change our base struts-config - it will be very useful if they can define their own struts config and selectively override elements of ours.
 

In general, the last definition of any item wins.

Thanks,

Derek Richardson

Craig



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


Re: struts 1.1 and multiple applications

2003-10-15 Thread Craig R. McClanahan
Scott Tiger wrote:

We have one struts application working on a weblogic server 5.1 service pack 13. 

I have put all the struts and apache libraries(struts.jar and commo**.jar, xerces.jar etc ) in the server class path. They are  not in the web-inf/lib directory.

This is not a supported configuration.

 http://jakarta.apache.org/struts/userGuide/configuration.html#config_add

Craig



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


Re: IDE

2003-10-15 Thread Barry Volpe
Eclipse, Tomcat, JBoss, Xdoclet all open and free.

Works for me..

Barry


- Original Message - 
From: "Voinea, Marina" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 2:19 PM
Subject: RE: IDE


> But that's expensive : 2000 $ (or else, evaluation for 1 month only). Is
> there anything a bit more "open" ?
> 
> Thanks,
> Marina
> 
> -Original Message-
> From: Kirk Wylie [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 4:53 PM
> To: Struts Users Mailing List
> Subject: Re: IDE
> 
> 
> 
> You might want to evaluate the 4.0 release of the M7 Application 
> Assembly Suite, Professional Edition.
> http://www.m7.com/
> 
> 
> Kirk Wylie
> M7 Corporation
> 
> virupaksha wrote:
> 
> > Dear All,
> > 
> > I am working on struts using exadel struts studio,
> > Can any one know other open IDE for struts ..?
> > especially for designing View(Drag & drop approach..?)
> > 
> > let me know please..
> > 
> > Regards,
> > viru
> > 
> 
> 
> 
> -
> 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]



RE: IDE

2003-10-15 Thread Voinea, Marina
But that's expensive : 2000 $ (or else, evaluation for 1 month only). Is
there anything a bit more "open" ?

Thanks,
Marina

-Original Message-
From: Kirk Wylie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 4:53 PM
To: Struts Users Mailing List
Subject: Re: IDE



You might want to evaluate the 4.0 release of the M7 Application 
Assembly Suite, Professional Edition.
http://www.m7.com/


Kirk Wylie
M7 Corporation

virupaksha wrote:

> Dear All,
> 
> I am working on struts using exadel struts studio,
> Can any one know other open IDE for struts ..?
> especially for designing View(Drag & drop approach..?)
> 
> let me know please..
> 
> Regards,
> viru
> 



-
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]



Cannot redirect within Tiles?

2003-10-15 Thread David Erickson
Essentially I have a tile that includes a bunch of little jsps.  Actually I
am integrating Yazd messageboard into our app.  But anyway it posts to
itself (has the logic to do so) and if the post is successful it does a
response.sendRedirect to another page instead of displaying itself again.
Well I'm not getting any errors on it sending the redirect, but when the
page loads its just empty in the spot where the redirected jsp should
display.

Anyone else experiencing this or able to accomplish it?
thanks
-David




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



Re: IDE

2003-10-15 Thread Kirk Wylie

You might want to evaluate the 4.0 release of the M7 Application 
Assembly Suite, Professional Edition.
http://www.m7.com/


Kirk Wylie
M7 Corporation
virupaksha wrote:

Dear All,

I am working on struts using exadel struts studio,
Can any one know other open IDE for struts ..?
especially for designing View(Drag & drop approach..?)
let me know please..

Regards,
viru


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


Can we override in struts-config?

2003-10-15 Thread Derek Richardson
If I have an action mapping for path "/abc" in struts config a, and a different 
mapping for path "/abc" in struts config b, and I specify struts config b after struts 
config a in my init param for the action servlet, does the mapping in b override the 
mapping in a? If so, is the accidental behavior that should not be relied upon or is 
it something that will not change?

What about for other elements, like form-bean or message-resources or forward (in a 
global-forwards section)?

We are searching for a way to make our product extensible without forcing users to 
change our base struts-config - it will be very useful if they can define their own 
struts config and selectively override elements of ours.

Thanks,

Derek Richardson

Note: I would have marked this message "UNIMPORTANT" in the subject line, but then 
everyone might have skipped it. :)

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



RE: Request Scope Lifetime & Propagation

2003-10-15 Thread Wendy Smoak
John wrote:
> Is there anyway to propagate data from request to request? 
> That is I have some data used in one request (which renders a JSP) 
> which I want included into the next request. 
> The data in question is in the request scope and 
> is not really appropriate for the session scope (since they would 
> have to be cleaned-up if a user begins the request chain again).

Granted it may not be _appropriate_ for session scope, but is it going
to hurt anything there?  If it makes life easier, I'd put in session
scope.  A bit of cleanup code at the beginning of the process (some
session.removeAttribute() calls?) may be easier than dealing with hidden
form fields or parameters in the URL.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

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



[OT] Re: IMPORTANT: & how to tell [I0F0D!H]

2003-10-15 Thread Susan Bradeen
On 10/15/2003 02:17:30 PM Jeff Kyser wrote:

> A close second would be:
> 
> 'Fatter than what, dear?"
> 

LOL! No, IMO this is a great response, although the majority of my gender 
probably wouldn't agree. :)

Susan

> -jeff
> 
> On Wednesday, October 15, 2003, at 01:12  PM, Chen, Gin wrote:
> 
> > The most stupid (note the grammer Larry ;) thing for a mammal to say
> > is:
> > "Yes Dear.. That dress *does* make you look fat"
> > -Tim
> >
> > -Original Message-
> > From: Larry Meadors [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 15, 2003 1:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: IMPORTANT: & how to tell
> >
> >
> > Brandon,
> >
> > It is not that you are a stupid person per se, but that idea is quite
> > possibly the stupidest thing I have heard a *mammal* suggest.
> >
> > Larry
> >
>  [EMAIL PROTECTED] 10/15/03 10:06 AM >>>
> > How about we set up a review board that examines every post to the
> > list.
> > Discards pointless discussions (like this one) and rates them 
according
> > to a scale of importance to the community. Then they place them into
> > bugzilla where they will be propagated to the struts list subscribers
> > as
> > tasks.
> >
> > :-\
> >
> > Thoughts? Further Sarcasm? :-D
> >
> > -
> > 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]
> >
> 
> 
> -
> 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: IMPORTANT: & how to tell

2003-10-15 Thread Larry Meadors
Well, I tried this once, (note to self: bad):

"No...the dress is fine, the jelly donuts make you look fat."

Larry

>>> [EMAIL PROTECTED] 10/15/03 12:17 PM >>>
A close second would be:

'Fatter than what, dear?"

-jeff

On Wednesday, October 15, 2003, at 01:12  PM, Chen, Gin wrote:

> The most stupid (note the grammer Larry ;) thing for a mammal to say 
> is:
> "Yes Dear.. That dress *does* make you look fat"
> -Tim
>
> -Original Message-
> From: Larry Meadors [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: IMPORTANT: & how to tell
>
>
> Brandon,
>
> It is not that you are a stupid person per se, but that idea is quite
> possibly the stupidest thing I have heard a *mammal* suggest.
>
> Larry
>
 [EMAIL PROTECTED] 10/15/03 10:06 AM >>>
> How about we set up a review board that examines every post to the 
> list.
> Discards pointless discussions (like this one) and rates them
according
> to a scale of importance to the community. Then they place them into
> bugzilla where they will be propagated to the struts list subscribers 
> as
> tasks.
>
> :-\
>
> Thoughts? Further Sarcasm? :-D
>
> -
> 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]
>


-
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: IMPORTANT: & how to tell

2003-10-15 Thread Adam Hardy
Obviously the first act of this review board has been to decide that 
[Wednesday] is in fact [Friday]

On 10/15/2003 08:53 PM Paananen, Tero wrote:
		I think the best thing for all of us to do
is to vote to get Larry out of the struts list. 


I want to assemble a review board to review this
proposal.
I nominate Raghu to head it.

-TPP - do we need review board to review the proposals
   to establish review boards?


--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Struts 1.2

2003-10-15 Thread Wendy Smoak
Erez wrote:
> Is there some sort of beta for 1.2? Is anyone working with it right
now?

Isn't the nightly build what will be 1.2?  If so, yes, I'm working with
it on a new project.  I have 10/14 currently, works fine for me...

(Are we going to have the "how stable are the nightly builds" discussion
now?  FWIW, I developed and tested with nightly builds of 1.1 and was
prepared to go live with it, but the release coincided almost exactly
with my live date.  I probably had one of the first live Struts 1.1
webapps, and that's only because I had been using it all along.  In all
that time I had exactly *one* major issue and dropped back to the
previous night's build for a day until the fix went in.)

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 


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



RE: IMPORTANT: & how to tell

2003-10-15 Thread Paananen, Tero
>   I think the best thing for all of us to do
> is to vote to get Larry out of the struts list. 

I want to assemble a review board to review this
proposal.

I nominate Raghu to head it.

-TPP - do we need review board to review the proposals
   to establish review boards?


-
This email may contain confidential and privileged material for the sole use of the 
intended recipient(s). Any review, use, retention, distribution or disclosure by 
others is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete all 
copies of this message.  Also, email is susceptible to data corruption, interception, 
tampering, unauthorized amendment and viruses. We only send and receive emails on the 
basis that we are not liable for any such corruption, interception, tampering, 
amendment or viruses or any consequence thereof.


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



struts 1.1 and multiple applications

2003-10-15 Thread Scott Tiger
We have one struts application working on a weblogic server 5.1 service pack 13. 
 
I have put all the struts and apache libraries(struts.jar and commo**.jar, xerces.jar 
etc ) in the server class path. They are  not in the web-inf/lib directory.
 
I added another application which is similar to the first one.
 
Since the two applications are similar they have similar struts config file. The form 
bean in the other application has one more extra property. This is a DynaValidatorForm.
 
When I start my application the config files get loaded for both the applications. The 
new application gets loaded after the first application.
 
The first one runs fine. But I get an error for the second one.
 
If I remove the extra bean property both the applications work.
 
Is it because the struts config files are not getting initialized for the second 
application.
 
I have tried deploying the applications so that the struts libraries are in the 
WEB-INF/lib directory. But I keep getting class not found errors.
 
 
Wed Oct 15 12:27:38 EDT 2003:  /: init
Wed Oct 15 12:27:38 EDT 2003:  Root caus
e of ServletException
javax.servlet.jsp.JspException: Exception creating bean of class org.apache.stru
ts.validator.DynaValidatorForm: {1}
at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
at jsp_servlet.__login._jspService(__login.java:194)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:138)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:320)
at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:946)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:910)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:277)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:403)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:285)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130)

 
-Scott



-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Re: Struts 1.2

2003-10-15 Thread Indrajit Raychaudhuri

- Original Message - 
From: "Erez Efrati" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, 15 October, 2003 23:25
Subject: Struts 1.2


...
> Is there some sort of beta for 1.2? Is anyone working with it right now?

http://cvs.apache.org/builds/jakarta-struts/nightly/


...
> 
> Erez
> 
- Indrajit

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



Re: IMPORTANT: & how to tell

2003-10-15 Thread Jeff Kyser
A close second would be:

	'Fatter than what, dear?"

-jeff

On Wednesday, October 15, 2003, at 01:12  PM, Chen, Gin wrote:

The most stupid (note the grammer Larry ;) thing for a mammal to say 
is:
"Yes Dear.. That dress *does* make you look fat"
-Tim

-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: & how to tell
Brandon,

It is not that you are a stupid person per se, but that idea is quite
possibly the stupidest thing I have heard a *mammal* suggest.
Larry

[EMAIL PROTECTED] 10/15/03 10:06 AM >>>
How about we set up a review board that examines every post to the 
list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers 
as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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]


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


RE: html:checkbox Tag problem

2003-10-15 Thread Chen, Gin
Another way is to implement the reset method.
This will allow you to initialize all your checkboxes to the unchecked
value.
-Tim

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:42 PM
To: Struts Users Mailing List
Subject: RE: html:checkbox Tag problem


Faisal wrote:
> I populate data from database in to the Action form, which i am using
to
> display multiple records in the JSP Page. Here i am using
 an indicator to every record in the the page. I have associated the
> checkobox with String array Property. My Problem is when i submit the
form 
> and say form.getPropertyName(), I am getting the values of only the
checked 
> items. I would like to know how to iniatilize the unchecked values and
how 
> struts handles. I need it urgently .

The request will only contain successful form elements.  Un-checked
checkboxes are NOT successful and will not be in the request.  (This is
an HTML/browser thing, not Struts.)

If you need something to come through in the request, 
might be appropriate.  Post some of the JSP and your Form bean, and
perhaps someone will have an idea for you.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

-
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: IMPORTANT: & how to tell

2003-10-15 Thread Chen, Gin
The most stupid (note the grammer Larry ;) thing for a mammal to say is:
"Yes Dear.. That dress *does* make you look fat"
-Tim

-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: & how to tell


Brandon,

It is not that you are a stupid person per se, but that idea is quite
possibly the stupidest thing I have heard a *mammal* suggest.

Larry

>>> [EMAIL PROTECTED] 10/15/03 10:06 AM >>>
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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]



RE: IMPORTANT: & how to tell

2003-10-15 Thread Raghu.Ramakrishnan


Brandon,

I think the best thing for all of us to do is to vote to
get Larry out of the struts list. 

Raghu

-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: & how to tell


Brandon,

It is not that you are a stupid person per se, but that idea is quite
possibly the stupidest thing I have heard a *mammal* suggest.

Larry

>>> [EMAIL PROTECTED] 10/15/03 10:06 AM >>>
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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]



RE: Warning message on Startup

2003-10-15 Thread Greg Dunn
It's

org.apache.struts.action.ActionServlet
  --

not

org.apache.struts.tiles.ActionServlet
  -

Careful with those cuts and pastes. ;)


Greg


-Original Message-
From: Srinivas Gunturu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 12:50 PM
To: [EMAIL PROTECTED]
Subject: Warning message on Startup


Hi All,

I am seeing following warning message in my logs when server starts up.  The
application is functioning properly but not sure if I should ignore this or
fix it.  I am using Struts as well as Tiles.

action: Warning - ActionComponentServlet class: This class is to be used
with Struts1.0.x only. Please modify web.xml to use regular ActionServlet
class instead in conjugaison with appropriate plugin declared in
struts-config.xml.

When I change web.xml to use ActionServlet, I am getting following exception

javax.servlet.ServletException: Wrapper cannot find servlet class
org.apache.struts.tiles.ActionServlet or a class it depends on
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:88
0)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3341)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Here is the plug-in info. I have in strus config.

  


  


Any idea what causing this?  Should I ignore this or should I fix it?  If to
fix, how?

TIA

Srinivas


-
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/tiles switch from windows to Linux [I0F0D-----H]

2003-10-15 Thread Chen, Gin
Shhh Larry.. What I do on my private time is my own business.

-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject: RE: struts/tiles switch from windows to Linux


Yep, Tim's right. 

Search your app for "\" characters. Odds are you have some config file
that has one. Change 'em to "/" and it will work in either OS.

Tim's always right. He is one fart smeller, er, umm smart feller.

Larry

>>> [EMAIL PROTECTED] 10/15/03 11:42 AM >>>
>From the initial look of it.. It is not having a problem with finding
/tiles/CoolMenu.jsp but rather having a problem with code within
CoolMenu.jsp page. (Not that the exception is ServletException in
/tiles/CoolMenu.jsp not within the page that included it).
-Tim

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux


I have a webapp I've developed in windows.  The production environment
is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat
4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:



This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not
be
found.
I should mention that the "tiles" directory is at the upper level of my
web
app's root.

Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows
(though I
didn't get an error message, it just didn't show up) and I tried using
the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.

Thanks, Mike Witt


-
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]

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



Struts 1.2

2003-10-15 Thread Erez Efrati
As I really wish to put my hands on the validwhen validator I understand
that I need to have Struts 1.2 from the nightly builds.

Is there some sort of beta for 1.2? Is anyone working with it right now?
Do I need to download any other packages like commons-validator or is it
all bundled in Struts?

Also, does validwhen has a client side javascript as well?


Thanks in advance,


Erez



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



RE: struts/tiles switch from windows to Linux

2003-10-15 Thread Witt, Mike (OH35)
Excellent point.  I was assuming when I read the "could not be found part
that it was discussing the .jsp file itself.  But it is probably referring
to something that struts-menu uses.

Thanks, I'll take a look.

Mike

-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: struts/tiles switch from windows to Linux


>From the initial look of it.. It is not having a problem with finding
/tiles/CoolMenu.jsp but rather having a problem with code within
CoolMenu.jsp page. (Not that the exception is ServletException in
/tiles/CoolMenu.jsp not within the page that included it).
-Tim

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux


I have a webapp I've developed in windows.  The production environment is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat 4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:



This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be
found.
I should mention that the "tiles" directory is at the upper level of my web
app's root.

Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though I
didn't get an error message, it just didn't show up) and I tried using the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.

Thanks, Mike Witt


-
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]



RE: struts/tiles switch from windows to Linux

2003-10-15 Thread Witt, Mike (OH35)
No, I haven't deployed a .war file.  I zipped up my webapp's folder and
ftp'd it to someone with the web hosting company.  They unzipped it and put
it into place.  At this time I'm still assuming that everything (file system
wise) looks the same as it did.

Mike

-Original Message-
From: Vic Cekvenic [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: struts/tiles switch from windows to Linux


Maybe it neds .js files relative?
I assume you are deploying a war file.
.V

Chen, Gin wrote:
> From the initial look of it.. It is not having a problem with finding
> /tiles/CoolMenu.jsp but rather having a problem with code within
> CoolMenu.jsp page. (Not that the exception is ServletException in
> /tiles/CoolMenu.jsp not within the page that included it).
> -Tim
> 
> -Original Message-
> From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 15, 2003 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: struts/tiles switch from windows to Linux
> 
> 
> I have a webapp I've developed in windows.  The production environment is
> Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat
4.1.27
> (standalone).  Here is the problem: I have a tiles tag that says:
> 
> 
> 
> This worked fine in my windows version, but on Linux I get:
> 
> [ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be
> found.
> I should mention that the "tiles" directory is at the upper level of my
web
> app's root.
> 
> Anybody have any idea why this would be seen differently in Linux vs.
> Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
> relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though
I
> didn't get an error message, it just didn't show up) and I tried using the
> root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.
> 
> Thanks, Mike Witt
> 
> 
> -
> 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]



Re: IMPORTANT: & how to tell

2003-10-15 Thread Larry Meadors
Brandon,

It is not that you are a stupid person per se, but that idea is quite
possibly the stupidest thing I have heard a *mammal* suggest.

Larry

>>> [EMAIL PROTECTED] 10/15/03 10:06 AM >>>
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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/tiles switch from windows to Linux

2003-10-15 Thread Larry Meadors
Yep, Tim's right. 

Search your app for "\" characters. Odds are you have some config file
that has one. Change 'em to "/" and it will work in either OS.

Tim's always right. He is one fart smeller, er, umm smart feller.

Larry

>>> [EMAIL PROTECTED] 10/15/03 11:42 AM >>>
>From the initial look of it.. It is not having a problem with finding
/tiles/CoolMenu.jsp but rather having a problem with code within
CoolMenu.jsp page. (Not that the exception is ServletException in
/tiles/CoolMenu.jsp not within the page that included it).
-Tim

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux


I have a webapp I've developed in windows.  The production environment
is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat
4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:



This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not
be
found.
I should mention that the "tiles" directory is at the upper level of my
web
app's root.

Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows
(though I
didn't get an error message, it just didn't show up) and I tried using
the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.

Thanks, Mike Witt


-
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]



Warning message on Startup

2003-10-15 Thread Srinivas Gunturu
Hi All,

I am seeing following warning message in my logs when server starts up.  The 
application is functioning properly but not sure if I should ignore this or fix it.  I 
am using Struts as well as Tiles.

action: Warning - ActionComponentServlet class: This class is to be used with 
Struts1.0.x only. Please modify web.xml to use regular ActionServlet class instead in 
conjugaison with appropriate plugin declared in struts-config.xml.

When I change web.xml to use ActionServlet, I am getting following exception

javax.servlet.ServletException: Wrapper cannot find servlet class 
org.apache.struts.tiles.ActionServlet or a class it depends on
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:880)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Here is the plug-in info. I have in strus config.

  


  


Any idea what causing this?  Should I ignore this or should I fix it?  If to fix, how?

TIA

Srinivas


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



Validator vs. XForms

2003-10-15 Thread Stephan Wiesner
What is the future of the Validator, concerning the now finalized XForms 
specification? As I understand it, both do about the same. Will there be 
a kind of merge?

Stephan

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


Re: struts/tiles switch from windows to Linux

2003-10-15 Thread Vic Cekvenic
Maybe it neds .js files relative?
I assume you are deploying a war file.
.V
Chen, Gin wrote:
From the initial look of it.. It is not having a problem with finding
/tiles/CoolMenu.jsp but rather having a problem with code within
CoolMenu.jsp page. (Not that the exception is ServletException in
/tiles/CoolMenu.jsp not within the page that included it).
-Tim
-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux

I have a webapp I've developed in windows.  The production environment is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat 4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:


This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be
found.
I should mention that the "tiles" directory is at the upper level of my web
app's root.
Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though I
didn't get an error message, it just didn't show up) and I tried using the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.
Thanks, Mike Witt

-
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/tiles switch from windows to Linux

2003-10-15 Thread Chen, Gin
>From the initial look of it.. It is not having a problem with finding
/tiles/CoolMenu.jsp but rather having a problem with code within
CoolMenu.jsp page. (Not that the exception is ServletException in
/tiles/CoolMenu.jsp not within the page that included it).
-Tim

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 12:46 PM
To: [EMAIL PROTECTED]
Subject: struts/tiles switch from windows to Linux


I have a webapp I've developed in windows.  The production environment is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat 4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:



This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be
found.
I should mention that the "tiles" directory is at the upper level of my web
app's root.

Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though I
didn't get an error message, it just didn't show up) and I tried using the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.

Thanks, Mike Witt


-
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: IMPORTANT: & how to tell

2003-10-15 Thread Barry Volpe
Thanks all,

I was not looking at the correct links
Barry
- Original Message - 
From: "Steve Raeburn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:59 AM
Subject: RE: IMPORTANT: & how to tell


> A little bit more than a weeks worth ;-)
>
> http://jakarta.apache.org/struts/resources/archives.html
>
> Steve
>
> > -Original Message-
> > From: Barry Volpe [mailto:[EMAIL PROTECTED]
> > Sent: October 15, 2003 9:23 AM
> > To: Struts Users Mailing List
> > Subject: Re: IMPORTANT: & how to tell
> >
> >
> > The list does have an abundance of valuable information.
> > Am I correct in saying that the list only archives about
> > a weeks worth of posts?  It would be great if the list
> > had a way of cataloging the information.  I find that
> > a topic could be discussed for two days and then go away.
> > The next day someone will decide to post the same topic again.
> > It's like Here we go again!   What could be done so that
> > information that has already been posted can be available
> > to future questions or posts?
> >
> > Barry
> >
> >
> > - Original Message -
> > From: "Brandon Goodin" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, October 15, 2003 9:06 AM
> > Subject: Re: IMPORTANT: & how to tell
> >
> >
> > > How about we set up a review board that examines every post to the
list.
> > > Discards pointless discussions (like this one) and rates them
according
> > > to a scale of importance to the community. Then they place them into
> > > bugzilla where they will be propagated to the struts list subscribers
as
> > > tasks.
> > >
> > > :-\
> > >
> > > Thoughts? Further Sarcasm? :-D
> > >
> > > -
> > > 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]
>
>
>



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



RE: html:checkbox Tag problem

2003-10-15 Thread Wendy Smoak
Faisal wrote:
> I populate data from database in to the Action form, which i am using
to
> display multiple records in the JSP Page. Here i am using
 an indicator to every record in the the page. I have associated the
> checkobox with String array Property. My Problem is when i submit the
form 
> and say form.getPropertyName(), I am getting the values of only the
checked 
> items. I would like to know how to iniatilize the unchecked values and
how 
> struts handles. I need it urgently .

The request will only contain successful form elements.  Un-checked
checkboxes are NOT successful and will not be in the request.  (This is
an HTML/browser thing, not Struts.)

If you need something to come through in the request, 
might be appropriate.  Post some of the JSP and your Form bean, and
perhaps someone will have an idea for you.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

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



RE: IMPORTANT: & how to tell

2003-10-15 Thread Wendy Smoak
Barry wrote:
> What could be done so that information that has already been posted 
> can be available to future questions or posts?

The 'List Archive' link from the Struts main page appears to go back to
2000.
http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42

I use this archive:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/

Are you possibly reading the list through a news server that only keeps
a couple of weeks?

-- 
Wendy

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



RE: IMPORTANT: & how to tell

2003-10-15 Thread Steve Raeburn
A little bit more than a weeks worth ;-)

http://jakarta.apache.org/struts/resources/archives.html

Steve

> -Original Message-
> From: Barry Volpe [mailto:[EMAIL PROTECTED]
> Sent: October 15, 2003 9:23 AM
> To: Struts Users Mailing List
> Subject: Re: IMPORTANT: & how to tell
>
>
> The list does have an abundance of valuable information.
> Am I correct in saying that the list only archives about
> a weeks worth of posts?  It would be great if the list
> had a way of cataloging the information.  I find that
> a topic could be discussed for two days and then go away.
> The next day someone will decide to post the same topic again.
> It's like Here we go again!   What could be done so that
> information that has already been posted can be available
> to future questions or posts?
>
> Barry
>
>
> - Original Message -
> From: "Brandon Goodin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 15, 2003 9:06 AM
> Subject: Re: IMPORTANT: & how to tell
>
>
> > How about we set up a review board that examines every post to the list.
> > Discards pointless discussions (like this one) and rates them according
> > to a scale of importance to the community. Then they place them into
> > bugzilla where they will be propagated to the struts list subscribers as
> > tasks.
> >
> > :-\
> >
> > Thoughts? Further Sarcasm? :-D
> >
> > -
> > 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]



Re: [REPOST] basic question about global forward

2003-10-15 Thread Barry Volpe
Julien,

What I see is that the /logoff is fowarded to the index.jsp.
not the logon.jsp.  I'm guessing that you have disabled the
foward and expect the index.jsp to not be displayed?

I'm not saying that this will solve your problem but once
in awhile you might want to clear out your browser cache.
You could be displaying a page from cache that no longer exists.

Also if you are running tomcat you must stop and restart
tomcat so the new changes in your struts-config become
available to your application.

Barry







  






- Original Message - 
From: "Julien Martin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:36 AM
Subject: [REPOST] basic question about global forward


> Hello,
> Thank you for your reply Barry.   Note that I have disabled the local
> forward.  I don't understand how the application knows that "logoff.do" is
> mapped to the "logon.jsp".  Can you tell me?
> Julien.
>
> Here is the struts-config.xml file:
> 
> 
>
>"-//Apache Software Foundation//DTD Struts Configuration
1.1//EN"
>   "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
>
> 
>
>
> 
>
>
> 
> 
>   
>   
>
> 
>   type="org.apache.struts.validator.DynaValidatorForm">
>   
>   
> 
>
>
> 
> 
> type="org.apache.struts.webapp.example.RegistrationForm"/>
>
> 
> 
> type="org.apache.struts.webapp.example.SubscriptionForm"/>
>
>   
>
>
>   
>   
> 
> 
> 
> 
>   
>
>
>   
>   
>
> 
> 
> type="org.apache.struts.webapp.example.EditRegistrationAction"
>   attribute="registrationForm"
>   scope="request"
>validate="false">
>   
> 
>
> 
> 
> type="org.apache.struts.webapp.example.EditSubscriptionAction"
>   attribute="subscriptionForm"
>   scope="request"
>validate="false">
>   
>   
> 
>
> 
> type="org.apache.struts.webapp.example.LogoffAction">
>   
> 
>
> 
> type="org.apache.struts.webapp.example.LogonAction"
>name="logonForm"
>   scope="session"
>   input="logon">
>key="expired.password"
>
> type="org.apache.struts.webapp.example.ExpiredPasswordException"
>path="/changePassword.jsp"/>
> 
>
> 
> 
> type="org.apache.struts.webapp.example.SaveRegistrationAction"
>name="registrationForm"
>   scope="request"
>   input="registration"/>
>
> 
> 
> type="org.apache.struts.webapp.example.SaveSubscriptionAction"
>name="subscriptionForm"
>   scope="request"
>   input="subscription">
>   
>path="/editRegistration.do?action=Edit"/>
> 
>
>
> 
>  forward="/tour.htm">
> 
>
>   
>
>
>   
>
>   
> 
> 
>   
>
>
>   
>
>parameter="org.apache.struts.webapp.example.ApplicationResources"/>
>
>   
> parameter="org.apache.struts.webapp.example.AlternateApplicationResources"
> key="alternate">
>   
>
>
>   
>
>   
>
>className="org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn">
> 
>   
>
>   
>   value="/WEB-INF/validator-rules.xml,
> /WEB-INF/validation.xml"/>
>   
>
>
> 
>
>
> -
> 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]



struts/tiles switch from windows to Linux

2003-10-15 Thread Witt, Mike (OH35)
I have a webapp I've developed in windows.  The production environment is
Linux.  On windows, I am using Tomcat 4.1.24.  In Linux, it is Tomcat 4.1.27
(standalone).  Here is the problem: I have a tiles tag that says:



This worked fine in my windows version, but on Linux I get:

[ServletException in:/tiles/CoolMenu.jsp] The menu repository could not be
found.
I should mention that the "tiles" directory is at the upper level of my web
app's root.

Anybody have any idea why this would be seen differently in Linux vs.
Windows?  Am I inadvertantly addressing the file path wrong?  I tried a
relative path "tile/CoolMenu.jsp" and that didn't work in Windows (though I
didn't get an error message, it just didn't show up) and I tried using the
root name: "/rootname/tiles/CoolMenu.jsp" and that didn't work at all.

Thanks, Mike Witt


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



[REPOST] basic question about global forward

2003-10-15 Thread Julien Martin
Hello,
Thank you for your reply Barry.   Note that I have disabled the local
forward.  I don't understand how the application knows that "logoff.do" is
mapped to the "logon.jsp".  Can you tell me?
Julien.

Here is the struts-config.xml file:



http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>









  
  



  
  









  


  
  




  


  
  



  




  
  




  




  







  
  







  


  

  


  


  

  

  
  


  

  

  

  

  

  





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



Re: IMPORTANT: & how to tell

2003-10-15 Thread Barry Volpe
That helps

Thanks
Barry
- Original Message - 
From: "Paul McCulloch" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:26 AM
Subject: RE: IMPORTANT: & how to tell


> Try
>
> http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2
>
> Paul
>
> -Original Message-
> From: Barry Volpe [mailto:[EMAIL PROTECTED]
> Sent: 15 October 2003 17:23
> To: Struts Users Mailing List
> Subject: Re: IMPORTANT: & how to tell
>
>
> The list does have an abundance of valuable information.
> Am I correct in saying that the list only archives about
> a weeks worth of posts?  It would be great if the list
> had a way of cataloging the information.  I find that
> a topic could be discussed for two days and then go away.
> The next day someone will decide to post the same topic again.
> It's like Here we go again!   What could be done so that
> information that has already been posted can be available
> to future questions or posts?
>
> Barry
>
>
> - Original Message - 
> From: "Brandon Goodin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 15, 2003 9:06 AM
> Subject: Re: IMPORTANT: & how to tell
>
>
> > How about we set up a review board that examines every post to the list.
> > Discards pointless discussions (like this one) and rates them according
> > to a scale of importance to the community. Then they place them into
> > bugzilla where they will be propagated to the struts list subscribers as
> > tasks.
> >
> > :-\
> >
> > Thoughts? Further Sarcasm? :-D
> >
> > -
> > 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]
>
>
> **
> Axios Email Confidentiality Footer
> Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message, and notify
us immediately. If you or your employer does not consent to Internet email
messages of this kind, please advise us immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
my Company or employer unless otherwise indicated by an authorised
representative independent of this message.
> WARNING:
> While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that
attachments do not contain computer virus code.  You are therefore strongly
advised to undertake anti virus checks prior to accessing the attachment to
this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for
loss or damage howsoever caused.
>
>
> -
> 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]



html:checkbox Tag problem

2003-10-15 Thread mohamed ebrahim faisal
Hai

I populate data from database in to the Action form, which i am using to 
display multiple records in the JSP Page. Here i am using 

form.getPropertyName(), I am getting the values of only the checked items. I 
would like to know how to iniatilize the unchecked values and how struts 
handles. I need it urgently .

Thanx
faisal
_
The heat is on! Catch the latest action. 
http://server1.msn.co.in/sp03/formula2003/ Speed along with F1!

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


RE: IMPORTANT: & how to tell

2003-10-15 Thread Paul McCulloch
Try

http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2

Paul

-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 17:23
To: Struts Users Mailing List
Subject: Re: IMPORTANT: & how to tell


The list does have an abundance of valuable information.
Am I correct in saying that the list only archives about 
a weeks worth of posts?  It would be great if the list
had a way of cataloging the information.  I find that 
a topic could be discussed for two days and then go away.
The next day someone will decide to post the same topic again.
It's like Here we go again!   What could be done so that
information that has already been posted can be available
to future questions or posts?

Barry


- Original Message - 
From: "Brandon Goodin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:06 AM
Subject: Re: IMPORTANT: & how to tell


> How about we set up a review board that examines every post to the list.
> Discards pointless discussions (like this one) and rates them according
> to a scale of importance to the community. Then they place them into
> bugzilla where they will be propagated to the struts list subscribers as
> tasks.
> 
> :-\
> 
> Thoughts? Further Sarcasm? :-D
> 
> -
> 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]


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



Re: IMPORTANT: & how to tell

2003-10-15 Thread Mike Deegan
Let me be the first to nominate Raghu to head the committee!

Any seconds?

- Original Message - 
From: "Raghu.Ramakrishnan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 10:12 AM
Subject: RE: IMPORTANT: & how to tell




Brandon,

You are right, lets all vote for a review board and
review comitee memebers. So that we are all do not get such junk mail.

Raghu

-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: & how to tell


How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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]



Re: IMPORTANT: & how to tell

2003-10-15 Thread Barry Volpe
The list does have an abundance of valuable information.
Am I correct in saying that the list only archives about 
a weeks worth of posts?  It would be great if the list
had a way of cataloging the information.  I find that 
a topic could be discussed for two days and then go away.
The next day someone will decide to post the same topic again.
It's like Here we go again!   What could be done so that
information that has already been posted can be available
to future questions or posts?

Barry


- Original Message - 
From: "Brandon Goodin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:06 AM
Subject: Re: IMPORTANT: & how to tell


> How about we set up a review board that examines every post to the list.
> Discards pointless discussions (like this one) and rates them according
> to a scale of importance to the community. Then they place them into
> bugzilla where they will be propagated to the struts list subscribers as
> tasks.
> 
> :-\
> 
> Thoughts? Further Sarcasm? :-D
> 
> -
> 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: IMPORTANT: & how to tell

2003-10-15 Thread Adam Hardy
On 10/15/2003 06:06 PM Brandon Goodin wrote:
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.
:-\

Thoughts? Further Sarcasm? :-D
oh I forgot one:

[I3F99DH*] internationalize blah blah blah

where H = poster possesses sense of humour

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: IMPORTANT: & how to tell

2003-10-15 Thread Raghu.Ramakrishnan


Brandon,

You are right, lets all vote for a review board and
review comitee memebers. So that we are all do not get such junk mail.

Raghu

-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: & how to tell


How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

-
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: [REPOST] basic question about global forward

2003-10-15 Thread Barry Volpe
It is defined in the Action in the struts-config.
If you want a more detailed answer past the config code
in your post.

Barry



- Original Message - 
From: "Julien Martin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 9:10 AM
Subject: [REPOST] basic question about global forward


> Hello,
>
> I am going through the struts sample application (struts-example.war) and
I
> am trying to understand the firtst global forward.  Here it is:
>
> ***
> 
> ***
>
> How does the application knows that "logoff.do" is mapped to the logon.jsp
> page?
>
> Can anyone help please?
>
> Thanks in advance,
>
> Julien.
>
>
> -
> 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]



[REPOST] basic question about global forward

2003-10-15 Thread Julien Martin
Hello,

I am going through the struts sample application (struts-example.war) and I
am trying to understand the firtst global forward.  Here it is:

***

***

How does the application knows that "logoff.do" is mapped to the logon.jsp
page?

Can anyone help please?

Thanks in advance,

Julien.


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



Re: How to i make the default selection of radio button

2003-10-15 Thread Barry Volpe
In your Action:

If using DynaValidatorForm:
DynaValidatorForm eForm = (DynaValidatorForm)form; 

eForm.set("radioButtonName","radioButtonValue")); 

now foward to your form and the radio button will be selected.

If using a Form:

nameOfForm eForm = new nameOfForm();

eForm.setRadioButtonName("radioButtonValue");

now foward to your form and the radio button will be selected.

Barry









- Original Message - 
From: "Mahendra K. Kutare" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 6:59 AM
Subject: How to i make the default selection of radio button


Hi all,

I am facing an issue of default selecting a radio button in struts.

I have written code to create two radio button, but i want one of them
to be default selected.

Can anyone help me on this ? How to achieve this default selection of
one of the radio buttons.


Thanks and regards
Mahendra

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





Re: IMPORTANT: & how to tell

2003-10-15 Thread Brandon Goodin
How about we set up a review board that examines every post to the list.
Discards pointless discussions (like this one) and rates them according
to a scale of importance to the community. Then they place them into
bugzilla where they will be propagated to the struts list subscribers as
tasks.

:-\

Thoughts? Further Sarcasm? :-D

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



RE: Required checkbox field & Validator

2003-10-15 Thread Saul Yuan
Try \-  and \s or \s+ for multiple spaces.


Saul

> -Original Message-
> From: Erez Efrati [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 10:05 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Required checkbox field & Validator
> 
> Forgive me for abusing this thread but... by the way how do you insert
a
> '-' and  chars into a validator mask regular expression?
> 
> Erez
> 
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 3:55 PM
> To: Struts Users Mailing List
> Subject: Re: Required checkbox field & Validator
> 
> If I think you mean what you mean, I think it's done so that any
depends
> 
> validation that fails returns and no more validations on that field
are
> done. But I've seen all fields getting validated in my client-side
> stuff.
> 
> On 10/15/2003 03:19 PM Erez Efrati wrote:
> > One thing else I don't get is why does the checkups in the client
side
> > validations are not done field by field, where on each field run all
> the
> > checks it depends on? Am I so special and unique to be doing it this
> > way?
> >
> > Erez
> >
> > -Original Message-
> > From: Adam Hardy [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 15, 2003 3:02 PM
> > To: Struts Users Mailing List
> > Subject: Re: Required checkbox field & Validator
> >
> > On 10/15/2003 02:23 PM Erez Efrati wrote:
> >
> >>I have a DynaActionForm with a boolean field representing a checkbox
> >>field which must be checked before processing the form. I've tried
> >>marking him as depending on 'required' but that didn't do it and the
> >>server side FieldChecks.validateRequired () of Struts just let it
> >
> > pass.
> >
> >>Going into the code I saw that the field already have a value of
> >
> > 'false'
> >
> >>thus it passes the check of not being null or blank.
> >>
> >>Now, I can put the code into my Action or into the derived form
class
> >>validate() method but I think that was not the idea of having an
> >>infrastructure of validations.
> >>
> >>How can this be done? Have I missed anything?
> >
> >
> > This might be a kludge, but have you tried a validate mask = 'true'?
> >
> > Otherwise I think it's not do-able with the standard validations.
> >
> > Adam
> >
> 
> 
> --
> struts 1.1 + tomcat 5.0.12 + java 1.4.2
> Linux 2.4.20 RH9
> 
> 
> -
> 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]



display tag and struts

2003-10-15 Thread Otto, Frank
Hello,
 
I have read something about diplay tag library and have test it. If I want to sort the 
table by clicking on column, I will get an error, because my collection is null. It 
isn't saved in the session, only in the request. An idea?
 
My other questions is:
 
- Can I use display tag with i18n and resource bundles? I need the column titles in 
different languages.
 
 
Regards,
 
Frank


RE: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Brian McSweeney
Hmm, very strange. I had the exact same error as Mick yesterday. 
I'm also using \n and I was pulling it in from resource bundles but 
the breaks were being ignored.

Perhaps it has to do with the mailer. My mailer is setting the type of 
message to "text/html" as you can see by my send method below.


public static void send( String replyTo, String to, String subject,
String body )
throws NamingException, AddressException, MessagingException {

InitialContext ic = new InitialContext(  );
Session session = ( Session ) ic.lookup( JNDINames.MAIL_SESSION
);
javax.mail.Message msg = new MimeMessage( session );

msg.setReplyTo( InternetAddress.parse(replyTo,false) );
msg.setRecipients( javax.mail.Message.RecipientType.TO,
InternetAddress.parse( to, false ) );
msg.setSubject( subject );

msg.setDataHandler( new DataHandler( body, "text/html" ) );
msg.setHeader( "X-Mailer", "JavaMailer" );
msg.setSentDate( new Date(  ) );

Transport.send( msg );
}


The way I fixed this Mick was by using  tags instead of /n, so 
this perhaps indicates that it's because our mails are set to type html.

However it would be nice to find out if this is the reason!
Hth,
Brian

-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2003 15:09
To: 'Struts Users Mailing List'
Subject: AW: [OT]formatting line breaks and tabs in emails?

Yes, I use it in property-files.

-Ursprüngliche Nachricht-
Von: Brian McSweeney [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 18:08
An: 'Struts Users Mailing List'
Betreff: RE: [OT]formatting line breaks and tabs in emails?


Are the "\n" values being pulled in from resource bundles?

-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2003 14:57
To: 'Struts Users Mailing List'
Subject: AW: [OT]formatting line breaks and tabs in emails?

I using \n as line breaks in mails and it functions.

-Ursprüngliche Nachricht-
Von: Mick Knutson [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 16:51
An: struts
Betreff: [OT]formatting line breaks and tabs in emails?


I am trying to format email messages that need to contain line breaks,
and tabs. But when I add \n\r or \t, they just seems to be ignored.
Is there a way to do this?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
& Contact System" can help you Play Smart. 

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

-
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]


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



RE: How to i make the default selection of radio button

2003-10-15 Thread Greg Dunn

Set the ActionForm property representing the radio button to equal the value
on the individual button you want selected.

Greg


-Original Message-
From: Mahendra K. Kutare [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 9:00 AM
To: Struts Users Mailing List
Subject: How to i make the default selection of radio button


Hi all,

I am facing an issue of default selecting a radio button in struts.

I have written code to create two radio button, but i want one of them
to be default selected.

Can anyone help me on this ? How to achieve this default selection of
one of the radio buttons.


Thanks and regards
Mahendra

-
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]



intRange Validation works but displays always null

2003-10-15 Thread Martin Grüneberg
Hello togehter,

i have a problem with range validation. I think it is a simple thing but I
can't get it solved.
I already searched the archive but can't find a solution.
I defined a Form in validation.xml with a field like this:



 // Tried it
already with name="range"


  min
  1


  max
  31



in Application Resources the entry is:

errors.range={0} ist nicht im Bereich von {1} bis {2}.

Results in my jsp to message :
Datum ist nicht im Bereich von null bis null 

Why does it not Display not Datum ist nicht im Bereich von 1 bis 31?

Thanks in advance,
Martin Grüneberg
 



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



Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
Sorry, don't know. Someone else will have to answer this.

Adam

On 10/15/2003 04:04 PM Erez Efrati wrote:
Forgive me for abusing this thread but... by the way how do you insert a
'-' and  chars into a validator mask regular expression?
Erez

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:55 PM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator

If I think you mean what you mean, I think it's done so that any depends

validation that fails returns and no more validations on that field are 
done. But I've seen all fields getting validated in my client-side
stuff.

On 10/15/2003 03:19 PM Erez Efrati wrote:

One thing else I don't get is why does the checkups in the client side
validations are not done field by field, where on each field run all
the

checks it depends on? Am I so special and unique to be doing it this
way?
Erez

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:02 PM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator

On 10/15/2003 02:23 PM Erez Efrati wrote:


I have a DynaActionForm with a boolean field representing a checkbox
field which must be checked before processing the form. I've tried
marking him as depending on 'required' but that didn't do it and the
server side FieldChecks.validateRequired () of Struts just let it
pass. 


Going into the code I saw that the field already have a value of
'false'


thus it passes the check of not being null or blank.

Now, I can put the code into my Action or into the derived form class
validate() method but I think that was not the idea of having an
infrastructure of validations. 

How can this be done? Have I missed anything?


This might be a kludge, but have you tried a validate mask = 'true'?

Otherwise I think it's not do-able with the standard validations.


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


Re: IMPORTANT: & how to tell

2003-10-15 Thread Adam Hardy
Perhaps we can work out a coding system like geekcode or whatever it was 
so that we can prefix every message title in a more community-friendly way:

[I3F99D] internationalize blah blah blah

where
I = interesting for others from 0 - 5
F = frustration level of author: number of times have banged head 
against wall from 0 ... n
D = closeness to death if author doesn't get this issue solved: from + 
to +

etc

On 10/15/2003 03:58 PM Mick Knutson wrote:
Well, I did not want to put URGENT, but yes, everything is a critical mass
as I have a 2 day expo starting tomorrow for 500+ people that I am
demonstrating my new application to. So with lack of sleep and heaps of
stress, I am sorry but everything is fairly important right now.
BTW, I really do appreciate the emails of help at this critical time for me.
It has helped out!
---
Thanks
Mick Knutson
The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
Contact System" can help you Play Smart.
+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480
---

- Original Message - 
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 1:26 AM
Subject: RE: IMPORTANT: internationalize large chunks of text/HTML



What! Can you not see that the very fate of human civilisation itself
depends on it? Open your eyes man!
-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 15 October 2003 16:23
To: [EMAIL PROTECTED]
Subject: Re: IMPORTANT: internationalize large chunks of text/HTML
IMPORTANT? Not for me sorry!

Mick Knutson wrote:

I have posted this before, and I still am trying to
understand the best way
to approach this.
I have 100% of my labels in a Resource bundle
currently. But I also have
larger pages of text (1-2 pages at a time), that I
need to be
internationalized just like my labels. I am
wondering what the best way to
do this is?
I just want to know what other people are doing that
is easy on maintenance.


--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Otto, Frank
Yes, I use it in property-files.

-Ursprüngliche Nachricht-
Von: Brian McSweeney [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 18:08
An: 'Struts Users Mailing List'
Betreff: RE: [OT]formatting line breaks and tabs in emails?


Are the "\n" values being pulled in from resource bundles?

-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2003 14:57
To: 'Struts Users Mailing List'
Subject: AW: [OT]formatting line breaks and tabs in emails?

I using \n as line breaks in mails and it functions.

-Ursprüngliche Nachricht-
Von: Mick Knutson [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 16:51
An: struts
Betreff: [OT]formatting line breaks and tabs in emails?


I am trying to format email messages that need to contain line breaks,
and tabs. But when I add \n\r or \t, they just seems to be ignored.
Is there a way to do this?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
& Contact System" can help you Play Smart. 

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

-
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]



RE: IMPORTANT: internationalize large chunks of text/HTML

2003-10-15 Thread Paul McCulloch
fmt get's the neccessary from the headers the broweser puts in the request
by default I believe. Have a look at the Jakarta JSTL examples application.

Paul

-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 14:55
To: Struts Users Mailing List
Subject: Re: IMPORTANT: internationalize large chunks of text/HTML


Are you saying that the  will get com.baselogic.text by default, but if
the Globals.LOCALE = DE, then  will get com.baselogic.text_de?
Or am I missing where  gets it's locale information from?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
Contact System" can help you Play Smart.

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

- Original Message - 
From: "Paul McCulloch" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 2:21 AM
Subject: RE: IMPORTANT: internationalize large chunks of text/HTML


> I use a similair approach, but get fmt:message to deal with selecting the
> correct locale for me:
>
> 
> 
> 
> 
>
> I then define the path to the locale specific html page in the relvant
> .properties file.
>
> Paul
>
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]
> Sent: 15 October 2003 10:14
> To: Struts Users Mailing List
> Subject: Re: IMPORTANT: internationalize large chunks of text/HTML
>
>
> I haven't had to do this myself, but I believe that when you have entire
> pages that can be maintained separately, people start developing
> separate page trees. The idea being that you can have an Action check
> the locale and fork to one set of ActionForwards or another, based on
> the locale.
>
> -Ted.
>
> Mick Knutson wrote:
>
> > I have posted this before, and I still am trying to understand the best
> way
> > to approach this.
> >
> > I have 100% of my labels in a Resource bundle currently. But I also have
> > larger pages of text (1-2 pages at a time), that I need to be
> > internationalized just like my labels. I am wondering what the best way
to
> > do this is?
> > I just want to know what other people are doing that is easy on
> maintenance.
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> >
> > The world is a playground...Play Hard, Play Smart.
> > Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
&
> > Contact System" can help you Play Smart.
> >
> > +00 1 (708) 570-2772 Fax
> > MSN: mickknutson
> > ICQ: 316498480
> > ICQ URL: http://wwp.icq.com/316498480
> >
> > ---
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -- 
> Ted Husted,
>Junit in Action  - ,
>Struts in Action - ,
>JSP Site Design  - .
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> **
> Axios Email Confidentiality Footer
> Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message, and notify
us immediately. If you or your employer does not consent to Internet email
messages of this kind, please advise us immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
my Company or employer unless otherwise indicated by an authorised
representative independent of this message.
> WARNING:
> While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that
attachments do not contain computer virus code.  You are therefore strongly
advised to undertake anti virus checks prior to accessing the attachment to
this electronic mail.  Axios Systems Ltd grants no warranties regarding
performance use or quality of any attachment and undertakes no liability for
loss or damage howsoever caused.
>
>
> -
> 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]



RE: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Brian McSweeney
Are the "\n" values being pulled in from resource bundles?

-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2003 14:57
To: 'Struts Users Mailing List'
Subject: AW: [OT]formatting line breaks and tabs in emails?

I using \n as line breaks in mails and it functions.

-Ursprüngliche Nachricht-
Von: Mick Knutson [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 16:51
An: struts
Betreff: [OT]formatting line breaks and tabs in emails?


I am trying to format email messages that need to contain line breaks,
and tabs. But when I add \n\r or \t, they just seems to be ignored.
Is there a way to do this?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert
& Contact System" can help you Play Smart. 

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

-
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: format string bean write - property editor

2003-10-15 Thread Paul McCulloch
I'd create a custom tag and pass  as the body. 

Paul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 14:53
To: struts-user
Subject: format string bean write - property editor


Hello

I read this mailing list since 1 year, but it is my first question :-)

I have a bean with a string property, this string is big and it is not a
trouble but in one use of the bean:write in a jsp, i wish to reduce on the
screen the size of the string (but not in the bean)

I can't find any use of PropertyEditor, perhaps is it a good idea?

perhaps do you have other idea ?

I can perhaps to extend the tag with a new attribut like maxscreensize, what
do you think about it ?

many think in advance

** L'ADSL A 20 EUR/MOIS** 
Avec Tiscali, l'ADSL est à 20 EUR/mois. Vous pourrez chercher longtemps
avant de trouver moins cher ! 
Pour profiter de cette offre exceptionnelle, cliquez ici :
http://register.tiscali.fr/adsl/
Offre soumise à conditions.



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


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



RE: Converting to Struts, where to put Servlet init() code?

2003-10-15 Thread Brian McSweeney
Cool :-) Glad to be of help!
Brian

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: 15 October 2003 14:36
To: Struts Users Mailing List
Subject: RE: Converting to Struts, where to put Servlet init() code?

Brian wrote:
> Easier still, you don't have to write a servlet, just a class that 
> implements ServletContextListener, eg something like:

THIS is the class I was looking for.  I kept coming up with Filter but
knowing that wasn't right.  I've used ServletContextListener before,
too!

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

-
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: OT: Simple is great . (period)

2003-10-15 Thread Greg Reddin
Funny, a coworker and I were discussing this very thing yesterday in the 
context of J2EE vs. .NET.  Neither of us have used .NET so we're just 
going on our perceptions.  But .NET proponents say that it is simpler 
than J2EE.  This is fine as long as you can handle being pigeon-holed 
into a *simple* way of doing things.  The beauty of J2EE (and the beast 
of J2EE) is that there is almost infinite flexibility.  But if you can 
master the complexity and reign it in then you have the best of both worlds.

To illustrate my point, I'll give a historical example.  Our group used 
to produce a huge fat client application that contained several hundred 
screens.  Way back when this effort started Visual Basic was the 
language they chose to use.  It was great for throwing together GUI 
applications really quickly.  But as the complexity of the application's 
requirements grew, and as the sheer size of the application grew, it was 
clear that VB couldn't scale.  We made it scale by developing a huge VB 
"infrastructure" to make development "easier".  At that point it 
would've been simpler to use something more complex.  Our needs would no 
longer fit into the model of the simple environment. The simple "always 
do it this way" approach was no longer working and we would've been 
better off to convert the thing to C++, IMO, where an object oriented 
pattern already existed.

My point is that you should keep it as simple as it can be.  But 
"simple" should rarely be the only factor in making architectural 
decisions.  In fact, in the discussion you were referring to, one 
person's definition of "simple" would've possibly been simple for him, 
but would've broken the design pattern and introduced complexity for 
everybody else.  You'd like to be using a tool set that makes simple 
things simple, but provides the capability to scale up complexity as needed.

I do believe in KISS, but to me it means keep it as simple as possible, 
but think ahead...

Greg

Vic Cekvenic wrote:
Someone recently posted in here “Simple is great if your needs are 
simple” implying that KISS is not always good. I would like to disagree, 
and point out that KISS is always good.

Teaching design is hard, and that is why it takes experience to do good 
design. For a first few years in IT, I too was proud that I could design 
complex things. Now (15 years of IT) I spend effort to try to simplify, 
especially when I do project recovery.

In general, programmers  (primates?!) like me, can deal with a limited 
maximum complexity. If the framework is complex, I can only do simple 
projects with it. If the framework is simple, I can tackle complex 
projects with it. (It ends up not beeing a business application 
otherwise, just pure R&D that only works in lab conditions, and not in 
production)
-If it is complex, it is hard to maintain, or find a bug.
-If it is complex, it is hard to communicate what people should be doing 
on a large (complex) projects. KISS!
- When learning a science, like math, they teach us “… and now we 
simplify”. There was some TV History show, where a famous scientist 
(forget the name) ended the letter saying: “Sorry I wrote a long letter, 
I did not have time to simplify this”.
- We spend time to make our code more readable.
- We know that adding more resources to a complex project does not help 
(“Mythical Man Month”), it only makes it more complex.
- I think one reason open source projects are more successful, is that 
it is done quickly by limited resource (thus limited complexity). Struts 
was “done” by one person over a weekend for example. (Vendors have teams 
that consider lots of requirements via a committer. I ran away from 
those complex frameworks to things like Struts).

One approach I do teach is to design for the rule (and not for every 
exception); and only consider 80% of what is needed (because that last 
few % makes the design complex. Things that happen by exception can be 
deal with as exception.

That is all I can think of now on why KISS is better than complex.

.V



-
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]


AW: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Otto, Frank
I using \n as line breaks in mails and it functions.

-Ursprüngliche Nachricht-
Von: Mick Knutson [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 15. Oktober 2003 16:51
An: struts
Betreff: [OT]formatting line breaks and tabs in emails?


I am trying to format email messages that need to contain line breaks, and tabs. But 
when I add \n\r or \t, they just seems to be ignored.
Is there a way to do this?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact 
System" can help you Play Smart. 

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

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



[OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Mick Knutson
I am trying to format email messages that need to contain line breaks, and tabs. But 
when I add \n\r or \t, they just seems to be ignored.
Is there a way to do this?


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact 
System" can help you Play Smart. 

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---


RE: Converting to Struts, where to put Servlet init() code?

2003-10-15 Thread Wendy Smoak
Brian wrote:
> Easier still, you don't have to write a servlet, just a class that 
> implements ServletContextListener, eg something like:

THIS is the class I was looking for.  I kept coming up with Filter but
knowing that wasn't right.  I've used ServletContextListener before,
too!

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

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



Re: Passing multiple parameters from a jsp page to action class - using JSTL - How?

2003-10-15 Thread Kris Schneider

  
  


Quoting Joanne L Corless <[EMAIL PROTECTED]>:

> Hi,
> 
> Spurred on with my recent success regarding passing parameters on html:link
> I now want to pass 2 parameters into the action class from the jsp. I
> realise I have to create a java.util.map to do this but how can I combine
> this with using the JSTL?
> 
> i.e. Currently I am passing in one parameter
> 
>paramId="pageName"
>   paramName="topMenuItem"
>   paramProperty="menuItemName"/>
> 
> which equates on rendering to an  ="/changePage?pageName=menuItemNameValue">
> 
> Now I need to end up with a 
="/changePage?pageName=menuItemNameValue&menuBlock=menuBlockValue">.
>  Which I am assuming needs the html:link to be
> 
>name="paramMap"/>
> 
> Therefore how using the JSTL can I instantiate a java.util.map and populate
> it? It is simple enough to do in a java scriptlet
> 
> <% java.util.Map paramMap = new HashMap();
> paramMap.put("pageName", "menuItemNameValue");
> paramMap.put("menuBlock","menuBlockValue");
> %>
> 
> but I am trying to follow best practices and use the tag libraries
> 
> Regards
> 
> Joanne Corless
> 
> CSC Computer Sciences Limited
> (   Office +44 (0)1772 318025
> ( Mobile +44 (0)7767 656588
> * email [EMAIL PROTECTED]
> 
> 
> Based at: CSC, Alliance House, Library Road, Chorley, Lancs, PR6 7EN
> CSC Computer Sciences Limited: Registered in England, No. 963578.
> Registered office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire,
> GU11 1PZ.

-- 
Kris Schneider 
D.O.Tech   

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



Passing multiple parameters from a jsp page to action class - using JSTL - How?

2003-10-15 Thread Joanne L Corless
Hi,

Spurred on with my recent success regarding passing parameters on html:link
I now want to pass 2 parameters into the action class from the jsp. I
realise I have to create a java.util.map to do this but how can I combine
this with using the JSTL?

i.e. Currently I am passing in one parameter



which equates on rendering to an 

Now I need to end up with a .
 Which I am assuming needs the html:link to be



Therefore how using the JSTL can I instantiate a java.util.map and populate
it? It is simple enough to do in a java scriptlet

<% java.util.Map paramMap = new HashMap();
paramMap.put("pageName", "menuItemNameValue");
paramMap.put("menuBlock","menuBlockValue");
%>

but I am trying to follow best practices and use the tag libraries

Regards

Joanne Corless

CSC Computer Sciences Limited
(   Office +44 (0)1772 318025
( Mobile +44 (0)7767 656588
* email [EMAIL PROTECTED]


Based at: CSC, Alliance House, Library Road, Chorley, Lancs, PR6 7EN
CSC Computer Sciences Limited: Registered in England, No. 963578.
Registered office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire,
GU11 1PZ.




This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.






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



RE: message vs bean:message & Tiles [SOLVED]

2003-10-15 Thread Fenderbosch, Eric
Reading jstl-1_0-fr-spec.pdf helped.
I needed


-Original Message-
From: Fenderbosch, Eric 
Sent: Wednesday, October 15, 2003 10:05
To: [EMAIL PROTECTED]
Subject: fmt:message vs bean:message & Tiles


Maybe this would be better off in the taglibs group, but since it is also Tiles 
related, I thought I'd ask here first.
I'm trying to get rid of all instances of bean:message in favor of fmt:message, but 
I'm not getting it to work when referencing a tiles attribute.

tiles-config.xml:
  






  
  




  

In my defaultLayout.jsp this works:


  
  


as does:


  
  


But neither this:


  
  


nor this:


  
  


work correctly.  I've read Chapter 13 in O'Reilly Jakarta Struts and Cedric's Tiles 
Advanced Features, but I'm still confused on how to get this to work.  Any help would 
be appreciated.

Thanks.

Eric

-
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: fmt:message vs bean:message & Tiles

2003-10-15 Thread Kris Schneider
Try:



Of course, you also need to make sure JSTL knows where your messages are stored.
You can set a default by including something like this in your web.xml:


   javax.servlet.jsp.jstl.fmt.localizationContext
   ApplicationResources


Quoting "Fenderbosch, Eric" <[EMAIL PROTECTED]>:

> Maybe this would be better off in the taglibs group, but since it is also
> Tiles related, I thought I'd ask here first.
> I'm trying to get rid of all instances of bean:message in favor of
> fmt:message, but I'm not getting it to work when referencing a tiles
> attribute.
> 
> tiles-config.xml:
>   
> 
> 
> 
> 
> 
> 
>   
>   
> 
> 
> 
> 
>   
> 
> In my defaultLayout.jsp this works:
> 
> 
>   
>   
> 
> 
> as does:
> 
> 
>   
>   
> 
> 
> But neither this:
> 
> 
>   
>   
> 
> 
> nor this:
> 
> 
>   
>   
> 
> 
> work correctly.  I've read Chapter 13 in O'Reilly Jakarta Struts and Cedric's
> Tiles Advanced Features, but I'm still confused on how to get this to work. 
> Any help would be appreciated.
> 
> Thanks.
> 
> Eric

-- 
Kris Schneider 
D.O.Tech   

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



How to i make the default selection of radio button

2003-10-15 Thread Mahendra K. Kutare
Hi all,

I am facing an issue of default selecting a radio button in struts.

I have written code to create two radio button, but i want one of them
to be default selected.

Can anyone help me on this ? How to achieve this default selection of
one of the radio buttons.


Thanks and regards
Mahendra

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



Display Tag :

2003-10-15 Thread MBrewer
The display tag jsp library is pretty cool, but can i do lists where i do
not know the Names or number of columns
until runtime.

Mike





The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.



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



Re: Keeping Actions clean - separating actions from businessmodel from persistence

2003-10-15 Thread Sgarlata Matt
Hi Sasha, sorry it has taken me so long to get back to you.  I've been
putting a lot of thought into my response, and I would still like to think
about the issues here a little more.  Specifically, I want to evaluate using
the iBATIS DAO layer instead of my own custom DaoManager.  I will probably
send a follow-up email in a couple weeks.  Comments below...
- Original Message - 
From: "Sasha Borodin" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 11:32 PM
Subject: Re: Keeping Actions clean - separating actions from businessmodel
from persistence


> What I'm trying to grasp is where it it best for the business object <--->
> dao interaction to take place.  OK, let's make an example, cause I'm
having
> trouble thinking abstractly tonight...
>
> An online store customer selects several products, clicks "check out",
which
> calls a CheckOutAction.  From there:
>
> 1.  The CheckOutAction retrieves a Customer and a List of Product's from
the
> session; it creates an Order out of those components; it then calls
> placeOrder(Order) on a Store business class.
>
> 2.  Store.placeOrder(Order) saves the Order to persistent storage; then
uses
> an Emailer business class to emailOrderConfirmation(Order).
>
> --now the question:
>
> 1.  Which component is responsible for discovering the DaoManager,
> retrieving the OrderDao from that manager, and telling the dao to save()?
> Is it:
> a. the Store.placeOrder() method?
> -or-
> b. the Order business object itself?

If you get a copy of the Core J2EE patterns book that someone recommended,
then the answer is "well, it depends".  If you are using business objects as
described in the book, the business object's job is to shield the rest of
your application from the underlying persistence mechanism.  It could do
this using the DaoManager.

However, I would still guess that Store.placeOrder() would tell the Order
business object when the save needs to take place, and the Order business
object would delegate this command to the save() method of the DaoManager.
Otherwise the business object knows when to save itself... that sounds to me
like a TV knowing when to turn itself on/off ;)

> Is it the business entity object's responsibility to discover and use its
> dao's, or that object's *user's* responsibility?
>
> Matt, you seem to forgo business entity classes and create DAO's right in
> your action, passing those to business "use case" classes...

Yes, that is exactly what I do for the sake of simplicity.  The Core J2EE
patterns book says that when the data model closely represents the domain
model this approach is valid.

> Mahesh, your business "use case" components seem to be the ones
responsible
> for discovering the right DaoManager implementation, and retrieving the
> needed DAO classes...
>
> Anyone make the business entity classes themselves responsible for finding
> and using their respective dao's (say, when an Order is issued a save()
> command)?
>
> Thanks for all your input!
>
> -Sasha
>
>
> On 10/10/03 20:25, "Sgarlata Matt" <[EMAIL PROTECTED]> wrote:
>
> > I have a 4 tier architecture.
> >
> > PRESENTATION TIER
> > - Struts
> > - Action classes
> >
> > BUSINESS TIER
> > - Business Objects
> >
> > INTEGRATION & PERSISTENCE TIER
> > - DAO Manager
> > - DAOs
> > - Other database access mechanisms (I do some JDBC using a fancy
home-grown
> > SQL building mechanism when dealing with particularly complex queries)
> >
> > RESOURCE TIER
> > - Databases
>
>
> -
> 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]



fmt:message vs bean:message & Tiles

2003-10-15 Thread Fenderbosch, Eric
Maybe this would be better off in the taglibs group, but since it is also Tiles 
related, I thought I'd ask here first.
I'm trying to get rid of all instances of bean:message in favor of fmt:message, but 
I'm not getting it to work when referencing a tiles attribute.

tiles-config.xml:
  






  
  




  

In my defaultLayout.jsp this works:


  
  


as does:


  
  


But neither this:


  
  


nor this:


  
  


work correctly.  I've read Chapter 13 in O'Reilly Jakarta Struts and Cedric's Tiles 
Advanced Features, but I'm still confused on how to get this to work.  Any help would 
be appreciated.

Thanks.

Eric

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



RE: Required checkbox field & Validator

2003-10-15 Thread Erez Efrati
Forgive me for abusing this thread but... by the way how do you insert a
'-' and  chars into a validator mask regular expression?

Erez

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:55 PM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator

If I think you mean what you mean, I think it's done so that any depends

validation that fails returns and no more validations on that field are 
done. But I've seen all fields getting validated in my client-side
stuff.

On 10/15/2003 03:19 PM Erez Efrati wrote:
> One thing else I don't get is why does the checkups in the client side
> validations are not done field by field, where on each field run all
the
> checks it depends on? Am I so special and unique to be doing it this
> way?
> 
> Erez
> 
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 15, 2003 3:02 PM
> To: Struts Users Mailing List
> Subject: Re: Required checkbox field & Validator
> 
> On 10/15/2003 02:23 PM Erez Efrati wrote:
> 
>>I have a DynaActionForm with a boolean field representing a checkbox
>>field which must be checked before processing the form. I've tried
>>marking him as depending on 'required' but that didn't do it and the
>>server side FieldChecks.validateRequired () of Struts just let it
> 
> pass. 
> 
>>Going into the code I saw that the field already have a value of
> 
> 'false'
> 
>>thus it passes the check of not being null or blank.
>>
>>Now, I can put the code into my Action or into the derived form class
>>validate() method but I think that was not the idea of having an
>>infrastructure of validations. 
>>
>>How can this be done? Have I missed anything?
> 
> 
> This might be a kludge, but have you tried a validate mask = 'true'?
> 
> Otherwise I think it's not do-able with the standard validations.
> 
> Adam
> 


-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


-
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: Required checkbox field & Validator

2003-10-15 Thread Shah, Prashant (Controllers, IT)
Please help me in unsubscribing to this list. I have sent multiple request
to unsubscribe by sending email to 

[EMAIL PROTECTED]

I get email confirming that I have been unsubscribed successfully but then
also I keep getting emails from the user list.

Thanks for your help in advance. 

Prashant Shah
860-547-4947


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 9:52 AM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator


Sorry, no idea! I was just taking a wild guess. I thought a mask was a 
regular expression. Is that not so?


On 10/15/2003 03:14 PM Erez Efrati wrote:
> Do you mean putting a mask with value of 'true'? In that case, I haven't
> but I will do it. Is it a valid mask value?
> 
> If this doesn't work I guess I'd have to write one of my own.
> 
> Erez
> 
> 
> 
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 15, 2003 3:02 PM
> To: Struts Users Mailing List
> Subject: Re: Required checkbox field & Validator
> 
> On 10/15/2003 02:23 PM Erez Efrati wrote:
> 
>>I have a DynaActionForm with a boolean field representing a checkbox
>>field which must be checked before processing the form. I've tried
>>marking him as depending on 'required' but that didn't do it and the
>>server side FieldChecks.validateRequired () of Struts just let it
> 
> pass. 
> 
>>Going into the code I saw that the field already have a value of
> 
> 'false'
> 


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


This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


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



pre-selecting html input object values

2003-10-15 Thread Manav Gupta
Hi,

Is there a standard way to pre-select HTML input object values (such as
select, text, checkbox, etc) using struts taglibs?

Thanks
M

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



[OT] TestWEB

2003-10-15 Thread Susan Bradeen
Is anyone using Original Software's TestWEB web application testing tool? 

http://www.testweb.com/

All was going well while recording test scripts, but editing them is 
becoming a bear for me. I think my problem lies in all the forwarding my 
Struts application does ... the fact that the URL does not really match 
the page the client is displaying. Trying to add or delete URLs from a 
script, and then getting the script to playback without conflicts seems 
impossible. Can anyone comment on their experiences with this product?

Thanks,
Susan Bradeen

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



Re: IMPORTANT: internationalize large chunks of text/HTML

2003-10-15 Thread Mick Knutson
Well, I did not want to put URGENT, but yes, everything is a critical mass
as I have a 2 day expo starting tomorrow for 500+ people that I am
demonstrating my new application to. So with lack of sleep and heaps of
stress, I am sorry but everything is fairly important right now.

BTW, I really do appreciate the emails of help at this critical time for me.
It has helped out!


---
Thanks
Mick Knutson

The world is a playground...Play Hard, Play Smart.
Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
Contact System" can help you Play Smart.

+00 1 (708) 570-2772 Fax
MSN: mickknutson
ICQ: 316498480
ICQ URL: http://wwp.icq.com/316498480

---

- Original Message - 
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 15, 2003 1:26 AM
Subject: RE: IMPORTANT: internationalize large chunks of text/HTML


> What! Can you not see that the very fate of human civilisation itself
> depends on it? Open your eyes man!
>
> -Original Message-
> From: Peter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 15 October 2003 16:23
> To: [EMAIL PROTECTED]
> Subject: Re: IMPORTANT: internationalize large chunks of text/HTML
>
>
> IMPORTANT? Not for me sorry!
>
> Mick Knutson wrote:
> >
> > I have posted this before, and I still am trying to
> > understand the best way
> > to approach this.
> >
> > I have 100% of my labels in a Resource bundle
> > currently. But I also have
> > larger pages of text (1-2 pages at a time), that I
> > need to be
> > internationalized just like my labels. I am
> > wondering what the best way to
> > do this is?
> > I just want to know what other people are doing that
> > is easy on maintenance.
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> >
> > The world is a playground...Play Hard, Play Smart.
> > Visit  http://www.YourSoS.com to learn how our
> > "Personal Emergency Alert &
> > Contact System" can help you Play Smart.
> >
> > +00 1 (708) 570-2772 Fax
> > MSN: mickknutson
> > ICQ: 316498480
> > ICQ URL: http://wwp.icq.com/316498480
> >
> > ---
>
>
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> -
> 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]



Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
If I think you mean what you mean, I think it's done so that any depends 
validation that fails returns and no more validations on that field are 
done. But I've seen all fields getting validated in my client-side stuff.

On 10/15/2003 03:19 PM Erez Efrati wrote:
One thing else I don't get is why does the checkups in the client side
validations are not done field by field, where on each field run all the
checks it depends on? Am I so special and unique to be doing it this
way?
Erez

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 3:02 PM
To: Struts Users Mailing List
Subject: Re: Required checkbox field & Validator

On 10/15/2003 02:23 PM Erez Efrati wrote:

I have a DynaActionForm with a boolean field representing a checkbox
field which must be checked before processing the form. I've tried
marking him as depending on 'required' but that didn't do it and the
server side FieldChecks.validateRequired () of Struts just let it
pass. 

Going into the code I saw that the field already have a value of
'false'

thus it passes the check of not being null or blank.

Now, I can put the code into my Action or into the derived form class
validate() method but I think that was not the idea of having an
infrastructure of validations. 

How can this be done? Have I missed anything?


This might be a kludge, but have you tried a validate mask = 'true'?

Otherwise I think it's not do-able with the standard validations.

Adam



--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   >