Re: populating Drop down -pls help

2003-09-04 Thread Thomas Max
I use the html:options tag : Just create a Collection (here gender of the Databaseentries (f,m) and pass as a bean to the page with the form. If you need more assistance have a look at : http://www.reumann.net/do/struts/lesson3 Regards, Thomas On Thu, 4 Sep 2003 02:38:16 -0700 (PDT

RE: Redisplaying of entered form fields

2003-09-04 Thread Andrew Hill
Firstly check that redirect is false in the forward to the view. (If it is already false then thats not the problem and you should post some more of your code and configs so we can try and see whats going wrong.) -Original Message- From: Rodney Paul [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: struts-tags to jstl on resin

2003-09-04 Thread Richard Raquepo
In tomcat c:if & c:out, etc... works. but in resin c:out works but c:if doesn't work. Im sure my URI is correct. Is this a bug in resin? what seems to be the problem. thanks. many thanks, Richard - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: "Struts Users Mail

[ANN] FreeMarker 2.3pre13 available

2003-09-04 Thread Jonathan Revusky
Greetings, I'm making this announcement because I consider that it is of general interest to Struts users who are investigating other view technologies (i.e. alternatives to JSP). A new preview release of FreeMarker 2.3 is available. Though it's a preview, at this point, FM 2.3 is really appro

Redisplaying of entered form fields

2003-09-04 Thread Rodney Paul
Hi All, I have a problem redisplaying form fields a user enters within a html form. I use the validate method to validate form entry fields through ActionForms. and validate business logic in LookupDispatchAction classes. Has anyone experienced this problem, and is there any solution to this

RE: populating Drop down -pls help

2003-09-04 Thread hari_s
How about if You try with this code in formbean Public String getGender() { return gender; } public void setGender(String gender) { this.gender=gender; } -Original Message- From: Goldy J [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:38 PM To: [EMAIL PROTECTED] Subje

How to reference multiple form beans from one VelocityLayoutServlet set of page fragments?

2003-09-04 Thread Mike Kienenberger
I need to have two forms displayed on the same Velocity template page. I can receive a reference to one form bean via the ActionMapping. I've been unable to determine how to gain a reference to the second form bean. Reference to how it could be done in pure jsp: http://www.mail-arch

RE: form value not loaded...

2003-09-04 Thread Wendy Smoak
Pady wrote: > Can anybody point out what I am doing wrong ? > type="com.heroix.firenze.webui.actions.TabChangeAction" >name="Resume" scope="session" > > > My Action mappings have an tag inside them. Not sure if it's required, but I don't have the problem you

Re: basic struts question....

2003-09-04 Thread Mark Lowe
I'm stumped also.. Have you this in your action? MyForm theForm = (MyForm) form; or DynaActionForm theForm = (DynaActionForm) form; ? If so i'm really confused.. On Thursday, September 4, 2003, at 10:38 PM, Pady Srinivasan wrote: Redirect is "false" by default. I also tried to put it in b

Re: Tabindex missing in generated code.

2003-09-04 Thread Mark Lowe
My guess its something else.. I'd send you a snippet, its usually my preferred way of explanation, but i just did what you're doing.. My guess its the version of struts or something. Just in case here's exactly what works. I even tried having links the same same tabindex number and it works. if

RE: basic struts question....

2003-09-04 Thread Pady Srinivasan
Redirect is "false" by default. I also tried to put it in but it didn't help. Also I have defined my html:form tag with scope as session as well as the Action definition. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursda

RE: form value not loaded...

2003-09-04 Thread David Friedman
Pady, Your references are named "resumeInformation", but your action definition is saving the form under the name "Resume". Which are you using? You might be better off changing your action's name="Resume" to, perhaps, name="resumeInformation". Regards, David -Original Message- From: P

RE: WELCOME to struts-user@jakarta.apache.org

2003-09-04 Thread Das, Amar
Hi, I am using the following image tag in my JSP page (map.jsp) inside a form. When I invoke the JSP page in a browser, the src should be populated with an URL for map image (http://../map1.jpg). But it does not. Please help. The form bean and action class and their mapping are shown below.

form value not loaded...

2003-09-04 Thread Pady Srinivasan
I have a simple form that is associated with an Action that points back to the same form. When I submit the form with some values for the fields, when redisplaying the form after the Action, the value are not loaded. I did a bean:write on the fields before displaying the form and the values are wr

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 Robert Taylor
> 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 of the redirect attribute setting if

Syntax for accessing an object nested in a List of Lists

2003-09-04 Thread Robert Taylor
I've run into some trouble accessing a nested object in my form. The object "lives" in a List of Lists type of structure. I've been using a syntax like the following assuming my List form property is named 'list'. list[index].[index].productId This must be wrong because I get the following excep

Re: [ANNOUNCE] Visual Tags for Struts Dreamweaver Extension Released

2003-09-04 Thread Forest Arnold
No, it only integrates the six Struts 1.1 tag libraries with Dreamweaver. fwa "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does this also support JSTL? > .V > > Forest Arnold wrote: > > FWA Software, Inc, has released Visual Tags for Struts, a Dreamweaver > > exte

Re: Validator cannot find message key

2003-09-04 Thread Koni Roth
Looks good to me. If you are properly closing the and the I can not see any problem, sorry. Koni Yuan, Saul (TOR-ML) wrote: Here is what's in the validation.xml file:

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 all

Any progress/interest in a (WebObjects-like) "page state cache" Action for security? [WAS: Verifying integrity of URLs]

2003-09-04 Thread Mike Kienenberger
[This is a repost from Sept 2nd that doesn't appear to have made it to the list.] Ross Sargant <[EMAIL PROTECTED]> wrote: > What is the best way in general to ensure that the user is not playing > around with url parameters (in this example by manipulating the id > parameter) to get at things th

Re: Is there a way to disable the browser's Back buttonwithoutsending an http request?

2003-09-04 Thread Mike Kienenberger
Jing Zhou <[EMAIL PROTECTED]> wrote: > When a web application is interrupted by the Back button, if anyone could > remove the message like "Don't try to backtrack -- we don't allow/support > it" > with a generic algorithm that allows the application flow to continue from > where it is interrupted,

FormFile object keeping ActionForm from serializing

2003-09-04 Thread Steve Apeero
I have a Action Form that contains a FormFile object that holds the uploaded file for an image. When the container trys to serialize my form an NotSerializableException is being thrown. I have looked at the source code and found the FormFile's baseObject DiskFile does not implement the serializ

How to disable a particular checkbox in html:multibox

2003-09-04 Thread Shankar Ranganathan
Hi All, How can I disable a particular checkbox based on a value in the selected items. Here is my code.

RE: How to forward back to including page

2003-09-04 Thread Siggelkow, Bill
FYI -- I figured out what seems to be a decent solution to my problem. Basically, I included two hidden fields in my login form (that is part of the included page) as follows (I am using struts-el)- Then in my action that processes the login form I do the following: public ActionForward exe

Re: [ANNOUNCE] Visual Tags for Struts Dreamweaver Extension Released

2003-09-04 Thread Vic Cekvenich
Does this also support JSTL? .V Forest Arnold wrote: FWA Software, Inc, has released Visual Tags for Struts, a Dreamweaver extension that fully integrates the Struts 1.1 custom tags with Dreamweaver MX. Two versions of Visual Tags for Struts are available: a Standard Edition and a Designer Edition.

RE: Validator cannot find message key

2003-09-04 Thread Yuan, Saul (TOR-ML)
Here is what's in the validation.xml file:

Re: Validator cannot find message key

2003-09-04 Thread Koni Roth
Paste the faulty part of your validation.xml file maybe we can see some strange things. I had a similar problem and it was only an error in writing... Yuan, Saul (TOR-ML) wrote: Hi, I am using Struts Validator for validating a multi page form, some how the Validator cannot find the messages

[OT] Test

2003-09-04 Thread Steve Apeero
Sorry testing, I have not been able to connect Stephan _ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es - To

Re: lists & c:forEach & struts-el html:link

2003-09-04 Thread Adam Hardy
OK, taglibs question forwhich there is a different list, on which you would have got an answer hours ago, but anyway here goes: <%=Constants4Lists.LINK_LIST %> Constants4Lists is a class which has string constants to use for putting objects into re

Re: How to display an active GIF image after page submit

2003-09-04 Thread Adam Hardy
Since the file upload is part of the request that the browser sends to the server, I don't think the server can start the response until the request is finished, and even then it is also probably browser-dependent whether the browser would do anything with a response to a request that it was st

Re: Is there a way to disable the browser's Back buttonwithoutsending an http request?

2003-09-04 Thread Jing Zhou
What you described is today's known practice. If you check Struts source codes, you may find the token facility in Struts may solve the problems you mentioned as backtracking. I buy it with a little concern if we could make it as solid as your Sony VCR :-) > Actually, it does. I suspect that the

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Adam Hardy
>>Jing Zhou <[EMAIL PROTECTED]> wrote: > A similar question about your web application: > Assuming all pages are set to no-cached, > does it allow end users to continue the application flow after > the "Page has Expired ..." feedback? What do the users do when they get a 'Page Expired' notice? They

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 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 tag exposes an > instance of

[ANNOUNCE] Visual Tags for Struts Dreamweaver Extension Released

2003-09-04 Thread Forest Arnold
FWA Software, Inc, has released Visual Tags for Struts, a Dreamweaver extension that fully integrates the Struts 1.1 custom tags with Dreamweaver MX. Two versions of Visual Tags for Struts are available: a Standard Edition and a Designer Edition. Both editions provide the following standard Dreamw

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

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
Greg Amaroso wrote: I currently have Struts 1.1. Is the checkbox/radio update available in the most current nightly build? Yes. Even though it contains a commons-validator dated from August 16 th. Also, should the form-property type be "boolean" or "java.lang.Boolean" (case-sensitive of course

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
Mathew, Manoj wrote: YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS. Did you file a Bugzilla bug report ? If not could you file a Bugilla report, attaching a detailed description and/or test case is the best way t

Validator cannot find message key

2003-09-04 Thread Yuan, Saul (TOR-ML)
Hi, I am using Struts Validator for validating a multi page form, some how the Validator cannot find the messages defined in the application resources. I got the validation error messages like: null is required. I've defined arg0 in the validation.xml file, and the key of arg0 points to a key i

form and html:form work differently when using javascript...???

2003-09-04 Thread Pady Srinivasan
  I have defined a custom tag that emulates "tabs". This will help splitting a form across multiple tab pane. Each tab is a hyperlink that sets a hidden form variable and submits the current form ( so that the data is saved ). When I define a form and specify normal html elements, the tab

RE: Copying DynaActionForm to Map DTO

2003-09-04 Thread Mainguy, Mike
BeanUtils.copyProperties (but I'd use a DynaBean instead). -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 1:22 PM To: 'Struts Users Mailing List' Subject: Copying DynaActionForm to Map DTO Hi all, I am using both DynaActionForm and a DT

[OT] Deploying EJB2.0 with EJB1.1

2003-09-04 Thread Vijay Pawar
Hi ALL, I have a small issue that is stuck up like a bone in my throat ! In my ejb-jar file I have some MDBs and some EJB1.1 entity beans (CMP). I have used "http://java.sun.com/dtd/ejb-jar_2_0.dtd"; in the ejb-jar.xml When i try to create RMIC deploy code on WSAD5.0, everything fails. Is the

Maybe a bug

2003-09-04 Thread Francisco Vides Fernandez
Hi all I'm experimenting a problem with Struts that is driving me nuts. I have a form, with some text fields, and a file field. Having a file field, form enctype must be multipart. When I submit the form, I have constated that I receive a String with chars corresponding to iso8859-1 encoding (

RE: Copying DynaActionForm to Map DTO

2003-09-04 Thread Chen, Gin
Just use the BeanUtils.copyProperties as I mentioned before. Very quick and easy. -Tim -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 1:58 PM To: 'Struts Users Mailing List' Subject: RE: Copying DynaActionForm to Map DTO True, but using

RE: Copying DynaActionForm to Map DTO

2003-09-04 Thread Erez Efrati
True, but using the getMap() I will get also properties that do not belong to the logic, like 'method' used for the DispatchAction, 'page' etc. Erez -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 6:47 PM To: 'Struts Users Mailing List

Re: html error

2003-09-04 Thread Ryan
Worked, thanks again. Ryan Chen, Gin wrote: There's a way to do this using html:messages instead of html:errors. Convert your code to (untested so please check syntax if you get an error): Optionally you can define a resource property in your ApplicationResources: errors.header= or errors

RE: Copying DynaActionForm to Map DTO

2003-09-04 Thread Paananen, Tero
> I am using both DynaActionForm and a DTO that is implemented > as a HashMap. > What is the best way to copy or transfer the properties from the > DynaActionForm to the HashMap DTO? I would imagine that would require entirely on your requirements... The JavaDoc for DynaActionForm, btw, is very u

RE: Copying DynaActionForm to Map DTO

2003-09-04 Thread Chen, Gin
BeanUtils -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 1:22 PM To: 'Struts Users Mailing List' Subject: Copying DynaActionForm to Map DTO Hi all, I am using both DynaActionForm and a DTO that is implemented as a HashMap. What is the b

RE: html error

2003-09-04 Thread Chen, Gin
There's a way to do this using html:messages instead of html:errors. Convert your code to (untested so please check syntax if you get an error): Optionally you can define a resource property in your ApplicationResources: errors.header= or errors.prefix= -Tim -Original Message- Fr

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Maybe I didn't make myself clear. This is not about the static code, but about the dynamic code. If you read my original posting, than you will see that I have put the static JavaScript already to false: However my mail prog removed the line brakes and therefore this wasn't readable well. Apologie

Copying DynaActionForm to Map DTO

2003-09-04 Thread Erez Efrati
Hi all, I am using both DynaActionForm and a DTO that is implemented as a HashMap. What is the best way to copy or transfer the properties from the DynaActionForm to the HashMap DTO? Thanks in advance, Erez - To unsubscribe, e

Re: html error

2003-09-04 Thread Ryan
How would I check to see if that specific error existed? I would like to write the message after a break below the text box when the message is present, and have no break when it is not. For example: if (fieldSample${count}) then print error message Ryan Ryan wrote: Thanks, that worked. Ry

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Maybe I didn't make myself clear. This is not about the static code, but about the dynamic code. If you read my original posting, than you will see that I have put the static JavaScript already to false: However my mail prog removed the line brakes and therefore this wasn't readable well. Apologie

RE: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Andrew Hill
A similar question about your web application: Assuming all pages are set to no-cached, does it allow end users to continue the application flow after the "Page has Expired ..." feedback? I am interested in the answer to the second question and encourage anyone to do a REAL experiment with your w

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Mike Kienenberger
Jing Zhou <[EMAIL PROTECTED]> wrote: > A similar question about your web application: > Assuming all pages are set to no-cached, > does it allow end users to continue the application flow after > the "Page has Expired ..." feedback? > > I am interested in the answer to the second question and enco

RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
--- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote: > Thanks David ! > > One more question : > > Did you include your java project into tomcat classPath ? No, and I had problems when I tried including it. David > Im asking this because every time I try to include my project >

Re: multi-form page validation problem (client side)

2003-09-04 Thread Thomas Cornet
The html:javascript tag has a parameter named 'statisJavascript' which says if Struts has to render all static code (i.e. the validations functions). So, if you have several form in a page, you should write something like this : ... Thus, validation functions will appear only once. HTH Thom

multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Hi, I'm having problems when validating a multiform page. I have 4 forms on a single page and I've set up the validation framework for them. When I insert the html:javascript tag on the jsp page to create the dynamic code, it creates sth like this: function validateFrm_ccd_crn_Filter(form)

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
As Hill said it is not the issue with the struts but with the HTML. SO i don't think it has to do anything with the version of struts you are using. type is boolean ( primitive).. not Boolean. thanks -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Sent: Thursday, Septem

How to display an active GIF image after page submit

2003-09-04 Thread Julio . Font
This is a newbee question, sorry. I searched the archives but couldn't find an answer. Use case User enters data on a form, selects a file to upload to the server and clicks the Submit button. While the file is uploading and the data is stored to the database display an image (gif) until the subm

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
don't understand why I want to reset the checkboxes to their unticked value. Im in a hurry to get home (taxi fare doubles after midnight!) so dont have time to explain in detail, but if you check the javadocs for the reset() method and search the mail list archive you should be able to find the

RE: [OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread José Gustavo Zagato
Thanks David ! One more question : Did you include your java project into tomcat classPath ? Im asking this because every time I try to include my project into thetomcat classPath the plugin can't start the tomcat, because it dosen't find the standartServerCl

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-04 Thread Jing Zhou
- Original Message - From: "Mike Kienenberger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 04, 2003 7:09 AM Subject: Re: Is there a way to disable the browser's Back button withoutsending an http request? > Jing Zhou <[EMAIL PROTECTED]> wrote: > > When a user w

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
No, I haven't implemented it yet. But I must plead ignorance here, because I don't understand why I want to reset the checkboxes to their unticked value. If I'm submitting the form essentially back to itself, what does the unticked value do for me? Or am I missing something? As for the radio butto

[OT] Re: How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread David Graham
--- José_Gustavo_Zagato <[EMAIL PROTECTED]> wrote: > > > Hi Folks !! > > I'm Experiencing to much trouble to debug a web/Struts > application with the Eclipse (not WSAD !). Im trying to use the Sysdeo > TomCat plugin but so far I just get exceptions while tring to debug. > > So, doe

RE: Can we create a Action class object

2003-09-04 Thread Michael Ruppin
I find that this can still be a valid solution, even when business logic is entirely factored out of Actions. For example, I have Form A and Form B, both of which nest Form C. My Actions are all related to LookupDispatchActions. Action A checks the request for Form A specific submissions, and

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
The Action class normally has a reference to the ActionServlet that is set by the ActionServlet or RequestProcessor (I forget which) when the object is instantiated. If you are instantiating an Action instance yourself you will want to set it, in case the code in the other action needs to get at th

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
Have you implemented code in reset() to reset the checkbox to its unticked value in the form yet? Not sure why radio buttons would give you problems though. They usually have one option selected which would get submitted. -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Se

lists & c:forEach & struts-el html:link

2003-09-04 Thread Andy Richards
hi I use RowSetDynaClass to get my results from a db then i add these rows to a List via getRows(). The list is then returned to my jsp page which is using jstl and struts-el. I would like to use c:forEach to iterate over the list and print out the variables. Within the loop i would like to us

How to Proper Debug Struts Actions and stuff with the Eclipse plataform

2003-09-04 Thread José Gustavo Zagato
Hi Folks !! I'm Experiencing to much trouble to debug a web/Struts application with the Eclipse (not WSAD !). Im trying to use the Sysdeo TomCat plugin but so far I just get exceptions while tring to debug. So, does anyone here can tell me a nice plug-in or any cool trick to get

Re: Can we create a Action class object

2003-09-04 Thread Ashok.D
Hi Andrew Hill, Thanks for your reply. Can I know about " setting the ActionServlet reference first!". Thanks & Regards, Ashok.D - Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 04, 2003 7:58 PM Sub

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
Danny is right you know. I probably didnt stress the point well enough in my own response to the question just now. You would be much better off doing a spot of refactoring. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 22:37 To: [EMA

Re: struts-tags to jstl on resin

2003-09-04 Thread David Graham
What does Tomcat do? Print the tag code? Throw an error? Is your taglib URI correct? Do other JSTL tags (like ) work? David --- Richard Raquepo <[EMAIL PROTECTED]> wrote: > hello everyone. > > i have been using struts tags and struts-el tags for sometime now. > my application works both on R

RE: Can we create a Action class object

2003-09-04 Thread Danny . Yates
Why? This sounds like bad design. Why not just refactor the common code out into a helper class and call that from both actions? -- Danny Yates -Original Message- From: Ashok.D [mailto:[EMAIL PROTECTED] Sent: 04 September 2003 14:42 To: Struts Users Mailing List Subject: Can we creat

struts-tags to jstl on resin

2003-09-04 Thread Richard Raquepo
hello everyone. i have been using struts tags and struts-el tags for sometime now. my application works both on Resin and Tomcat. Now my boss told me to re-write my jsp to use JSTL instead. I was developing in a tomcat environment but here comes the problem... When i move my application to tomca

How to create a Action class object

2003-09-04 Thread Ashok.D
Hi, Can we create a Action class object. I need to access the perform method from another Action class. If we access this Action class by using *.do, I have some limiations in my application. I don't want to use action.do. But I need to execute another action class perform method. Pl

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
I currently have Struts 1.1. Is the checkbox/radio update available in the most current nightly build? Also, should the form-property type be "boolean" or "java.lang.Boolean" (case-sensitive of course)? Thanks. > From: "Mathew, Manoj" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <

RE: Can we create a Action class object

2003-09-04 Thread Andrew Hill
Sure, just instantiate it and call its perform (execute in struts 1.1) method, passing your mapping, for, request and response refs. Dont forget to set the ActionServlet reference first! (Of course it gets much more complicated if you dont want to give it the same mapping and form as your calling a

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
OI! STOP ALL THAT SHOUTING! ITS GIVING ME A HEADACHE. (I know your terminal can do lower case - I can see it in your sample code!) And while Ive got your attention, it is *not* "AN ERROR IN STRUTS" that the checkbox is not submitted, it is a result of the html specifications (whose writers probabl

RE: issue with the multi select

2003-09-04 Thread Andrew Hill
You need to submit the changes in the field contents to the server. I presume when you talk about the form being 'refreshed' you actually mean that it POSTs to some action which does some stuff and then you get forwarded back to the same jsp again? The web browser will only submit the values for t

RE: Multiple web application support

2003-09-04 Thread Andrew Hill
Sounds more like a job for portlets. Im not familiar with them myself , but Id suggest you might want to take a look at JetSpeed (there are other portlet impls but I cant remember what they are right now...) http://jakarta.apache.org/jetspeed/site/index.html -Original Message- From: Ashuto

Can we create a Action class object

2003-09-04 Thread Ashok.D
Hi, Can we create a Action class object. I need to access the perform method from another Action class. If we access this Action class by using *.do, I have some limiations in my application. I don't want to use action.do. But I need to execute another action class perform method. Pls put some

Struts Security

2003-09-04 Thread Eyunni Srilatha
HI, I want to password protect a folder in Struts.I have many folders under jsp like 'test','general','report'.I want to protect only the 'report' folder.I have written this code in web.xml but its blocking all my folders from accessing . I want only report folder to be password protected. can

Multiple web application support

2003-09-04 Thread Ashutosh Satyam
I'm using struts framework for my application. Currently it allows you to split a large application into smaller modules, where each module maintains its own set of configuration files. And it supports switching from one module to another. My Requirement. The layout of the UI should be dictated

RE: How to forward back to including page

2003-09-04 Thread Mathew, Manoj
if (popup != null) { String path = mapping.findForward(variable1).getPath() + "?popup=" + popup; actionForward = new ActionForward(path); } else { actionForward = mapping.findForward(variable1);

RE: How to forward back to including page

2003-09-04 Thread Mathew, Manoj
you don't have to give in the struts config , instead give global forwards. then in your action put logic to forward to any global forwards.. -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:13 AM To: 'Struts Users Mailing List' Sub

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS. IN OUR APPLICATION WE WROTE A CODE WHICH CHECK FOR THIS ELEMENT AN IT IS IS NOT THERE THEN MADE IT "FALSE" ALSO MAKE SURE YOU HAVE isCheckbox():return boolean instea

issue with the multi select

2003-09-04 Thread Mathew, Manoj
Hi all I have 2 multi select box( wth size 5) and have "ADD" and :remove" button in a dyna action form. Basically you can select one or more from a select box and add it to the second one using ADD buton adn remove the selected using "REMOVE" button. I have some other actions also in the sa

RE: How to forward back to including page

2003-09-04 Thread Siggelkow, Bill
Well, the problem is that I am including this fragment in *all* of my pages. (The form allows the user to login -- otherwise, the user is a "guest"). Basically, I want the "forward" of the action that processes the form to not be "hard-coded" to a specific path but instead to the page that inclu

RE: Help me get my boss of my back

2003-09-04 Thread Siggelkow, Bill
It has nothing directly to do with Struts, but I have used Analog (http://www.analog.cx) with good success. -Original Message- From: Carl-Jakob [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:31 AM To: [EMAIL PROTECTED] Subject: Help me get my boss of my back Hi, We h

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
Thanks for the response, but I don't think the problem lies with the actual validation that's happening. I suspect that when a user submits the form page without a checkbox/radio button checked, a blank variable is never sent to the form bean (i.e http://www.url.com/servlet.do?checkboxvar=), it jus

Re: Help me get my boss of my back

2003-09-04 Thread Ronald Rotteveel
Have you considered Awstats maybe? I personally think it's a very good tool and Open Source too Link: http://awstats.sourceforge.net/ Good luck with your boss. Cheers, Ronald - Original Message - From: "Witbeck, Shane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, S

RE: populating Drop down -pls help(solved thanks)

2003-09-04 Thread Goldy J
thanks a lot my mistake problem solved ... "Mainguy, Mike" <[EMAIL PROTECTED]> wrote:Are those typos in your jsp? ===>>>If so, that may be part of the problem... Also, I'd check to verify that the values are not padded (i.e. CHAR(2) datatype may yield "m " instead of "m" which is not the same val

RE: Help me get my boss of my back

2003-09-04 Thread Witbeck, Shane
Webalizer is free, WebTrends is not :) -Original Message- From: Carl-Jakob [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 8:31 AM To: [EMAIL PROTECTED] Subject: Help me get my boss of my back Hi, We have put up websites for some customers despite I said no. nooo...

RE: struts begineer mahavir

2003-09-04 Thread Mainguy, Mike
They left out a very import piece... the struts piece! Add a file called hello-world/WEB-INF/struts-config.xml (you should have gotten an error that it was missing I would think) and put the following content in it... http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>

Help me get my boss of my back

2003-09-04 Thread Carl-Jakob
Hi, We have put up websites for some customers despite I said no. nooo... although now he has started bugging me about stats(5 min after they did go live). Is there any tool for analyzing the accesslogs made in struts. Need to be a webbased tool or I never be left alone for doing import dev

RE: populating Drop down -pls help

2003-09-04 Thread Mainguy, Mike
Are those typos in your jsp? ===>>>mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:38 AM To: [EMAIL PROTECTED] Subject: populating Drop down -pls help Hello, I have a JSP in which there are number of dropdown along with text boxes. I am using struts tag lib for getting the value whe

RE: [SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC drive r problems

2003-09-04 Thread Rohit Aeron
Test mail -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 4:18 PM To: Struts Users Mailing List Subject: Re: [SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC drive r problems Those utilities was originally developed using an ol

RE: "xmlns:bean" was already specified for element "jsp:root".

2003-09-04 Thread Loren Hall
i have, yes, both taglibs work independent, it's only when i import both <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> that i get the 'xmlns:bean" was already specified for element "jsp:root".' error below FYI: c.tld: http://java.s

Re: logic:equal Tag

2003-09-04 Thread Vinit4J
Hi If you want the parameters and values to be dynamic, then use tag with combination of This way you can pass any number of parameters with dynamic values from within your JSP page. Use to compare the request parameters. Try it out. Vinit - Original Message - From: "Jan Van Stalle" <[E

  1   2   >