Re: intRange Validation works but displays always null

2003-10-16 Thread Dirk Markert
Hello Martin, change arg0 key=insertData.p_datum_t / to arg0 key=errors.range / *** MG Hello togehter, MG i have a problem with range validation. I think it is a simple thing but I MG can't get it solved. MG I

AW: display tag and struts

2003-10-16 Thread Otto, Frank
Hi, I have asked this question in display-tag maillist, but I got no answer. I think the i18n with display-tag is a struts problem, because I read the mail from Nelson in display-tag maillist and he has the same problem. Struts can't parse nested tags. Mail of Nelson:

RE: html:hidden, disabled attribute

2003-10-16 Thread Robert Lamping
Dear Haiwei, but sometime we want the hidden tag to be disabled so its value will not be posted to the server. What is then the purpose of have the hidden tag in it? You could also leave it out. You can always access a property using the bean:write tag. Kind regards, Robert -Original

Re: Validator vs. XForms

2003-10-16 Thread Craig R. McClanahan
Stephan Wiesner wrote: ? The validator lets me set rules for the input fields in my forms. So does XForms. There are already tools to generate the necessary JavaScript for that (IBM Alphaworks) or to validate the input on the Server (Chiba) and display errors. The challenge for XForms is

Re: AW: display tag and struts

2003-10-16 Thread Dirk Markert
Hello Frank, use something like: bean:define id=label bean:message key=column_header1/ /bean:define display:column sort=true property=my_property title=%= label %/ Or you can use JSTL. *** OF Hi, OF I have asked this

AW: AW: display tag and struts

2003-10-16 Thread Otto, Frank
Hello Dirk, thanks for your answer. how can I use JSTL in this way? Regards, Frank -Ursprüngliche Nachricht- Von: Dirk Markert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Oktober 2003 08:43 An: Struts Users Mailing List Betreff: Re: AW: display tag and struts Hello Frank,

Re: IDE

2003-10-16 Thread virupaksha
Dear Barry, Eclipse supports drag drop option for designing view..? Regards, viru - Original Message - From: Barry Volpe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 5:23 AM Subject: Re: IDE Eclipse, Tomcat, JBoss, Xdoclet all

struts include

2003-10-16 Thread Marco Rossi
Hi, I want to create a single jsp page with more dynamic include inside. Something like html ... . jsp:include page=myAction1.do/ .. ... jsp:include page=myAction2.do/ /html but with jsp tsg it doesn't work. How can i do? Thanks

Re: struts include

2003-10-16 Thread Dirk Markert
Hello Marco, have a look at tiles. *** MR Hi, MR I want to create a single jsp page with more dynamic include inside. Something like MR html MR ... MR . MR jsp:include page=myAction1.do/ MR .. MR ... MR jsp:include

How to prevent the struts info getting printed in weblogic console

2003-10-16 Thread Marimuthu Saravanan
Hi all, I am using weblogic server 6.1SP4 I am having a struts1.1 application which using validator. When starting the weblogic following info is printed on the server console ( not web console). [INFO] PropertyMessageResources - -Initializing,

Re: How to prevent the struts info getting printed in weblogic console

2003-10-16 Thread James JKE95 Kerridge
Saravanan, Struts uses commons-logging to do it's logging which means it will use some commonly used logging frameworks like log4j or JDK1.4. See here: http://jakarta.apache.org/struts/userGuide/building_controller.html#logging If you use log4j or jdk1.4 then configure them in the normal

Re: struts include

2003-10-16 Thread Marco Rossi
Tiles is the only solution? If you want create a web application, with a dynamic menu (the user sees the menu item based on its permission written on db) without frames you have to use Tiles? My problem is that I have to use JDeveloper 10g, and the integration with Tiles seems not very good

What are the best practices for displaying Errors and Messages

2003-10-16 Thread Ravi Kulkarni
Hi, Can anyone detail the best practices to display ActionErrors and ActionMessages in JSP? Thanks in Advance. Ravi Kulkarni. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts include

2003-10-16 Thread Duncan Mills
Marco - are you using ADF bindings on the Tile to create the menu? Is this where the problem lies... Regards Duncan Mills - Original Message - From: Marco Rossi To: Struts Users Mailing List Sent: Thursday, October 16, 2003 9:33 AM Subject: Re: struts include Tiles is the only

Re: struts include

