RE: Using Validator To Avoid Database Trip

2004-02-04 Thread Richard Yee
Sanjay, How about computing the hash of all of the fields in the form and storing that in a hidden field. To validate if anything has changed, you would compare the hidden field value with the recomputed hash. This would tell you if anything in the form has changed. Otherwise, you can add

c:out tag inside html:text tag

2004-02-04 Thread Rahul Mohan
Hi...I am facing some problems with using JSTL tags inside struts tags. This is the piece of code I wrote for my application: html:text name=Customer property =Name maxlength=256 size=256 style=c:out value=${styleVar}/ / the problem is that it is getting traslated to html:text

Re: c:out tag inside html:text tag

2004-02-04 Thread Max Cooper
Two issues may be at work here: 1. It isn't valid to have a JSP tag render an attribute value for another JSP tag. This might work instead, depending on the scope of styleVar: html:text name=Customer property =Name maxlength=256 size=256 style=%=styleVar% / 2. Are you missing the %@

Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
Hi All, I have a List collection (paymntTrnsctns) which contains an adminReceipts objects. One of the properties of adminReceipts is a list. So I display the normal string properties of the object, such as receiptNumber and transactionDate, but can't then get the list adminPaymentDetails

How to export the html table contents (records) to an Excel file.

2004-02-04 Thread ssrinivasrao
Hi, I have webpage (.jsp) which lists out 4 to 5 records (having say 4 to 5 columns) inside html table tag. This page, has an Export button, at the bottom. On click of this button, I need to export the records (that the current page is displaying) to an .xls (Excel format) file. Shall be

Re: c:out tag inside html:text tag

2004-02-04 Thread Rahul Mohan
Hi Max, Thanks for the reply... I have found a work around for the problem...but it looks wierd!! These are the steps I performed: 1. I am setting the styleVar as follows: c:set var=styleVar c:choose some JSTL conditional stmts /c:choose

Re: How to export the html table contents (records) to an Excel file.

2004-02-04 Thread Janarthan Sathiamurthy
Hi, The following link is a very good solution - http://jakarta.apache.org/poi/hssf/index.html Regards, Janarthan S [EMAIL PROTECTED] wrote: Hi, I have webpage (.jsp) which lists out 4 to 5 records (having say 4 to 5 columns) inside html table tag. This page, has an Export button, at the

RE: How to export the html table contents (records) to an Excel f ile.

