Re: The Pager in Provided by the jsptags.com

2004-07-02 Thread javen fang
hi, i seems that the new struts user mailing list is: [EMAIL PROTECTED] --- Caroline Jen <[EMAIL PROTECTED]> wrote: > I am trying to use the paging provide by > http://jsptags.com/tags/navigation/pager > > I got an error: This absolute uri > (http://jsptags.com/tags/navigation/pager) cannot be

Where to get struts 1.2 build?

2004-07-02 Thread javen fang
hi, everyone: Tt seems that someone is using struts 1.2,but I cannot find struts 1.2 build at struts.apache.org. I have seen that the nighty builds. And can anyone tell me what features struts 1.2 have? thanks, javen __ Do you Yahoo!? Ya

Are There Paging Taglib That Accepts JSTL Tags?

2004-07-02 Thread Caroline Jen
I have JSPs written in JSTL tags. I want to use a paging taglib. I downloaded and tried the pager provided by "http://jsptags.com/tags/navigation/pager";, but, it accepts scripting elements (JSP expressions) only. Are there paging taglib that accepts JSTL tags? _

[OT] Calendar How-to

2004-07-02 Thread Ruffin, John
I have a user who wants to display a calendar of events. Click on event from the calendar and see details. I just spent a couple hours googling with nothing solid. I want to display a *Tile* with the months Jan - Dec, click a month and see a formatted calendar (table) with events in the correct

javax.servlet.ServletException: Cannot find bean dblist in scope request

2004-07-02 Thread AKEDJO Guy-Patrick
I've been trying to solve that issue for 3 days now I went also to the Net trying to find all information related to this but no way. I tried everything I know and all I found out but the error still the same. Can you help me please. Here are some information you need to check my code.

Re: R: Front Controller?

2004-07-02 Thread Robert McBride
Hi, Here's a little bit better link about Front Controller. http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html -Rob Amleto Di Salle wrote: Hi, Struts contains a Front Controller implementation! Anyway, if you want to see the Front Controller design pattern and others plea

RE: image submit and lookupDispatchAction - drives me struts

2004-07-02 Thread Robert Taylor
Well, yes, you could say: Look for anything in the request that matches a pattern. Then it has to iterate through all request parameters and execute the matching algorithm on each parameter. By defining a list of names to expect, then I'm performing a hash key lookup on each element in a very sma

Polls component

2004-07-02 Thread Zoran Avtarovski
I have to drop a user poll into our struts web application. Can anybody recommend any existing code which I can use. I don't need all the bells and whistles, just a basic poll with an admin utility. Zoran - To unsubscribe, e-ma

RE: [Digester] Not Converting String to Int

2004-07-02 Thread Joshua Bronson
nevermind, i figured it out. It's all about the fourth parameter of addCallMethod(). I just passed it new Class[] {Integer.class} and it worked.

Struts validation cancel button -

2004-07-02 Thread Veit, Dominic
Does anyone know how I can implement a cancel button, so that it will skip validation, and submit to the action on the form. I am having problems getting it to work, because it wants to validate the form first. I would like to have a base action that can handle cancel forwards, that all othe

Java Struts Base GuestBook

2004-07-02 Thread strongkill
One GuestBook Base on Java Struts. visit this for the demo and download it. http://www.strongd.net/sources.php - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Referencing Forms from Dual Actions

2004-07-02 Thread michael
I have some code where an action is called in an and in an as a value for the src attribute of the tag. Also, I have extended the ImageTag class or to mine some other values regarding the image, color, font, etc., because I intend to use the action which is the value of the src attribute t

Re: global forwards with modules (Again)

2004-07-02 Thread S Kuypers
Do you have a solution for this or is no one using this Thanks - Original Message - From: "Matt Bathje" <[EMAIL PROTECTED]> To: "strutslist" <[EMAIL PROTECTED]> Sent: Friday, February 13, 2004 6:53 PM Subject: global forwards with modules (Again) > Hi all. I asked this a while back and

