RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
> From: Bender, James [mailto:[EMAIL PROTECTED] > The user can click > Search Attributes | Search Components | Search Templates > I've provided html:link's like these respectively: > doPrepareSearch.do?searchType=attribute | > doPrepareSearch.do?searchType=component | > doPrepareSearch.do?searchTy

RE: newbie html-el question

2004-03-26 Thread Bender, James
sage. Does it make sense what I've described? Thanks again!, Jim -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:03 PM To: Struts Users Mailing List Subject: RE: newbie html-el question From: Bender, James [mailto:[EMAIL PROTECTED] &g

RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
From: Bender, James [mailto:[EMAIL PROTECTED] > I am trying to display a value from a requestAttribute in an ...> but I can't get it to work. Here is my code: > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > "Attribute searchType has no value" > Someone told me I

RE: newbie html-el question

2004-03-26 Thread Slattery, Tim - BLS
> I am trying to display a value from a requestAttribute in an > but I can't get it to work. Here is my code: > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > "Attribute searchType has no value" > Someone told me I have to do something more like this: >

FW: newbie html-el question

2004-03-26 Thread Bender, James
> I am trying to display a value from a requestAttribute in an ...> but I can't get it to work. Here is my code: > > value="<%=request.getAttribute("searchType")%>"/> > > I recieve the error: > > "Attribute searchType has no value" > > Someone told me I have to do something more like this: >

tiles question

2004-03-25 Thread Mariano García
Hi all, I have an html page (external.html) and in another my struts application is running, could I use a title:put pointing to his web page? That page is a dynamic perl page... I don't know if tiles:get tag gets directly a file, o maybe it can do a http request to another machine, in order to g

RE: html:javascript question

2004-03-25 Thread Colm Garvey
ge- From: Andreas Solarik [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 15:18 To: 'Struts Users Mailing List' Subject: AW: html:javascript question nice one, didn't even occur to me to do this. Andreas -Ursprüngliche Nachricht- Von: Janarthan Sathiamurthy [mailto:[EMAIL P

greetings & a newbie question

2004-03-24 Thread dasa
hi, just joined the list, and i have a newbie question about struts design. this is where i am at. i have looked at struts about a year back, and rolled my own version of mvc web architecture, stealing several basic ideas from struts. at the time, it appeared that many features of struts were

Re: Basic question about ActionForms

2004-03-24 Thread Hubert Rabago
' actionform as it > Was before. > Now the question: if my actionform has scope of session, do I have to > Put the value in the session explicitly or struts will do it for me? > > > IT LOOKS like all the values are erased all the time, no matter if I > have > Specified as sco

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
nice one, didn't even occur to me to do this. Andreas -Ursprüngliche Nachricht- Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. März 2004 16:05 An: Struts Users Mailing List Betreff: RE: html:javascript question var myMessage = "";

RE: html:javascript question

2004-03-24 Thread Janarthan Sathiamurthy
var myMessage = ""; alert(myMessage) -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 6:23 PM To: Struts Users Mailing List Subject: html:javascript question I want to put the msg inside a javasript alert (popup with error message

Basic question about ActionForms

2004-03-24 Thread Marco Mistroni
(in theory). However, what is in the session looks like an 'empty' actionform as it Was before. Now the question: if my actionform has scope of session, do I have to Put the value in the session explicitly or struts will do it for me? IT LOOKS like all the values are erased all the time,

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
ute("attributeName"); Good luck, Andreas -Ursprüngliche Nachricht- Von: Daniel [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. März 2004 13:53 An: Struts Users Mailing List Betreff: html:javascript question I want to put the msg inside a javasript alert (popup with error

html:javascript question

2004-03-24 Thread Daniel
I want to put the msg inside a javasript alert (popup with error message ),some one know how can I make it ???

RE: [OT] Design Question

2004-03-23 Thread Marco Mistroni
Question Hi all, This is off-topic, but i hope that somebody helps me. I have an application that use struts, spring and hibernate. The security is based on roles using CMS (JdbcRealm over Tomcat 4.1.29) The goal of this application is to manage contracts. Authorized users creates contracts with

[OT} web service question

2004-03-22 Thread Ashish Kulkarni
Hi, i am trying to develop a webserivce using RPC and/or SOAP all the samples i have seen dont deal atall with the database or with servlet context, I want to get data from a servlet context which i load when loading the application can anyone provide some code example or site where i can have this

Re: Validation Question with Indexed Properties

2004-03-22 Thread Craig Tataryn
friendly *bump* On Sun, 21 Mar 2004 18:12:54 -0600 (CST), "Craig Tataryn" wrote: > > Hi, I have the following definition in my validation.xml file: > > > > property="provStateId" > indexedListProperty="address" >

Re: off-theme question: about getServletConfig and getServeletContext

2004-03-21 Thread Craig R. McClanahan
Quoting Mu Mike <[EMAIL PROTECTED]>: > does the servlet container has only one servletcontext instance for all the > servlets it manages? and the same to servletconfig instance? > There is one ServletContext instance for each web application (which can encompass many servlets and JSP pages). T

off-theme question: about getServletConfig and getServeletContext

2004-03-21 Thread Mu Mike
does the servlet container has only one servletcontext instance for all the servlets it manages? and the same to servletconfig instance? Thanks&Regards _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com --

Re: [OT] Object Design Question

2004-03-21 Thread Pedro Salgado
On 12/03/2004 21:26, "Avinash Gangadharan" <[EMAIL PROTECTED]> wrote: > People, > I have a design question. It is regarding the retrieval of parent and > child objects in the best possible manner. For eg. Let's say there is a > Person object with properties su

Validation Question with Indexed Properties

2004-03-21 Thread Craig Tataryn
Hi, I have the following definition in my validation.xml file: I then have a form that is built like so: <% addressIndex = "address(" + region.getKey() + ")"; %> . . . This generates HTML that looks like:

Re: validwhen validation question

2004-03-19 Thread Mah R
Is it possisble to use validwhen for date fields like comparing dates? Brendan Richards <[EMAIL PROTECTED]> wrote: I'm looking at using validwhen for a complex validation. I've got a value that can either be ignored when another parameter is set or is valid when it's a date. A simple date va

[OT] Design Question

2004-03-18 Thread Claudio Sanchez
Hi all, This is off-topic, but i hope that somebody helps me. I have an application that use struts, spring and hibernate. The security is based on roles using CMS (JdbcRealm over Tomcat 4.1.29) The goal of this application is to manage contracts. Authorized users creates contracts with supplier

validwhen validation question

2004-03-18 Thread Brendan Richards
I'm looking at using validwhen for a complex validation. I've got a value that can either be ignored when another parameter is set or is valid when it's a date. A simple date validation would be something like this: datePatterndd-MM- Can a validwhen call another validati

[OT]Re: Off topic Oracle JDeveloper question

2004-03-18 Thread Duncan Mills
Martin you can ask this on the JDeveloper forum on OTN http://forums.oracle.com/forums/forum.jsp?forum=83 However, I assume you talking about the New Dialog in JDev 9.0.3 / 9.0.4? The option is there in mine - but you'll find it's disabled unless you have a project created to put it into. So creat

Off topic Oracle JDeveloper question

2004-03-17 Thread Martin Gainty
Hello Anyone out there using JDeveloper know how to add "Java Web Services" item to General / WebServices Menu Sorry for being completely off topic but I dont know where else to ask Thank You, Martin - To unsubscribe, e-mail:

RE: scope question

2004-03-17 Thread Shahak.Nagiel
"Application" scope, aka global, aka servlet context -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 5:14 AM To: Struts Users Mailing List Subject: scope question Hello, I know this could be a dumb question, but how do access t

Re: URL Pattern question

2004-03-17 Thread jbalaji
HI , Just go through the name of the file matches excatly file name existing directory corrected. Ex: < sample>/web.xml/* Bye MOHAN RADHAKRISHNAN <[EMAIL PROTECTED]> wrote: HI My URL pattern in web.xml is emis-web Require users to authenticate /emis/* POST GET Now http://localho

URL Pattern question

2004-03-17 Thread MOHAN RADHAKRISHNAN
HI My URL pattern in web.xml is emis-web Require users to authenticate /emis/* POST GET Now http://localhost:/emis prompts fo

scope question

2004-03-17 Thread Rajat Pandit
Hello, I know this could be a dumb question, but how do access the objects stored in the ServletContext object using

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
6 PM > To: 'Struts Users Mailing List' > Subject: RE: [OT] Object Design Question > > > That's the way I have it now, a view object querying the datastore and > forming the business objects. The view issues a query for the parent and > then calls the views of the

RE: [OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
back together and then parsing them out would be better but sure not a clean OO way of getting data. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:01 PM To: Struts Users Mailing List Subject: RE: [OT] Object Design Question +1. Joi

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
ay, March 12, 2004 3:37 PM > To: Struts Users Mailing List > Subject: RE: [OT] Object Design Question > > > It's always on a case by case basis. When and how much do you need at a > given time? Hibernate/JDO/OJB/etc can handle these things for you via a > config to sp

Ridiculously simple (I hope) question about url patterns

2004-03-12 Thread Joe Hertz
I'm trying to an application in progress to use a /do/* url pattern instead of a *.do. I'm finding some strange behavior I haven't quite isolated, but the least of it is that each successive mouseclick is prepending an extra /do to the uri portion of the url. Is there something I need to put

Re: [OT] Object Design Question

2004-03-12 Thread Geeta Ramani
Avinash: ...Adding to what Jacob says below: if you are writing your own, this is a good link to study: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Regards, Geeta "Hookom, Jacob" wrote: > It's always on a case by case basis. When and how much do you need at

RE: [OT] Object Design Question

2004-03-12 Thread Hookom, Jacob
PROTECTED]' Subject: [OT] Object Design Question People, I have a design question. It is regarding the retrieval of parent and child objects in the best possible manner. For eg. Let's say there is a Person object with properties such as ssn, lastName and firstname. It also has

[OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
People, I have a design question. It is regarding the retrieval of parent and child objects in the best possible manner. For eg. Let's say there is a Person object with properties such as ssn, lastName and firstname. It also has a list child objects ( "Address" ) of addresse

RE: question

2004-03-09 Thread as as
Hi Paul, Your question seems very similar to my post last week. "I need to set a "pre-defined" option in using the >>"value=" attribute, I thought the following will work: " For this you can set the attribute in your form class and when you use in your

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel H. F. e Silva
Hi all, Other possibility is to check whether 'myBean' exists in some scope. Cheers, Daniel Silva. --- Daniel Henrique Alves Lima <[EMAIL PROTECTED]> wrote: >Have you import logic taglibs ? > > steve hazelwood wrote: > > >I have an action that creates a bean. That bean has a > >proper

Re: collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
Solved, well done. I'm glad I put 'newbie' in the subject line now :-) Thanks, Steve On 9 Mar 2004 at 11:03, Daniel Henrique Alves Lima wrote: Have you import logic taglibs ? steve hazelwood wrote: >I have an action that creates a bean. That bean has a >property myStrings that returns a c

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel Henrique Alves Lima
Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: Then I get an exception "Cannot find bean myId in any sc

collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: Then I get an exception "Cannot find bean myId in any scope". I can understand that cos myId is a String not a

RE: question

2004-03-08 Thread Au-Yeung, Stella H
I see. I'll try that tomorrow and let you know. Thx. -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:05 AM To: Struts Users Mailing List Subject: Re: question the most simplest solution is often the best Au-Yeung, Stella H

Re: question

2004-03-08 Thread Paul Stanton
store the value into "person.id". In other words, I don't know how to convert my statement below to yours: -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: question i think

Re: question

2004-03-08 Thread Paul Stanton
e value into "person.id". In other words, I don't know how to convert my statement below to yours: -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: question i think you are

RE: question

2004-03-08 Thread Au-Yeung, Stella H
statement below to yours: > > collection="uList" name="UserFormBean" property="userId" > labelproperty="commonName"/> -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts U

RE: question

2004-03-08 Thread Au-Yeung, Stella H
s Users Mailing List Subject: RE: question >>engineerId is an attribute in the dataBean "shopWorkOrder". Can't I >>reference shopWorkOrder.engineerId inside the <%= %>? >> I guess "shopWorkOrder" is the attribute name of the bean. The &l

RE: question

2004-03-08 Thread Gopalakrishnan, Jayesh
ession. Use the to define a JSP variable and use it in <%= %> then use <%=engineerId%> in the . -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:49 PM To: 'Struts Users Mailing List' Subject: RE: question I got a compila

Re: question

2004-03-08 Thread Paul Stanton
palakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: question Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [ma

RE: question

2004-03-08 Thread Au-Yeung, Stella H
ED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: question Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent:

RE: question

2004-03-08 Thread Gopalakrishnan, Jayesh
Try something like this, The "value" attribute is RT-Exp, and not name of a bean. hth -jayash -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 3:38 PM To: '[EMAIL PROTECTED]' Subject: question Hi: I need t

Re: question

2004-03-08 Thread Paul Stanton
i think you are trying to do the following... this is assuming uList is a list of beans with id/name fields and your form has a userId field. Au-Yeung, Stella H wrote: Hi: I need to set a "pre-defined" option in using the "value=" attribute, I thought the following will work: I h

question

2004-03-08 Thread Au-Yeung, Stella H
Hi: I need to set a "pre-defined" option in using the "value=" attribute, I thought the following will work: I have a "person" bean. I want to set the "selected" option if "person.id" matches "userId" . I thought the "value" attribute is to be compared with for marking an option select

Re: Another struts question on

2004-03-03 Thread Tim Coy
The resulting html text will wrap inside of the element tags that you have placed it into unless you explicitly tell it not to with something like comments here Or with css comments here So in other words you should not have to do anything. If you want to keep the text width a certain size you ca

Another struts question on

2004-03-03 Thread Au-Yeung, Stella H
If I use to display a bean property "comments" which happens to be a long line of text. Is there a way to enforce "wrapping" with so the long "comments" can be displayed as a paragraph? Thanks! - To unsubscribe, e-mail: [EMAI

RE: Question

2004-03-03 Thread Andrew Hill
If you want to get better answers quicker Id suggest you learn the concept of 'meaningful subjects' for emails. "Question" is not a meaningful subject line. http://www.catb.org/~esr/faqs/smart-questions.html Ok now on to your "Question". Having been kind enough to t

Question

2004-03-03 Thread Vijay . Kukreja
Hello All, I have a requirement, where on page we have 3 fields named condition1, condition2, and condition3. These three fields are text fields. No problem in doing that. Now the requirement is that if the user wants to add more conditions they can click on the more conditions link and then we

Re: ActionMapping problem: upgrading struts1.0 to struts1.1 question

2004-03-03 Thread Alexander Craen
where are you trying to access your actionmapping? - Original Message - From: "Averbukh Stella" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 6:13 PM Subject: ActionMapping problem:

Re: logic flow question (more or less)

2004-03-03 Thread Alexander Craen
what about radio buttons? - Original Message - From: "Max Kovalenkov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 7:40 PM Subject: logic flow question (more or less) > Hi, > > New to Struts, so pretty much just learning b

logic flow question (more or less)

2004-03-03 Thread Max Kovalenkov
Hi, New to Struts, so pretty much just learning by example for now; however I couldn't find a good example for this, hence the question: I have a jsp page that lists certain equipment requests that were fetched from a database by a servlet and are now contained in the request sco

ActionMapping problem: upgrading struts1.0 to struts1.1 question

2004-03-03 Thread Averbukh Stella
In the current struts 1.0 application, we do following: String actionNameFind = "/" + thisForm.getAction(); ActionMapping newMapping = (ActionMapping) getServlet().findMapping(actionNameFind); Does anybody know how I can retrieve ActionMapping in a similar manner in struts 1.1?

Re: Newbie question

2004-03-03 Thread James Mitchell
age - From: "Satya Narayan Dash" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 9:31 AM Subject: Newbie question Hi, I am new to struts. I found a number of simple tutorials (with examples) to understand struts-1.0, but there seems to none for struts

Newbie question

2004-03-03 Thread Satya Narayan Dash
Hi, I am new to struts. I found a number of simple tutorials (with examples) to understand struts-1.0, but there seems to none for struts-1.1. I have gone through one struts-1.0 tutorial given at jspfinder.com, which is good. Can you please recommend for struts-1.1 (with examples)? Thanks, Sa

Re: Question about DTDs ...

2004-03-03 Thread nicolas De Loof
DOCTYPE syntax uses an optional URI for the DTD, so that a validating XML parser can download an unknown DTD and validate the document. Struts registers local copy of it's configuration DTD to the XML parser (struts, tiles & validator). This way they're is no need to have access to the Internet

Question about DTDs ...

2004-03-03 Thread Alain Van Vyve
A lot of things have to be parsed : web.xml, struts-config.xml and so on so for example, lines like that are already present in our XML files : http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> or "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> I understand the concept of DT

RE: Question about File downlods and letting users save a downloaded file. I am losing the original file name.

2004-03-01 Thread Stephan Jones
Answered My own Question. Thank you Jacob -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:04 AM To: Struts Users Mailing List Subject: [OT] RE: File Download? This is what we use for file downloads (Excel/PDF files). String

Question about File downlods and letting users save a downloaded file. I am losing the original file name.

2004-03-01 Thread Stephan Jones
My Problem is with the URL presented when i get prompted to save a file. I am retreiving files/resources from a database and want to let the users browse them at will. The code below works except when i get prompted to Save or Open the file. The name of the file is the name of my Action Mapping. i

RE: FormBeans: A question of Style

2004-02-27 Thread Paul, R. Chip
Table vs Graph) Independence is very important for reusability and maintainability. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 4:53 PM To: Struts Users Mailing List Subject: RE: FormBeans: A question of Style This is just wrong. This

RE: FormBeans: A question of Style

2004-02-27 Thread Michael McGrady
ECTED] Sent: Friday, February 27, 2004 11:41 AM To: Struts Users Mailing List Subject: Re: FormBeans: A question of Style I consider the ActionForms to be part of the view primarily. They should both collect submitted data and provide the JSP (or other view components) with most or all the data they

RE: FormBeans: A question of Style

2004-02-27 Thread Max Cooper
On Thu, 2004-02-26 at 23:01, Pradeep, PK wrote: > I think whatever you do you can't make JSP and Action Class independent. > Where are you populating ActionForm Object from the results from service > layer? In Action class only right? Which you know very well for which > JSP page it will be applica

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
ginal Message- From: Pradeep, PK [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 15:02 To: Struts Users Mailing List Subject: RE: FormBeans: A question of Style I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object from t

RE: FormBeans: A question of Style

2004-02-26 Thread Pradeep, PK
ed in ActionForm? How one can populate resultset in action form which will automatically get populated in html table.. -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 11:41 AM To: Struts Users Mailing List Subject: Re: FormBeans: A questi

RE: Xhtml tag usage question

2004-02-26 Thread Renato Romano
- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: giovedì 26 febbraio 2004 12.36 To: Struts Users Mailing List Subject: Re: Xhtml tag usage question Unfortunately it saves the xhtml 'flag' in page scope so there isn't much you can do about it. Background: BaseHandlerTag

custom validator question

2004-02-26 Thread Anderson, James H [IT]
I'm creating a custom validator to enforce a <= relationship between 2 date fields and am having a problem. A validator method gets a Field arg for the field with which it's associated in validation.xml, but I need to also get the Field object for the other date field. I need this so that I can

Re: custom validator question

2004-02-26 Thread Niall Pemberton
etVarValue("compareDate"); String compareDate = ValidatorUtils.getValueAsString(bean, compareDateProperty); Niall - Original Message - From: "Anderson, James H [IT]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 2:54 PM Subject

Re: custom validator question

2004-02-26 Thread Niall Pemberton
rsday, February 26, 2004 3:17 PM Subject: Re: custom validator question > Specify the second field as > > > > datePattern > dd/MM/ > > > compareDate > mySecondDate > > > > Then in you

RE: custom validator question

2004-02-26 Thread claire knowles
til.getValueAsString(bean, propertyTime); . . . . . Hope this helps Claire -Original Message- From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] Sent: 26 February 2004 14:54 To: [EMAIL PROTECTED] Subject: custom validator question I'm creating a custom validator to

RE: custom validator question

2004-02-26 Thread Anderson, James H [IT]
for myFirstDate, but that's just an assumption... -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 10:18 AM To: Struts Users Mailing List Subject: Re: custom validator question Specify the second field as datePa

RE: custom validator question

2004-02-26 Thread Anderson, James H [IT]
I wasn't aware of it--I'm using Struts 1.1. I'll check it out. Thanks. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 10:20 AM To: Struts User Jakarta Subject: Re: custom validator question Also, what about usi

Struts menu Question

2004-02-26 Thread Daniel
I know, this list is not struts-menu list, but .. at the struts menu example (permissions menu) at SetPermissionsAction.java there is this line: String[] menus = request.getParameterValues("menus"); I'd like to know just where they put the menus attribute in a session ?? thanks D

FormBeans: A question of Style

2004-02-26 Thread Scott_Schenkein
We have 2 camps of thought on the subject of the appropriate use of Struts form beans. Here are the thoughts: Camp 1: Form beans are controller components and should be used only to transport user input data between JSP forms (or across JSP forms) and Action classes. Camp 2: Form beans should

Re: FormBeans: A question of Style

2004-02-26 Thread Niall Pemberton
nsfer data between the Model and View layers." Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 27, 2004 1:57 AM Subject: FormBeans: A question of Style > > We have 2 camps of thought on the subject of the appr

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
, 27 February 2004 12:12 To: Struts Users Mailing List Subject: Re: FormBeans: A question of Style Dam - I was in Camp 3: Form beans are View components...but looking in the user guide... "Note: While ActionForm beans often have properties that correspond to properties in your Model beans

RE: FormBeans: A question of Style

2004-02-26 Thread cnd
04 12:12 > To: Struts Users Mailing List > Subject: Re: FormBeans: A question of Style > > > Dam - I was in Camp 3: Form beans are View components...but looking in the > user guide... > > "Note: While ActionForm beans often have properties that correspond to > propert

Re: FormBeans: A question of Style

2004-02-26 Thread Max Cooper
I consider the ActionForms to be part of the view primarily. They should both collect submitted data and provide the JSP (or other view components) with most or all the data they need to render the page (camp 2). I say 'most' only because sometimes custom tags can be useful for getting data for lis

Re: Xhtml tag usage question

2004-02-26 Thread Niall Pemberton
en. Niall - Original Message - From: "Renato Romano" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 8:49 AM Subject: Xhtml tag usage question > I tried to insert the xhtml tag in my

Xhtml tag usage question

2004-02-26 Thread Renato Romano
I tried to insert the xhtml tag in my pages, but the only way I found is to insert it in each tile that composes my page. It seems it is not sufficient to put it in the template file, or in the page using the template. Is there a better approach ? Any help is appreciated Renato ___

Re: Simple ActionError question

2004-02-25 Thread Theodosios Paschalidis
Thanks a lot mate, that did the trick! - Original Message - From: "Carl Walker" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 4:01 PM Subject: Re: Simple ActionError question > You Actio

Re: Simple ActionError question

2004-02-25 Thread Carl Walker
; errors.add( ActionErrors.GLOBAL_ERROR, error ); _request.setAttribute( Globals.ERROR_KEY, errors ); fwd = new ActionForward( _mapping.getInput() ); } } Theodosios Paschalidis wrote: > Hi all, > > just a newbie

Simple ActionError question

2004-02-25 Thread Theodosios Paschalidis
Hi all, just a newbie question. I have a PlaceOrderAction and I want to display as an ActionError the items that were out of stock. I would like to be able to pass a String to my ActionError. Is there a way to do this may using Format? Could somebody provide an example? Suppose I have a

RE: A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
Thanks Robert, that works. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 8:52 PM To: Struts Users Mailing List Subject: RE: A question on Struts taglib. Try this:       If you can use JSTL

RE: A question on Struts taglib.

2004-02-24 Thread Robert Taylor
: Tuesday, February 24, 2004 6:12 PM > To: 'Struts Users Mailing List' > Subject: RE: A question on Struts taglib. > > > I changed my code to use "indexId" and got the following error: > > symbol : variable indexId > location: class jsp_servlet._app._f

RE: A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
Line: 136] Here's the changed code:       Any Idea? What did I do wrong? -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:45 PM To: Struts Users Mailing List Subject: RE: A question on Strut

RE: A question on Struts taglib.

2004-02-24 Thread Ramadoss Chinnakuzhandai
add index attribute in your logic iterate and append that index to your host string. e.g yourhoststring+<%=indexId %> -R -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: A question on

Re: A question on Struts taglib.

2004-02-24 Thread Shyam A
You can use the indexId attribute of tag... http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate HTH, Shyam --- "Au-Yeung, Stella H" <[EMAIL PROTECTED]> wrote: > A question on Struts taglib. > Can someone tell me how to reference the "index" of &

A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
A question on Struts taglib. Can someone tell me how to reference the "index" of each element so I can pass it as a parameter with the path string? For example I have the following code, I want to print out 'partNumber' and 'partDescription' and

Re: html:text question

2004-02-23 Thread Thad Humphries
The message-resource file is loaded at startup an held in memory as an instance of org.apache.struts.util.MessageResources. The instance is stored in the ServletContext. To access it from a JSP, look for the Globals.MESSAGES_KEY attribute: <%@ page import="org.apache.struts.Globals" %> <%@ pa

RE: html:text question

2004-02-20 Thread Slattery, Tim - BLS
> how can i add the test value to the html:text like below > property="testers.testerName"/> > You can't nest tags, but you can use the "el" version of the Struts html tags: -- Tim Slattery [EMAIL PROTECTED] - To

Re: html:text question

2004-02-20 Thread Rahul Mohan
answer, U cant nest tags! either use html-el for getting the value or use scriptlets - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 4:35 PM Subject: html:text question > Question, > how can i add the

html:text question

2004-02-20 Thread struts
Question, how can i add the test value to the html:text like below but this is not working, any idea ? thks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   9   10   >