RE: Design Question

2003-09-17 Thread Edgar P Dollin
getters and setters follow the Java Bean spec. Edgar -Original Message- From: sean schofield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 9:57 AM To: [EMAIL PROTECTED] Subject: Design Question I am working on a struts-based web application and I have

FormBean question...

2003-09-16 Thread alanbrown
I am using 2 different beans to populate 2 forms on 2 pages. However some of the fields have the same names, as both customers and contacts have addresses and both companies and contacts have descriptions and notes associated with them. After entering a company the user is prompted to enter some

newbie validator question: show value of a field in error

2003-09-16 Thread Daniel Wang
I have a dumb question re: struts validator: How do I show the value of the offending field in the error message as opposed to the field name? i.e. if the field I want to validate is email, and the user types in foo, how do I show 'foo' is not a valid email address as opposed to the more

RE: newbie validator question: show value of a field in error

2003-09-16 Thread Naveen Mudgal
PM To: Struts Users Mailing List Subject: newbie validator question: show value of a field in error I have a dumb question re: struts validator: How do I show the value of the offending field in the error message as opposed to the field name? i.e. if the field I want to validate is email

Re: newbie validator question: show value of a field in error

2003-09-16 Thread Daniel Wang
. daniel - Original Message - From: Naveen Mudgal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 2:50 AM Subject: RE: newbie validator question: show value of a field in error u catch the username field value using bean:write tag

[ot] dhtml question was - Re: footer problem

2003-09-16 Thread Mark Lowe
; } .. To be honest , judging by your question I'd stay well away. DHTML is a guaranteed way of giving you a very long headache. And writing DHTML ends up being for other frontend developers rather than end users. DHTML is good but only when you know the stuff inside out and have resource to dedicate

RE: FormBean question...

2003-09-16 Thread Mainguy, Mike
hands if you have overlapping field names in multiple forms. My $.02... -Original Message- From: alanbrown [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 2:18 AM To: [EMAIL PROTECTED] Subject: FormBean question... I am using 2 different beans to populate 2 forms on 2 pages

RE: Easy Question

2003-09-16 Thread Mainguy, Mike
The property attribute of the tag should point to a boolean property of the FormBean. If that property is true the box will be checked. ...unless you're using an old(er) version of the checkbox tag... I know in the older (1.0x) versions this was rather broken (i.e. only a string of 'T' or 'F' or

RE: FormBean question...

2003-09-16 Thread alanbrown
PROTECTED] Sent: Tuesday, September 16, 2003 4:35 AM To: 'Struts Users Mailing List' Subject: RE: FormBean question... This is by design. If you want to ensure this will not happen, you need to set all the values to or null beforehand for fields that should be empty. The short answer is change

RE: FormBean question...

2003-09-16 Thread alanbrown
: alanbrown [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:55 AM To: 'Struts Users Mailing List' Subject: RE: FormBean question... Really? That seems strange. I thought that the reason we name the formbean in the strutsconfig file is so struts knows which bean it is using to populate

validator question: show value of a field in error

2003-09-16 Thread Daniel Wang
I asked this earlier and did not receive any response, so i'll post it one more time with more supporting info... In validation.xml, how do I show the value of the offending field in the error message as opposed to the field name? i.e. if the field I want to validate is email, and the user types

validator question: show value of a field in error

2003-09-16 Thread Daniel Wang
I asked this earlier and did not receive any response, so i'll post it one more time with more supporting info... In validation.xml, how do I show the value of the offending field in the error message as opposed to the field name? i.e. if the field I want to validate is email, and the user types

Re: Mapping/Path Question

2003-09-15 Thread Susan Bradeen
] Date: Fri, 12 Sep 2003 16:40:27 -0400 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Mapping/Path Question Hunter, Are you using a module for the wireless portion of your application? If so, then, I think, that the actions you specify in those pages will need

Desing Question