The Pager in Provided by the jsptags.com

2004-07-02 Thread Caroline Jen
I am trying to use the paging provide by http://jsptags.com/tags/navigation/pager I got an error: This absolute uri (http://jsptags.com/tags/navigation/pager) cannot be resolved in either web.xml or the jar files deployed with this application' What uri string does the pager expect? What should

Re: [OT] Anatomy of a long URL

2004-07-02 Thread Craig McClanahan
Bryan Hunt wrote: I think someone in sun just wanted to create something fancy regardless of what the customers wanted just so he/she could put it on their cv. Anyone who thinks this is the real reason hasn't read the technology export restriction regulations that apply to US companies. The res

Re: Associating different validation rules with same form

2004-07-02 Thread Niall Pemberton
When the form is posted back to Struts you need something which tells you which validation rules to use. Using the same form with different validation rules isn't a problem - if you compare the DynaValidatorForm with DynaValidatorActionForm the only difference is that the first uses the form name t

RE: Why

2004-07-02 Thread Zsolt Koppany
Yes exactly and this is the reason why I would like to use reanonly and not disabled. Zsolt > Just a note that there are some significant differences between > disabled and > read-only controls, even if a browser renders them with the same visual > appearance. For example, disabled controls are n

Tiles + Controller Exception Handling

2004-07-02 Thread Ricardo Cortes
Hi, What are most of you doing to handle exceptions in your Tiles' Controllers? I've set up error pages correctly in my web.xml and the specific tiles that need specific error page handling. That is working just fine. However, if an exception is thrown in one of my Tiles' Controllers then th

Associating different validation rules with same form

2004-07-02 Thread superman
Pluggable Validation We are trying to implement a pluggable architecture by defining DTOs, message resources and validations in a jar file. A Plugin finder scans all the jar files which are pluggable and loads them into the system. Actions are generic and are defined in the core system (dont ask w

Re: Why

2004-07-02 Thread Kris Schneider
Just a note that there are some significant differences between disabled and read-only controls, even if a browser renders them with the same visual appearance. For example, disabled controls are never included in form submissions. Quoting Henrique VIECILI <[EMAIL PROTECTED]>: > I think it will w

Re: Why

2004-07-02 Thread Henrique VIECILI
I think it will work: XX or in javascript: document.getElementById("xxx").disabled = 'true'; Henrique Viecili - Original Message - From: Kris Schneider To: Struts Users Mailing List Sent: Friday, July 02, 2004 1:16 PM Subject: Re: Why http://www.w3.org/TR/html4/inte

RE: [OT] Tiles Calendar How-to

2004-07-02 Thread Ruffin, John
OK, let's backup: I have a db table with "events". An event has a date or date range. I need to display a calendar with events.shortDescription in the cell that correlates with the date on the calendar. When a user clicks on events.shortDescription - show event details. I think mentioning tile

Re: Why

2004-07-02 Thread Kris Schneider
If it's not in the HTML 4 spec (which, in this case, it isn't), it's not supported by the Struts taglibs: http://www.w3.org/TR/html4/interact/forms.html#h-17.6 Quoting Zsolt Koppany <[EMAIL PROTECTED]>: > Hi, > > I would like to use readonly property. What can I do? > > I use struts-1.1. > >

RE: [OT] Tiles Calendar How-to

2004-07-02 Thread Frank Zammetti
There's tons of calendar "controls" on the web. Some are better than others, some are more cross-browser than others, but there's plenty of choice. Start by going to dynamicdrive.com, they are always good for dHTML stuff. If your looking for a Struts-specific solution, I'm not aware of any (t

RE: [OT] Tiles Calendar How-to

2004-07-02 Thread Ruffin, John
I have a user who wants to display a calendar of events. Click on the event from the calendar and see details. I just spent a couple hours googling with nothing solid. Here is basically what I want to do: (1)Present the current month in a calendar format, with a description of events in the co