2004-02-04 Thread Jesse Alexander (KAID 11)
Hi, three choices: - export the stuff to a CSV (comma separated value) file. Excelt usually reads that stuff perfectly - do not need any further libraries - does not support formatting of the data from the server side - use POI (http://jakarta.apache.org/poi/) - exports real excel-files

RE: c:out tag inside html:text tag

2004-02-04 Thread Glenn, Scott
Might be your nested quotes . try using different quote characters to define the nested string ie. style='%=pageContext.findAttribute(styleVar).toString()%' S. -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: 04 February 2004 09:09 To: Struts Users Mailing

Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
I have a List collection (paymntTrnsctns) which contains an adminReceipts objects. One of the properties of adminReceipts is a list. So I display the normal string properties of the object, such as receiptNumber and transactionDate, but can't then get the list adminPaymentDetails within

Re: How to export the html table contents (records) to an Excel file.

2004-02-04 Thread shankarr
Hi! Same question as mine!!! Well, I am currently trying to use Jakarta- POI classes. Do have a look . By the looks of it, you would need to use HFFS which is a set of classes to create/edit xls files. I have just started on it and seems promising. Viva Open Source! Richie At 02:36 PM 2/4/2004

Re: c:out tag inside html:text tag

2004-02-04 Thread Rahul Mohan
thanks scott The problem is not with quotes as I am getting the following code in the final html; html:text name=w_CustomerWin property =wca_Name maxlength=256 size=256 style=width:100;height:22;position:absolute;top:20;left:56;display:none / note that this is present in the final

Re: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
I have not looked at this closely, but I notice there is no write in the nested iterator. Can you say what happens with this when you run it? At 01:06 AM 2/4/2004, you wrote: Hi All, I have a List collection (paymntTrnsctns) which contains an adminReceipts objects. One of the properties of

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
I did put a bean:write in there and it still doesn't work. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:35 PM To: Struts Users Mailing List Subject: Re: Logic Iterate - Cannot Create iterator for this collection I have not looked

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
What happens? At 01:36 AM 2/4/2004, you wrote: I did put a bean:write in there and it still doesn't work. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:35 PM To: Struts Users Mailing List Subject: Re: Logic Iterate - Cannot Create

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
What happens? At 01:36 AM 2/4/2004, you wrote: I did put a bean:write in there and it still doesn't work. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:35 PM To: Struts Users Mailing List Subject: Re: Logic Iterate - Cannot Create

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
I am still getting Cannot Create Iterator for this collection error. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 5:42 PM To: Struts Users Mailing List Subject: RE: Logic Iterate - Cannot Create iterator for this collection What

RE: How to export the html table contents (records) to an Excel file - Are there are any POI jar from jakarta to be downloaded?.

2004-02-04 Thread ssrinivasrao
hi, are there any .jar files for using jakarta-poi, that need to be placed in lib folder? thanks and regards, s.srikanth Jesse Alexander (KAID

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
RUN/servers/bnonline/bnonline.war 04/02 18:05:58 info [axis] getConnection() 04/02 18:05:58 info [axis]Check for timeout, activeCount=1, useCount=1 04/02 18:05:58 info [axis]Found available connection 04/02 18:05:58 info [axis]Return allocated connection, activeCount=1, useCou nt=2

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
If you do this where? You are not giving enough information. Either give it up or I have to retire. Thanks. At 02:07 AM 2/4/2004, you wrote: if I do a bean:write name=adminReceipts property=adminPaymentDetails/ I get [EMAIL PROTECTED] So I know that the element is there!! I will send a stack

RE: How to export the html table contents (records) to an Excel file - Are there are any POI jar from jakarta to be downloaded?.

2004-02-04 Thread shankarr
Hi! Yes, you need to download the following and use the jar file present. http://nagoya.apache.org/poi/news/ This is the link for the 2.0 version. Use the jakarta-poi-1.5.1-final-20020615.jar jar . Put in WEB-INF/lib folder of your webapp. Richie At 03:31 PM 2/4/2004 +0530, you wrote: hi, are

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
Sorry Michael. I do that in a jsp page. logic:iterate id=adminReceipts name=paymntTrnsctns div id=ExtractResults style=width: 760px; background-color: #FF; border: 1px; padding: 1px; margin: 0px auto; table width=100% border=1 cellpadding=0 cellspacing=0

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
Gotta go. I will check this in the a.m. At 02:10 AM 2/4/2004, you wrote: RUN/servers/bnonline/bnonline.war 04/02 18:05:58 info [axis] getConnection() 04/02 18:05:58 info [axis]Check for timeout, activeCount=1, useCount=1 04/02 18:05:58 info [axis]Found available connection 04/02

Re: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael Wiles
You need to specify the name of the collection in the nested iterator (the getter). Add another parameter to the nested iterator line called property. logic:iterate id=adminPaymentDetails name=adminReceipts property=Property name of collection/ /logic:iterate I'm having trouble

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
Oh, i see. Nope, it isn't. Its an object that should be in a collection! doh!! Thanks very much Michael. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 6:22 PM To: Struts Users Mailing List Subject: RE: Logic Iterate - Cannot Create

Displaying properties in a nested iterator

2004-02-04 Thread Michael Wiles
How do nest iterators? An exert from my jsp... logic:iterate property=orders name=allocationOrder id=element .. .. do stuff with element .. .. logic:iterate property=orderDetails name=element id=subElement .. .. do with with subElement ..

newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
Hi experts :), is it possible to add a request parameter to html:form ? In html:link i can add a bean with name=params, but i cannot use it on html:form. Is there a trick to add the bean as request parameter ? Thanks for help Tomek

Re: newbie and html:form

2004-02-04 Thread Markus
Hi experts :), is it possible to add a request parameter to html:form ? In html:link i can add a bean with name=params, but i cannot use it on html:form. Is there a trick to add the bean as request parameter ? Thanks for help Tomek Hi, try a hidden field. Regards, Markus