2003-09-15 Thread deepaksawdekar
(); } public void setCompanyName(String str) { this.companyInfo.setCompanyName(str); } ... Now my question are 1. Is this a good design. 2. Do my Data object also have to implement java.io.Serializable interface so that they can be stored in session scope. I am

RE: Desing Question

2003-09-15 Thread Robert Taylor
That's a subjective question. I can only offer my opinion. I usually have my forms only contain Strings. I do this because it gives me more flexibility for validation. It also offers an additional layer of abstraction which reduces the coupling between my business tier and presentation tier. I'll

validation question

2003-09-15 Thread Stephane Grenier
Hello all. Is there any way to decide if I want to validate the jsp within the action rather than in struts-config ? Thank you, Stephane

RE: validation question

2003-09-15 Thread Yuan, Saul (TOR-ML)
Mailing List Subject: validation question Hello all. Is there any way to decide if I want to validate the jsp within the action rather than in struts-config ? Thank you, Stephane - To unsubscribe, e-mail

Re: Question about properties in the struts configuration file

2003-09-14 Thread Ted Husted
There's the set-property element which can be used to set an aribrary property on the Java object being deployed. To access those properties, you should go through the object. So if you are using set-properties on an ActionMapping, you cast the ActionMapping to your subclass and then use the

Re: design question

2003-09-14 Thread Ted Husted
for them from ApplicationResource file. I have writen a separate file which will read the properties file and return me the values in array list. Now I have to set this arraylist to the property of my form bean, now the question is should i assign this arraylist in action class execute method

RE: Easy Question

2003-09-13 Thread Andrew Hill
snip Non-String Form bean properties are evil though, you'll thank yourself later if you use Strings /snip +1 -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Saturday, 13 September 2003 04:14 To: Struts Users Mailing List Subject: RE: Easy Question Non-String

Re: EL Question

2003-09-13 Thread Adam Hardy
Hi Denis, have you got EL working at all at any point, or is it just this page? I can't say I've seen that error before but it looks like a configuration problem. By the way, why are you populating your formfields this way, and not letting struts take care of it for you? Are you deliberately

Re: EL Question

2003-09-13 Thread David M. Karr
denis == denis [EMAIL PROTECTED] writes: denis So this is my JSP code: denis html:form action=/registerUser.do ... denis c:if test=${registerUserForm.properties[prop.key].type == 'boolean'} denis html-el:checkbox property=${property(prop.key)}/ denis /c:if... denis

Question about properties in the struts configuration file

2003-09-13 Thread Marco Tedone
Hi, I can see that for each action, is possible to define some properties via the property element. Now, I cannot see any method in the ActionConfig file which returns those properties. Is there anything I'm missing? Marco -

Size of a stateful Bean question and OutOfMemoryError

2003-09-12 Thread Au-Yeung, Stella H
Hi: We have a J2EE application that follows standard J2EE and Struts design pattern. We are using WebLogic 6.1, Struts 1.0 and JDK 1.3.1. Basically, we have JSPs, ActionForms with databeans to populate the JSP. Action classes call EJBs for business rules processing. EJBs call DAO to retrieve

newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
Hi, guys: I have two methods in a DispatchAction class: save, delete and I have two buttons in a jsp page: save, delete. In order to successfully save and then forward to another page, I can do the following: html:submitbean:message key=button.save//html:submit html:hidden property=method

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
] Subject: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, guys: I have two methods in a DispatchAction class: save, delete and I have two buttons in a jsp page: save, delete. In order to successfully save and then forward to another page, I can do the following

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
:33 To: [EMAIL PROTECTED] Subject: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, guys: I have two methods in a DispatchAction class: save, delete and I have two buttons in a jsp page: save, delete. In order to successfully save and then forward

design question

2003-09-12 Thread deepaksawdekar
the question is should i assign this arraylist in action class execute method or will it good option to assign this value in from bean constructor, since the value are not going to change dynamically. Please suggest me which is better option 1. set values in action execute method 2. set values

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
it will confuse Internet Explorer. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 14:04 To: Struts Users Mailing List Subject: RE: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, Jerome: Thanks for helping. I tried out

