Please unsubscribe me from this list!.

2002-02-27 Thread Jack King \(Unix\)
- Original Message - From: Drew Sudell [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 25, 2002 15:54 Subject: RE: i18n - Escape Codes -Original Message- From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Sunday, February

question about logic:equal

2002-02-27 Thread Maris Orbidans
hello What if there is no request attribute with name READ ? NPE ? logic:equal name=READ scope=request value=true /logic:equal Maris Orbidans -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

O'Reilly Example

2002-02-27 Thread Tapas Bhattacharya
Hi All, Has any one tried struts example from O'Reilly (onjava). Am getting the flowing error : Parsing of JSP File '/Login.jsp' failed: /Login.jsp(-1): Error in tag library at: 'form': The Tag class 'org.apache.struts.taglib.html.ImageTag' has no setter method corresponding to TLD declared

Re: Please unsubscribe me from this list!.

2002-02-27 Thread Konstantina Stamopoulou
Click at the bottom of the page the : To unsubscribe, e-mail . Follow the instructions. Konstantina - Original Message - From: Jack King (Unix) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 11:03 AM Subject: Please unsubscribe

using digester and struts in an EAR file

2002-02-27 Thread wind.li
I hava build all my source into an ear file that includes a webapp and ejb jar. But I got an error can't find org.apache.struts.taglib., it means the struts.jar can not be found in the classloader. So I use them - war and jar - seperately, it works! Am I missing something? Can anyone help

RE: using digester and struts in an EAR file

2002-02-27 Thread Muttathil, Preedesh (Cognizant)
Did you include the application.xml in the Meta-Inf folder refer the URL http://e-docs.bea.com/wls/docs61/deployment/deployment.html#1179468 for further details -Original Message- From: wind.li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:38 PM To: [EMAIL

Multiple Form Beans for the same for the same action

2002-02-27 Thread cool dude
Hi Guyz, I have multiple forms submitted to the same action. Also both these forms are on the same page only one of the forms are rendered based on some condition. Unfortunately, the form bean is not getting instantiated ... I think the code that I've written is right but obviously therez

RE: The message during startup

2002-02-27 Thread Galbreath, Mark
Turn off your monitor. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 10:40 PM Everytime the web server start, a lot of message shows in std out or startup log. How can I disable the message during startup? Regards, Vincent

RE: The message during startup

2002-02-27 Thread MPreedes
Vincent, go to your start webserver script and set echo off -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 10:40 PM Everytime the web server start, a lot of message shows in std out or startup log. How can I disable the

RE: [ANNOUNCE] Struts Console v1.5

2002-02-27 Thread Holman, Cal
How can I integrate with Together? Cal -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 14:52 To: Struts Users Mailing List Subject: [ANNOUNCE] Struts Console v1.5 Struts Console version 1.5 is now available.

isCancelled() - method required to reset cancelled flag

2002-02-27 Thread Adam Hardy
Hi All, I've got the Cancel button on my forms. It is a heirarchy data structure for a eVote / poll app. First form creates a question set Then you can go to the next form and create a question They you can go to the 3rd form and create a question option In my Actions, I check at the start

Re: question about logic:equal

2002-02-27 Thread keithBacon
I'd guess yes - but why don't you try it out tell us the answer? --- Maris Orbidans [EMAIL PROTECTED] wrote: hello What if there is no request attribute with name READ ? NPE ? logic:equal name=READ scope=request value=true /logic:equal Maris Orbidans -- To

Re: speed of struts

2002-02-27 Thread Jim Downing
On Mon, Feb 11, 2002 at 03:01:12PM +, [EMAIL PROTECTED] wrote: I'm curious as to the limit here. I'm currently building an app which has huge form requirements - I may have upwards of 500 fields as html text inputs -- very spreadsheet like. Where is the limitation? Rendering into html,

RE: question about logic:equal

2002-02-27 Thread Mâris Orbidâns
The answer is Yes :-) Maris -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:15 PM To: Struts Users Mailing List Subject: Re: question about logic:equal I'd guess yes - but why don't you try it out tell us the answer? ---

RE: question about logic:equal

