table dispaly

2003-07-14 Thread Adwait B
Hi, I have a table like screen : Column A Column B Column C ... (Check Box) (lable) (lable) The only editable field is checkbox that is used for deleting rows in the table.One can imagine typical mail inteface(yahoo/hotmail) How I can achieve this?I'm confused about displaying as well

Re: table dispaly

2003-07-14 Thread Firat TIRYAKI
use checkbox names associated with the data in columnB and C. Maybe you can use their IDs like below input type=checkbox name=check_ID ID is ; input type=checkbox name=check_54 input type=checkbox name=check_85 . . . . . F. - Original Message - From: Adwait B [EMAIL PROTECTED] To:

Re: table dispaly

2003-07-14 Thread Nagendra Kumar O V S
hi, well, i can't give a sample code at this point of time.. i can give a overview of ur requirement.. 1. create a javabean(with id of the row,col1,col2 col3.) . with all setter and getter methods... - ( JBean) 2. populate each row with each JBean.

RE: table dispaly

2003-07-14 Thread O_Parthasarathy Kesavaraj
U can use this sample code logic:iterate id = mail name = receivedMails TR TD ALIGN=CENTER html:multibox name = MailForm property=selectedMails bean:write name=mail/ /html:multibox

Online Multiple Choice Testing System--Struts will be considered...

2003-07-14 Thread nurkhamid
I'm going to design a web application. I'll call the great project Online Multiple Choice Testing System, that could be deployed in my LAN-ed campus. There will be at least three types of users: guest, tester, testee. Guest is able to see general information. Testee is able to log in and do a

Using ResourceBundle's subclass in Struts

2003-07-14 Thread Duan Qiang
Hi, I posted a question but seems nobody replied. Anyone tried to define a subclass of ResourceBundle and use it in Struts? For a standalone program, it's straightforward to use sel-defined resourcebundle classes, for example, public class MyResourceBundle extends ResourceBundle { public

which way..struts using tiles?

2003-07-14 Thread Butt, Dudley
Hi all, Just need some info on what you guys are using out there, and what strategy is working the best for you. Lets say i want to use Struts and I need to get a nice webapp out there. The system is potentially large so I'm going to need some sort of build/generation tools. What are you guys

debate over Struts vs other frameworks

2003-07-14 Thread Butt, Dudley
Hi all, I know this must be a topic of discussion that has raged on for a long time, but i'm throwing it out there again, what u say people? NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review,

Populating Drop downs

2003-07-14 Thread Qasim Khawaja
I need to populate three drop downs in a jsp before presentation. Currently I have writted routines in the ActionForm which access the DAO class and populate the lists. The problem is that the DAO class throws an exception which means that I have to make my ActionForm aware of a

struts books

2003-07-14 Thread Butt, Dudley
Hi all, Can anyone recommend which of the struts books as listed I should get. I cannot purchase all. Which of these books are still current with the version of struts currently out there? Pls recommend! thx NOTICE: This message contains privileged and confidential information

Re: struts books

2003-07-14 Thread Dichotomy
I found Ted Husted's Struts in Action very useful. It has an excellent big picture first few chapters which really get it through to you that Struts is actually not very complicated at all. The devil is in the detail, as always, so the rest of the book is pretty useful as a reference for the

two little questions

2003-07-14 Thread Brian McSweeney
Question1: If my application allows users to enter text which will then later be displayed on web pages, do I have to ensure that the text they write isn't html. For example, lets say a message board application. If a user enters in loads of text which is html, will this not mess up the page

Re: two little questions

2003-07-14 Thread Simon Kelly
For Q1. You could pass the data that they enter through a paser, that delimits out the ... tags by placing '!--' after any '' and '--' before and '', this will stop this text being viewed as html. Or jusr remove the tags or allow cetain tags and remove any that aren't in the allowable ones!

Check box problem.