Mapping/Path Question

2003-09-12 Thread Hunter Hillegas
Hello. We are adding a wireless portion to our site. The wireless pages live in a subdirectory: /wireless/micro_browser/sample Anyway, in one of the pages in that directory I tried to call an Action like this: FORM ACTION=PrepareSampleRequest.do?wireless=micro METHOD=POST This fails with the

EL Question

2003-09-12 Thread denis
Hello, ok so I have a map backed form and I am trying to use html-el functions to enter values into the form.I am getting an error and I am not sure why, I am not sure what other way I am supposed to define which property I need to store data into.So this is my JSP code:html:form

Re: EL Question

2003-09-12 Thread denis
Here it is with a bit better formatting... sorry. Hello, ok so I have a map backed form and I am trying to use html-el functions to enter values into the form.I am getting an error and I am not sure why, I am not sure what other way I am supposed to define which property I need to store data

RE: Mapping/Path Question

2003-09-12 Thread Robert Taylor
Can you do something like this? html:form action=/PrepareSampleRequest html:hidden property=wireless/ /html:form robert -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 2:25 PM To: Struts List Subject: Mapping/Path Question

Re: Mapping/Path Question

2003-09-12 Thread Hunter Hillegas
Question Can you do something like this? html:form action=/PrepareSampleRequest html:hidden property=wireless/ /html:form robert -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 2:25 PM To: Struts List Subject: Mapping/Path

Easy Question

2003-09-12 Thread denis
Sorry for emailing so many questions. My last one (i promise) is, how do I set an html:checkbox to display as checked? Thanks.

RE: Easy Question

2003-09-12 Thread Slattery, Tim - BLS
Sorry for emailing so many questions. My last one (i promise) is, how do I set an html:checkbox to display as checked? The property attribute of the tag should point to a boolean property of the FormBean. If that property is true the box will be checked. -- Tim Slattery [EMAIL PROTECTED]

RE: Easy Question

2003-09-12 Thread Michael Ruppin
Non-String Form bean properties are evil though, you'll thank yourself later if you use Strings. As long as the String is set to something sensible like true or false, your checkbox will be properly set. I'm sure there are ample posts on the pros cons of this approach, here's one pro

Re: Mapping/Path Question

2003-09-12 Thread Susan Bradeen
Taylor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Fri, 12 Sep 2003 15:19:15 -0400 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Mapping/Path Question Can you do something like this? html:form action=/PrepareSampleRequest html:hidden

Re: Mapping/Path Question

2003-09-12 Thread Hunter Hillegas
To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Mapping/Path Question Hunter, Are you using a module for the wireless portion of your application? If so, then, I think, that the actions you specify in those pages will need to be defined in your struts-module-config.xml, instead

RE: Easy Question

2003-09-12 Thread Edgar P Dollin
Boolean form properties are cool too (at least in my experience)... Edgar -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 3:14 PM To: Struts Users Mailing List Subject: RE: Easy Question Non-String Form bean properties

RE: Easy Question

2003-09-12 Thread Michael Ruppin
: Friday, September 12, 2003 3:14 PM To: Struts Users Mailing List Subject: RE: Easy Question Non-String Form bean properties are evil though, you'll thank yourself later if you use Strings. As long as the String is set to something sensible like true or false, your checkbox

Re: jstl question

2003-09-11 Thread Adam Hardy
Hi Richard, you should ask this on the taglib-user list. If people don't stick to one list, it makes twice as much work to search the archives, which I find a PITA anyway. With my crude knowledge of jstl I would do this: c:set var=stuff%=bean.getValueNum(test) %/set c:out value=${stuff}/

Simple html:options question

2003-09-11 Thread Kumar M
Hi all, I have an ArraList of strings that I want to show in a drop-down box. The same thing is both the label as well as the value. Can anybody tell me how I can do this using html:options? The collection in html:options is expected to hold JSP beans, which is not the case in my situation.