2003-10-16 Thread Firat TIRYAKI
Try to make it with your actions rather than in jsp, Seperate the business logic and view, that's what struts is mainly for. Well it depends on what your actions do but it seems that you want to make two different actions in a jsp page, connect your actions with an alternate action. F. -

Re: struts include

2003-10-16 Thread Marco Rossi
Yes, I use ADF bindings to create the menu and to create the body-page. In practice I have to include two DataAction in the same jsp page. Have you any suggestion? Thanks, Marco Da: Duncan Mills [EMAIL PROTECTED] Data: Thu, 16 Oct 2003 09:58:13 +0100 A: Struts Users Mailing List [EMAIL

Problem with getting value to ActionForm from page generated with logic:iterate tag and index attribute to true

2003-10-16 Thread Benz Lim
Hi, Apology if this has been asked, I search through the archive but can't seem to find any solution. Can anyone help to enlighten me ? After reading the mailing archive and some examples on the net I have manage to generate using the logic:iterate tag to produce individual rows

struts error on console screen.

2003-10-16 Thread Viral_Thakkar
Hi all, Does anybody have an idea on following error? [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true I am getting this error on console. Regards, Viral

No getter method

2003-10-16 Thread Mariano García
Hi all, I have an ActionForm, an Action class and a bean. In struts-config.xml I have this: form-beans [...] form-bean name=connectionForm type=myapp.form.ConnectionForm / [...] /form-beans action-mappings action path=/editConnection

RE: No getter method

2003-10-16 Thread Brian McSweeney
Dad, Don't ring that guy yet, I know him myself pretty well so I'd prefer to tell him you'll give him a call. I was talking to him briefly but he was busy at work so he said he'd give me a ring back. Cheers, Brian -Original Message- From: Mariano García [mailto:[EMAIL PROTECTED]

RE: No getter method

2003-10-16 Thread Benz Lim
you did not put your form bean name in your action mapping path action-mappings action path=/editConnection type=myapp.action.EditConnectionAction name=-- MISSING form bean scope=request validate=false

Re: No getter method

2003-10-16 Thread Adam Hardy
On 10/16/2003 12:44 PM Mariano García wrote: Hi all, I have an ActionForm, an Action class and a bean. In struts-config.xml I have this: form-beans [...] form-bean name=connectionForm type=myapp.form.ConnectionForm / [...] /form-beans action-mappings action

RE: No getter method

2003-10-16 Thread Brian McSweeney
major-embarrassement Sorry! Wrong recipient! /major-embarrassement -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 12:02 To: 'Struts Users Mailing List' Subject: RE: No getter method Dad, Don't ring that guy yet, I know him myself

RE: Initializing Configuration Parameters..

2003-10-16 Thread Robert Taylor
Take a look at using the ServletContextListener. It's a bootstrap interface for Servlet2.3 containers. This way you can define init parameters in web.xml and not have to mess with the Struts code. robert -Original Message- From: Ritvik [mailto:[EMAIL PROTECTED] Sent: Wednesday,

JNDI Datasource

2003-10-16 Thread virupaksha
Dear All, I am facing following error, when i am trying to connect jndi data source. error is Cannot load JDBC driver class 'null'. here i am using Mysql database, i have copied mysql driver jar files into struts application's lib folder , tomcat's common/lib and shared/lib folder and Jndi

RE: html:hidden, disabled attribute

2003-10-16 Thread Chen, Haiwei (H.)
Rober, bean:write tag allows to retrieve the value of the specified bean property and render it to the page as a String. html:hidden tag and the resulting hidden field do more than what bean:write does. The value of the hidden field can be read/manipulated, and posted back to server. With the

Re: struts include

2003-10-16 Thread Duncan Mills
Hey Marco, I just sat down and tried this in 10g, with a page like this: %@ page contentType=text/html;charset=windows-1252% %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles% html head meta http-equiv=Content-Type content=text/html; charset=windows-1252 titleBinding Test/title /head body

validator

2003-10-16 Thread Gilbert, Antoine
hi I'm trying to use the validator framework of struts for the first time. (with struts 1.1) I'm unable to make a noob example working.. I have a single form html:form action='ui/base/author/save/SaveAs.do' target='_self' onsubmit='' fmt:message key=saveAs.title/ calling SaveAsAction with a

RE: html:hidden, disabled attribute

2003-10-16 Thread Nicholas L Mohler
Haiwei, Would the bean:define tag meet your needs? The value is available for use when building the page, but I don't believe that it is in the form dataset. Alternatively, you might consider extending the hidden tag for your needs. Once it works, you could submit the code as a candidate

Re: struts error on console screen.

2003-10-16 Thread Caroline Lauferon
this is not an error message, but an information message!! It informs you that the MessageResources are being configured from your file org.apache.struts.action.ActionResources, and that if there is no message for the key you ask for, null will be returned. Hope it helps! Caroline Does

RE: IDE

2003-10-16 Thread Voinea, Marina
Well, the initial question was about the existence of an open IDE for Struts. (Like Eclipse, XDoclet probably...). M7 is very interesting because of the drag and drop capabilities for JSP editing etc... However, my company has opted for Welogic (as opposed to Websphere) - which has 1 year free

RE: display tag and struts

2003-10-16 Thread Nimish Chourey , Tidel Park - Chennai
Yes .. I had the same problem .. you need to use scriplet .. some thing like this .. % MessageResources resource =(MessageResources) application.getAttribute(Globals.MESSAGES_KEY) ; % display:column property=internalID

RE: struts error on console screen.

2003-10-16 Thread Viral_Thakkar
Thanks Caroline for the info -Original Message- From: Caroline Lauferon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 6:15 PM To: Struts Users Mailing List Subject: Re: struts error on console screen. this is not an error message, but an information message!! It informs

Calling a javascript function with the logic:iterate tag

2003-10-16 Thread Frederic Dernbach
How can I call a javascript function with one parameter using a logic:iterate tag (the parameter being different from row to row). Below is a simple JSP snipplet which uses an iteration. Its first item prints a code property with an hyperlink with a onclick attribute that points to a javascript

fmt:setBundle does not work

2003-10-16 Thread Christian Martin
the code snippet below works fine and i can see the message for the key message.example.simple from my ResourceBundle code fmt:bundle basename=ApplicationResources fmt:message key=message.example.simple / /fmt:bundle /code but if i use the setBundle tag code fmt:setBundle

Help setting up sslext

2003-10-16 Thread Brian McSweeney
Hi all, Searched the archives, but couldn't quite get a good simple explanation of how to set up sslext. Here's my progress so far: 1) Hook up ssl with your keystore etc on your container 2) Download sslext from sourceforge. 3) Install the sslext.jar in my WEB-INF/lib folder 4) Install the