2002-02-27 Thread keithBacon
thanks mate! --- Mâris Orbidâns [EMAIL PROTECTED] wrote: The answer is Yes :-) Maris -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:15 PM To: Struts Users Mailing List Subject: Re: question about logic:equal

RE: Displaying an array of Strings

2002-02-27 Thread Galbreath, Mark
What's a FileFolder? Mark -Original Message- From: Tadashi Ishikawa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 8:05 PM % String [] fileNames = FileFolder.list(path); pageContext.setAttribute("Files", fileNames, PageContext.PAGE_SCOPE); % -- To unsubscribe, e-mail:

User Registration with Struts query

2002-02-27 Thread Emaho, Ghoot
I have a question regarding registering new users of a struts web app. If the web app is using container managed security, and say form-based authentication, and a registration action is available for new users, is there a way to implement the registration process that is portable ? For

Re: Form Bean problem

2002-02-27 Thread keithBacon
if you can't solve it post the whole lot! --- Tim Sawyer [EMAIL PROTECTED] wrote: KeithBacon [EMAIL PROTECTED] wrote : does the form work OK if you remove dateOfBirth but leave the other form fields? Nope. I only have two fields on the form, and if I remove date of birth it complains

RE: Form Bean problem

2002-02-27 Thread Tim Sawyer
I'm using the do something else and then come back to it debugging technique today, I'll get back onto this stuff later today or tomorrow... Tim. -Original Message- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 1:54 PM To: Struts Users Mailing List; Tim

RE: How can I make my application international?

2002-02-27 Thread Galbreath, Mark
Could also try reading Jason Hunter's Java Servlet Programming, 2d ed., Chapter 13, or simply STFW. Mark -Original Message- From: Louis Leung [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 5:51 PM http://tagunov.newmail.ru/i18n/i18n.html I've been posting this link too

RE: speed of struts

2002-02-27 Thread ltorrence
I'm interested in hearing other opinion on this. I personally find the logic present/equals tags to be ugly and cumbersome (not to mention inefficient in terms of the generated servlet) and often find myself resorting to simple if/else scriptlets instead. I'm not sure the logic tags win even from

How best to get SQL:JDBC data?

2002-02-27 Thread Mike Brooke
Hello Everyone, I am new to using struts and I have a design issue. Is it better to use an Action servlet to create a bean of data from a database, or is it better to create a taglibs that would return the bean. Another solution could be to use the dbTag taglibs from the Jakarta-taglibs and

AW: How best to get SQL:JDBC data?

2002-02-27 Thread Oliver Refle
Hi Mike, normally i take the Action classes to collect all my data. Maybe you should implement a Data Access Object which offers an API to access the database and returns the result. In the action you collect all the data you need (means you use the methods of your DAO ) and then on the JSP you

RE: contains tag

2002-02-27 Thread Galbreath, Mark
Cool! Thanks for sharing. Mark -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 9:32 AM I've created a contains tag. It basically checks wether a key or a value is contained in a map, or if a value is contained in a collection /

How to include struts.jar the proper way

2002-02-27 Thread Ida Dørum
I get the following error when i run my struts-application, and it tries to instantiate my ActionForm class: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm As I see from the archives this is a pretty common problem, however none of the solutions i've found here seem to

Complex display logic (was RE: speed of struts)

2002-02-27 Thread Chris Birch
Hi, I was hoping someone could point me to an elegant solution for the following. I have an ArrayList of objects which I use the Iterate tag view, lets say there are 10 objects in it. My requirement is to display the contents of each object in a table cell and have three cells per row. I cant

RE: How best to get SQL:JDBC data?

2002-02-27 Thread Cakalic, James
Absolutely right, Oliver. Mike, here is a link to a JavaWorld article on this topic that may interest you: http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html Jim -Original Message- From: Oliver Refle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002

indexed properties

2002-02-27 Thread Maris Orbidans
hello Do I have to use Nightly Build to get subj. ? 1.0.2 says Lemums1.jsp: Attribute indexed invalid according to the specified TLD at line 194, column 5 html:text indexed=yes property=labCits size=20 maxlength=20/ Searched mail archive but didnt find any useful. Maris

Re: Problem with struts20020112.zip and JDK1.4

