RE: generating tables in Struts

2004-01-23 Thread Mohan Radhakrishnan
Hi Is there any way to find out what action is current by overriding methods like 'processForwardConfig' etc. and call a method in that action. I am using Tiles. So my custom processor extends the Tile processor. The business case for this is not worth explaining because I am doing this to

RE: generating tables in Struts

2004-01-23 Thread lixin chu
Thanks. So the fix will be in Beta 3 am I right? by the way, will that also fix exporting checkbox column ? (I am using ) --- Matt Raible <[EMAIL PROTECTED]> wrote: > The export/tiles issue has been fixed - you just > needd to specify a > filter in your web.xml. > > http://displaytag.sourc

ServletContext/Cluster

2004-01-23 Thread Mohan Radhakrishnan
Hi I read the following spec. This means that in a clustered environment the application scope is useless. I can't really believe this. Why do we have this scope then ? Mohan The Server Specification states the following: "javax.servlet Interface ServletContext -

RE: generating tables in Struts

2004-01-23 Thread Matt Raible
The export/tiles issue has been fixed - you just needd to specify a filter in your web.xml. http://displaytag.sourceforge.net/install.html If you need to export data from an included JSP page, such as from Struts, you should configure the ResponseOverrideFilter in your web.xml. (You do not need

RE: JSP to static html...

2004-01-23 Thread Edgar P Dollin
You could use webtest with one of the logging options. Then if they change you could run your test to regenerate the pages. Edgar > > - Original Message - > From: "Jacob Wilson" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Friday, January 23, 2004 1

Re: JSP to static html...

2004-01-23 Thread Joe Hertz
I had a requirement like this once, but the reports were generated by Seagate Crystal. It generated the static HTML. JSP seems like the wrong tool to be using here. I would think (speaking out of my hat here) if the report itself was a JSP page what you MAY be able to do is something like, in y

Re: JSP to static html...

2004-01-23 Thread Jacob Wilson
Thanks Max. This sounds very good. Your saying that automatically creating an html when the jsp is rendered sounds good. This should solve my problem. We are using websphere 5.0. We are not using ant though... If you can give me little more details on the configuration stuff and how to specif

Re: JSP to static html...

2004-01-23 Thread Jacob Wilson
Actually, this is therequirement... One jsp page(contains scriptlets, dynamic values. etal) in the current application generates a report. Now, I need to present with a button at the end of the page. When I click on that button, this page should be converted into a static html and then ftp thi

generating tables in Struts

2004-01-23 Thread lixin chu
Hi, I found the Display Tag which is really nice. However, it has a couple of problems: 1. 'export' display data in the Tile not exporting to a file - w/o Tiles it is fine. 2. I need a column of Checkbox, but the status is not kept after sorting. Does anyone know if there is another package hand

RE: Looking for design pattern advice: where to keep the customization info

2004-01-23 Thread lixin chu
Thanks for sharing ! --- [EMAIL PROTECTED] wrote: > Wow, this is a pretty big question. I suppose that > you could write a small book on this topic alone. > > I'll give you some insight to how we have addressed > menus and resultsets and security using struts. We > decided to use something simi

[Struts Atlanta] January meeting

2004-01-23 Thread James Mitchell
This month's meeting will be held on Thursday, January 29, 2004. The topic this month is an Open Forum. Our local Atlanta Struts gurus will take their best crack at helping you with any issues/questions you may have. For more information, go to: http://www.struts-atlanta.org -- James Mit

Convert JSP to static HTML...

2004-01-23 Thread Jacob Wilson
Hi All... I have a specific requirement in my project... I want to convert the JSP pages to static html pages and save them in a local directory... How do I achieve this functionality??? Any suggestions appreciated. Thanks much. -Jacob - Do you Yahoo!? Yah

Configuring Struts applications on OC4J (Oracle 9i AS)

2004-01-23 Thread Shyam A
Hi, I'm working on Struts applications that are deployed on OC4J (Oracle 9i AS 1.0.2.2). I have deployed my applications under the directory OC4J/home/applications directory and access those using the default OC4J listener on port . i.e, http://hostname:/appName/index.jsp. Now, I need t