Validator question for radio buttons.

2003-10-16 Thread mohan
I have 3 radio buttons representing a property called paymentdetail.paymentTypeId, like this table width=80% border=0 cellspacing=4 cellpadding=4 name=paymentOptions align=center tr bgcolor=#CC td bgcolor=#efefef html:radio

RE: Validator question for radio buttons.

2003-10-16 Thread Saul Q Yuan
Well, some thoughts, do you have a page parameter in your jsp? Something like: input type=hidden name=page value=2 / and did you set validate=true in your action mapping? Saul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

[newbie] Passing an object to an actionBean within an html:form

2003-10-16 Thread Laurent Leconte
Hello all, I'd like to pass a complex object (i.e. not a String or something easily convertible to a String) to an actionForm, within an html:form tag. Specifically, my jsp displays a list of BaseTable objects. I'd like to create an html:form for each object, so that clicking on the submit

could not deserialize the context attribute .. (configuration: struts 1.1 + web logic 8.1), is it a known bug ?

2003-10-16 Thread Shay Cohen
Hi, I've encountered lately the following exception Could not deserialize session date On the following attribute: Attribute: org.apache.struts.action.REQUEST_PROCESSOR (object: org.apache.struts.tiles.TilesRequestProcessor) After reading old emails

logs

2003-10-16 Thread Gilbert, Antoine
How i can configure my log4j.properties to log DEBUG info about my struts ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:hidden, disabled attribute

2003-10-16 Thread Robert Lamping
Okay now I understand! I hope for you it will be in the next taglib version. Kind regards, Robert -Original Message- From: Chen, Haiwei (H.) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 2:29 PM To: 'Struts Users Mailing List' Subject: RE: html:hidden, disabled attribute

Re: logs

2003-10-16 Thread Geeta Ramani
Maybe I misunderstand you (?), but all you have to do is (as usual) add lines in your log4j.properties file, something like: log4j.category.yourpackagename.YourAction=DEBUG log4j.category.yourpackagename.YourForm=DEBUG etc. Geeta Gilbert, Antoine wrote: How i can configure my log4j.properties