Re: Simple html:options question

2003-09-11 Thread Kris Schneider
Pretty sure you can just do: html:options name=listOfOptionValues/ It should use the list for both the values and the labels. If the list is a property on your form: html:options property=listOfOptionValues/ If the list is a property of some other bean: html:options name=someBean

[OT] JSTL question

2003-09-11 Thread denis
Ok, i have a map named selectBox that contains a number of ArrayLists keyed by strings. When I try to iterate over it, nothing happens! c:out value=${selectBox[prop.key]}/ Shows something of the order [ java.com.blah.bean, java.com.blah.bean, java.com.blah.bean] c:out

RE: [OT] JSTL question

2003-09-11 Thread Erez Efrati
You need to put loop.COUNT : c:out value=${selectBox[prop.key][loop.count].key}/ Erez -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:50 PM To: Struts Users Mailing List Subject: [OT] JSTL question Ok, i have a map named

Re: [OT] JSTL question

2003-09-11 Thread Kris Schneider
varStatus gives you an instance of javax.servlet.jsp.jstl.core.LoopTagStatus. It has a property called index that might be of interest... Quoting [EMAIL PROTECTED]: Ok, i have a map named selectBox that contains a number of ArrayLists keyed by strings. When I try to iterate over it, nothing

RE: [OT] JSTL question

2003-09-11 Thread Karr, David
Actually, in this case, loop.index is probably more appropriate. They are similar, but different. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 1:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] JSTL question You need

Re: [OT] JSTL question

2003-09-11 Thread denis
Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:59 PM Subject: RE: [OT] JSTL question Actually, in this case, loop.index is probably more appropriate. They are similar, but different. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent

RE: [OT] JSTL question

2003-09-11 Thread Kris Schneider
value=${selectBox[prop.key][loop.count].key}/ Erez -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:50 PM To: Struts Users Mailing List Subject: [OT] JSTL question Ok, i have a map named selectBox that contains a number

Re: [OT] JSTL question

2003-09-11 Thread Kris Schneider
is aa So, what is wrong there? - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:59 PM Subject: RE: [OT] JSTL question Actually, in this case, loop.index is probably more

Re: [OT] JSTL question

2003-09-11 Thread denis
! My god. Sometimes it really helps having another pair of eyes. Thank you. - Original Message - From: Kris Schneider [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 4:04 PM Subject: Re: [OT] JSTL question Closing tag too early

Question about ActionForm

2003-09-10 Thread harm
Hi all, I have a J2EE application using struts and JSP to build the view to my model. I have a session facade bean which returns me ValueObject of my beans. For instance I have a GroupValue object which represents data of my local GroupBean. I made a ActionForm as follows (GroupForm.java):

Quick template question

2003-09-10 Thread Stephane Grenier
Hello all. I've got the following template file: %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' % template:insert template='/tilesExample.jsp' template:put name='title' content='Templates' direct='true'/ template:put name='header' content='/header.html' / template:put

jstl question

2003-09-10 Thread Richard Raquepo
i have a bean that has this gettter method ... public String getValueNum(String param){ } ... using struts tag i can call it like: bean:write name=bean value=valueNum(test)/ and it will works. now i can't seem to figure out how can i do that using jstl. i need your expert advice on

simple question

2003-09-08 Thread harm
Hi all, I think I have a relative easy question. I have a J2EE application which has some entitybeans. I want to display the values of these entitybeans in my JSP pages (using Struts). I have made value objects of the entitybeans. In my ListAllCategoriesAction.java, I do something like

RE: simple question

2003-09-08 Thread Mohan Radhakrishnan
beans like this are useful because they can be manipulated quite well with the tag handlers. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 7:15 PM To: [EMAIL PROTECTED] Subject: simple question Hi all, I think I have

RE: simple question

2003-09-08 Thread Siggelkow, Bill
] Subject: simple question Hi all, I think I have a relative easy question. I have a J2EE application which has some entitybeans. I want to display the values of these entitybeans in my JSP pages (using Struts). I have made value objects of the entitybeans. In my ListAllCategoriesAction.java, I