2002-02-27 Thread @Basebeans.com
Subject: Re: Problem with struts20020112.zip and JDK1.4 From: Jeff [EMAIL PROTECTED] === God, what a relief. I spent most of yesterday trying (unsuccessfully) to get the sample apps from the currently-available nightly builds to compile, and had the exact problem you just described with the

[OT] Using Transactions with Tomcat and MySQL

2002-02-27 Thread Matt Raible
I need to control transactions within my application so I can rollback if SQLExceptions occur. The MySQL version I'm using supports transactions, as well as the 2.0.11 driver. So I'm wondering if I should lookup the javax.transaction.UserTransaction from JNDI (Tomcat 4.0) or use con.begin(),

View controls populated via Form Bean?

2002-02-27 Thread Chris Means
Hi, I'm still trying to figure-out the best practices for use of Struts... I do now understand about using an Action to initialize a Form bean before it's displayed via another action...if data is being retrieved from a backend or something... But, does it break the MVC/Struts model to use the

Re: indexed properties

2002-02-27 Thread Arron Bates
yup. Arron Maris Orbidans wrote: hello Do I have to use Nightly Build to get subj. ? 1.0.2 says Lemums1.jsp: Attribute indexed invalid according to the specified TLD at line 194, column 5 html:text indexed=yes property=labCits size=20 maxlength=20/ Searched mail archive