RE: logs

2003-10-16 Thread Gilbert, Antoine
can i use something like that ? directly ? log4j.category.org.apache=DEBUG -Message d'origine- De : Geeta Ramani [mailto:[EMAIL PROTECTED] Envoyé : 16 octobre, 2003 11:12 À : Struts Users Mailing List Objet : Re: logs Maybe I misunderstand you (?), but all you have to do is (as usual)

Re: logs

2003-10-16 Thread Geeta Ramani
Well, as long as the appropraite debug lines exist in the code itself (or you add it and then recompile, rejar, etc.etc.), I'd guess that would work..:) Gilbert, Antoine wrote: can i use something like that ? directly ? log4j.category.org.apache=DEBUG -Message d'origine- De : Geeta

[newbie] how does fmt:setBundle work?

2003-10-16 Thread Christian Martin
sorry i did a mistake in my code snipplet but it does not work either. the corrected version: the code snippet below works fine and i can see the message for the key message.example.simple from my ResourceBundle code fmt:bundle basename=ApplicationResources fmt:message

RE: logs

2003-10-16 Thread Philip Mark Donaghy
--- Gilbert, Antoine [EMAIL PROTECTED] wrote: can i use something like that ? directly ? log4j.category.org.apache=DEBUG I got this sample log4j.properties from the log4j short manual. # Set root logger level to DEBUG and its only appender to A1. log4j.rootLogger=DEBUG, A1 # A1 is set to

ArrayIndexOutOfBoundsException after resubmitting form

2003-10-16 Thread Christina_Siena
Hi all, I've searched the archive, but haven't found an occurrence of the exact same problem I am encountering. Here is a description of the problem: My intention is to use transactional tokens to prevent duplicate posting of a form where a user deletes a row in a list of search results. After

validator

2003-10-16 Thread Gilbert, Antoine
How i can set my validator to use a specified bundle (other than Application.properties) for a field rule ? ?xml version=1.0 encoding=ISO-8859-1 ? form-validation formset form name=SaveAsForm field property=name depends=required msg name=required

Re: logs

2003-10-16 Thread Philip Mark Donaghy
When I put a log4j.properties in my TOMCAT4_HOME/shared/classes directory the console went wild. This could help if you are debugging Tomcat and your application. Phil __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search

Re: OT: Simple is great . (period)

2003-10-16 Thread Vic Cekvenic
Greg Reddin wrote: But .NET proponents say that it is simpler than J2EE SNIP I think to the extent .NET *is* simpler, we _should_ start using it. They could argue that there are no EJB/BluePrints/etc. complexities in .NET, you can just get the data, and display a grid. There are cultures in

RE: Calling a javascript function with the logic:iterate tag

2003-10-16 Thread Karr, David
This is a very good reason to start using Struts-EL, the contrib tag library that integrates the expression language of the JSTL with Struts tags. Your bean:write call in the attribute of the html:link tag doesn't work because you can't embed custom tags in the attributes of custom tags. If you

Re: Calling a javascript function with the logic:iterate tag

2003-10-16 Thread Julie . Huang
try this: bean:define id=signal property=code/ html:link href='' onclick='%=closeWindowWithCode(+signal+)%' Frederic Dernbach [EMAIL PROTECTED] 10/16/03 09:57 AM Please respond to Struts Users Mailing List To: struts-user [EMAIL PROTECTED]

Re: [newbie] how does fmt:setBundle work?

2003-10-16 Thread Kris Schneider
code fmt:setBundle basename=ApplicationResources var=ares / fmt:message bundle=${ares} key=message.example.simple / /code Quoting Christian Martin [EMAIL PROTECTED]: sorry i did a mistake in my code snipplet but it does not work either. the corrected version: the code snippet below

[Semi OT] When does a servlet get a session?

2003-10-16 Thread Chappell, Simon P
OK, I have a servlet running alongside my Struts application and it is basically used to start (from the init() method) a separate network listener for handling network requests from a number of PLC units that are incapable of generating HTTP traffic, only straight socket connections, blasting

RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Mainguy, Mike
That does not compute Your servlet HttpSession is associated with a set of requests that a specific user makes to a particular servlet. You will, at any point have many sessions for 1 instance of your servlet. I believe a session will be created when you call getSession() if one does not

RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Jarnot Voytek Contr AU HQ/SC
If your servlet never services http requests, how is an http session useful? You can only access the session through a request - which you'll never have. Would the servlet context work? getServletContext().setAttribute(...) -- Voytek Jarnot Quantum materiae materietur marmota monax si marmota

Re: IDE

2003-10-16 Thread Kirk Wylie
Voinea, Marina wrote: snip/ However, my company has opted for Welogic (as opposed to Websphere) - which has 1 year free trial period, snip/ FWIW, I think you'll find if you look closely that the 1 year free trial period is actually a free one-year development license, meaning that you can't

RE: display tag and struts

2003-10-16 Thread James Mitchell
It might look better if you change this to use the struts or JSTL tags. It would also allow your app to work with multiple bundles and modules (if any) You might also think about having the href rewritten so you aren't hardcoding .do in there bean:define id=msg bean:message

jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
Hi all, Anyone managed to successfully get the JPetstore app working? I managed to build ok, but I'm getting the following error when trying to do anything on the index page type Exception report message Internal Server Error description The server encountered an internal error (Internal Server

Re: jpetstore example from ibatis uses struts

2003-10-16 Thread Jeff Kyser
its been a little while, but it worked fine for me. -jeff On Thursday, October 16, 2003, at 12:29 PM, Butt, Dudley wrote: Hi all, Anyone managed to successfully get the JPetstore app working? I managed to build ok, but I'm getting the following error when trying to do anything on the

Re: Calling a javascript function with the logic:iterate tag

2003-10-16 Thread Mark Lowe
If you dont need the link then using html:link would be a waste of time.. so.. a href=javascript: closeWindowWithCode('bean:write name=signal property=code ') or a href=# onlclick=closeWindowWithCode('bean:write name=signal property=code ') or a href=# onclick=closeWindowWithCode('c:out

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread James Mitchell
What container/version are you using? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 1:29 PM To: '[EMAIL

ActionMessages

2003-10-16 Thread Wiebe de Jong
Today I discovered ActionMessages! I had developed my own bean for doing the same thing in Struts 1.0, but now that ActionMessages are available with Struts 1.1, I have less code to develop and maintain. Thanks guys! Wiebe de Jong http://frontierj.blogspot.com

Re: JNDI Datasource

2003-10-16 Thread Kirk Wylie
This actually looks like a Tomcat problem, not a Struts problem, but if you post your server.xml file it might help debug the problem. Kirk Wylie M7 Corporation virupaksha wrote: Dear All, I am facing following error, when i am trying to connect jndi data source. error is Cannot load JDBC

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
Hi..Using Tomcat 406 -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:41 PM To: 'Struts Users Mailing List' Subject: RE: jpetstore example from ibatis uses struts What container/version are you using? -- James Mitchell Software

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
I figured out that it must be throwing a null pointer because there is no dataI put in some sample data and now I get this Using SIMPLE configuration. (properties/simple/dao.xml) 2003/10/16 07:59:06 com.ibatis.db.sqlmap.MappedStatement runQueryForList SEVERE: Error executing

TR: validator

2003-10-16 Thread Gilbert, Antoine
Basicly i want to use base message to a different bundle.. msg name=required key=logon.username.maskmsg/ -Message d'origine- De : Gilbert, Antoine Envoyé : 16 octobre, 2003 11:59 À : [EMAIL PROTECTED] Objet : validator How i can set my validator to use a specified bundle (other than

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
I did notice i got an error on trying to run one of the mysql scripts...maybe my database is screwy..I am using mysql Ver 8.40 Distrib 4.0.12, for Win95/Win98 on i32 -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:41 PM To: 'Struts

enctype set to multipart/form-data loses session

2003-10-16 Thread Miriam Aguirre
Hi All, I've come across a struts oddity.. in an struts form designed to upload a file, i set the enctype=multipart/form-data. When a user does not use cookies iplanet tacks on two parameters to all requests to keep track of the session info. Like so (in the resulting html) : form

Re: SSLExt and Struts Workflow?

2003-10-16 Thread Tim Shadel
I know this thread is a couple weeks old, but I just started looking into this myself. Actually, I don't think that they are currently compatible, but not because of the RequestProcessor. Matthias has made it easier to write a RequestProcessor that includes others, so that should be possible

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
I get this error Can't create table '.\jpetstore\#sql-5ec_3a.frm' (errno: 150) when trying to run the mysql script ALTER TABLE item ADD FOREIGN KEY (supplierid) REFERENCES supplier(suppid) ON DELETE RESTRICT ON UPDATE RESTRICT; -Original Message- From:

