html:frame Problem, very Urgent!

2003-10-20 Thread krishnamohan
Hi all, The following is my jsp page where I want to pass values to another jsp using html:frame tag. This is my code snipplet, jsp:useBean id=test1 class=com.xx.XX.QuestionInfo / ArrayList al=(ArrayList)request.getAttribute(QuestionsDB);

Re: struts include

2003-10-20 Thread Marco Rossi
Now it's works. Thanks Duncan. Da: Duncan Mills [EMAIL PROTECTED] Data: Thu, 16 Oct 2003 09:58:13 +0100 A: Struts Users Mailing List [EMAIL PROTECTED] Oggetto: Re: struts include Marco - are you using ADF bindings on the Tile to create the menu? Is this where the problem lies...

RE: html:frame Problem, very Urgent!

2003-10-20 Thread Andrew Hill
Hmm... No. Doesnt look that urgent to me mate. http://www.catb.org/~esr/faqs/smart-questions.html#urgent snip html:frame page=/displayQuestion.jsp frameName=first scrolling=auto frameborder=0 paramId=sample1 paramName=sample1 name=sample1 / /snip snip request.getAttribute(sample1); /snip If

RE: question on javascript...

2003-10-20 Thread Jacob Wilson
Thanks Matt... It sure helped... Actually, now, I tried to put it as a common function like... function getValue(optionName, hiddenValue) { var s = document.forms[0].optionName; for (var i=0; is.options.length; i++) { if ( s.options[i].value == hiddenValue ) {

RE: problem passing the value to html-el:frame

2003-10-20 Thread Budi Rostiarso
just a quick guess, use this in your halFrame.jsp: c:out value=${param.ide}/ , since your parameter is defined in paramId=ide. and btw, why are you specify paramName-paramProperty and also name-property? isn't name-property is supposed to be used with Map object? hth, bdr. -Original

Default buttons

2003-10-20 Thread deepaksawdekar
Hi, How can i define a default buttons on a jsp developed using struts. My requirement is that on when i press enter key from keyboard page should get submit (eventually calling onclick of submit) and when i click on esc key it should be cancel ( callin onclick of cancel) . Thanks and

newbies question about el/non-el jars

2003-10-20 Thread Frédéric Dreier
Hi, I have started a struts app a few weeks ago, starting from an example app. All runs fine until that I try to use html:link page=${blabla} .. where blabl was not evaluated. After some posts readings, I have copied the struts-el jars and tld in my WEB-INF. And now it works. My question is how

[ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
Those variable don't really need to be global. function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i s.options.length;i++) { if(s.options[i].value == hiddenValue) { s.options[i].selected = true;

Design question - using XML for the view.

2003-10-20 Thread John Bell
Hi, I have a number of XML files that define the data (including basic validation) that needs to be collected from different user groups (one group of users will independently fill in the same form). The data can be string, date and numeric etc. All of the XML files conform to the same

RE: Struts Studio, M7, etc...

2003-10-20 Thread shishir.katdare
It might be a big words if i say that weblogic's e-business control center which also contains a struts alike framework just that instead of forms there are inputprocessors and instead of actions its pipelines but there are few more differences. Getting to the point is that the EBCC provides the

RE: Help setting up sslext

2003-10-20 Thread Brian McSweeney
Thanks Adam, However, unfortunately no joy :-( It still isn't switching back to http for other actions when I specify set-property property=secure value=false/ Perhaps I have to replace all html:form tags with sslext:form tags even when set-property property=secure

Re: Help on Struts- Tiles Tab

2003-10-20 Thread Lim Huat Heng
Yann Lebreton: Thanks for replying my mail. Really appreciate your help. However, I tried to add in the class part of items but I still get the same result- my list is still null. Do you think it's because of Struts versioning problem? - Original Message - From: Yann Lebreton [EMAIL

Re: [newbie] JSTL using different ResourceBundles

2003-10-20 Thread Christian Martin
nothing. are they available in any scope (request, session ...), if i set up the variables in struts-config? i believe i can answer the question for my own. they are not available in any scope, because the EL searches in every scope for the variable. am i right? where does bean:message

[ot] Re: for the Apple-biters

2003-10-20 Thread Mark Lowe
I don't know how to tolerate that eclipse nonsense. Jar bundler that comes with apple dev tools lets you make double clickable mac style (apple menu bar as well) apps out of java utils like antidote, jcvs and struts console. With a copy of bbedit or even project builder as a text editor. I

RE: Struts Studio, M7, etc...

2003-10-20 Thread Christian Burger
Return Receipt Your RE: Struts Studio, M7, etc... document :

Re: [newbie] JSTL using different ResourceBundles

2003-10-20 Thread Christian Martin
thanks for the information!!! BUT i can't stop gathering more information (must be a kind of addiction) ;-) message-resources key=tst parameter=test / in struts-config.xml and bean:message bundle=tst key=message / works (i found that out of my own without any help! i am very proud *ggg*) my

Struts-config : forward to an action.do = How to retrieve an ActionError from this action.do

2003-10-20 Thread Florent LOTHON
LO I have to make a forward to an action : action.do In my action.do, i would like to retrieve an ActionError Probably from request object But how can i do this ? Flo -- Ce message est protege par les regles relatives au secret des correspondances ; il peut en

ActionMessage and ActionMessages

2003-10-20 Thread Adam Hardy
I've been programming some status messages into my action and something occurs to me about the property key with which we save an ActionMessage into an ActionMessages collection with ActionMessages.add(key, msg) and with which we retrieve specific groups of messages from the collection with

Re: i18n - Chinese charactor problem

2003-10-20 Thread Adam Hardy
Hi Zyd, I am using the same version as you and that code works for me. I just ran it. Are you trying it in a new database? Perhaps in an old database in an old version it won't work. BTW if this doesn't resolve it, perhaps you should email me off-list or go the [EMAIL PROTECTED] since it's

Re: [FRIDAY] Free Dog..... (going further OT!)

2003-10-20 Thread Adam Hardy
Is that date on your email a Friday? On 03/04/2000 05:08 AM Andrew Hill wrote: Ha! You Americans are funny. Over here everything is very high tech. We even have a special gizmo that gives us the power to control office temperature through a local interface. Its this little knob thing mounted on

RE: ActionMessage and ActionMessages

2003-10-20 Thread shirishchandra.sakhare
You are 100% right..(In my opinion...) Actually thats what we have done in our project..We have extended message tag and ActionMessage class (EqActionWarning,EqActionError,EqActionMessage)..And each of these has a static property (E.G. EqActionMesage.ACTION_MESSAGE) Wwhich is used by default

Re: Help setting up sslext

2003-10-20 Thread Adam Hardy
Hi Brian, I don't use the sslext form tags. I don't mention sslext anywhere in my code or my JSP. It's purely a configuration thing. Are you setting up the SecurePlugin in struts-config? Also are sure that you are not specifying in the web.xml that the page should be protected by SSL? Do

Re: [newbie] JSTL using different ResourceBundles

2003-10-20 Thread Adam Hardy
Hi Christian, On 10/20/2003 12:53 PM Christian Martin wrote: my questions for now: 1) in which scope does message-resource ... / store the message resource? in application scope I think. 2) is it possible to access this message resource due EL and how? Try applicationScope[tst] 3) does

RE: Help setting up sslext

2003-10-20 Thread Brian McSweeney
Thanks for the reply Adam. I'll address your tips one by one. I don't use the sslext form tags. I don't mention sslext anywhere in my code or my JSP. It's purely a configuration thing. Ok, this I did differently. I followed the examples downloaded with sslext And used sslext:form ...

Re: Oracle 10g Preview Linux [OT]

2003-10-20 Thread Duncan Mills
The Web Application [Default] template uses Struts, and automatically creates a ViewController project with a config and app resources in it. You actually have to go out of your way *not* to use Struts with 10g we're heavily encouraging Struts and Model2 generally for JSP apps. You can view /

Re: [newbie] JSTL using different ResourceBundles

2003-10-20 Thread Christian Martin
hi adam! i only read JSTL IN ACTION of shawn bayern. it is much more easier to read than the spec. but thanks for your help! and you are right a look into i18n chapter of the JSTL 1.0 spec wouldn't go amiss. Adam Hardy wrote: Have you read the i18n chapter of the JSTL 1.0 spec from Sun? It is

Re: newbies question about el/non-el jars

2003-10-20 Thread Christian Martin
Struts EL are an extension to the struts tag library have a look at: http://jakarta.apache.org/struts/faqs/struts-el.html ... there all your questions concerning this issue should be answered. Frédéric Dreier wrote: Hi, I have started a struts app a few weeks ago, starting from an example

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jacob Wilson
Thanks for the help Mark... when I do this, it says elements.optionName is not null or an object... Any clue??? Thanks! Mark Lowe [EMAIL PROTECTED] wrote:Those variable don't really need to be global. function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jeff Kyser
form.elements is an array, and you'd have to specify it by index: s = form.elements[i]; where i was a supplied integer in the range 0..form.elements.length-1, or s = form.optionName; if 'optionName' was a valid name for a form element. HTH, -jeff On Monday, October 20, 2003, at 08:55 AM,

Re: Struts-config : forward to an action.do = How to retrieve an ActionError from this action.do

2003-10-20 Thread tcs 777
a forward to an action: fwd= new ActionForward(); fwd.setPath(/action.do); store your errors in the session or request: session.setAttribute(org.apache.struts.action.ERROR, errors); or request.setAttribute(org.apache.struts.action.ERROR, errors); From: Florent LOTHON [EMAIL PROTECTED] Reply-To:

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
Its been a while.. try the index or hardcode the form name like before in case it doesn't like the form object being passed as an argument... function getValue(formName,elementName,value) { s = document.forms[formName].elements[elementName]; .. Cheers Mark On Monday, October 20, 2003,

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
You can specify an index or the name of the element. Likewise with the array of forms in the page.. Some folks prefer using the document.myform.myelement syntax. But you can use the element name also. Cheers Mark On Monday, October 20, 2003, at 03:14 PM, Jeff Kyser wrote: form.elements is

Re: Help setting up sslext

2003-10-20 Thread Adam Hardy
Hmm. I've been trying to figure out what to do for my login pages since I've just upgraded from tomcat 4 to 5 and the strategy I was using before won't work anymore, plus I had a bug in mozilla which was caching the login page, so consequently my whole login strategy and use of sslext is a

Re: [ot] Re: question on javascript...

2003-10-20 Thread Jacob Wilson
I get that error when I pass the element name only !! function getValue(form, optionName,hiddenValue) { s = form.elements[optionName]; for(i = 0;i s.options.length;i++) { if(s.options[i].value == hiddenValue) { s.options[i].selected = true; break; } } } optionName is the element

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Adam Hardy wrote: On 10/17/2003 09:56 PM Ruth, Brice wrote: Greetings, all. I'm looking for some guidance on how best to go about a requirement I have from our marketing as far as URL naming goes. We're developing an international (localized) site and we have a requirement that the URLs look

[Struts Workflow] Test application - why two actions for loop?

2003-10-20 Thread Axel Gross
Hello! I had a close look to the test application of the Struts Workflow Extension (v 1.0.3). I still couldn't grasp though, why for loop in workflow wf1 there is a need for 2 actions. Maybe you could help me finding out: Wouldn't it be enough to have prevState=2 nextState=2 nextState=3

RE: [Struts Workflow] Test application - why two actions for loop?

2003-10-20 Thread shirishchandra.sakhare
can you elaborate a little? Too less info :-(( -Original Message- From: Axel Gross [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 5:03 PM To: [EMAIL PROTECTED] Subject: [Struts Workflow] Test application - why two actions for loop? Hello! I had a close look to the test

Re: [Struts Workflow] Test application - why two actions for loop?

2003-10-20 Thread Axel Gross
Well. If you take a look at the struts-config.xml you'll see that there are two actions defined: wf1St2Loop and wf1St2LoopEnd The second is just a forward changing workflow values. I just can't figure out a reason, why there are two instead of one simpler action. for your convenience,

bean access

2003-10-20 Thread Rajat Pandit
hello, yet another problem, pls ahve a look at the code segment, and if u could suggest a solution or suggestion it would gr8. logic:iterate id=state name=STATES html:multibox property=stateId value=id /bean:write name=state property=name / br /

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Adam Hardy
On 10/20/2003 04:47 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/17/2003 09:56 PM Ruth, Brice wrote: I'm looking for some guidance on how best to go about a requirement I have from our marketing as far as URL naming goes. We're developing an international (localized) site and we have a

Iterating through map where a map is the element value

2003-10-20 Thread Fred Tsang
Hi All, I've looked in various places (this list included, google, jakarta struts site), and can't seem to find the answer to this question. I would like to iterate through a map, where the value of the map is another map. In plain old jsp, this is what it would look like: jsp:useBean

Re: [ot] Re: question on javascript...

2003-10-20 Thread Mark Lowe
I was on the wrong lines anyhow.. forms[] and elements[] deal with the index and/or the names. options[] requires the index. the value is a property of the element not the option (at least i recall things being like that. I'd just pass the value of the element as an argument But my apologies

Need help to create owm Custom Action Mapping to read the propertys

2003-10-20 Thread Archana Annamaneni
Hello everyone, I have to read a property when certain action is called. for simple mail application i want to read the smtp mailserver value from outside , i don't want to hard code it, for that I am creating my ActionMapping.And adding new tag called set-property for the action.but i am

catching servlet exception

2003-10-20 Thread Yan Zhu
hey, I configured multiple exception handlers with struts and everything is working fine on actions and jsps. But my servlet exceptions still seem to be handled by the container and not by any of my exception handlers (which has a base one handles Exception). What can I do? thx yan

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Adam Hardy wrote: On 10/20/2003 04:47 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/17/2003 09:56 PM Ruth, Brice wrote: I'm looking for some guidance on how best to go about a requirement I have from our marketing as far as URL naming goes. We're developing an international (localized) site

RE: Need help to create owm Custom Action Mapping to read the pro pertys

2003-10-20 Thread Fred Tsang
Archana, afaik, your struts config.xml should look like: action path=/Support type=com.diginet.digichat.webapp.action.MailActionMapping name=supportForm input=/support.jsp scope=request set-property property=mailserver value=mail.digi-net.com / /action where your type is your qualified

Re: [ot] Re: question on javascript... [solved]

2003-10-20 Thread Jacob Wilson
Just tested this... It works Mark... I think I was missing 'document'... Thanks for the help and suggestions... HTML BODY onLoad='initTable(table2);' script language=javascript function getValue(optionName, hiddenValue) { var s = document.frmTest.elements[optionName]; for (var i=0;

RE: Need help to create owm Custom Action Mapping to read the pro pertys

2003-10-20 Thread Archana Annamaneni
Thank you Fred for the reply.But i am still getting the same error. action path=/Support type=com.diginet.digichat.webapp.action.SupportAction name=supportForm input=/support.jsp scope=request className=com.diginet.digichat.webapp.action.MailActionMapping set-property property=mailserver

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Craig R. McClanahan
Ruth, Brice wrote: [snip] On the first point, our site will have a global landing page that will present the user with flags to choose their locale. This is semi-offtopic, but might be of interest. When I worked on a large scale multi-lingual app in Europe a few years ago, my intent was to do

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Craig R. McClanahan wrote: Ruth, Brice wrote: [snip] On the first point, our site will have a global landing page that will present the user with flags to choose their locale. This is semi-offtopic, but might be of interest. When I worked on a large scale multi-lingual app in Europe a few

completely dynamic forms and jsp?

2003-10-20 Thread Sonam Belbase
How would you do this using Struts? User goes to a page where they can add profiles to a repository. There are two types of profiles a user can add. But the user can add as many profiles of each type as they want on that page. Profile type A requires input from 3 text boxes, and profile type B

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread ian_d_stewart
Switzerland is a very good example of this. There are four different languages spoken there (French, German, Italian, and a local language whose name escapes me) and the prevelant language varies from kanton to kanton. Even here in the US, there is an increasing number of communities where

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Adam Hardy
On 10/20/2003 05:57 PM Ruth, Brice wrote: Adam Hardy wrote: If that's a real .jsp file then that has to be a real us directory in your website. If that's the case, you can set the locale via a tag in the JSP. Alternatively you could use a filter. Have you thought of character encoding? If you

[ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread Nick Heudecker
Afternoon all, I've written a short article detailing usage of the message resources functionality with Struts. It seems like a lot of people are having problems with it, so I'm hoping that this will shed some light on this topic. You can find it at:

RE: ActionMessage and ActionMessages

2003-10-20 Thread Wiebe de Jong
This answers my question from Friday. ('ActionMessage groups') Thanks! Wiebe de Jong http://frontierj.blogspot.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 4:43 AM To: [EMAIL PROTECTED] Subject: RE: ActionMessage and

RE: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread James Mitchell
1. Setting the null attribute to false will display missing resource values as ???key??? instead of displaying null. That's not totally accurate, but it gets the idea across. Perhaps you could mention how the string is actually constructed??? 2. The Internationalization is not correct (unless

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Adam Hardy wrote: On 10/20/2003 05:57 PM Ruth, Brice wrote: Adam Hardy wrote: If that's a real .jsp file then that has to be a real us directory in your website. If that's the case, you can set the locale via a tag in the JSP. Alternatively you could use a filter. Have you thought of

Trimming the extra spaces in the output page

2003-10-20 Thread EL AKARI Mehdi
Hi, I'm trying to optimise the size of the output pages of a struts application. The first thing that i'm trying to do is to trim the extra spaces and carriage returns in the output page. Do you have any ideas of how to do this? If you have any suggestions of how to optimise the page output they

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread atta-ur rehman
Nick, It is a consice article on message resource usage. Thanks. In our scenario, for the sake of maintainablity given the number of entries in the resource files, we have separate resource files for Labels and Messages. Sometimes you have to show a message like: First Name is required. where

Need help in defineing own properties in struts-Urgent

2003-10-20 Thread Archana Annamaneni
Hi , I am doing an application using the struts,in that I have a mail sending option using the Java Mail.For this i don't want to hard code the SMTP server name into the application,user should be able to read it from struts-config.xml or web.xml. What is the best way to achieve this using the

RE: Localization with Struts/Tiles and URLs

2003-10-20 Thread Rajat Pandit
Hello, A little off the topic though, but it this has always intrigued me about building a multilingual website. I mean using the resources bundle u could provide a translations from the labels but in case of building a CMS (content management system) how would one enter the content in the native

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Our product content is going to be localized to the countries that the products are available in, and for that, we've built a database that holds this content and an interface to manage it - when adding a new translation, the user selects what language they're entering the translation for, and

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Anthony . Mutiso
I have checked and rechecked the package names and the struts config file. There are no differences between the classes except for the functional behavior of the two forms in in web-app. Again, they both inherit from the same parent BaseActionForm, they both have a bean constructor. The .class

RE: Need help in defineing own properties in struts-Urgent

2003-10-20 Thread Rajat Pandit
Hello, Well I am a newbie myself but I had a similar problem where I didn't want to hard code that fact that a particular module required a person to be logged in or not. Maybe you could make some use of this. You need to extend the ActionMapping first. To a custom action mapping. And then define

Re: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Martin Gainty
show us YOUR java file which contains /*app.app2 is a Suspicious package name*/ package app.app2; class GeneralActionForm -Martin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 20, 2003 2:14 PM Subject: RE: stuts 1.1 and iPlanet 6.0/SP6

FW: help needed yet again!!

2003-10-20 Thread Rajat Pandit
-Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 7:54 AM To: Apani Hiren Subject: help needed yet again!! hello, yet another problem, pls ahve a look at the code segment, and if u could suggest a solution or suggestion it would gr8.

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread Nick Heudecker
1. Setting the null attribute to false will display missing resource values as ???key??? instead of displaying null. That's not totally accurate, but it gets the idea across. Perhaps you could mention how the string is actually constructed??? 2. The Internationalization is not correct

XDoclet and SSL Extension

2003-10-20 Thread Juan Alvarado
Hello: I've recently started using xdoclet for my builds with struts and I've come into a bit of a problem with actions that use the SSL Extension. Does anybody know if there is a tag that I can add to my Action class so that: set-property property=secure value=false/ is added to my action

RE: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread James Mitchell
I wasn't aware that there was anything noteworthy about ATL. :) LOL.ouch!!! -- Nick Heudecker SystemMobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017

RE: Trimming the extra spaces in the output page

2003-10-20 Thread James Mitchell
Someone mentioned this a few weeks back. I don't remember the solution, but if it were my job to make this happen, I would most likely use a Filter. http://java.sun.com/products/servlet/Filters.html -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread James Mitchell
Is there any chance you can upgrade to 6.1? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 7:18 PM To: Struts Users

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Anthony . Mutiso
Okay, you are right app.app2 is a suspicious package name:-) How about the real name: ca.aeso.ets.customer.userInterface.CustomerGeneralActionForm Here is the head of the action form source file is: -- package ca.aeso.ets.customer.userInterface; import java.util.ArrayList; import

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Anthony . Mutiso
I have asked and the web-farm admins are looking into it? Do you think that 6.1 will behave better? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:41 PM To: 'Struts Users Mailing List' Subject: RE: stuts 1.1 and iPlanet 6.0/SP6

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread James Mitchell
It should, it uses Tomcat. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 2:44 PM To: [EMAIL PROTECTED] Subject:

DynaValidatorActionForm does not validate data

2003-10-20 Thread icorcos
Hi All, There was a known bug regarding the DynaValidatorActionForm class not working with the Validator framework. This bug was reported as bug 10432 in bugzilla (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10432). From my understanding, this bug was supposed to be fixed before the

Re: [NEWBIE] Struts and Applets

2003-10-20 Thread Marco Tedone
So are you telling me that the chain package is going to define a common object that can handle the form controls that an Action and an Applet could manage? Would it imply, for instance, that Actions and Applets will have reference to a package such as chain, will query their controls, will build

RE: Need help in defineing own properties in struts-Urgent

2003-10-20 Thread Wendy Smoak
Archana Annamaneni [mailto:[EMAIL PROTECTED] wrote: I am doing an application using the struts,in that I have a mail sending option using the Java Mail.For this i don't want to hard code the SMTP server name into the application,user should be able to read it from struts-config.xml or web.xml.

RE: Trimming the extra spaces in the output page

2003-10-20 Thread Steve Raeburn
I agree with the Filter suggestion, but I would take a step back and ask whether you *really* need to do this. Trimming the excess whitespace won't really make much difference to the size of the downloaded page and adding the Filter processing could even make it slower, not faster to load. If

Help with form bean [urgent]

2003-10-20 Thread Rajat Pandit
Ok, yet another attempt to explain my problem. Say I have a registration form and I have the list of countries stored in an ArrayList with each element as a key, value pair (Map). Now when I call the registration form. The actionForm for the the registration form has one field country (with both

RE: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Anthony . Mutiso
James, I just searched Suns docs website looking for tomcat in the 6.1 books and came up empty. How do you know that iPlanet 6.1 is Tomcat underneath, and if so what version? We do all our development on Tomcat (4.1.XX) and the classloader works as expected in Tomcat. -Original

Re: Help setting up sslext

2003-10-20 Thread Leonard Sitongia
I just started using sslext this morning, and I've run into the same issues that Brian McSweeney brought up in this thread. I was hoping to avoid using the taglib at all, as Adam Hardy said he does, so I dropped the sslext.jar in and made some changes to the struts-config. I found that the

RE: Help with form bean [urgent]

2003-10-20 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help setting up sslext

2003-10-20 Thread Leonard Sitongia
On Monday 20 October 2003 1:21 pm, Leonard Sitongia wrote: I also find that the app does not switch out of https: The only page in which I've used the sslext tag is my login page. I'm going to try changing my other html:form tags over to sslext. I've found that the app switches out of https:

Drop down selection without submit?

2003-10-20 Thread Barry Volpe
Hi, I would like to make a selection from a drop down menu and call an action without using a submit button. The action is called by a change in the menu selection. Any suggestions? Thanks, Barry

RE: Drop down selection without submit?

2003-10-20 Thread Mike Jasnowski
You can launch a URL when the onselect event handler is invoked for the select box I believe. -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:33 PM To: Struts Users Mailing List Subject: Drop down selection without submit? Hi, I would

RE: Drop down selection without submit?

2003-10-20 Thread Nicholson, Robb
html:select ... onchange=submit() -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 3:33 PM To: Struts Users Mailing List Subject: Drop down selection without submit? Hi, I would like to make a selection from a drop down menu and call an

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
Okay I'll give the onchange=submit() a try. More specifically I want to select the state from the first menu and then query the database to populate the cities for the second menu. I'm thinking that I need to call the action to populate a collection with the cities then create the cities menu

multiple instances of same form?

2003-10-20 Thread Sonam Belbase
Hi, Is it possible to have multiple instances of the same form on one JSP? If yes, how can you make sure that only one form gets submitted at a time? -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Re: Trimming the extra spaces in the output page

2003-10-20 Thread Max Cooper
First, I understand your motivation -- HTML file size can be a big performance problem for many apps. We did some analysis on a project that I was on and it turned out the server was quite fast, but that HTML file transfer time and then browser redering time were the major factors in actual

Re: stuts 1.1 and iPlanet 6.0/SP6 Classloader question

2003-10-20 Thread Martin Gainty
Web-farm admins cant help if you dont know the name of the package This is a software help forum so check to make sure your software is present and configured correctly before going elsewhere what is the package name in YOUR GeneralActionForm? -M - Original Message - From: [EMAIL

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Adam Hardy
On 10/20/2003 07:41 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/20/2003 05:57 PM Ruth, Brice wrote: Adam Hardy wrote: If that's a real .jsp file then that has to be a real us directory in your website. If that's the case, you can set the locale via a tag in the JSP. Alternatively you

Re: multiple instances of same form?

2003-10-20 Thread Martin Gainty
In the United States Form Names have to be different or at least be referenced by different indix value as in document.forms[index] could you provide example of 2 forms with same appelation? -M - Original Message - From: Sonam Belbase [EMAIL PROTECTED] To: Struts Users Mailing List

RE: Drop down selection without submit?

2003-10-20 Thread Xiuyu Zhang
I've populated the option list. But I want one of the options marked as selected, how could I do that? Thanks, Katelyn --- Nicholson, Robb [EMAIL PROTECTED] wrote: html:select ... onchange=submit() -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Ruth, Brice
Adam Hardy wrote: On 10/20/2003 07:41 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/20/2003 05:57 PM Ruth, Brice wrote: Adam Hardy wrote: If that's a real .jsp file then that has to be a real us directory in your website. If that's the case, you can set the locale via a tag in the JSP.

[newbie] Problem subclassing TilesRequestProcessor

2003-10-20 Thread barantes
Hello to all! I'm trying to subclass the TilesRequestProcessor in order to have a customized RequestProcessor and to support tiles in my web application, but the following error is showing int the browser when I call my test action: java.lang.ClassCastException at

Re: Help setting up sslext

2003-10-20 Thread Adam Hardy
On 10/20/2003 09:32 PM Leonard Sitongia wrote: On Monday 20 October 2003 1:21 pm, Leonard Sitongia wrote: I also find that the app does not switch out of https: The only page in which I've used the sslext tag is my login page. I'm going to try changing my other html:form tags over to sslext.

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
I think you do something like this in your action: eForm.setCountry(rs.getString(US)); - Original Message - From: Xiuyu Zhang [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 1:31 PM Subject: RE: Drop down selection without submit?

Re: Localization with Struts/Tiles and URLs

2003-10-20 Thread Adam Hardy
On 10/20/2003 10:33 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/20/2003 07:41 PM Ruth, Brice wrote: Adam Hardy wrote: On 10/20/2003 05:57 PM Ruth, Brice wrote: Adam Hardy wrote: If that's a real .jsp file then that has to be a real us directory in your website. If that's the case, you

Re: Drop down selection without submit?

2003-10-20 Thread Barry Volpe
oops! like this: eForm.setCountry(US); - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 20, 2003 1:47 PM Subject: Re: Drop down selection without submit? I think you do something like this in your action:

RE: Drop down selection without submit?

2003-10-20 Thread Wendy Smoak
Katelyn wrote: I've populated the option list. But I want one of the options marked as selected, how could I do that? Set the corresponding form bean property, and Struts will pre-select the matching option in the drop-down. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State

  1   2   >