Re: JSP to static html...

2004-01-23 Thread Max Cooper
View Source ... Save As works generally, but browsers sometimes mess with the HTML in subtle ways (netscape used to add an HTML tag, for instance), so I would be very wary of using that technique (diff users w/diff browser, changes after browser upgrade, etc.). The command-line tools curl or wget

Re: How to reset the form data?

2004-01-23 Thread markus baumgartner
Maybe you could extend the action for each class you want to display and add basic methods like loadFormBean, resetFormBean etc into it, and then have all actions for that class extended that intermediate class cheers Markus - Original Message - From: "Zhou, Qin (Eric)" <[EMAIL PROTECTED

RE: JSP to static html...

2004-01-23 Thread Wiebe de Jong
David, I have had this situation come up before and it is quite valid. I once wrote a catalog web app for a client with only a couple of templates but hundreds of items in the database. They wanted a static cdrom version of the catalog for customers so I used a tool (can't remember the name now b

Re: JSP to static html...

2004-01-23 Thread Mark Lowe
wget or curl On 23 Jan 2004, at 22:28, Ron Day wrote: View source in browser and save it to xxx.html -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 1:31 PM To: Struts Users Mailing List Subject: JSP to static html... Hi All... I have a spe

'response has already been committed' on protected page when I expected the login form?

2004-01-23 Thread Janice
Hi Gang, I've started putting authentication into my struts app. The problem I'm having is that as soon as I go to an area that is protected, I get the "response has already been committed" error in my body tile. Could somebody please tell me what I'm doing wrong? This is what I added to web.xm

RE: JSP to static html...

2004-01-23 Thread Ron Day
View source in browser and save it to xxx.html -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 1:31 PM To: Struts Users Mailing List Subject: JSP to static html... Hi All... I have a specific requirement in my project... I want to convert t

Re: JSP to static html...

2004-01-23 Thread David Erickson
I don't know the layouts of your jsps or what you are doing in them.. but JSP's are inherently non-static because they use runtime expressions to generate the html, and that can change on a per request basis. If you are using strictly html and no RT expressions or tags or anything I don't see why

JSP to static html...

2004-01-23 Thread Jacob Wilson
Hi All... I have a specific requirement in my project... I want to convert the JSP pages to static html pages and save them in a local directory... How do I achieve this functionality??? Any suggestions appreciated. Thanks much. -Jacob - Do you Yahoo!? Yaho

RE: How to reset the form data?

2004-01-23 Thread Wendy Smoak
Eric wrote: > I create a form bean. I need to reset some fields to default > value after each submit instead of remembering user's input. > What's the easy way to do this? The easiest way is to put the form in request scope, which will work fine until you use the Validator, at which time you'll

RE: Multibox and Validation

2004-01-23 Thread Justin Miller
I downloaded the nightly build from last night. It did fix the javascript validation but if I turn javascript off, the validators still don't enforce the required validation on the multibox. Any suggestions? >>> [EMAIL PROTECTED] 01/22/04 08:35AM >>> This is a known issue for the release version

How to reset the form data?

2004-01-23 Thread Zhou, Qin (Eric)
Hi I create a form bean. I need to reset some fields to default value after each submit instead of remembering user's input. What's the easy way to do this? Thanks Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Looking for design pattern advice: where to keep the customization info

2004-01-23 Thread gvanmatre
Wow, this is a pretty big question. I suppose that you could write a small book on this topic alone. I’ll give you some insight to how we have addressed menus and resultsets and security using struts. We decided to use something similar to the "Service to Worker" pattern (http://java.sun.com/

RE: Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Hubert Rabago
Actually, "session" is the default scope. What you want is to set the scope to "request". --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > Hubert...thanks! > > Now, how do I then clear the fields out if the want to do a new search? > Currently, the user types in http://localhost:/helpv1

RE: Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Matthew J. Vincent
Hubert...thanks! Now, how do I then clear the fields out if the want to do a new search? Currently, the user types in http://localhost:/helpv1/search.do , the values that they filled in are still there. I only want those values to "persist" if there is an error of some sort...otherwise reset

Re: A new book on Struts

2004-01-23 Thread Christian Bollmeyer
Am Freitag, 23. Januar 2004 20:58 schrieben Sie: > Am Freitag, 23. Januar 2004 09:35 schrieb Florin Pop: > > http://www.objectsource.com/ > > > > http://www.objectsource.com/Chapter4.pdf > > > > welcome, > > florin > > Having written the fine example chapter, I Goodness, stop it! Of course, I didn

Re: A new book on Struts

2004-01-23 Thread Christian Bollmeyer
Am Freitag, 23. Januar 2004 09:35 schrieb Florin Pop: > http://www.objectsource.com/ > > http://www.objectsource.com/Chapter4.pdf > > welcome, > florin Having written the fine example chapter, I think I'll add it to my library. Good work. -- Chris. > -Original Message- > From: Jesse Alex

Re: How can i get struts JSessionId from the the url

2004-01-23 Thread Christian Bollmeyer
Am Donnerstag, 22. Januar 2004 20:46 schrieb Vinay Kumar Munikuntla: > I am trying to get Session Id using session.getId() and store this > session ids in the database.. > I see that i am getting same session id until i close the IE browser > window and open a new one. I would suspect it's the sam

Re: Help URL Rewriting

2004-01-23 Thread Christian Bollmeyer
Am Freitag, 23. Januar 2004 19:59 schrieb Michael E. Allen: > Where would I put that? Already tried putting it in the <%@ page [..] %> on top of your JSP pages? :-) As Struts tends to create a session implicitly, such as for storing the default locale settings etc, doing so in the end would show

Re: Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Hubert Rabago
Like in my two previous emails, it worked when I took out the "name" and "type" attributes in your html form: <%-- --%> hth, Hubert --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > http:// www ! moosejaw ! org /java/help.zip > > Here is a zip file to demonstrate the problem I am having.

RE: my.properties under war

2004-01-23 Thread Shishir K. Singh
I generally create resources directory under /WEB-INF/classes And qualify the properties file as "resources.myfile" (no extension). This way all of the properties file live under one roof -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 2:07

Struts Search/Results/Display Help (includes link to Example to help me with)

2004-01-23 Thread Matthew J. Vincent
http:// www ! moosejaw ! org /java/help.zip Here is a zip file to demonstrate the problem I am having. I just hacked this together, but it shows what I have been talking about. 1. Unzip this and put the helpv1.war in your webapps folder 2. Start servlet container 3. Goto http://localhost:/he

RE: my.properties under war

2004-01-23 Thread Wendy Smoak
> From: Babu, Bharathi [mailto:[EMAIL PROTECTED] > I'm ready to pack my struts project into deployable war file. > I got couple of property files live under /WEB-INF/properties > folder... I am wondering what the best practice to pack these > property files under a war file? I put them in the

RE: Debugging in JBoss 3.2.3

2004-01-23 Thread Ramadoss Chinnakuzhandai
Do we hv to redeploy the ear file whenever we make changes to the jsps(war)? since Tomcat is running under JBoss 3.2.3. -R -Original Message- From: Pascal THIVENT [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:49 PM To: Struts Users Mailing List Subject: Re: Debugging in JBo

Re: Help URL Rewriting

2004-01-23 Thread Michael E. Allen
Where would I put that? Anyway... I ended up doing a double redirect... the first to get the cookie set and the second to get the URL without the "?JSESSION=xxx" stuff appended. Eric Bariaux wrote: What about session=false on your jsp page directive? Would this help? Eric. -Original Messag

RE: Assign items; list boxes

2004-01-23 Thread Vijay Kandy
Does anyone have suggestions, pointers to resources etc.? -Original Message- From: Vijay Kandy Sent: Friday, January 23, 2004 10:17 AM To: 'Struts Users Mailing List' Subject: Assign items; list boxes Hello all, I would like to add/remove items from one list box to/from another list bo

my.properties under war

2004-01-23 Thread Babu, Bharathi
Howdy! I'm ready to pack my struts project into deployable war file. I got couple of property files live under /WEB-INF/properties folder... I am wondering what the best practice to pack these property files under a war file? Thanks --

AW: LDAP + DataSource

2004-01-23 Thread Oliver Thiel
THANKS Jiri that's what I was searching for. THANKS Ian for the nice explanation on LDAP ;) OK, maybe may question was not very precise - sorry! But anyway thanks to both of you! Oliver -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. Jan

RE: Best Practice for Reuse of JSPs for Display and Input?

2004-01-23 Thread Kevin Hooke
I am also looking for similar functionality. Does anyone know if there are any existing Struts Custom Tag extensions with this functionality (otherwise I will probably be implementing my own). Ideally I am looking for replacement versions of the html:... custom tags that will be aware of a read-o

Re: Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Jim Theodoridis
Proxora!!! I am getting the same error but everthing work FINE This error displayed since tomcat 4.1.24 but it works - Original Message - From: "Theodosios Paschalidis" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 23, 2004 5:54 PM Subject:

Re: Struts Search/Results/Display

2004-01-23 Thread Hubert Rabago
> --- "Matthew J. Vincent" <[EMAIL PROTECTED]> wrote: > > Re: Strust Search/Results/Display HELP! > > > > Thanks for the help. Be gentle and explain slowly. :) > > Also, people will help you even if your question is "gentle" and doesn't shout. :) __ Do you Ya

Re: Tomcat/Struts Unicode Encoding/Decoding problems [RESOLVED]

2004-01-23 Thread Theodosios Paschalidis
Thank you Wendy, actually it worked (the utf-8) even without the file proparly validated in my IDE. I also thought I had the latest version (a backup restore probably messed this up). I changed it to 2.3 restarted my IDE (NetBeans) but still does not validate. Both 2.2 and 2.3 dtd files are in my

Re: Strust Search/Results/Display HELP!

2004-01-23 Thread Hubert Rabago
For your steps 2 to 4: in your struts-config: ... ... in your jsp: <%-- also use the struts tags to display error messages --%> In your case, you may need to use input="/pageWithForm.do" since you need to prep the form, but there are other ways to do that, lik

Strust Search/Results/Display HELP!

2004-01-23 Thread Matthew J. Vincent
Ok. I guess I'm missing something - or it just won't sink in. This really isn't that long. For simplicity, let's say I have a 4 page application. 1. Index 2. Search for an Item 3. Search Results List of Matching items 4. Details of an Item All of these "pages" needs to gather data from a datab

RE: Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Wendy Smoak
> From: Theodosios Paschalidis [mailto:[EMAIL PROTECTED] > here is the beginning of my xml document. >PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> > Any ideas? Coming in late here, but Filters arrived in Servlet 2.3. Yo

Looking for design pattern advice: where to keep the customization info

2004-01-23 Thread lixin chu
Hi Experts: Would appreciate if you could share your advice: how to keep the customization info of a web application. some sample requirements: 1. menu is dynamically created based on the Role of the logon user 2. Tables can be customized - for example, which columns to display, editable, sortabl

Re: Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Theodosios Paschalidis
Gia sou patriwti! I am grateful for your help. Unfortunately I get an XML validation error when I copy that code in my application's web.xml The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,servlet*,se rvlet-mapping*,session-config?

Re: Struts workflow problem.Request for enhancement to struts.

2004-01-23 Thread Hubert Rabago
Here's part of a thread on struts-dev related to your question: http://www.mail-archive.com/[EMAIL PROTECTED]/msg20449.html --- [EMAIL PROTECTED] wrote: > I have used the workflow extension for struts > (http://www.livinglogic.de/Struts/introduction.html) and found it very useful. > > My question

Re: LDAP + DataSource

2004-01-23 Thread konf
Hallo, generally, it is right. but, there exist jdbc driver for ldap (for example, http://www.octetstring.com/products/jdbcldapdriver/). I do not use it, becouse I am using the classical way (java ldap packages from novell), but I was view the samples of jdbc way and I thing if you use it (jdbc), y

RE: Struts, Search Page, Help!!!

2004-01-23 Thread Hubert Rabago
It looks like the parameters you're passing to your form don't match what you've got in your struts-config: > > > >> type="StrainSearchForm"/> > > > > > > > >> type="SearchAction" > > scope="session"> > > > >

Re: custom request processor

2004-01-23 Thread Franck Lefebure
Le Friday, January 23, 2004 7:18 AM, Mohan Radhakrishnan <[EMAIL PROTECTED]> m'a, d'une plume avisee, ecrit: > HI > A follow-up question. > > How does this impact my Tile request processor ? > > SEVERE: TilesPlugin : Specified RequestProcessor not compatible with > TilesRequestProcessor Do yo

Struts workflow problem.Request for enhancement to struts.

2004-01-23 Thread shirishchandra.sakhare
Hi Guys, I am not sure if this is the proper place to ask this question or I should be asking this in struts developers mailing list. I have used the workflow extension for struts (http://www.livinglogic.de/Struts/introduction.html) and found it very useful. I think workflow is a very very com

Re: Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Jim Theodoridis
Geia U must define a filter in your web.xml so all character encoding in UTF-8 LIKE THIS for more visit www.anassina.com/struts/i18n/i18n.html I work in MySQL 3.23 with out problem Set Character Encoding filters.SetCharacterEncodingFilter encoding

Assign items; list boxes

2004-01-23 Thread Vijay Kandy
Hello all, I would like to add/remove items from one list box to/from another list box, that would eventually get saved in a database. An example would be granting or revoking permissions to a user from a list of available permissions. Is there a taglib or design that fits well with struts to acco

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Jerry Jalenak
Once I get this next release out I intend to begin converting over to JSTL. I'll revisit the dynamic Id attribute at that time; until then, I can work with a patched version of Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496

RE: [Validator] Custom Validator Fails to Return to JSP

2004-01-23 Thread Jerry Jalenak
Gawd, I hate typos. Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 22, 2004 3:15 PM > To: '[EMAIL PROT

Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Theodosios Paschalidis
Hi all, I am trying to setup a database driven web site that displays unicode characters. I have spent much time on this but my attempts have been unsuccessful. I have tested my JDBC business logic with the database and works fine but when I use my application to perform a search it fails to fi

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
Another thought. I believe that EL support has been added to the CVS version of the taglib (or at least a special EL version) - maybe the standard EL version supports a dynamic Id attribute? > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > Sent: 23 January 2004 14:29

Re: LDAP + DataSource

2004-01-23 Thread ian_d_stewart
LDAP, as the name implies, is a Directory Access Protocol. As such, you cannot use JDBC to establish connections. However, java does provide an analagous interface for accessing Naming and Directory Services (LDAP, DNS, etc) known as the Java Naming and Directory Interface (JNDI). A good startin

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
It's just a pity I don't have time right now to produce patches for all the mods I've made to the taglib. As it is I have to reapply my chnages every release :-( Paul > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > Sent: 23 January 2004 14:29 > To: 'Struts Users Mai

RE: Unit Test in struts

2004-01-23 Thread Chappell, Simon P
On our intranet application, we make a round trip to the server everytime the user enters a piece of data. This sounds like it would be dreadfully slow, but in practise it isn't. Internally, we have bandwidth to spare and we keep our pages fairly streamlined (need to switch to CSS, so that we ca

RE: Debugging in JBoss 3.2.3

2004-01-23 Thread Ramadoss Chinnakuzhandai
that would great. Tnx for your help. -Ramadoss -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:40 AM To: Struts Users Mailing List Subject: Re: Debugging in JBoss 3.2.3 I'll see if I can put together something this weekend like this:

RE: A new book on Struts

2004-01-23 Thread srikanth
Sorry. I forgot the publisher's web site. The website is http://www.objectsource.com. You can get the free sample chapter at http://www.objectsource.com/strutsbook.html Regards, Srikanth >>what about a link where to find the book and the >>sample chapter? >>thanks >>Alexander -Original Me

Re: Switch Action

2004-01-23 Thread James Mitchell
http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=74324 &release_id=147944 -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "Ramadoss Chinnakuzh

Re: Debugging in JBoss 3.2.3

2004-01-23 Thread James Mitchell
I'll see if I can put together something this weekend like this: http://jakarta.apache.org/struts/faqs/eclipse.html -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From:

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Jerry Jalenak
Paul - Thanks! I modifed the TLD, added the get/set methods for the tableId parm, and modified the encodeParameter() method as suggested, and everything is working as I expected. Thanks again! Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (9

RE: custom request processor

2004-01-23 Thread Mohan Radhakrishnan
Fixed this by changing the order in the xml file. Now my class EnvironmentRequestProcessor extends TilesRequestProcessor because I am using Tiles also. But this code protected ActionForward processActionPerform( HttpServletRequest request,

RE: Debugging in JBoss 3.2.3

2004-01-23 Thread Ramadoss Chinnakuzhandai
Can u drop more light on itit would be helpful for guy like me whoz new to JBoss Tnx in advance. -R -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:27 PM To: Struts Users Mailing List Subject: Re: Debugging in JBoss 3.2.3 Yes,

RE: retreiving the labelProperty of an option tag

2004-01-23 Thread Vinicius Carvalho
Thax, I'll try the javascript approach, cuz the collection gets lost, it's visible only on request scope for that page, performance issues ;) But thanks for the hint ;) At 11:17 23/1/2004, you wrote: That's correct, the form is only going to submit the value not the label for the option. You mig

RE: Unit Test in struts

2004-01-23 Thread Edgar P Dollin
Could you share with us how you worked around some of my issues, i.e. The user is entering items. User needs dynamic feedback as to to how much is entered so correctness of data entry can be determined. Thanks Edgar > -Original Message- > From: Jesse Alexander (KAID 11) > [mailto:[EM

RE: retreiving the labelProperty of an option tag

2004-01-23 Thread Robert Nocera
That's correct, the form is only going to submit the value not the label for the option. You might use javascript to populate a hidden field with the label so it gets submitted, if you really wanted to, but it would be much easier to just look up the label in your action using the value you receiv

RE: AW: Form is not submited - nothing happens?!?

2004-01-23 Thread Robert Nocera
Are you sure you are not getting any javascript errors? The best place to debug something like this is to use Mozilla. If your tag is resulting in an input field with the name "submit" you are going to get an error that tells you something like "submit is not a function". Just a thought, -Rob

LDAP + DataSource

2004-01-23 Thread Oliver Thiel
Hi all, Is it possible to set up a DataSource for LDAP? If yes how can I do this? And how do I retrieve a connection? Thanks Oliver

RE: Struts, Search Page, Help!!!

2004-01-23 Thread Matthew J. Vincent
Hubert, Here is the entire form... <%@ page language="java" contentType="text/html" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>

RE: Struts, Search Page, Help!!!

2004-01-23 Thread Matthew J. Vincent
Sorry for the lag in response...I was out of the office yesterday. If I change search.do to search.jsp, when there is an error in my SearchResultsAction class, I receive the following error: javax.servlet.ServletException: Cannot find bean under name strainTypes I used the action (SearchAction)

reload struts config

2004-01-23 Thread Leonardo Francalanci
I wrote a servlet to trigger off a reload of the struts-config.xml. The servlet is: protected void doGet(..) { ActionServlet as = ((ActionServlet)request.getSession().getServletContext().getAttribute(Global s.ACTION_SERVLET_KEY)); as.destroy(); request.ge

retreiving the labelProperty of an option tag

2004-01-23 Thread Vinicius Carvalho
Hi there! I have a code to render a select/option that looks like this : In my form I have the getter for this, that returns the code for the desired Objective. So in my action, when I fill the VO, I add the code by: ModelVO.setObjective(form.getObjective()); Ok, so far so good. But how do I g

Illegal State Exception

2004-01-23 Thread Ramachandran
Hi , Can any one tell me when this problem is occur. I am getting one value from pop up and while submitting the value from the parent, in console Illegal stste exception was running continiously. If any face such problem tell me... Bye Ram -

Switch Action

2004-01-23 Thread Ramadoss Chinnakuzhandai
Hi, Can anybody give an example for switch action if possible in detail. Thanks in advance. -Ram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: custom request processor

2004-01-23 Thread Mohan Radhakrishnan
HI A follow-up question. How does this impact my Tile request processor ? SEVERE: TilesPlugin : Specified RequestProcessor not compatible with TilesReques tProcessor Mohan -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:45 PM T

custom request processor

2004-01-23 Thread Mohan Radhakrishnan
Hi If I have to use a custom request processor then I specify the following Is there anything else I have to do ? I am using modules. I got a parsing error. SEVERE: Parse Error at line 51 column 14: file:/D:/oracle9.0.4.0.1/j2ee/home/app lications/emis/emis-web/WEB-INF/struts-config-rulem

Re: AW: how to show error messages in a pop up window?

2004-01-23 Thread "Björn Moritz"
You could also have a look at http://www.servletsuite.com/servlets/strutserrortag.htm. The description mentions a popupErrorTag, which might exactly do what you need. Björn > Dirk, > I used that on my last project. In my resource bundle I had the following: > > > errors.header=alert( > errors.

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
This has been raised before. See http://sourceforge.net/tracker/index.php?func=detail&aid=813006&group_id=730 68&atid=536613 I've patched the taglib to support an additional tableId attribute which can be dynamic. This is a simple change to TableTag.java & the supporting TLD. The other change is

Re: AW: how to show error messages in a pop up window?

2004-01-23 Thread Adam Hardy
Dirk, I used that on my last project. In my resource bundle I had the following: errors.header=alert( errors.footer=''); general.validate.date='A Date if given must be a valid Date in the format {0}!\\n' + Note the apostrophes and the plus sign, so that a whole series of error messages would pop

Re: Is it possible to deploy a struts 1.1 application in Tomcat 5.x ? - Solved!

2004-01-23 Thread Ingvar Larsson
Tanks all of you who tried to help me! I still do not know what the problem was. I was using Tomcat 5.0.16 and found a newer version (5.0.18) at the Jakarta site. Just downloaded and installed it. No problems after that. Cheers! Ingvar - Original Message - From: "Ingvar Larsson" <[EMAIL

RE: Unit Test in struts

2004-01-23 Thread Jesse Alexander (KAID 11)
not true. I've seen web-apps that use strictly html (not a line of JavaScript) and look very dynamic and responsive (one app reports its users are more happy with the html-version than with the smalltalk fat client solution (with the same functionality)). Unfortunately these apps are company intern

RE: A new book on Struts

2004-01-23 Thread Florin Pop
http://www.objectsource.com/ http://www.objectsource.com/Chapter4.pdf welcome, florin -Original Message- From: Jesse Alexander (KAID 11) [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 10:31 AM To: 'Struts Users Mailing List' Subject: RE: A new book on Struts what about a lin

RE: A new book on Struts

2004-01-23 Thread Jesse Alexander (KAID 11)
what about a link where to find the book and the sample chapter? thanks Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Freitag, 23. Januar 2004 06:26 To: [EMAIL PROTECTED] Subject: A new book on Struts ObjectSource Publications has published "Struts

Re: radio checked???

2004-01-23 Thread Otávio Augusto
Don't know if you got it solved, but i sugest this: in your ActionForm, have a property called "radio", for instance. Make getRadio and setRadio(String s). in the property declaration, do it this way: private String radio = "1"; In your jsp, use the radio tags this way: the first radio is

Cancel button causing problems in the RequestProcessor

2004-01-23 Thread Kimpton, C (Chris)
Hello All, I am struts newbie - so this might be a config issue, but.. I have an ActionForm and Action for user input, with a html:cancel button on it. If the user hits the submit button, things work fine - the form is validated, populated and passed to my action. I thought my cancel was workin