RE: [OT] Tiles Calendar How-to

2004-07-02 Thread Ruffin, John
I have a user who wants to display a calendar of events. Click on the event from the calendar and see details. I just spent a couple hours googling with nothing solid. Here is basically what I want to do: (1)Present the current month in a calendar format, with a description of events in the co

Why

2004-07-02 Thread Zsolt Koppany
Hi, I would like to use

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
Whoops yes 2nd July, thanks. Niall - Original Message - From: "Matt Bathje" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 2:57 PM Subject: Re: Javascript error in struts validator. > Niall - I think you mean the 2nd of July. The nig

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
As I stated below, the nightly build is Struts 1.2.0 - You are no longer using Struts 1.1 once you use the nightly build. You need to make sure that you replace all the jars, and the validator-rules.xml file with what is in the download file. Matt Bathje - Original Message - From: "Kote

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I have debugged using firefox, it shows that invalidFunction. I have downloaded, struts latest one which is July 2nd. Now what is this sturs 1.2.x or 1.1?? And where can I find 1.1 version. -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 7

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
Nope, IE 6 should support it just fine. Get the ms script debugger and see if that helps in figuring out the problem. (Or better yet get Firefox and its script debugger) I really think the problem is you have a mix of struts 1.1 and 1.2.x stuff in your jars/configurations though, and if you fixed

Re: more: Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-02 Thread Axel Groß
On 2004-07-02 at 16:32:23 +0300, Emmanouil Batsis wrote: > > Now that I think of it, IE may think that the img is the new value, > meaning that it overrides the 'initial value' (per HTML4 spec). Hm as far as I understood the html 4.0 buttons they are there for making the submitted value independe

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
Am using IE 6.0 SP1, should I have msxml?? To work with..?? -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 7:27 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts validator. Niall - I think you mean the 2nd of July. The n

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
Niall - I think you mean the 2nd of July. The nighly build from the 2nd of june still has the broken version of the multi-form fix in it I believe. To the original poster: - Use the nightly build from the 2nd of july: http://cvs.apache.org/builds/jakarta-struts/nightly/ - at this point you will no

RE: Pass a Variable From JSP via JSP To an Action Servlet

2004-07-02 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 10:00 PM > To: [EMAIL PROTECTED] > Subject: Pass a Variable From JSP via JSP To an Action Servlet > > > I have the value of a variable defined in JSP#1 (JSP#1 > is not a form): > > sc

RE: how to handle special characters like "®"

2004-07-02 Thread Jirole, Amar
Then you will have to figure out which encoding standard supports the character set you are using and the special characters you want to use. May be you will have to use different charset in the iso series. Following are the web sites which I used to solve this kind of problem. http://www.cs.tut.f

Re: 2 Actions + 1 Form + 1 Submit

2004-07-02 Thread Michael McGrady
Thanks Niall. I realized, too, that the best solution was to have the rendering of the tag put in the needed parameters for the image upload. Michael At 05:32 AM 7/2/2004, you wrote: Yes because you are not posting the form when the browser renders the image button. The only thing the action

Re: how to handle special characters like "®"

2004-07-02 Thread Emmanouil Batsis
Apologies for jumping in but this does not solve the problem. What happens when you dont want to use latin characters and iso-8859-1 is not an option? Manos Jirole, Amar wrote: Following entry in weblogic web.xml fixed problem for us weblogic.jsp.encoding

more: Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-02 Thread Emmanouil Batsis
Now that I think of it, IE may think that the img is the new value, meaning that it overrides the 'initial value' (per HTML4 spec). Maybe "backgrounding" the image will help? Manos Emmanouil Batsis wrote: Axel Groß wrote: Hi everybody! Maybe someone tried to go along with html 4.0 buttons. this

RE: how to handle special characters like "®"