changing from *.do to /do/* screws up everything?

2002-02-27 Thread Rob Breeds
Hi I hope this is me being dumb but I have a working Struts application that uses a *.do servlet mapping for ActionServlet Because I found that the servlet spec doesn't allow partial URL mappings for security (eg. I can't specify a url-mapping of '/pub*'), I must now change my app to use /do/*

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Bryan Field-Elliot
Put this inside the head block of all your JSP pages: html:base/ Here is a URL to the docs for this tag: http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#base It solves exactly this problem. Bryan On Wed, 2002-02-27 at 10:39, Rob Breeds wrote: Hi I hope this is me being dumb

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Renaud Waldura
Try to include in your JSP: head html:base/ /head That should fix your relative links. - Original Message - From: Rob Breeds [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 9:39 AM Subject: changing from *.do to /do/* screws up

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Matt Raible
Change this line: action path=/header forward=/WEB-INF/pages/header.jsp/ TO forward name=header path=/WEB-INF/pages/header.jsp/ and then use html:rewrite to render this in your JSP. HTH, Matt --- Rob Breeds [EMAIL PROTECTED] wrote: Hi I hope this is me being dumb but I have a working

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Rob Breeds
Thanks for suggestion but I can't use html:base because all my JSPs are under WEB-INF\pages Putting html:base/ in will cause images (and any relative urls) to have URLs of img src=WEB-INF/pages/images/find_obj.gif which is even worse (doesn't work at all) and defeats the point of putting pages

Work around for setLocale(true) Problem

2002-02-27 Thread Adam Suber
Has anyone successfully come up with a work around for the setLocale(true) problem in Struts on iPlanet 4.1 I've tried html:html locale=%= true % but that doesn't work. I've looked at Craig R. McClanahan's notes from http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10051.html.

Re: O'Reilly Example

2002-02-27 Thread rgiri
encountered the same problem, if you look at the tld file in the error and the Class mentioned, you will find that the attribute path is mentioned only in the TLD file but if you look at the class definition there is no setter for this attribute. to make the example work, remove the complaining

Re: O'Reilly Example

2002-02-27 Thread rgiri
from one of my earlier postings.. I got a similar error in an example complaining about the following attribute from the struts-form.tld for tag nameimage/name tagclassorg.apache.struts.taglib.html.ImageTag/tagclass attribute namepath/name

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Bryan Field-Elliot
Then perhaps you can insert your own plain-jane base tag (not a JSP-rendered base tag) to point to the root of your web? Bryan On Wed, 2002-02-27 at 10:58, Rob Breeds wrote: Thanks for suggestion but I can't use html:base because all my JSPs are under WEB-INF\pages Putting html:base/ in

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Eddie Bush
Ok, silly question time. Why would you want to put your pages under WEB-INF? Honestly, I don't see why you would, but ... I'm hardly a 'guru'. Thanks, Eddie - Original Message - From: Rob Breeds [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday,

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Ted Husted
It originally came up in response to inquiries about how to enforce MVC. If all the JSPs are under WEB-INF, then the only possible way to get to them is through an action. Users can't just bookmark a JSP and pop into the middle of something. Though, if you self-impose the recommended model of

New Struts User - Pick list help

2002-02-27 Thread Honman Lee
Can anyone help me with what I am doing wrong? The following is part of a form where I am trying to get a dynamic picklist generated: % java.util.ArrayList list = new java.util.ArrayList(); list.add("First"); list.add("Second"); list.add("Third"); list.add("Fourth"); list.add("Fifth");

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Eddie Bush
I figured there had to be a good reason =) Thanks Ted! - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 12:56 PM Subject: Re: changing from *.do to /do/* screws up everything? It originally came

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Rob Breeds
Because then users can't get to your JSPs directly by entering/guessing the URL. (As recommended by Ted!) Rob |+ || Eddie Bush| || ekbush@swbell| || .net | ||| |

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Galbreath, Mark
That's not were they're supposed to be Mark - Original Message - From: Rob Breeds [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 11:58 AM Thanks for suggestion but I can't use html:base because all my JSPs are under WEB-INF\pages -- To unsubscribe, e-mail: mailto:[EMAIL

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Rob Breeds
Matt I changed '/header' to 'header', but now if I enter /do/header in the browser address field it is now not found. Changed it back so it works For this example, I have one mapping and one JSP file (under WEB-INF) which has several references to CSS, JS and images each in their respective

RE: New Struts User - Pick list help

2002-02-27 Thread Galbreath, Mark
Yeah, change your font. Mark -Original Message- From: Honman Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 1:59 PM Can anyone help me with what I am doing wrong? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Matt Raible
I expected that you would be trying to include the header in a JSP, rather than trying to access it directly. All the html:rewrite does is render the path prefixed with the context. Yep - img tag is what you need. Matt --- Rob Breeds [EMAIL PROTECTED] wrote: Matt I changed '/header'

Re: changing from *.do to /do/* screws up everything? - Jerry Springersums up...

2002-02-27 Thread Rob Breeds
OK, thanks Matt and Bryan for your help. It seems that migrating from a *.do to /do/* is not as straightforward as I'd hoped. Especially if putting JSPs under WEB-INF (which is better than leaving them exposed). While changing the servlet mapping is easy, it introduces an additional artificial

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Joo Guilherme Del Valle
In my opinion, this is a good solution. rewriting is too, but this seems to be easy. You put a plain: base href=/contextName In your JSPages, does this have any other unwanted side effect? João. Joao Guilherme Del Valle [EMAIL PROTECTED] Visionnaire Informática SA

RE: changing from *.do to /do/* screws up everything? - Jerry Springer sums up...

2002-02-27 Thread Galbreath, Mark
They're only as exposed as you make them! A JSP is a presentation layer object and belongs in the web-app directory. Burying them in the same space as the controller invites sloppy designs and lazy coding. (Perhaps I should wait until Friday for this?) Mark -Original Message- From:

Re: changing from *.do to /do/* screws up everything? - JerrySpringer sums up...

2002-02-27 Thread Eddie Bush
Couldn't you easily acheive the same end result (ie. surfers not hitting certain pages) by simply checking the session for some attirbute to see that they are logged in, and, if they are not logged in, redirect them to the login page? While the end-result would (I believe) be the same, I'm

RE: changing from *.do to /do/* screws up everything? - Jerry Sp ringersums up...

2002-02-27 Thread Rob Breeds
Mark, see Ted's reasoning in prev. note. Rob |+ || Galbreath, | || Mark | || Galbreath@tes| || sco.com | ||| || 27/02/2002|

Re: changing from *.do to /do/* screws up everything? - Jerry Springer sums up...

2002-02-27 Thread Eddie Bush
I would tend to agree Mark - but it seems we may be in the minority. Eddie - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 2:02 PM Subject: RE: changing from *.do to /do/* screws up

Need help on archived issue RE: IllegalStateException on

2002-02-27 Thread Andrew . Goodnough
I'm having the same issue that I found in the archive - it doesn't seem to be resolved yet. Does anyone know why this is happening? I have many JSPs which execute fine. .. 2002-02-27 14:57:22 action: Processing a GET for /showSelectPurchaseOrder 2002-02-27 14:57:22 action: Looking

html:submit/

2002-02-27 Thread Dave Wellman
is there a way to use a graphic image in place of the standard button for html:submit/ and html:reset/? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: html:submit/

2002-02-27 Thread Eddie Bush
I believe html:image/ is used for that. - Original Message - From: "Dave Wellman" [EMAIL PROTECTED] To: "Struts Users Mailing List" [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 2:07 PM Subject: html:submit/ is there a way to use a graphic image in place of the standard button

RE: changing from *.do to /do/* screws up everything? - Jerry Sp ringersums up...

2002-02-27 Thread Jim.W.Berg
Are you saying that beer on friday contributes to sloppy designs and lazy coding? Jim Berg Sr. Software Specialist PSCI [EMAIL PROTECTED] Galbreath, Mark [EMAIL PROTECTED] 27-Feb-2002 15:02 Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users

Re: html:select / html:option question

2002-02-27 Thread theron . kousek
Thanks alot!!! That worked. Jim Crossley jcrossley@ifTo:

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Keith Chew
An alternative to putting it in the WEB-INF is to use Apache to filter the request, eg: Location /*.jsp Deny from all /Location This has the advantage of: - if you decide not to disallow JSPs, you can - when you are developing, it's often handy to view the JSPs without going through

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Eddie Bush
Yes, but will that not demand that your index page be a HTML file rather than JSP? If you have an index page that has dynamic pieces as well as static ones - or uses, say, templates (struts templates that is), you've just shot yourself in the foot, haven't you? Additional Thoughts, Eddie

RE: html:submit/

2002-02-27 Thread Bill Page
I may have some syntax problem, but I'm trying to get the text for a submit button from the message bundle so it can be localized. if I code something like input type=submit value="bean:message key="global.prompt.submit"/" it works I can't figure out how to convert this an

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Robert
You could set up index.do as a 'welcome page'; but then it would depend on if the server would try to load this as a 'page' or via a URL which Struts would then pickup and handle. Not sure if that would work, but that's a though. Robert -Original Message- From: Eddie Bush

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread João Guilherme Del Valle
I don´t know about the spec, but at least Tomcat *does not* accept this solution. I haven´t tried with a servlet, but an action doesn´t work. Maybe because the name of the tag in web.xml is welcome-file-list, it´s must be either a tag that accepts only files or a semantic problem in the spec.

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Robert
Figures. Then I suppose you could have an index.jsp and deny all other .jsps... Or maybe have the index page do a redirect to the index.do. Maybe not as clean or elegant, but would work. -Original Message- From: João Guilherme Del Valle [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Keith Chew
I have done this and it works. I have set index.do as the welcome page in Apache. It forwards it to Resin fine (I am confident that it'll work on Tomcat too). The trick is to create a dummy file called index.do. In this file I have one line, You have not setup Apache to talk to your JSP

Re: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Bryan Field-Elliot
On Wed, 2002-02-27 at 11:56, Ted Husted wrote: It originally came up in response to inquiries about how to enforce MVC. If all the JSPs are under WEB-INF, then the only possible way to get to them is through an action. Users can't just bookmark a JSP and pop into the middle of something.

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Keith Chew
I have a SuccessAction which only has one line in the perform() method: return mapping.findForward (success); This action is used for pass-through pages, including index.jsp. Keith -Original Message- From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 February

RE: html:submit/

2002-02-27 Thread Saeid Zoonematkermani
input is not working because it probably gets confused with the placements of in the tags. I am guessing that the value is set to 'bean:message key='. You might be able to use a different delimiter such as ' for the value tag. Better yet, use this: html:submit bean:message

RE: changing from *.do to /do/* screws up everything? - Jerry Sp ringer sums up...

2002-02-27 Thread Galbreath, Mark
I read it; I do not see any fundamental disagreement. My point is that this is more than just a question of style. Mark -Original Message- From: Rob Breeds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:04 PM Mark, see Ted's reasoning in prev. note. Rob -- To

RE: New Struts User - Pick list help

2002-02-27 Thread Honman Lee
I am not sure I understand what you mean by "change your font". -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:11 AM To: 'Struts Users Mailing List' Subject: RE: New Struts User - Pick list help Yeah, change your font. Mark

[offtopic] frames

2002-02-27 Thread Mike Dewhirst
just after your (everybody on this list) professional opinion regarding frames. If you could reply to me personally and not to the list, and just say for or against and if you can also write why, I would be very greatful. We have a slight dispute at work regarding this, and decided to solve it

RE: [offtopic] frames

2002-02-27 Thread Tingleff, Sam
Against. Can't link from outside to a specific page. I know, I know... You're not supposed to, it's an _application_. But links are the great advantage of the web. Take that away and what do you have? -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent:

RE: [offtopic] frames

2002-02-27 Thread Galbreath, Mark
They suck. -Original Message- From: Mike Dewhirst [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:56 PM -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: New Struts User - Pick list help

2002-02-27 Thread Honman Lee
Thanks Mark...Hopefully people can read this. Can anyone help me with what I am doing wrong? The following is part of a form where I am trying to get a dynamic picklist generated: % java.util.ArrayList list = new java.util.ArrayList(); list.add("First"); list.add("Second");

RE: New Struts User - Pick list help

2002-02-27 Thread Jakkampudi, ChandraseKhar
Try form:options name="list"/ I am not sure if that is right. But you can go here for further documentation. http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#options Hope that helps -JC -Original Message- From: Honman Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February

RE: New Struts User - Pick list help

2002-02-27 Thread Honman Lee
Thanks JC. I tried it but it doesn't seem to work. I am assuming I am using options because it is a dynamic list that needs to be pushed into the picklist. I have tried to use a combination of property and name, only property and only name but nothing seems to work. Maybe I am missing

RE: New Struts User - Pick list help

2002-02-27 Thread Kanoza, Douglas (NCI)
You need to specify the collection name. I've been fighting with this one all afternoon myself. Try this: form:options collection=list/ I'm assuming in your taglib import you are using 'form' as the prefix for the struts-html.tld tag library. -Original Message- From: Honman Lee

RE: New Struts User - Pick list help

2002-02-27 Thread Jakkampudi, ChandraseKhar
This is code that I use and it works. See if it fits your requirements. Lookup is a Java bean that has a method getBranchList() which returns a collection of branches. jsp:useBean id="Lookup" class="com.xyz.LookUp" scope="application"/ bean:define id="branches" name="Lookup" property="branchList"

Cant set custom tag attr with bean tags

2002-02-27 Thread Pete Serafin
I am trying to set a custom tag parameter in one of my JSPs based on a value from an attribute set in my actionForm. I am able to create a bean using bean:define no problem. However, using bean:write from within the custom tag does not work. I have also attempted to use bean:parameter to

RE: Cant set custom tag attr with bean tags

2002-02-27 Thread Jakkampudi, ChandraseKhar
I think you have to use scriptlets for this. Alternatively, look at the code for the nested tags (available in the nightly build I believe) to achieve what you want. Or checkout this site http://www.keyboardmonkey.com/struts Hope that helps -JC -Original Message- From: Pete Serafin

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Dave J Dandeneau
Can url-patterns be when more complicated than *.jsp when restricting access to pages. I have used *.jsp and *.do, but can you add more complex expressions? What syntax do you use when adding these? In example, what might be the syntax to restrict all pages but a login page? or maybe the index

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Keith Chew
Yes, I have the question. For example, I want to block all JSPs includeing subfolders, eg /index.jsp /subfolder/1.jsp can I go something like **/*.jsp (similar to Ant)? Keith -Original Message- From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 February 2002 10:59