Design Question - Need to put assertions in Actions?

2003-09-05 Thread White, Joshua A (HTSC, CASD)
that foo does not already exist. If it does exist, it forwards control to editFoo. This brings about the design question. Putting this kind of assertion/redirection logic in each action class gets messy fast and makes each action class more of a controller than an action class. (Which is not where I

RE: Design Question - Need to put assertions in Actions?

2003-09-05 Thread Marco Tedone
Message-ID: [EMAIL PROTECTED] From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Design Question - Need to put assertions in Actions? Date: Fri, 5 Sep 2003 08:53:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1

[OT] Taglibs c:forEach question

2003-09-04 Thread David Chelimsky
I posted this on the taglibs list and haven't heard back yet - thought I'd try here. I need to get the size of a list through which I'm iterating via c:forEach before the last iteration. While I could add a property to my form bean, I wonder if there's a way to access this from the loop status.

RE: [OT] Taglibs c:forEach question

2003-09-04 Thread Slattery, Tim - BLS
I need to get the size of a list through which I'm iterating via c:forEach before the last iteration. While I could add a property to my form bean, I wonder if there's a way to access this from the loop status. From what I've read, the varStatus attribute of the c:forEach tag exposes an

basic struts question....

2003-09-04 Thread Pady Srinivasan
I am writing my first struts app. If I have a jsp page ( with a html form ) that has a corresponding ActionForm and the Action points back to the same jsp page, shouldn't the form now be reloaded with the values entered ? I see that in the Action.execute method, the ActionForm is loaded with

RE: basic struts question....

2003-09-04 Thread Robert Taylor
if your form is in session scope. robert -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:36 PM To: [EMAIL PROTECTED] Subject: basic struts question I am writing my first struts app. If I have a jsp page ( with a html form

RE: basic struts question....

2003-09-04 Thread Wendy Smoak
Pady wrote: I couldn't find an example where This workflow was happening: x.jsp ( html form ) -- Action -- x.jsp ( displays the form values entered again ) Putting your form in session scope will fix the immediate problem. But have you spent some time examining the struts-example webapp?

RE: basic struts question....

2003-09-04 Thread Pady Srinivasan
, September 04, 2003 5:19 PM To: Struts Users Mailing List Subject: RE: basic struts question jsp page, shouldn't the form now be reloaded with the values entered ? Yes if you forward and not redirect back to the page. Make sure your redirect attribute of the forward element in your action

Re: basic struts question....

2003-09-04 Thread Mark Lowe
: RE: basic struts question jsp page, shouldn't the form now be reloaded with the values entered ? Yes if you forward and not redirect back to the page. Make sure your redirect attribute of the forward element in your action mapping is set to false. This, however, will work regardless

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
Friedman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 5:35 PM To: Struts Users Mailing List Subject: RE: basic struts question... Pady, Your external url of http://myserver/taglib/jsp/submit.do, suggests your application is mapped to /taglib/. That means your directory structure

RE: basic struts question...

2003-09-03 Thread Bradley Handy
working when the documentation answers your question. Come on. -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:59 PM To: Struts Users Mailing List Subject: RE: basic struts question... I tried all the changes recommended

RE: basic struts question...

2003-09-03 Thread Mainguy, Mike
: Tuesday, September 02, 2003 4:28 PM To: Struts Users Mailing List Subject: RE: basic struts question... You need to append the .do extension to your request URL. -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:35 PM To: [EMAIL

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
[mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:00 AM To: Struts Users Mailing List Subject: RE: basic struts question... First off, you don't configure the .do extension in the path attribute. You put it in the href attribute of your link in your web page, or the action attribute

RE: basic struts question...

2003-09-03 Thread David Friedman
Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:00 AM To: Struts Users Mailing List Subject: RE: basic struts question... I have exactly that. It doesn't work. I don't have the Action class. Could that be creating a problem ? I was expecting Struts to throw an error about

RE: basic struts question...

2003-09-03 Thread Mark Galbreath
Is that heroix.com or herion.duh? -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:00 AM To: Struts Users Mailing List Subject: RE: basic struts question... I have exactly that. It doesn't work. I don't have the Action class

[OT] RE: basic struts question...

2003-09-03 Thread James Childers
Must... resist... urge... to correct spelling... ARRRGH. -= J -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:14 AM To: Struts Users Mailing List Subject: RE: basic struts question... Is that heroix.com or herion.duh

RE: basic struts question...

2003-09-03 Thread David Friedman
(set one for role manager (if I recall correctly). Regards, David -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:21 AM To: Struts Users Mailing List Subject: RE: basic struts question... As I said, I was NOT getting an error

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
is there in Catalina.out. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:49 AM To: Struts Users Mailing List Subject: RE: basic struts question... Pady, You didn't restart Tomcat or reload your application before

basic struts question...

2003-09-02 Thread Pady Srinivasan
If I have an action-mapping defined as action-mappings actionpath=/taglib/jsp/submit type=com.heroix.firenze.webui.actions.TabChangeAction forward name=success path=/jsp/tiles_insert.jsp/ /action /action-mappings When I access

Re: basic struts question...

2003-09-02 Thread Sasha Borodin
struts question... If I have an action-mapping defined as action-mappings actionpath=/taglib/jsp/submit type=com.heroix.firenze.webui.actions.TabChangeAction forward name=success path=/jsp/tiles_insert.jsp/ /action /action-mappings When I

RE: basic struts question...

2003-09-02 Thread Bradley Handy
You need to append the .do extension to your request URL. -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:35 PM To: [EMAIL PROTECTED] Subject: basic struts question... If I have an action-mapping defined as action

RE: basic struts question...

2003-09-02 Thread Mark Galbreath
Specifically, the URL in your action path in struts-config.xml. -Original Message- From: Bradley Handy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:28 PM To: Struts Users Mailing List Subject: RE: basic struts question... You need to append the .do extension to your

RE: basic struts question...

2003-09-02 Thread Pady Srinivasan
, September 02, 2003 4:32 PM To: Struts Users Mailing List Subject: RE: basic struts question... Specifically, the URL in your action path in struts-config.xml. -Original Message- From: Bradley Handy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:28 PM To: Struts Users

RE: basic struts question...

2003-09-02 Thread David Friedman
: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 4:59 PM To: Struts Users Mailing List Subject: RE: basic struts question... I tried all the changes recommended here, but it doesn't work. I hope you meant changing action path=/jsp/submit... to action path=/jsp/submit.do

jsp question

2003-09-01 Thread Yan Zhu
hi, I am trying to acheieve the following: 1) hide jsps from direct access. so no one can type: http://www/webapp/jsp/test.jsp to directly access it. 2) in my webapp, I can use a popup window and bring up jsp/test.jsp directly. I tried serveral

Re: jsp question

2003-09-01 Thread Sgarlata Matt
This sounds like a pretty fancy requirement to me. Why are you doing this? Probably what you would have to do is define the Struts ActionServlet to map to all .do requests and some other servlet to map to all .jsp requests. Then you could only let some JSPs display instead of letting them

Question about DynaActionForm

2003-09-01 Thread Erez Efrati
I am trying to do the following test form: form-bean name=TestDynaForm type=org.apache.struts.validator.DynaValidatorForm form-property name=method type=java.lang.String / form-property name=page type=java.lang.Integer / form-property name=person type=web.Person /

Question about date validation

2003-09-01 Thread José Gustavo Zagato
Hi Folks ! Witch is the proper way to specify a datePattern or a datePatternStrict for a date Field ? Thanks ! José Gustavo Zagato Rosa System Analyst - Atos Origin [EMAIL PROTECTED] - To unsubscribe, e-mail:

RE: Question about DynaActionForm

2003-09-01 Thread Erez Efrati
the error. I still would be happy to hear your opinion on my second question - how to add properties in a DynaActionForm derived class. Thanks, Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 10:20 PM To: 'Struts Users Mailing List' Subject

Re: Question about DynaActionForm

2003-09-01 Thread Mark Lowe
something to the log instead of swallowing the error. I still would be happy to hear your opinion on my second question - how to add properties in a DynaActionForm derived class. Thanks, Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 10:20 PM

Re: Question about date validation

2003-09-01 Thread Jeff Kyser
Hey Jose, here's a snippet from a form validation. Is that what you're looking for? -jeff field property=date depends=required,date arg0 key=myForm.date.errorname/ var var-namedatePatternStrict/var-name

RE: Struts Tag Question

2003-08-29 Thread Hue Holleran
Subject: Struts Tag Question Here is the code I'm trying to get to work: html-el:link href=javascript:Start(${indexedBean.id})test/html-el:link/ but what I need are double quotes around the ${indexedBean.id} part. I've tried using both quot; and \ both seem to not work because the link ends

Struts Tag Question

2003-08-28 Thread David Erickson
Here is the code I'm trying to get to work: html-el:link href=javascript:Start(${indexedBean.id})test/html-el:link/ but what I need are double quotes around the ${indexedBean.id} part. I've tried using both quot; and \ both seem to not work because the link ends up stopping at wherever I

Re: Struts Tag Question

2003-08-28 Thread Mark Lowe
single quotes may be what you want. But this is less tourtured a href=javascript:Start('bean:write name=indexedBean property=id /')... cheers mark On Thursday, August 28, 2003, at 10:57 PM, David Erickson wrote: Here is the code I'm trying to get to work: html-el:link

Newbie Validator and radio buttons question

2003-08-27 Thread John Boyes
I'm trying to use the Validator to validate that a particular radio button (with a value of yes) in a group is selected. I'm trying to use a mask to do this, but if I use a mask the form seems to fail validation no matter if the value in the form matches the pattern in the mask. I've tried using

newbie question

2003-08-27 Thread Venkat Jambulingam
I have two jsp pages. sicpage0.jsp and sicpage1.jsp sicpage0 is a static page. when I submit sicpage0, it calls an action class which populates sicpage1.jsp with data. Now I want to call sicpage1.jsp directly without first calling sicpage0.jsp. But sicpage1.jsp is not getting populated with

Repost Wrong Date, Design Question (Keeping filters in the jsp)

2003-08-27 Thread Konstadinis Euaggelos
Sorry for the reposting, Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back

Re: newbie question

2003-08-27 Thread Bryce Fischer
Now I want to call sicpage1.jsp directly without first calling sicpage0.jsp. But sicpage1.jsp is not getting populated with data since the action class is not getting called. create a global forward to the action, and call the forward. -- Bryce Fischer [EMAIL PROTECTED]

RE: Design question

2003-08-26 Thread Navjot Singh
| |Now my questions are : |1 I am doing write something wrong. It's better not to club two logically different business process handlers. I guess you want to reduce the number of Action Classes to be created. If yes, follow this way action path=/CreateUser type=navjot.CreateAction

RE: Design question

2003-08-26 Thread deepaksawdekar
Thanks a lot navjot. I will try this. Deepak . -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:20 AM To: Struts Users Mailing List Subject: RE: Design question | |Now my questions are : |1 I am doing write something wrong. It's better

Design Question (Keeping filters in the jsp)

2003-08-26 Thread Konstadinis Euaggelos
Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back from the starting jsp, but i

RE: Java Question

2003-08-26 Thread Steve Raeburn
This question was asked and *answered* yesterday. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=86724 Is there any reason you are repeating the it? Steve -Original Message- From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] Sent: August 24, 2003 11:21 AM

<    3   4   5   6   7   8   9   10   11   12   >