Re: newbie and html:form

2004-02-04 Thread Markus
Hi experts :), is it possible to add a request parameter to html:form ? In html:link i can add a bean with name=params, but i cannot use it on html:form. Is there a trick to add the bean as request parameter ? Thanks for help Tomek Hi, try a hidden field. Regards,

AW: newbie and html:form

2004-02-04 Thread Sniadach, Tomasz
ok, i don´t know if we understand us :) I have in a session a HashMap with parameters and i use it in other JSP´s with html:link page=/myAction.do name=paramsLink/html:link myAction.do forwards to a JSP, let´s say Form.jsp. Here is my form html:form action=/myAction2.do method=post ... and

Re: AW: newbie and html:form

2004-02-04 Thread Markus
OK, let's give a try! The HashMap is stored in the session scope? Is it right? If so, you can reach it in the whole session, in every action or jsp without adding it as request parameter. HTH Regards, Markus ok, i don´t know if we understand us :) I have in a session a HashMap with parameters

newbie - How to generate form controls dynamically in struts

2004-02-04 Thread Sudip Kumar Bhattacharya
Hi friends, I need to create some controls dynamically which should be struts enabled. Sample output code is as follows. How can I use some collection/array to store the information, and then render the html:fields, so that they are handled by struts like normal hardcoded controls? I have seen

Re: How to export the html table contents (records) to an Excel file.

2004-02-04 Thread James Mitchell
response.setContentType(application/vnd.ms-excel); Assuming the end user has Excel installed and their browser accepts application/vnd.ms-excel, the data will be streamed to the client and the content will be opened by Excel. -- James Mitchell Software Engineer / Struts Evangelist

RE: Struts and Pajes

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
Ok. I'll try to be more clear: - I don't want to use JSPs when working with Struts, neither the Taglibs. Instead, I want to be able to delegate the presentation on an external component. - In order to do that, I must be able to access the data to be presented (i.e. access the appropriate

Re: c:out tag inside html:text tag

2004-02-04 Thread Kris Schneider
As Max pointed out, the reason you're still seeing html:text could be because you haven't included the appropriate taglib directive: %@ taglib prefix=html uri=http://jakarta.apache.org/struts/tags-html; % And you might try this instead of your scriptlet: c:set var=styleVar ...

Re: c:out tag inside html:text tag

2004-02-04 Thread Kris Schneider
Quoting Kris Schneider [EMAIL PROTECTED]: As Max pointed out, the reason you're still seeing html:text could be because you haven't included the appropriate taglib directive: %@ taglib prefix=html uri=http://jakarta.apache.org/struts/tags-html; % And you might try this

RE: Struts and Pajes

2004-02-04 Thread Andrew Hill
Hmm. Interesting, saw pajes mentioned on the barracuda list as well. Flavour of the week? ;-) Struts doesnt force you to use JSPs, but it does provide a bunch of JSP tags that make it a very nice fit to use JSP with struts, and of course the majority of strutters are using JSP. The Tiles library

Re: bean:message key=label.success.create/

2004-02-04 Thread Kris Schneider
bean:message name=str/ Quoting deepaksawdekar [EMAIL PROTECTED]: Hi I want to pass the varible to key of the statement bean:message key=label.success.create/ eg. if ( some condition ) str = deepak else str = xyz Now i want to pass the value of str as a key to