display struts tag in Deamveaver design view

2003-10-16 Thread Rong Yu
Hi, I have been using struts for our project, but our web design teem is complaining about not being able to see struts tag in Deamveaver(MX) design view. So they can not do such simple things as adding items to a combobox using design tools. Instead they have to know how struts tag work and

RE: Help on Struts- Tiles Tab

2003-10-16 Thread Yann Lebreton
I believe you forgot the class part of your items: should be definition name=asset.detail.tabs.body path=/jsp/tabsLayout.jsp put name=selectedIndex value=0/ put name=parameterName value=selected/ putList name=tabList item value=Search Asset

RE: jpetstore example from ibatis uses struts

2003-10-16 Thread Butt, Dudley
ok, its working now, for some reason the script below wasnt being accepted by Mysql, so i just left it out.. I just used the oracle insert statements now ITS WORKING!!! -Original Message- From: Butt, Dudley Sent: Thursday, October 16, 2003 9:02 PM To: 'Struts Users Mailing List'

Re: display struts tag in Deamveaver design view

2003-10-16 Thread Barry Volpe
Haven't used them but here are some products: Not free http://www.fwasi.com/ free? http://www.jahia.org/jahia/Jahia/cache/offonce/pid/234 Barry - Original Message - From: Rong Yu [EMAIL PROTECTED] To: Struts-Jakarta [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 12:07 PM Subject:

Validator

2003-10-16 Thread Shawn . Rummel
I am trying to use Struts validator and am running into some problems. Are there any good step-by-step instructions? I have Struts in Action and tried to follow the chapter concerning Validator but I didn't get the desired results and am not sure where to begin in tracing what I may have done

Re: Re: SSLExt and Struts Workflow?

2003-10-16 Thread Steve Ditlinger
Tim: Without looking into it too deeply (and without knowing anything about Workflow), I can say the easiest thing from the sslext side is to redefine SecureActionConfig to extend WorkflowMapping, just as you say. If you have problems, I can look at it more. Steve From: Tim Shadel [EMAIL

Re: Validator

2003-10-16 Thread Barry Volpe
**Use the struts-validator.war example in the struts 1.1 release to learn more.** make sure you have this in your jsp: html:errors / This is where the validation error gets outputted. You should have this in your struts-config at the bottom where plug-ins go. !-- Add multiple validator

RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Chappell, Simon P
You're right that we'll never have an HTTP request, so I can see why you're confused as to why we'd want a session. The reason is for performance. We want to avoid the overhead of writing and reading a database. This is very short term information, but now that we're needing to run in a

Re: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Craig R. McClanahan
Chappell, Simon P wrote: You're right that we'll never have an HTTP request, so I can see why you're confused as to why we'd want a session. The reason is for performance. We want to avoid the overhead of writing and reading a database. This is very short term information, but now that we're

RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Chappell, Simon P
Craig, -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 4:19 PM To: Struts Users Mailing List Subject: Re: [Semi OT] When does a servlet get a session? Chappell, Simon P wrote: You're right that we'll never have an HTTP request, so

DynaValidatorForm accepted form-property types

2003-10-16 Thread VLADIMIR TERZIC
I am even having a tough time formulating my question so please bear with me ;-) i have a phone bean (fields areaCode, prefix, suffix) that is part of a bean customer (homePhone, workPhone). i need to map this bean to a DynaForm that would have something like this: form-property name=homePhone

i18n - Chinese charactor problem

2003-10-16 Thread ZYD
Hi, I have a problem in getting the Chinese charactors from html:text, The following is my jsp file: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action=/submit focus=email head/head body html:text

Re: i18n - Chinese charactor problem

2003-10-16 Thread Greg Reddin
I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding on request parameters. Maybe googling that would turn up something. Greg ZYD wrote: Hi, I have a problem in getting the Chinese charactors

only Strings appear to be validated by Validator

2003-10-16 Thread Marc Dugger
My validation.xml: form name=/note/note_schedule/edit/details field property=noteScheduleTypeId depends=required,integer arg0 key=Note Schedule Type ID resource=false/ /field field property=interestRateIndexTypeId depends=validwhen,integer

Re: i18n - Chinese charactor problem