2003-07-14 Thread Ravi Garg
Hi all, I am using JSPs with checkboxes(HTML:CHECKBOX property=) in all the screen. As we know that an on (or value of checkbox) is sent as request whenever I check the checkbox. Then what is sent when I uncheck the checkbox?? What I observed that if I have stored the form in session

RE: debate over Struts vs other frameworks

2003-07-14 Thread Butt, Dudley
: ) i like what i hear so far.. umm, well, there's quite a few...Velocity/Webwork/Turbine/Tapestry/Maverick -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 11:03 AM To: Struts Users Mailing List Subject: RE: debate over Struts vs other frameworks

RE: Check box problem.

2003-07-14 Thread Andrew Hill
I wouldst refereth thy attention unto the documentation for the reset() method of the class known as ActionForm wherein shall be found all that which thou doust require. -Original Message- From: Ravi Garg [mailto:[EMAIL PROTECTED] Sent: Monday, 14 July 2003 18:09 To: Struts Users Mailing

struts plugin for IDEA

2003-07-14 Thread Butt, Dudley
Hi, Has anyone used it, is there one? How good? NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon

RE: debate over Struts vs other frameworks

2003-07-14 Thread Andrew Hill
Velocity is a view rendering technology, not a web framework. It works quite well with struts and there is an excellent introduction to its use in a struts app in Teds book (struts in action) - well worth a look. (One of the advantages of struts is that you can use pretty much any (web) view

[ARTICLE] Succeeding with Struts Pt 2: Indexed Properties of Beans

2003-07-14 Thread James Turner
Just an FYI that the second article in my Succeeding with Struts series is now up on Gamelan, at: http://www.developer.com/java/ejb/article.php/2233591 This month, I covered using indexed arrays of beans to do master/detail records in forms. Next month, I'll be diving into the Validator

RE: Check box problem.

2003-07-14 Thread Prashanth.S
Hi, make the selected array null in reset method in ur form like... String [] arrSelectedItems={}; Dont destroy the array... HTH Prashanth Andrew Hill [EMAIL PROTECTED] wrote: I wouldst refereth thy attention unto the documentation for the reset() method of the class known as ActionForm wherein

RE: two little questions

2003-07-14 Thread Brian McSweeney
Hi Simon, That was my original idea too. Just wanted to see if other people were doing the same. Cheers, Brian -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: 14 July 2003 10:58 To: Struts Users Mailing List Subject: Re: two little questions For Q1. You could

RE: two little questions

2003-07-14 Thread Andrew Hill
Other alternative is similar - convert the and to lt; and gt; etc... so it outputs as though it was text. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, 14 July 2003 18:38 To: 'Struts Users Mailing List' Subject: RE: two little questions Hi Simon,

DynaActionForm

2003-07-14 Thread Qasim Khawaja
How do you populate Drop down lists in a DynaActionForm? Q - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts plugin for IDEA

2003-07-14 Thread ashwani . kalra
I am using Struts console plugin with IDEA. Cool !! Butt, Dudley

Pagination with JSTL

2003-07-14 Thread Zoran Avtarovski
I'm looking at implementing JSTL in my next struts project and I was wondering if any body had an example of pagination using JSTL and JDBC. At present I use James Klicman's pager taglib (which I like) but I can see a number of advantages moving to using JSTL and more importantly using the

RE: debate over Struts vs other frameworks

2003-07-14 Thread Butt, Dudley
excellent thx very much -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:30 PM To: Struts Users Mailing List Subject: RE: debate over Struts vs other frameworks Velocity is a view rendering technology, not a web framework. It works quite well

Re: module / tiles problems

2003-07-14 Thread Sergey Smirnov
According snap-shot of your web.xml, you do not use two modules. You have only one default module and the second definition for tiles plugin overwrites the first one. If you realy want to have two modules you have to use the following in your web.xml: init-param param-nameconfig/param-name

[OT] Disaster Recovery

2003-07-14 Thread David Bolsover
Hi all Totally off-topic - my apologies - but I'm desparate - I need to draft some guidelenes urgently - and I just know that the pros that read this list will have done all this many times before. I have to prepare a disaster recovery plan for the IT system of an electronics manufacturing

Re: getting hash map values

2003-07-14 Thread Kris Schneider
The way the class is defined, I don't think either JSTL or Struts tags will be of much use. There really aren't any properties exposed. Take a look at: http://jakarta.apache.org/struts/faqs/indexedprops.html Specifically the section titled Mapped Properties. Quoting Rick Reumann [EMAIL

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Kris Schneider
Seems like the easiest thing to do would be to write a Filter mapped to /* that uses HttpServletRequest.getRequestURI to capture the requested URI. In a conformant Servler 2.3 container, the Filter will only operate on the original client request, not forwards or includes. Quoting david chan

RE: struts plugin for IDEA

2003-07-14 Thread James Holmes
Struts Console is the only Struts plugin that I know of for IDEA. It's pretty good as it allows you to work with Struts, Tiles and Validator config files. Struts Console also allows you to edit JSP Tag Library files (*.tld) now. http://www.jamesholmes.com/struts/ -James -Original

Re: tracking user activities: how to ignore action chaining (or serverside forward)

2003-07-14 Thread Pirmez
Hi David, Try request.getRequestURL() david chan escreveu: Hi, I am writing a RequestProcessor that is a subclass of Struts 1.1 RequestProcessor, the purpose is to track user activities, i.e. which link the user clicked, which page the user requested etc. I override the method

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Prashanth.S
I think u can also use eventlisteners which are allmost same thing as filters.. Regards Prashanth Kris Schneider [EMAIL PROTECTED] wrote: Seems like the easiest thing to do would be to write a Filter mapped to /* that uses HttpServletRequest.getRequestURI to capture the requested URI. In a

quote or apostrophe in c:out ...?

2003-07-14 Thread Terje Hopsø
Hello, I looked at a file with tables in Dreamweaver. It was messy an difficult to read because it was confised by referencing pages like this: ..href=c:out value=/report.jsp / I then changed it to look like this with apostrphe instead of quotes: ..href=c:out value='/report.jsp' /

Re: struts books

2003-07-14 Thread Rick Reumann
On Mon, 2003-07-14 at 05:05, Butt, Dudley wrote: Can anyone recommend which of the struts books as listed I should get. Programming Jakarta Struts by Chuck Cavaness http://www.amazon.com/exec/obidos/tg/detail/-/0596003285/ref=pd_sim_books_4/104-4079535-6570309?v=glances=books (Also, not

Re: quote or apostrophe in c:out ...?

2003-07-14 Thread Rick Reumann
On Mon, 2003-07-14 at 09:13, Terje Hopsø wrote: I then changed it to look like this with apostrphe instead of quotes: ..href=c:out value='/report.jsp' / Dreamweaver showed the pages correctly now but will this have any impact elsewhere. Could Tomcat or other webservers fail writing

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Kris Schneider
I don't really see how event listeners and filters are almost the same thing. Can you elaborate? Is it possible to provide a customized request or response object through an event listener? Can event listeners be mapped to either a specific servlet or URL pattern? Quoting Prashanth.S [EMAIL

Re: debate over Struts vs other frameworks

2003-07-14 Thread David Graham
--- Butt, Dudley [EMAIL PROTECTED] wrote: Hi all, I know this must be a topic of discussion that has raged on for a long time, but i'm throwing it out there again, what u say people? Pick the framework that works best for you. This topic usually leads to people making incorrect statements

Re: getting hash map values

2003-07-14 Thread Rick Reumann
On Mon, 2003-07-14 at 08:23, Kris Schneider wrote: The way the class is defined, I don't think either JSTL or Struts tags will be of much use. There really aren't any properties exposed. True, I forgot that there wasn't a getMapName() method listed. If he included that the tags should work.

Re: which way..struts using tiles?

2003-07-14 Thread David Graham
Tiles and JSP has worked quite well for me. I especially like using Tiles controllers to attach view preparation behavior directly to the tile instead of worrying about setting up the data in every place that uses the tile. David --- Butt, Dudley [EMAIL PROTECTED] wrote: Hi all, Just need

RE: struts plugin for IDEA

2003-07-14 Thread Butt, Dudley
brilliante' -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 2:49 PM To: 'Struts Users Mailing List' Subject: RE: struts plugin for IDEA Struts Console is the only Struts plugin that I know of for IDEA. It's pretty good as it allows you to

RE: struts books

2003-07-14 Thread Butt, Dudley
i know but i was lazy.. : ) and i also just wanted to make sure and confirm they were the ones everyone still likes : ) -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 3:24 PM To: Struts Users Mailing List Subject: Re: struts books On Mon,

Re: two little questions

2003-07-14 Thread Wes Rood
Q1: Look at OSCore from Opensymphony: http://www.opensymphony.com/oscore/ Specifically, the plainTextToHtml method in the TextUtils class: http://www.opensymphony.com/oscore/api/com/opensymphony/util/TextUtils.html#plainTextToHtml(java.lang.String) This does exactly what Andrew mentions, plus it

accessing more than 1 formbean in an action class

2003-07-14 Thread Madhu Nair
Hi, I am trying to access more than 1 formbean in an action class. Using the Struts API I am able to retrieve the FormBeanConfig object for a form bean. But I am unable to get the ActionForm object. How to get the same? Regards, Madhu - Madhu Nair Member of

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread david chan
My company using Websphere 4.0.5, and it only supports servlet 2.2. Does filter only operate on the original client request for servlet 2.2 also? Can filter works well with Struts actionservlet? Thanks. David --- Kris Schneider [EMAIL PROTECTED] wrote: Seems like the easiest thing to do would

Please Help: ActionForm Re-Population

2003-07-14 Thread Aaron Longwell
I am on the last leg of a web application, and I've run into problems adding validation to the mix. I have an edit Action that retrieves a database record, a list of drop-down options, and then populates the editor ActionForm. Works great, and I LOVE STRUTS! Now I've implemented validation

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Kris Schneider
Sorry, filters were introduced in Servlet 2.3. What you might try doing is using a request attribute as a flag to indicate that you've already logged the requested URI. Maybe something like: if (request.getAttribute(MyConstants.URI_LOG_FLAG) == null) {

RE: accessing more than 1 formbean in an action class

2003-07-14 Thread Gandle, Panchasheel
Can you send the action-mapping for this Action class from the struts-config file Panchasheel -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 10:55 AM To: [EMAIL PROTECTED] Subject: accessing more than 1 formbean in an action class Hi, I am

Re: struts plugin for IDEA

2003-07-14 Thread Aaron Longwell
James, Good work on the plugin. I forgot you had a plugin version of it (I use IDEA and I had been using your standalone version). As a UI designer I have one concern about the IDEA plugin interface... no save button. In playing with it for about 30 seconds I see that it has some kind of

forms and options

2003-07-14 Thread John Hethcox
I am creating a form around a table. The rows in the table are a set of homogeneous beans. Each row in the table has a select widget that is populated from a collection. I would like each row in the table to be pre-selected with the property value for the object in the array that corresponds to

RE: Populating Drop downs

2003-07-14 Thread Edgar Dollin
The sequence is in your struts-config.xml file. The action is always called before the jsp since the action performs the forward to the jsp. Validate (if enabled) is always called on the ActionForm prior to the Action. Edgar -Original Message- From: Qasim Khawaja [mailto:[EMAIL

July 14

2003-07-14 Thread Erik Price
Happy Bastille Day to all FR struts users. Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles:getAsString tag

2003-07-14 Thread Sandeep Takhar
why not tiles:useAttribute followed by a bean:message name= sandeep --- Erez Efrati [EMAIL PROTECTED] wrote: Is there a way to give tiles:getAsString a key instead of a literal string ? Just like bean:message key=welcome it will use the key to retrieve the string from the message

Re: Populating Drop downs

2003-07-14 Thread Aaron Longwell
The Action is called prior to presenting the JSP only if you've set up: an action mapping to map the user's URL to a an action a forward to the JSP and you set the Action's execute method to return a forward to that JSP The entry point into the action is the execute() method which returns an

RE: ?? What is up with the MDaemons ??

2003-07-14 Thread Yansheng Lin
This is struts list. I think you were referring to the Tomcat list. I wonder if that attachment was a worm?? Could a .txt file be a worm? -Original Message- From: Micael [mailto:[EMAIL PROTECTED] Sent: July 12, 2003 1:15 AM To: Struts Users Mailing List Subject: ?? What is up with

How to implement as a form ?

2003-07-14 Thread Linus Nikander
I want to make a simple form-page which allows manipulation of values i stor in a dB. The db-table essentially consists of 2 rows, a unique identifier and a boolean value. I want to list the complete contents of the db in a single table with the booleans as checkboxes. What is the best practice

[ANN] Struts updated in Out-of-the-Box 2.1 release

2003-07-14 Thread Eric Weidner
Struts 1.1 is included in Out-of-the-Box 2.1, an intelligent distribution of over 100 Open Source projects for Java developers on both Linux and Windows. Major changes since Out-of-the-Box 2.0: * Added Oracle and DB2 integration for JBoss and the sample projects * Semi-automatic database

Re: Please Help: ActionForm Re-Population

2003-07-14 Thread Aaron Longwell
Oops, spoke too soon. You discussed 2 options: 1) All drop-down list data goes into session 2) input attribute for the update event goes back to edit Action instead of edit JSP I went with #2 and that brings up a new issue. Doing that causes all of the current values for the fields to be lost

RE: html:options list source question

2003-07-14 Thread Craig Berry
Thanks for the very useful information. Everything you said worked with a single exception; to get the correct interpretation of the property value pointing to a collection of LabelValueBeans, I needed to use html:optionsCollection rather than html:options . -Original Message- From:

[OT] java coding standards question

2003-07-14 Thread Rick Reumann
I know this is totally OT (and it's not even Friday:), but does anyone use the checkstyle plugin in Eclipse? I have it set up to the defaults and I keep getting two warnings that I don't understand (and I've searched Google etc.).. I keep getting the following for my methods that throw

RE: Help Wanted, Struts Translate to Russian, Portuguese, etc

2003-07-14 Thread Yansheng Lin
I am not sure what is involved in this project? Are you translating the Struts Documentation to different languages? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic Cekvenich Sent: July 13, 2003 8:20 PM To: [EMAIL PROTECTED] Subject: OT: Help Wanted, Struts

RE: struts books

2003-07-14 Thread Yansheng Lin
IMHO, Struts in Action is a much better read. -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: July 14, 2003 8:08 AM To: 'Struts Users Mailing List' Subject: RE: struts books i know but i was lazy.. : ) and i also just wanted to make sure and confirm they were

RE: struts books

2003-07-14 Thread Rick Reumann
On Mon, 2003-07-14 at 14:03, Yansheng Lin wrote: IMHO, Struts in Action is a much better read. Yea... well my mom can beat up your mom. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [ANN] Struts updated in Out-of-the-Box 2.1 release

2003-07-14 Thread Chappell, Simon P
coughMac OS X version?/cough -Original Message- From: Eric Weidner [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:20 PM To: [EMAIL PROTECTED] Subject: [ANN] Struts updated in Out-of-the-Box 2.1 release Struts 1.1 is included in Out-of-the-Box 2.1, an intelligent distribution

FW: Use of Validator in a Wizard Validator

2003-07-14 Thread Kearney, Michael
The Struts in Action book describes how to do multipage validations in chapter 12.10.1 by using the following code: if (page == 1) { //Check page 1 properties } if (page == 2) ( // And so on. Unfortunately, it doesn't go into detail about what goes inside the braces. What

Re: [ANN] Struts updated in Out-of-the-Box 2.1 release

2003-07-14 Thread Eric Weidner
cough-uphardware/cough-up Seriously though, OS X is high on our priority list when we get some hardware. Eric On Monday July 14 2003 12:17 pm, Chappell, Simon P wrote: coughMac OS X version?/cough -Original Message- From: Eric Weidner [mailto:[EMAIL PROTECTED] Sent: Monday, July

Re: Using ResourceBundle's subclass in Struts

2003-07-14 Thread James Mitchell
On Monday 14 July 2003 03:26, Duan Qiang wrote: Hi, I posted a question but seems nobody replied. That usually indicated a lack of interest, not a lack of concern. Anyone tried to define a subclass of ResourceBundle and use it in Struts? None that I'm aware of. There are several reasons

RE: Tiles:getAsString tag

2003-07-14 Thread Erez Efrati
You're absolutely correct, I forgot all about it, Thanks, Erez -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 6:43 PM To: Struts Users Mailing List Subject: Re: Tiles:getAsString tag why not tiles:useAttribute followed by a bean:message

RE: struts books

2003-07-14 Thread Yansheng Lin
I don't think so:). But seriously, they are all good books. But I like 'Struts in Action' better 'cause it's a bit more detailed and the structure is more relaxed. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Yea... well my mom can beat up your mom. -- Rick

Re: Using ResourceBundle's subclass in Struts

2003-07-14 Thread David Graham
--- James Mitchell [EMAIL PROTECTED] wrote: On Monday 14 July 2003 03:26, Duan Qiang wrote: Hi, I posted a question but seems nobody replied. That usually indicated a lack of interest, not a lack of concern. Anyone tried to define a subclass of ResourceBundle and use it in Struts?

Re: Using ResourceBundle's subclass in Struts

2003-07-14 Thread Craig R. McClanahan
On Mon, 14 Jul 2003, David Graham wrote: Date: Mon, 14 Jul 2003 12:22:55 -0700 (PDT) From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Using ResourceBundle's

RE: accessing more than 1 formbean in an action class

2003-07-14 Thread Shane Mingins
Hi Can you not just retrieve the object from the request/session? I had a form in session scope that I access from other action classes like so: MyForm form = (MyForm)request.getSession().getAttribute(MyForm); Shane -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent:

RE: struts books

2003-07-14 Thread Jaye Bass
If these Struts books were vectors, it would take about 3 of them to span the knowledge space. On Mon, 2003-07-14 at 14:03, Yansheng Lin wrote: I don't think so:). But seriously, they are all good books. But I like 'Struts in Action' better 'cause it's a bit more detailed and the

Indexed form values

2003-07-14 Thread Amit Kirdatt
I have a struts form where I am doing the following: logic:present name=form1 property=arrayList1 scope=request logic:iterate id=arrayValue1 name=form1 property=arrayList1 html:hidden name=arrayValue1 property=id1 indexed=true/ html:hidden name=arrayValue1

AW: Online Multiple Choice Testing System--Struts will be considered...

2003-07-14 Thread Ralf E. Stranzenbach
Hi, I did this (more or less) using Struts and Hibernate an it worked very well. You may have a look at http://it-performance.net using gast/gast as login. Sincerly, -Ursprüngliche Nachricht- Von: nurkhamid [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Juli 2003 09:17 An: [EMAIL

radio button issue

2003-07-14 Thread Mathew, Manoj
Hi all I have a situation when i have 4 radio buttons ad all have same property name. So here the problem is i have to set the tabindex also. The control is going only ot the first radio button and then to the next element after all 4 radio buttons.Any idea how can i resolve this? i want to

Test Driven Development with Struts

2003-07-14 Thread Shane Mingins
Hello Could someone give me some advice on using a TDD with Struts? What sort of approach did they take and/or tools did they use? Are there opinions on the best approach? Are there any examples around? For example I see there is an extension for JUnit called StrutsTestCase. I am reasonably

Re: AW: Online Multiple Choice Testing System--Struts will be considered...

2003-07-14 Thread David Graham
All web based projects of a reasonable size require a good MVC framework. Without a framework you'll have to write a lot more code and the app is likely to be unmaintainable. So, I encourage you to use Struts (or any framework you like better). By the way, any database that doesn't support

Re: Indexed form values

2003-07-14 Thread Sandeep Takhar
session scoped beans or request? If request - then there have been numerous replies about this FAQ which is that you have to initialize all values less than or equal to the index that are null. i.e. getObject(int index) sandeep --- Amit Kirdatt [EMAIL PROTECTED] wrote: I have a struts form

Page Navigation Philosophy

2003-07-14 Thread Christopher M. DeBracy
I'm new to Stuts and have read several books. To get started I began converting one of my sites. The site is fairly basic: a navigation frame contains graphic images driven by Javascript for the mouse handling. The only form that exists is on a contact page. I created global forwards for each of

Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Richard Hill
Hi, I'm working on an action that gets a resultset from a database table containing 4 columns. I need to pass that information back to the view (jsp) which will iterate over results. My question is what is the best way to do this. Do I create an array for each row in the resultset and insert each

FW: need help

2003-07-14 Thread Mohan Kalyanasundaram
Hi, I am new to Struts and I have to complete a project with an aggressive deadline. I want to know the following: My application will have about 80-100 screens each having different action items. Most screens will have a common header, footer, and a navbar. My questions are: I

RE: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Shane Mingins
Hi Richard For what it is worth this is how I am doing it: My form has a Collection called products which contains product objects. A product has a name and description. The id value product is then used to refer to each object in the collection in a bean write statement, displaying the name

RE: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Raible, Matt
The easiest way IMO is to do the following: 1. Create ActionForms or POJOs to represent each row returned from your table. 2. Put these in a List and put them in a scope (i.e. request or session). 3. Display them with the Display Tag Library (http://displaytag.sf.net). HTH, Matt

Re: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread David Graham
--- Richard Hill [EMAIL PROTECTED] wrote: Hi, I'm working on an action that gets a resultset from a database table containing 4 columns. I need to pass that information back to the view (jsp) which will iterate over results. My question is what is the best way to do this. Do I create an

Re: struts books

2003-07-14 Thread Tin Pham
I recommend getting 2 books, Manning Struts In Action and O'Reilly Programming Jakarta Struts. Butt, Dudley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Can anyone recommend which of the struts books as listed I should get. I cannot purchase all. Which of these books are

RE: Iterate tag

2003-07-14 Thread Kevin J Citron
I'm fairly new to struts. So, if this sounds like an easy question. Bear with me. Here is what I would like to able to to use the iterate tag to iterate over a collection creating a link to another page for each item of the iteration. something like this. ul logic:iterate id=productCategory

RE: Iterate tag

2003-07-14 Thread David Graham
What Servlet API version are you using? If it's 2.3, you should consider using the standard JSTL tags c:forEach and c:out instead of the proprietary Struts counterparts. David --- Kevin J Citron [EMAIL PROTECTED] wrote: I'm fairly new to struts. So, if this sounds like an easy question. Bear

Re: Iterate tag

2003-07-14 Thread Kevin J Citron
Thanks for the reply. I'm using JBoss 3.2.1 with Tomcat 4.1.24. I'll have to check if it's 2.3 Is struts soon going to move to the JSTL stuff ??? David Graham wrote: What Servlet API version are you using? If it's 2.3, you should consider using the standard JSTL tags c:forEach and c:out

Re: Iterate tag

2003-07-14 Thread Kevin J Citron
Looks like 4.1.x is 2.3 compliant. Kevin J Citron wrote: Thanks for the reply. I'm using JBoss 3.2.1 with Tomcat 4.1.24. I'll have to check if it's 2.3 Is struts soon going to move to the JSTL stuff ??? David Graham wrote: What Servlet API version are you using? If it's 2.3, you should

Re: Using ResourceBundle's subclass in Struts

2003-07-14 Thread Duan Qiang
Hi, Craig, James and David, Thank you very much for your replies. I understand the problem now. I have noticed the MessageResources in struts, however, for my application, I have to maintain two versions of the application, one is the web version and the other is standalone version. One of my

Re: c:import functionality in an Action class ?

2003-07-14 Thread James Mitchell
On Monday 14 July 2003 12:25, Ranjangaonkar, Vaibhav (HQP) wrote: I am looking for an Action class like IncludeAction but this class should be able to include contents from an external source and store it in request/session scope, much like the c:import tag in JSTL. But, I want to use this

Re: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Craig R. McClanahan
On Mon, 14 Jul 2003, Richard Hill wrote: Date: Mon, 14 Jul 2003 16:36:17 -0700 From: Richard Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Iterating the resultset contents in the view (jsp) Hi, I'm working

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Prashanth.S
Hi Kris, I have studied eventlisteners in a book[programming jakarta struts].I think below mentioned url will provide u with the required info.. http://www.onjava.com/pub/a/onjava/2001/04/12/listeners.html?page=3 Thanks Prashanth Kris Schneider [EMAIL PROTECTED] wrote: I don't really see

Re: Iterating the resultset contents in the view (jsp)

2003-07-14 Thread Kris Schneider
Another datapoint: JSTL provides an interface called javax.servlet.jsp.jstl.sql.Result: public interface Result { public SortedMap[] getRows(); public Object[][] getRowsByIndex(); public String[]getColumnNames(); public int getRowCount(); public boolean

Re: tracking user activities: how to ignore action chaining (or serverside forward)

2003-07-14 Thread Kris Schneider
Prashanth, Thanks, but my point was that they're really nothing alike. I wasn't asking the questions because I didn't know the answers, I was asking because the answers would illustrate some of the differences. If the information in the link you provided implies that event listeners and

Re: tracking user activities: how to ignore action chaining (or server side forward)

2003-07-14 Thread Prashanth.S
Hi kris, Thanks for the info.Iam a newbie to java and i came to know after reading books that their functionality is allmost similar.Now through u i came to know that they r different.Thanku very much for guiding me.Is there any resource present on net that would guide me in this matter???

Re: tracking user activities: how to ignore action chaining (or serverside forward)

2003-07-14 Thread Kris Schneider
Absolutely. One place to start would be Sun's own J2EE 1.3 Tutorial: http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html Specifically, there's a section called Java Servlet Technology: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html Also, the Servlet 2.3 Specification is the

Re: Online Multiple Choice Testing System--Struts will be considered...

2003-07-14 Thread Jing Zhou
- Original Message - From: nurkhamid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 14, 2003 2:16 AM Subject: Online Multiple Choice Testing System--Struts will be considered... I'm going to design a web application. I'll call the great project Online Multiple Choice

Re: Iterate tag

2003-07-14 Thread David Graham
--- Kevin J Citron [EMAIL PROTECTED] wrote: Thanks for the reply. I'm using JBoss 3.2.1 with Tomcat 4.1.24. I'll have to check if it's 2.3 Is struts soon going to move to the JSTL stuff ??? The Tomcat 4.x series implements the Servlet 2.3 API. Struts will continue to support its tags so it's

  1   2   >