messages/errors 2 form's 1 page

2004-02-04 Thread Mark Lowe
Hello I'm sure this has been answered before but I'm sick of googling for the answer. Using tiles I've 2 forms in one page. tiles:insert page=loginForm.jsp / tile:insert page=customerForm.jsp / Now both forms have some properties with the same names e.g. html:form action=/login.do

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
Thanx Joe, Andrew... you seem to have grasped the essence of my worries. Andrew: on your comment about Pajes (jejeje), yes. It's a nice simple framework I've been working with for about 2 years now. I confess I have not been interested to become a Guru at it or something like that, but that's

Re: Displaying properties in a nested iterator

2004-02-04 Thread Michael Wiles
the class for the contents of the nested form was not public! On Wed, 2004-02-04 at 12:35, Michael Wiles wrote: How do nest iterators? An exert from my jsp... logic:iterate property=orders name=allocationOrder id=element .. .. do stuff with element .. ..

RE: c:out tag inside html:text tag

2004-02-04 Thread Daniel Ruiz
hi, u can use html-el library or jsp:attribute if your server supports jsp2.. []´s Daniel Ruiz -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 4 de fevereiro de 2004 10:54 To: Struts Users Mailing List; Rahul Mohan Subject: Re: c:out tag inside

AW: Struts + Frames + Requests

2004-02-04 Thread Dirk Manske (Service Respond)
ok, at least I could fix my first problem but I am still struggling with the second one. Obviously it is not possible to have two frames, one for entering some values and the second one for displaying them and let struts validate the input because struts reports the error always to the target

Re: Re-populating form after validate fails

2004-02-04 Thread Rick Reumann
Paul Barry wrote: action path=/myaccount/login type=myapp.struts.actions.ForwardAction scope=request name=LoginForm validate=false parameter=/WEB-INF/jsp/myaccount/login.jsp / action path=/myaccount/loginAction type=myapp.struts.actions.LoginAction scope=request

RE: out tag inside html:text tag

2004-02-04 Thread Slattery, Tim - BLS
Hi...I am facing some problems with using JSTL tags inside struts tags. This is the piece of code I wrote for my application: html:text name=Customer property =Name maxlength=256 size=256 style=c:out value=${styleVar}/ / You can't nest tags, so this syntax just is not

Re: Re-populating form after validate fails

2004-02-04 Thread Paul Barry
If validate fails, your action won't even be processed. You can't use any of the forwards that you may set up for your action, because your action never executes, you can't do a mapping.findForward(failure). Once validate fails, it forwards to the input. The struts example has validate=false

what is controller servlet in struts framework

2004-02-04 Thread mohan
Hi guys I have been having a question. I do not understand what is the controller servlet in the struts framewrok. Is it the Action classes or struts-config.xml that is the controller servlet for struts framework. Please let me know Thanx --Mohan

RE: what is controller servlet in struts framework

2004-02-04 Thread Smith, Darrin
It's the ActionServlet unless you are overriding it and will be seen in: servlet servlet-nameMyServletservlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04,

RE: out tag inside html:text tag

2004-02-04 Thread Andy Kriger
Try using the struts-el tag library It's an extension of the struts taglib that allows you to use JSTL EL So you example becomes... html-el:text style=${styleVar} .../ -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:48 AM To: struts

RE: what is controller servlet in struts framework

2004-02-04 Thread Slattery, Tim - BLS
I have been having a question. I do not understand what is the controller servlet in the struts framewrok. Is it the Action classes or struts-config.xml that is the controller servlet for struts framework. Please let me know It's the Java servlet that is invoked whenever the browser

generic component

2004-02-04 Thread Michael Wiles
How do I create a generic component to do a particular job and enable it to be called from anywhere? Take for example a colour chooser... A Colour chooser is something I'd want to use often and from anywhere on my web site. I would like it to be decoupled from the rest of the system and be

