FW: newbie html-el question

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

RE: newbie html-el question

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

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 html-el:text ... but I can't get it to work. Here is my code: html-el:text: property=searchType value=%=request.getAttribute(searchType)%/ I recieve the error: Attribute searchType

RE: newbie html-el question

2004-03-26 Thread Bender, James
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] I am trying to display a value from

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 |

RE: html:javascript question

2004-03-25 Thread Colm Garvey
- 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 PROTECTED] Gesendet

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

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 ??? font color=red html:messages id=msg message=true bundle=geral bean:write name=msg /br /html:messages /font

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
(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 message ),some one know

Basic question about ActionForms

2004-03-24 Thread Marco Mistroni
). 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, no matter if I have

RE: html:javascript question

2004-03-24 Thread Janarthan Sathiamurthy
var myMessage = bean:write name=msg /; 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

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 = bean:write name=msg /; alert

Re: Basic question about ActionForms

2004-03-24 Thread Hubert Rabago
for the first time, obviously the Form is 'emtpy', so I populate it with all the values.. When I am redirected to the action class again, the actionform Should be in the session (in theory). However, what is in the session looks like an 'empty' actionform as it Was before. Now the question: if my

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: [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

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: formset form name=MarketAddressForm field property=provStateId

[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

Validation Question with Indexed Properties

2004-03-21 Thread Craig Tataryn
Hi, I have the following definition in my validation.xml file: formset form name=MarketAddressForm field property=provStateId indexedListProperty=address depends=required

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 such as ssn, lastName and firstname. It also

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? ThanksRegards _ MSN Hotmail http://www.hotmail.com

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). There

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

[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

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: field property=date depends=required,date arg0 key=myForm.date/

[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

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 bean:write a quick answer would help!!

URL Pattern question

2004-03-17 Thread MOHAN RADHAKRISHNAN
HI My URL pattern in web.xml is web-resource-collection web-resource-nameemis-web/web-resource-name descriptionRequire users to authenticate/description url-pattern/emis/*/url-pattern

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/*/sample Bye MOHAN RADHAKRISHNAN [EMAIL PROTECTED] wrote: HI My URL pattern in web.xml is emis-web Require users to authenticate /emis/* POST GET Now

RE: scope question

2004-03-17 Thread Shahak.Nagiel
bean:write name=foo property=bar scope=application/ 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

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:

[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 addresses and a list

RE: [OT] Object Design Question

2004-03-12 Thread Hookom, Jacob
]' 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 a list child objects

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 a

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

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
, 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 specify lazy relationships. When you

RE: [OT] Object Design Question

2004-03-12 Thread Avinash Gangadharan
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. Join

RE: [OT] Object Design Question

2004-03-12 Thread Robert Taylor
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 children to give their list of objects for that parent

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: logic:iterate id=myId name=myBean property=myStrings bean:write name=myId/ /logic:iterate Then I get an exception

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: logic:iterate id=myId name=myBean property=myStrings

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

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 property

RE: html:select 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 html:select 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 html:selectin your jsp, while populating

html:select question

2004-03-08 Thread Au-Yeung, Stella H
Hi: I need to set a pre-defined option in html:select using the value= attribute, I thought the following will work: bean:define id=uList name=UserFormBean property=userList/ html:select property=person.id value=person.id html:options collection=uList name=UserFormBean property=userId

Re: html:select question

2004-03-08 Thread Paul Stanton
i think you are trying to do the following... html:select name=UserFormBean property=userId html:options collection=uList property=id labelProperty=name/ /html:select this is assuming uList is a list of beans with id/name fields and your form has a userId field. Au-Yeung, Stella H

RE: html:select question

2004-03-08 Thread Gopalakrishnan, Jayesh
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: html:select question Hi: I need to set a pre-defined option in html:select using the value= attribute

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: html:select question Try something like this, bean:define id=uList name=UserFormBean property=userList/ bean;define id=person name=person.id / html:select property=person.id value=%=person% html:options collection=uList name=UserFormBean

Re: html:select question

2004-03-08 Thread Paul Stanton
:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: RE: html:select question Try something like this, bean:define id=uList name=UserFormBean property=userList/ bean;define id=person name=person.id / html:select property=person.id value=%=person

RE: html:select question

2004-03-08 Thread Gopalakrishnan, Jayesh
it in %= % bean:define id=engineerId name=shopWorkOrder property=engineerId / then use %=engineerId% in the html:select. -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: html:select question I got

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
[mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 8:44 PM To: Struts Users Mailing List Subject: RE: html:select question engineerId is an attribute in the dataBean shopWorkOrder. Can't I reference shopWorkOrder.engineerId inside the %= %? I guess shopWorkOrder is the attribute name

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
-Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: html:select question i think you are trying to do the following... html:select name=UserFormBean property=userId html:options collection=uList

Re: html:select question

2004-03-08 Thread Paul Stanton
property=userId labelproperty=commonName//html:select -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: html:select question i think you are trying to do the following... html:select name

Re: html:select question

2004-03-08 Thread Paul Stanton
=UserFormBean property=userId labelproperty=commonName//html:select -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:45 PM To: Struts Users Mailing List Subject: Re: html:select question i think you are trying to do the following... html:select

RE: html:select 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: html:select question the most simplest solution is often the best Au-Yeung, Stella H

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 : !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; or !DOCTYPE

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

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,

Re: Newbie question

2004-03-03 Thread James Mitchell
: 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-1.1. I have gone through one

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?

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 scope

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 by example for now; however I couldn't

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: upgrading struts1.0 to struts1.1 question

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

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 take the time to read it to see

Another struts question on bean:write

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

Re: Another struts question on bean:write

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 p nowrapcomments here/p Or with css p style=white-space: nowrap;comments here/p So in other words you should not have to do anything. If you want to

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.

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

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

RE: FormBeans: A question of Style

2004-02-27 Thread Michael McGrady
] 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 need

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

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: Xhtml tag usage question

2004-02-26 Thread Niall Pemberton
- 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 pages, but the only way I found is to insert it in each tile that composes my page

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

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 Anderson, James H [IT]
, 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 var field property=myFirstDate depends=date

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 using the existing

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

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
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 appropriate use of Struts form beans

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
it to the model and vice versa (preferably with some kind of helper classes and perhaps also non-form DTOs involved) -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 12:12 To: Struts Users Mailing List Subject: Re: FormBeans: A question

RE: custom validator question

2004-02-26 Thread claire knowles
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 enforce a = relationship between 2 date fields and am having a problem

Re: custom validator question

2004-02-26 Thread Niall Pemberton
: Re: custom validator question Specify the second field as var field property=myFirstDate depends=date,dateCompare var var-namedatePattern/var-name var-valuedd/MM//var-value /var var var-namecompareDate/var-name var-valuemySecondDate

Re: custom validator question

2004-02-26 Thread Niall Pemberton
[IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 2:54 PM Subject: custom validator question 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

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 has an isXhtml

RE: FormBeans: A question of Style

2004-02-26 Thread Pradeep, PK
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 question

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
/ -Original 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

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

Re: Simple ActionError question

2004-02-25 Thread Carl Walker
); _request.setAttribute( Globals.ERROR_KEY, errors ); fwd = new ActionForward( _mapping.getInput() ); } } Theodosios Paschalidis wrote: Hi all, just a newbie question. I have a PlaceOrderAction and I want to display as an ActionError the items

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 ActionError constructor takes additional parameters

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 a href path string? For example I have the following code, I want to print out 'partNumber' and 'partDescription' and a a href' with index of each element

Re: A question on Struts taglib.

2004-02-24 Thread Shyam A
You can use the indexId attribute of logic:iterate 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 each element so I can pass

RE: A question on Struts taglib.

2004-02-24 Thread Ramadoss Chinnakuzhandai
, February 24, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: A question on Struts taglib. 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 a href path string? For example I have the following code, I want to print out

RE: A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:45 PM To: Struts Users Mailing List Subject: RE: A question on Struts taglib. add index attribute in your logic iterate and append that index to your host string. e.g logic:iterate id=xyzID name=xyzForm property=xyz

RE: A question on Struts taglib.

2004-02-24 Thread Robert Taylor
: 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._fdd._shopworkorder.__createshopworkorder out.print(weblogic.utils.StringUtils.valueOf(indexId )); //[ /app/fdd/shopWorkOrder

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: logic:iterate id=parts indexId=index collection

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 % %@ page

RE: Eclipse + Tomcat plugin question

2004-02-20 Thread lixin chu
. Yucky but it lets me run under eclipse and debug at least!... sigh/) -Original Message- From: lixin chu [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 19:05 To: [EMAIL PROTECTED] Subject: Eclipse + Tomcat plugin question Hi , sorry if this is not the right forum

Client Side Validation Question

2004-02-20 Thread Juan Carlos Paramá
Hi, I have a little problem with validation. I have a form with a field html:text that show the property de a bean in a session scope. If the field is empty at the load of the page the validation works right, but if the property have any value at the load the validation (required) fail.

html:text question

2004-02-20 Thread struts
Question, how can i add the test value to the html:text like below bean:define id=test name=testForm property=testers.testerName/ html:text name=username value='bean:write name=test/'/ but this is not working, any idea ? thks

  1   2   3   4   5   6   7   8   9   10   >