2003-10-16 Thread Jason Lea
Here is a link that explains what is needed and a filter to do it... http://www.anassina.com/struts/i18n/i18n.html Greg Reddin wrote: I don't remember the exact code, but a looong time ago we had to write a Filter that created a request wrapper that properly set the character encoding on

Re: i18n - Chinese charactor problem

2003-10-16 Thread ZYD
Hi Greg, Thank you for your fast response. I do write a filter to set the encoding to GB2312, but if I set the encoding to gb2312 on every page, because this disallow my pages to accept other language charactors, right? Can I set the encoding dynamicly according to user's locale? This is my

Re: display struts tag in Deamveaver design view

2003-10-16 Thread Rong Yu
Barry, I guess most people don't use these plug-ins like yourself. How are you deal with that display problems in design view? Personally, I don't care that much as a programmer, but if you are managing a big project, will this be a issue? Our project manager try to force us not to use struts

Re: display struts tag in Deamveaver design view

2003-10-16 Thread Barry Volpe
Sorry as I indicated I have not tried them out. I have used Dreamweaver in the past (without struts tags) but now just use an html editor with struts tags. I had a temporary interest and investigated struts support in Dreamweaver. You could probably send an email to the link I gave you.

Re: only Strings appear to be validated by Validator

2003-10-16 Thread Barry Volpe
I only have experience using the following in my validator.xml: field property=distance depends=required,integer arg0 key=form.displayname/ /field field property=rate depends=required,float arg0 key=form.displayname/ /field integer and float are in the

No more ActionError?

2003-10-16 Thread Wendy Smoak
I'm confused, but that's what I get for playing with the nightly build. ActionError is deprecated, with a note to use ActionMessage instead. My old code in a DynaValidatorForm looks like this: public ActionErrors validate( ActionMapping mapping, HttpServletRequest request ) {

[Q] HTML:Submit and getter setter methods - can you help?

2003-10-16 Thread Rajesh M Vasudevan
Hi, How do I invoke the getter or setter method of a form bean directly using the html:submit tag? I managed to do this successfully using the html:img tag, but not with html:submit. Thanks Raj

radio iterate tag

2003-10-16 Thread Kevin Williams
Hi, I'm hoping I'm just missing something REALLY obvious here... I am trying to create a standard list that a user can select one item from using a radio button. For the radio button's value, I want to place the mediaId (changes per row). I have done this successfully, but now EVERY radio

Re: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Joseph Fifield
I suppose you could fake the http requests yourself, couldn't you? When the DF1 request comes in, translate it to an http get or post request and send it off to your existing struts system. Translate the http response into whatever is needed for the DF1 response. Also, does this DF1 protocol have

[FRIDAY] Free Dog.....

2003-10-16 Thread Shane Mingins
Hi A mate of mine is looking for a good home for their family's dog. He said it's really lovable and friendly with kids, but his wife said the dog makes her nervous when it stares at her (I know - weird - I thought the same thing). She wants it out of the house ASAP unfortunately. If you know

RE: [FRIDAY] Free Dog.....

2003-10-16 Thread Shane Mingins
Ok so no attachments :-( http://fattyco.org/~beck/stephen/Free_Dog.jpg -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Friday, 17 October 2003 12:28 p.m. To: '[EMAIL PROTECTED]' Subject: [FRIDAY] Free Dog. Hi A mate of mine is looking for a good

Re: [FRIDAY] Free Dog.....

2003-10-16 Thread Martin Gainty
Ditch the wife Keep the dog.. -M - Original Message - From: Shane Mingins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:27 PM Subject: [FRIDAY] Free Dog. Hi A mate of mine is looking for a good home for their family's dog. He said it's really

RE: only Strings appear to be validated by Validator [SOLUTION]

2003-10-16 Thread Marc Dugger
My bad...you're right...it does work. Thanks to the miracle of logging, I realized that the integers were being defaulted to zero. As a result, they were in fact passing the validation tests. Only when I applied 'intRange' did the app catch invalids. Thanks! -Original Message-

RE: [Semi OT] When does a servlet get a session?

2003-10-16 Thread Chappell, Simon P
Funny you should suggest that. We're currently considering this as an option. The DF1 protocol is a stone-age protocol used by Allen-Bradley Programmable Logic Controllers and as such is very inflexible. While we work on this, we're gonna work with our load balancer and try to get our sessions

  1   2   >