RE: what is controller servlet in struts framework

2004-02-04 Thread Andrew Hill
The controller servlet is the struts ActionServlet class. You configure this in your web.xml file so that it sends all requests whose path ends in .do (or whatever extension/path mapping you choose for your actions) to this servlet. The ActionServlet will actually make use of another class to do

RE: generic component

2004-02-04 Thread Andrew Hill
Simple things you could just write a taglib for. Many of the more complex widgets are possible using Tiles, though Im not familiar with the details of Tiles myself so cant provide much info beyond pointing you at it... -Original Message- From: Michael Wiles [mailto:[EMAIL PROTECTED] Sent:

RE: messages/errors 2 form's 1 page

2004-02-04 Thread Saul Q Yuan
Do the two action mappings share the same form bean? If yes, that might be the problem. Try to use two separate form beans, see how it goes. Saul -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 8:52 AM To: Struts Users Mailing List

Re: generic component

2004-02-04 Thread Frédéric Dreier
+1 For complex components (- lot of html) I use tiles otherwise I do my own taglib. If you want to make interactive components, you can pass the base url to the tile (the tile could append some parameters to the url to save it's state). Andrew Hill wrote: Simple things you could just

Validating the list box

2004-02-04 Thread Mailing List
Hi, I want to validate a list box if it's empty or not. The problem is that there are two list boxes on my pages users can move data from list 1 to list 2 and vice versa ( it was developed by java script of course). Like below: List 1 List 2

RE: generic component

2004-02-04 Thread Guillermo Meyer
+1 You could create a taglib and use Xkins templates to generate HTML this tag and add skinning capabilities to this generic component. -Original Message- From: Frédéric Dreier [mailto:[EMAIL PROTECTED] Sent: Miércoles, 04 de Febrero de 2004 12:51 p.m. To: Struts Users Mailing List

Re: messages/errors 2 form's 1 page

2004-02-04 Thread Mark Lowe
Thanks for the response. No they don't.. They're completely different forms, with different actions. Looks like going down the TileAction route. On 4 Feb 2004, at 16:43, Saul Q Yuan wrote: Do the two action mappings share the same form bean? If yes, that might be the problem. Try to use two

RE: Looking for junior Java/Struts developers

2004-02-04 Thread Jiin-Her Lu
Depends on when, where, and what is your citizenship. It can be up to $ 85000+ in US. Jiin-Her Lu (816) 926-2145 [EMAIL PROTECTED] 02/03/04 10:34PM whats a graduate programmer worth? i'm told to accept 45k, which i believe in the states would be 30k or roundabouts. *sniff* US 50k *sniff* i

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
I did not mean that J. I meant let's see the code. Stop being so private. LOL. Give it up! At 02:19 AM 2/4/2004, you wrote: Sorry Michael. I do that in a jsp page. logic:iterate id=adminReceipts name=paymntTrnsctns div id=ExtractResults style=width: 760px; background-color:

Re: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Thorsten Scherler
Villalba Arias, Fredy [BILBOMATICA] fvillalba at mailext.com writes: (3) It is not possible to have more than one ActionForm associated to an Action (at the same time), i.e. it's a 1:1 relationship (again, am I right?) That's not true! I am using an Action with 2 ActionForms: ServiceForm

Struts example

2004-02-04 Thread Thorsten Scherler
Hello group, I started to refactor my personal homepage. I used to have a multi site search Jscript for it. Something like http://javascript.internet.com/miscellaneous/multi-site-search.html. I have written something similar now but with Java and Struts. I have NOT put it on my web site

RE: Looking for junior Java/Struts developers

2004-02-04 Thread russo
Jiin-Her hits the nail on the head I certainly wouldn't want to make 50K while living in Boston or New York City... Here's the cost of living for Herndon VA http://realestate.yahoo.com/re/neighborhood/search.html?sa=c=Herndons=VAz= Cost of living (taxes, expenses, insurance, etc...) can change

html:select with multiple selections

2004-02-04 Thread Otto, Frank
Hi, I have a html:select tag with multiple selections. Fist I select two elements. After this I deselect this elements, but If I come back to this site, the two elements will be selected again. I don't know why. I think the property for the select box is not set by populating the form, so it

html:checkbox and struts-EL

2004-02-04 Thread Renato Romano
I'm using a customized version of the checkbox tag that always sets in the property field a value of true or false depending on the state of the checkbox, thus avoiding the noisy problem of not checked tags does not reset the property; this was needed to me because the form is in session scope,

html:checkbox - default check state - how?

2004-02-04 Thread otisg
Hello, I am using html:checkbox Struts tag, but I am unable to set it to a CHECKED state by default. I checked the docs for the Struts HTML taglib, but found nothing that worked. This is what I am using now (removed gt and lt to avoid HTML rendition problems): html:checkbox property=foo

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi /thorsten I don't know for sure. That's why I asked if I was right... :) Anyway: (1) How do you associate 2 ActionForms to the same Action (and have them automatically associated and populated by Struts)? (2) Assuming 1 is possible (I'd really appreciate if you could explain me how to

RE: Looking for junior Java/Struts developers

2004-02-04 Thread Andrew Hill
Least you can afford a car in Herdon VA. Over here even a simple Toyota Camry will set you back $110k (about $64k US). grumblemuttercurse sigh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 00:38 To: Jiin-Her Lu Cc: [EMAIL PROTECTED];

RE: messages/errors 2 form's 1 page

2004-02-04 Thread Yee, Richard K,,DMDCWEST
Mark, Use logic tags to prevent/allow the html:message tag that is displaying the errors. Key on a value that is set according to which form caused the error. -Richard -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 8:02 AM To: Struts

Re: RE: Looking for junior Java/Struts developers

2004-02-04 Thread otisg
Hello, Just noticed this thread. If the original sender is still looking for a Java/Struts developer, I know several good ones in Zagreb, Croatia. The cost of living in Croatia is much lower than in the U.S. and wester Europe, so they are much more affordable. If you need more information,

RE: RE: Looking for junior Java/Struts developers

2004-02-04 Thread Smith, Darrin
This thread is probably getting too far OT, but... Given that this position is in Herndon, how can someone from Croatia work? The post said they would need to move to Herndon (a pretty expensive area BTW) -Original Message- From: otisg [mailto:[EMAIL PROTECTED] Sent: Wednesday, February

RE: Looking for junior Java/Struts developers

2004-02-04 Thread Andy Engle
Andrew Hill [EMAIL PROTECTED] wrote: Least you can afford a car in Herdon VA. Over here even a simple Toyota Camry will set you back $110k (about $64k US). Nah -- a Camry is not even half that cost here. At least it shouldn't be. But you shouldn't waste your money on the Camry, especially

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Hubert Rabago
Hi Fred(d)y, (3) Despite 1 and 2, there must be a method to obtain the ActionForm(s) associated to an Action (during an specific request / post). Right? I think this question has been answered twice in this very thread, once by me, and again (and with code) by Andrew Hill. From Andrew's

Submit two Form with JScript (was Accessing ActionForm from Servlet )

2004-02-04 Thread Thorsten Scherler
- I don't know for sure. That's why I asked if I was right... :) Reading your reply me neither LOL ;-) - - Anyway: - - (1) How do you associate 2 ActionForms to the same Action (and have - them automatically associated and populated by Struts)? If you mean: action attribute=serviceForm

RE: Accessing ActionForm from Servlet (was: Pajes + Struts)

2004-02-04 Thread Jesse Alexander (KAID 11)
Well it is also allowed to produce the output in the Action. Maybe it would be easier to call Pajes from the Action, stream the result into the response.out and return a null-ActionForward. hth Alexander -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Mittwoch,

RE: [OT] Looking for junior Java/Struts developers

2004-02-04 Thread Joe Hertz
Herndon is a pretty sweet place. I used to work in Reston, actually on the top floor at Reston Town Center, and that area is tops. It sure does beat this place that I'm at now, hands down! A salary of $50K would be pretty meager living though, especially in that area. You'd most

RE: Problem with the forward attribute in action

2004-02-04 Thread Narayanan, Sunitha
To provide more info on this. On the Struts user guide page, http://jakarta.apache.org/struts/userGuide/building_controller.html If you see section, 4.9 Using ActionMappings for Pages It has this sample code - action path=/view forward=/view.jsp/ I tried having the forward goto the jsp

RE: [OT] Looking for junior Java/Struts developers

2004-02-04 Thread Andy Engle
Joe Hertz [EMAIL PROTECTED] wrote: I grew up in Reston (and you've made me nauseous by calling it tops! tyvm :-). I mean, any place that has zoning laws telling you you cannot paint your house the color you want, can fine you for not mowing your lawn, has outlawed street lights and tells

RE: [OT] Looking for junior Java/Struts developers

2004-02-04 Thread Slattery, Tim - BLS
Oh I didn't live there, I just worked there. I lived in Frederick County, Maryland, which was quite a bit better of a place to live than in Reston. I agree, those laws are quite a bit uptight -- no place should have obnoxious zoning like that. But the area is pretty clean, seems to not

RE: out tag inside html:text tag

2004-02-04 Thread Gopalakrishnan, Jayesh
Do you have the %@ taglib uri=struts-html prefix=html % line in the JSP...I guess you do? Don't know why it wouldn't work. I can only suggest using the bean:define %=styleVar% combination ... -jayash -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Wednesday,

[OT]CVS client

2004-02-04 Thread Ramadoss Chinnakuzhandai
Hi, can anybody suggest me any better CVS client other than WinCVS and JCVS? Tnx in advance, -Ramadoss - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT]CVS client

2004-02-04 Thread Robert Taylor
You might try Tortois CVS: http://www.tortoisecvs.org/ robert -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 3:17 PM To: [EMAIL PROTECTED] Subject: [OT]CVS client Importance: High Hi, can anybody suggest

Struts Kick Start Book - StockTrack Sample does not work

2004-02-04 Thread Frank Nguyen
Hi, I have a simple, sample stocktrack app (war file) from the Struts Kick Start Book (James Turner/Kevin Bedell). It uses Struts (of course), Torque, MySQL, and Tomcat. I installed and followed its instructions. I was able to bring up the app, but when the form submitted, somehow the app

RE: [OT]CVS client

2004-02-04 Thread Andy Kriger
if you don't need a GUI, you can install cygwin and use the cvs client from that. -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 3:17 PM To: [EMAIL PROTECTED] Subject: [OT]CVS client Importance: High Hi, can anybody

Question on Frames within Tiles

2004-02-04 Thread Mutreja, Shitij
Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these

RE: [OT]CVS client

2004-02-04 Thread Jimmy Emmanual
Almost all IDE's also have cvs clients. -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:14 PM To: 'Struts Users Mailing List' Subject: RE: [OT]CVS client if you don't need a GUI, you can install cygwin and use the cvs client from that.

Re: [OT]CVS client

2004-02-04 Thread Nick Heudecker
If you use Emacs/XEmacs, I really like PCL-CVS. On 2004-Feb-03 15:02, Ramadoss Chinnakuzhandai wrote: Hi, can anybody suggest me any better CVS client other than WinCVS and JCVS? Tnx in advance, -Ramadoss -

Re: [OT]CVS client

2004-02-04 Thread Franck Lefebure
Le Tuesday, February 03, 2004 4:17 PM, Ramadoss Chinnakuzhandai [EMAIL PROTECTED] m'a, d'une plume avisee, ecrit: Hi, can anybody suggest me any better CVS client other than WinCVS and JCVS? I use Sun One Studio built in cvs client for little cvs actions (add, commit) and cvs unix

RE: html:checkbox and struts-EL

2004-02-04 Thread Karr, David
I have no clue why you think you needed to write a customized checkbox class. It's not clear to me from your description. Having your form in session scope has little to do with it. The reset() method in the ActionForm is used to clear out checkbox values (and others) BEFORE the form is

Re: [OT]CVS client

2004-02-04 Thread siberian
The Eclipse CVS integration is pretty nice, thats what I have been doing but I'm no power user. John- On Wed, 4 Feb 2004 15:33:11 -0400 Franck Lefebure [EMAIL PROTECTED] wrote: Le Tuesday, February 03, 2004 4:17 PM, Ramadoss Chinnakuzhandai [EMAIL PROTECTED] m'a, d'une plume avisee, ecrit:

RE: out tag inside html:text tag

2004-02-04 Thread Karr, David
As other posters pointed out, just use Struts-EL, and you'll end up with: html:text name=Customer property =Name maxlength=256 size=256 style=${styleVar} / Note that I recommend using the same prefix with Struts-EL as you do with the base library, although my earlier documentation

global data objects -- best practices?

2004-02-04 Thread exnihilo
hi, I have a question regarding data objects that should be accessible from the entire application and which must be created at container startup time. I need to either create and load an existing index or load a serialized index if one exists. This can be a time-consuming process, and I would

iteration and EL help needed

2004-02-04 Thread Andy Kriger
This is the problem I am trying to solve. I want to submit a DynaValidatorForm with multiple hidden/text inputs that have the same name. This is a list of items and quantities that I am trying to update with one submit (e.g. itemId, quantity). Is this what the 'indexed' input attribute is supposed

Re: global data objects -- best practices?

2004-02-04 Thread siberian
Thats an interesting question. Specifically to Tomcat and struts, does the JNDI stuff accomplish this similiarly to how it handles pooled db connections? http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html So, if you create a new resource in the config does it create

RE: [OT]CVS client

2004-02-04 Thread Ramadoss Chinnakuzhandai
I use Eclipse as well...but the problem Im facing is I could not able to find out the locally changed file when I merge with CVS server...Im looking for something like separate GUI CVS client where I can view all the files in detail..something like WinCVS(somehow I could able to install this).

RE: global data objects -- best practices?

2004-02-04 Thread Robert Taylor
Yes, the ServletContext is the most appropriate place to put it if you want your data to be available during the life time of the application. If your container conforms to Servlet spec. 2.3 or higher, a solution is to implement one or more ServletContextListener(s). Is the a best practice? I

Re: [OT]CVS client

2004-02-04 Thread exnihilo
I'm not sure if this addresses your need, but Eclipse also allows you to do a Synchronize with Repository, which will show you exactly which files are newer locally and in the repository, and allows you to do comparisons before committing or updating. I find this more helpful than when I used

Re: global data objects -- best practices?

2004-02-04 Thread amr
I use a plugin (implements org.apache.struts.action.PlugIn) and put things I need application-wide in the ServletContext. [EMAIL PROTECTED]

RE: global data objects -- best practices?

2004-02-04 Thread Hookom, Jacob
Usually I setup an XApplicationListener in the web.xml that will initialize things for our app. Objects/Services can get initialized in multiple ways: 1. Grabbing an instance of a singleton ServiceManager.getInstance(); 2. Creating an instance and put it in the ServletContext If it's

Work around to 12600 - HTML form prepends context root before action

2004-02-04 Thread Jeetendra . Dassani
We've got reverse proxies that translates the context root - say abc to xyz. Now, when the I check the html the action attribute is still abc because that was prepended by struts. Next page is not found because the reverse proxy does not recognize abc. I checked the mailing list archive and found

  1   2   >