RE: How to include struts.jar the proper way

2002-02-27 Thread Chris Means
I'm a newbie, but I ran into something like this before. Make sure you have a good Struts.jar (look at the contents and see if that class is in there). Look around and see if you've got another struts.jar (or download it again from the web site). I think I was accidentally using one from a 3rd

Re: Cant set custom tag attr with bean tags

2002-02-27 Thread Pete Serafin
My problem with using scriplets is that when the form Im submitting fails actionForm validation, the values for all of my form are reset except the custom tag built form elements ( which happen to be drop downs ). I guess I could use bean:parameter, but how do I add a value to the

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Matt Raible
The *easiest way to do this is to use a DefaultAction that can be used to forward to JSPs, and actions-mappings for everything else. Then protect /do/* request your JSPs with /do/name.jsp and it'll go through DefaultAction (search this list for more info), and having your welcome as /index.jsp

RE: changing from *.do to /do/* screws up everything?

2002-02-27 Thread Keith Chew
No, that was not what I was looking for. In Apache, you can use the Location tag to filter out http requests, eg: Location /*.jsp Deny from all /Location I want to filter out all JSPs including subfolders. Any thoughts? I just read the documentation and it says you use LocationMatch

RE: bean:message as content of template:put tag

2002-02-27 Thread Chris Means
Phil, I ran into the same problem. I don't know if my solution was the best approach...but it worked: replace 4. with: template:put name='title' content='index.title'/ then in your template use: tiles:useAttribute id=title name=title classname=java.lang.String / titlebean:message

Session Control

2002-02-27 Thread subhendukumar mohanty
In my project we want to control the session. The purpose of this is : 1. Preventing user to click browser back button to submit the form again. If After submitting a page user clicks on back button and tries to submit the same page). I think we can achieve it by using struts Action class's

RE: New Struts User - Pick list help

2002-02-27 Thread Honman Lee
Thanks for the help. I tried these but I still couldn't come up with the right stuff. Would you happen to have an example of the bean? My original example was just going to pull it from an array that was on the same page. Sorry if my questions seem elementary. I am relatively new to both

sslext with snapshot...

2002-02-27 Thread Keith Chew
Hi Has anyone gotten the ssl extension to work with the latest snapshot of Struts. I am having some difficulties getting it to work. Keith -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

ActionMapping...

2002-02-27 Thread Keith Chew
Hi In the latest snapshot, if declared in the web.xml: init-param param-namemapping/param-name param-valueorg.apache.struts.action.SecureActionMapping/param-value /init-param How do I get this Mapping in code? I tried: SecureActionMapping mapping =

hiding fields...interchangeably

2002-02-27 Thread Kearfott, David (DST-CLT)
We have a jsp that is displaying a list of products. 11 fields associated with the products are mapped through STRUTS. We'll always display 4 of these fields, but may or may not want to display 6 others...depending on the value of the last field. We've tried looping through our list to

Struts with (Oracle's) UIX (presentation layer taglib)

2002-02-27 Thread Bomb Diggy
Has anyone tried to use Struts with Oracle's UIX presentation layer tag libs? The UIX stuff seems fairly extensive, and even includes some controller-related functionality, but I haven't been able to figure it out yet. The UIX Controller also has somewhat limited functionality, supposedly,

RE: New Struts User - Pick list help

2002-02-27 Thread Andre Beskrowni
and the answer is... (1) you're using the wrong taglib. form has been deprecated. use html instead. (2) assuming you have a list called list that contains Java Bean objects with attributes name and id, you'd display it as a list of options as follows: html:options collection=list

RE: sslext with snapshot...

2002-02-27 Thread Keith Chew
Ignore this. I have fixed it. The init-param param-namemapping/param-name param-valueorg.apache.struts.action.SecureActionMapping/param-value /init-param Has been deprecated. Use the "className" attibute of each action element. BTW, what's the controller element? I couldn't find an

[ANNOUNCE] stxx - 0.9.0 Struts for transforming XML and XSL

2002-02-27 Thread Jeff Pennal
stxx 0.9.0 - http://www.openroad.ca/opencode/ What's new - Examples, examples, examples. The stxx-examples.war file no longer sucks (well, it sucks less at least). There are now four examples included that actually show how to use the features of stxx. - You can chain XML documents that

Re: Design Issue: XML/XSL/JSP

2002-02-27 Thread Jeff Pennal
I wrote an extenstion to struts, called stxx (http://www.openroad.ca/opencode/), which allows you to forward an XML document, generated in an Action, to an XSL file, as opposed to a JSP. This may be an option for you. In this case, you would have an action that generates the XML (from a

  1   2   >