2004-07-02 Thread Jirole, Amar
Following entry in weblogic web.xml fixed problem for us weblogic.jsp.encoding iso-8859-1 Use this in conjunction with line in all of your jsp/html HTH -Amar -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Fri

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
Well, I am not able to find the june 2nd build. But even after taking the builds after 2nd june, I am getting this javascript error. "Object doesn't support this property" in generated javascript. /*$RCSfile: validateRequired.js,v $ $Revision: 1.13 $ $Date: 2004/03/28 16:53:21 $ */ /**

Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-02 Thread Emmanouil Batsis
Axel Groß wrote: Hi everybody! Maybe someone tried to go along with html 4.0 buttons. this is really strange. since IE 5.0 buttons should send the contents of the value attribute, if it exists; not the body contents. True, per spec. Try changing the name of the button. Personally, I haven't tried

almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-02 Thread Axel Groß
Hi everybody! Maybe someone tried to go along with html 4.0 buttons. this is really strange. since IE 5.0 buttons should send the contents of the value attribute, if it exists; not the body contents. So guess, what I get now with IE 6.0.2800.1106.xpsp2.030422-1633: results

RE: Map backed ActionForm, and jstl expression language

2004-07-02 Thread John Martin
Hi Bill, Many thanks for your response, I think I got bogged down the email... It was also late for me, so couldn't put the problem succinctly, but after a few hours sleep it became clearer... What I was trying to do was retrieve a value from the map-backed hash map to get a default value for a dr

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
Thats what I was trying to say - the patch (i.e. fix) was applied on the 1st June to - try downloading the Struts nightly from June 2nd. Niall - Original Message - From: "Kote, Nijaguna Sangankal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, Jul

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
So is there any fix for this??? I am using struts1.1 and this has stopped my work. Please give me some hints... -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 6:27 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts va

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
There was an outstanding bug against the tag and a patch was applied on 1st June http://issues.apache.org/bugzilla/show_bug.cgi?id=29796 Maybe try the version from 2nd June Niall - Original Message - From: "Kote, Nijaguna Sangankal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

Re: how to handle special characters like "®"

2004-07-02 Thread Niall Pemberton
Try ® - Original Message - From: "Christina Siena" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 11:41 PM Subject: how to handle special characters like "®" I am trying to figure how to handle special characters like "®". When the form is posted, the form

Re: Using 1 Validator definition for 2 different forms?

2004-07-02 Thread Niall Pemberton
I believe the new version of validator has inheritance - so in the validation.xml you can inherit one form's validation from another - I think theres now an "extends" attribute - like tiles. Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 2

Re: 2 Actions + 1 Form + 1 Submit

2004-07-02 Thread Niall Pemberton
Yes because you are not posting the form when the browser renders the image button. The only thing the action you are using to render the image will have access to are the parameters included in the url. So for example the resource.do action will have access to the file_type and file_name par

Re: DynaValidatorActionForm.validate(DynaValidatorActionForm.java:115)

2004-07-02 Thread Niall Pemberton
Are you submitting a "page" value with your form? Maybe you need something like on your form or just a straight Niall - Original Message - From: "Assaf Nehoray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 1:17 PM Subject: DynaValidatorActionForm.valid

Re: custom error message handling

2004-07-02 Thread Niall Pemberton
Probably a bit cumbersome but you could use the MessagesPresetnTag ** - Original Message - From: "Nathan Maves" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 5:39 PM Subject: custom error message handling > Currently I use the valid

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I have also debugging the script: This is the error :var formName = form.getAttributeNode("name"); is not a function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:46 PM To: [EMAIL PROTECTED] Subject: SV: Javascript error in

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Hi Might be - Did you also replace all the struts required lib files (look in the Maven project.xml file for versions). Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED] Sendt: 2. juli 2004 13:27 Til: Struts Users Mailing List Emne: RE: Javascript error

Re: Contextual Validation

2004-07-02 Thread Niall Pemberton
ValidatorForm and ValidatorActionForm have recently changed so that the name to use for validation is been factored out into a separate method. If you take a look at the latest ValidatorActionForm it now only consists of the getValidationKey(ActionMapping, HttpServletRequest) method: http://cvs.ap

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I don't thinksk its problem with picking up the form name, I guess the method called on form to get the form name is different .. Is it different version problem?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:46 PM To: [EMAIL PROTEC

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Hi Seems it is not picking up your "formName" - Is there any misspelling ?. If you running IE (against advice from this list lately :)) you could download and use the script debugger. Or use Firefox with its script debugger plugin to debug his. Hermod -Opprinnelig melding- Fra: Kote, Nij

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I did all these, but there is a javascript error... "Object doesn't support this property".. In form.getAttributeNode("name"); Don't know what to do now? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:25 PM To: [EMAIL PROTECTED] Subjec

Re: Validator maxlength, minlength

2004-07-02 Thread Niall Pemberton
The variable name for your maxlengths are incorrect - change the names to "maxlength" maxlength ${addressLength} maxlength ${cityLength} Niall - Original Message - From: "Jim Barrows" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 24, 2004 12:32 AM Subject: Val

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Hi Did you regenerate the static javascript part ? - Use to get it in your page and then cut and paste it into a .js file Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED] Sendt: 2. juli 2004 12:34 Til: Struts Users Mailing List Emne: RE: Javascript er

RE: Urgent help needed on struts!

2004-07-02 Thread Robert Taylor
You should be able to put the back. As Mark already mentioned, after the document was parsed, the container had conflicting information on which Servlet spec it should follow. robert > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 01, 2004 10:49 PM

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
Hi, I downoaded, latest nightly build which was on 1st of June... and it seems its not working.. it gives some other javascript error. function validateRequired(form) { var isValid = true; var focusField = null; var i = 0; var fi

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Hi I had the same problem - I think it was a mix of old and new struts components. What I did was get the latest nightly build, and replace everything. After that it all went away. Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED] Sendt: 2. juli 2004 10

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
Hi Hermod, Thanks for the reply and the suggestion, I should upgrade only the validator ?? Or entire struts?? Regards/Guna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 2:14 PM To: [EMAIL PROTECTED] Subject: SV: Javascr

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Hi If you look at jsp (view-source) you will probably notice that the jscript method (required) has been prefixed with the formname. Upgrade to the latest build. This was an issue with validator. Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED] Sendt:

Validating multiple selection with built-in validation tags

2004-07-02 Thread Dansou, Didier
Hello, Can anyone help with this topic? I have a multiple select zone on my form. The user must at least select one value. I tried to use the validation tag "required" in 2 ways to perform this. But it seems not work. Here is a snippet of my formBean Here is a snippet of my first val

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I found why is it giving javascript error... Because, when struts generates javascript code in jsp... Instead of generating required() method it generates xForm_required() method. This method is internally called by validateRequired() method. Attached is the generated struts javascript code

Re: Getting popup window value to parent window

2004-07-02 Thread Srinivas Rao
Hi Sasidhar, Thanks for replay to me.. I am using Struts,jsp and javascript. My problem is I got the message from popup window to parent window if it is single file.But if it is multple files i am not getting the message . Here is my code . parent window code .. f

struts turkish character problem

2004-07-02 Thread Eyup TEKIN
hi there is a webapp including oracledatabase(datas are hold with turkish character) ejbs on borlandapplicationserver ,tomcat,struts and jsps. i can write turkish character in jsp page side.but dynaaction form creates a selection list.and that list cant show turkish character.in tomcat's catalina.s

Re: Urgent help needed on struts!

2004-07-02 Thread Mark Lowe
Ding http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> If you had to guess which servlet spec the above was used for what would you guess be? web-app_2_3.dtd http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" xsi:schemaLocation="http://java.s