Tiles configuration question!

2002-10-29 Thread Roland Carlsson
Hi! I have tested some examples with Tiles but encounters some problem when trying to use a configuration file with my definitions. As far as I see from the logs it loads the defintions from the tiles-defs.xml but it doesn't add it to I can reach it. I post my setup below. Thanks in advance

how to use tokens?

2002-10-29 Thread Gemes Tibor
Is there out on the web some description, howto or manual about how to use tokens in struts, and what are they good for? I searched a while, and did not find any resource. Tia, Tib -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Resource temporarily unavailable

2002-10-29 Thread Vikram Goyal
All, This is probably off topic and if so I apologize. I shifted my hosts from a non JSP one to a JSP one short time ago. The deal was 500 MB disk space, 15GB transfer, and private JVM and Resin for 235 USD a year. Too good to be true? Probably is?? Anyways, this is the problem: I deployed my

Select html tag and it's property

2002-10-29 Thread Rajesh Kanade
Hi All I am using html:select tag which needs to be multi - select. DO I need to define properties( getter/setter ) to return/set arrays or can write ( getter/setter ) which return/set ArrayList instead of Array. Any help would be greatly appreciated. Thanx Rajesh Kanade -- To unsubscribe,

Re: Tiles configuration question!

2002-10-29 Thread Cedric Dumoulin
Roland Carlsson wrote: Hi! I have tested some examples with Tiles but encounters some problem when trying to use a configuration file with my definitions. As far as I see from the logs it loads the defintions from the tiles-defs.xml but it doesn't add it to I can reach it. I post my setup

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread flare
JSTL supports dynabeans transparently Could you please supply a scenario and sample code that proves this? well.. I thought dynabeans were supported cause I'm using them without problem, since in the JSTL ML told me the full support will be added in the 2.x release I can at least say

Re: Tiles configuration question!

2002-10-29 Thread Roland Carlsson
Hi Cedric! Thanks for the help. You made me look in the right direction. Name didn't work though. Definition works. My page.jsp looks like this and now it works. -- %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % tiles:insert

Re: VerifyError creating action bean in tomcat4 (not tomcat 3.3)

2002-10-29 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2, xerces-j 1.4.4 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError

Help needed with Indexed Tags, Contributor taglib by Dave Hays

2002-10-29 Thread Linnea Ahlbeck
Hi! I'm using the indexed tag lib written by Dave Hays. On my jsp page I have the following code: logic:iterate id=mondayEvent name=calendarForm property=mondayEventList td class=input width=30%html:text name=mondayEvent property=subject indexed=true//td /logic:iterate In my formbean I

defining style class with the iterate tag

2002-10-29 Thread meissa . Sakho
hi all, I'm using the iterate tag to display my arrayList element like this. logic:iterate name=mailFilterForm property=registredList id=mailView tr class=paire td align=centerbean:write name=mailView property=code//td tdbean:write name=mailView

package not found Error

2002-10-29 Thread Affan Qureshi
A strange error keeps persisting when I am using any layout:X tag in my JSP running in Tomcat 4.1. It doesnt seem to be ableto find the Struts-Layout classes although I have placed the Struts-Layout.jar in the lib directory and defined and placed the TLDs at the proper places. It says:

Re: defining style class with the iterate tag

2002-10-29 Thread deepak
You can do it this way logic:iterate name=mailFilterForm property=registredList id=mailView bean:define id=index name=mailView property=index/ tr td class=%= (Integer.parseInt(index)%2 == 0)?paire:impaire% bean:write name=mailView property=sender/ /td /tr /logic:iterate

Re: package not found Error

2002-10-29 Thread Jean-Noel Ribette
Hi, This is very strange, could you double check that Struts-Layout.jar is in the lib directory, that it contains the required classes, and that the jar is added to the classpath ? Are you trying to precompile the jsp ? In this case do you need to do some extra configuration to add the jar to

How to use Templates efficently ?

2002-10-29 Thread Marcus Biel
Sorry this might be a dumb question, but I can't really figure out how to use struts templates efficently. I already had a look at Struts-Docu: http://localhost:8080/struts-documentation/api/org/apache/struts/taglib/template/package-summary.html#package_description If i figured it out correctly,

Problem with action messages....

2002-10-29 Thread Michael Delamere
Hi, I´ve read just about everything I could find, unfortunately I still haven´t managed to get this to work. In my action I define an ActionMessage as follows: ActionMessages messages = new ActionMessages(); ActionMessage message = new ActionMessage(shop.cart.isempty);

Re: Help needed with Indexed Tags, Contributor taglib by Dave Hays

2002-10-29 Thread deepak
Try doing this logic:iterate id=mondayEvent name=calendarForm property=mondayEventList bean:define id=txtSubject name=mondayEvent property=subject/ td class=input width=30% html:text property=txtSubject indexed=true/ /td /logic:iterate - Original Message - From: Linnea Ahlbeck

RE: How to use Templates efficently ?

2002-10-29 Thread Holman, Cal
Take a look at Tiles - you can avoid the second page by defining the page definition in the struts config or if the pages do not need their own Action you can use one Action to resolve the definitions using a parameter. Cal http://www.calandva.com/ -Original Message- From:

Re: How to use Templates efficently ?

2002-10-29 Thread Marcus Biel
Hi Cal, as far as I know tiles are only supported since 1.1, but I am strictly forced to use 1.02 at work. Any other suggestions ? E.g. how to simple import other jsp's ? Marcus [EMAIL PROTECTED] schrieb: Take a look at Tiles - you can avoid the second page by defining the page definition

Struts parameters and JavaScript

2002-10-29 Thread pk
Hi all, I have a little problem and a question. Here is a piece of code: xmlop:renderSelect collectionName=tableNames selectName=table actionType=onchange= actionName=JavaScript:xmlopSQLForm.submit(); / xmlop:renderSelect collectionName=field selectName=field / td xmlop:renderTextbox

Re: VerifyError creating action bean in tomcat4 (not tomcat 3.3)

2002-10-29 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 tomcat 4.1.12, BlackDown Java SDK 1.3.1, Struts 1.1-b2, xerces-j 1.4.4 When I run with tomcat 3.3 my webapp run as expected, but when I try it with tomcat 4.1.12, I get a VerifyError

How can I use Token !!!!

2002-10-29 Thread Ricardo de Souza Moura
Can I save Token using org.apache.struts.actions.ForwardAction ? I wouldn't like to make a Action only to saveAction and forward to a page !!! There are another way ? _ MSN Hotmail, o maior webmail do Brasil.

RE: Struts parameters and JavaScript

2002-10-29 Thread Buchwald, Dave (PLC, IT, Tri-Com Consulting)
My example is with struts tags, but I had a similar problem when trying to use dynamic JSP expressions in the tag attributes. I created one string and passed that: % String onClickFunction = javascript:setValue( + strVehIndex + ); % html:radio name=SomeForm property=someProp

RE: defining style class with the iterate tag

2002-10-29 Thread Madel,Kurt
If you are using 1.1b2 then the iterate tag has an indexed attribute. For you example below: logic:iterate name=mailFilterForm property=registredList id=mailView indexId=index Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: [EMAIL PROTECTED]

A newbie question.

2002-10-29 Thread Josh Berry
I have just recently begun using Struts for a job at work. This is my first JSP project, so if I ask something that is more appropriately learned in the basics of JSP let me know. I saw the hint about linking to actions, but have one slight gripe. I made all of my actions end in .do, as per the

RE: Select html tag and it's property

2002-10-29 Thread Madel,Kurt
A String[] will work. We use a string array to represent the id's of some objects and then in our model assign the objects according to the ids in the array. Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Rajesh Kanade [mailto:rkanade;bigates.com] Sent:

RE: Struts Validator for multiple Selects

2002-10-29 Thread Madel,Kurt
Anyone use multi-selects with Struts Validation? Oh yeah, the jsp is: html:javascript formName=milestoneDetailForm dynamicJavascript=true/ html:form action=/addmilestone onsubmit=return validateMilestoneDetailForm(this); table class=form html:hidden property=mrevdate/ tr

RE: Struts 1.0.2, Tomcat 4.1.12 Web-App start-up funny

2002-10-29 Thread Axtell, Neil
Thanks for the answer. I've checked the contents of the HTTP Request and, the first time I attempt to display the Form the Request is empty (as I would expect). There is no org.apache.struts.taglib.html.BEAN object that I can see using the request.getAttributes() method. I appear to be having

RE: Help needed with Indexed Tags, Contributor taglib by Dave Hays

2002-10-29 Thread Linnea Ahlbeck
Hi! Thanks for your tip! Unfortunaltey it did not solve my problem. The line: bean:define id=txtSubject name=mondayEvent property=subject/ causes the same error as before: javax.servlet.ServletException: No getter method for property subject of bean mondayEvent In the class the mondayEvent

Re: How to use Templates efficently ?

2002-10-29 Thread Cedric Dumoulin
Hi, You can use tiles in 1.02. You need to use the separate tilesForStruts1-0.jar file. You can find it in the distrib from the original tiles site. Then check under lib/tiles1.0. Cedric Marcus Biel wrote: Hi Cal, as far as I know tiles are only supported since 1.1, but I am strictly

Javascripting

2002-10-29 Thread Alok Garg
Hello All, I am facing problem in using javascript. The cases: 1) I have a select box. 2) OnChange a javascript method is called. 3) In this method a Form is submitted and an action class is called. 4) on finishing with the action class same jsp is called. Problem:: 5) if now again step 2 is

Re: A newbie question.

2002-10-29 Thread V. Cekvenich
Josh Berry wrote: I have just recently begun using Struts for a job at work. This is my first JSP project, so if I ask something that is more appropriately learned in the basics of JSP let me know. I saw the hint about linking to actions, but have one slight gripe. I made all of my actions

Re: How to use Templates efficently ?

2002-10-29 Thread Jeff_Mychasiw
I found this helpful as well Sample chapter on tiles from Ted's up coming book http://www.manning.com/getpage.html?project=hustedfilename=chapters.html Marcus Biel [EMAIL PROTECTED] on 10/29/2002 05:11:26 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:

RE: form and action in struts-config

2002-10-29 Thread Vankineni, Naga X
I checked the struts-config.xml and here is the piece of code.. form-bean name=cultureForm type=com.pfizer.caa.culture.CultureForm / action name=cultureForm type=com.pfizer.caa.culture.CultureAction input=/test/culture.jsp scope=session validate=false path=/test / The issue I am

Populate bean values to my form

2002-10-29 Thread Konstantina Stamopoulou
Hello, I know that my question might sound naive but I realy need your help. Unfortunately I couldn't find out from the archieves what I'm doing wrong. So here I go. I need to submit a form (SearchForm) retrieve some data from the database depending on the values entered in the SearchForm

Re: A newbie question.

2002-10-29 Thread Melissa L Kelley
On Tue, 29 Oct 2002, Josh Berry wrote: My other stumbling block was in using a DataSource. I was able to setup the DataSource using Struts, but was not happy with the way that it required doing the database access actually in the Action classes. Instead, I was wanting the action class to be

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
A few suggestions: * Try setting the 'name' attribute in the action mapping to '/cultureForm' * Make sure you using a html:form in your culture.jsp file. * Make sure that the 'action' attribute value of the html:form is 'cultureForm.do' (assuming you are using the usual Struts convention) Sri

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
Oops! Major brain fart. Change the suggestions: Ignore the first suggestion. The third suggestion should read: * Make sure that the 'action' attribute value of the html:form is 'test.do' (assuming you are using the usual Struts convention) -Original Message- From: Sri Sankaran Sent:

form:text property

2002-10-29 Thread Raj Yadav
Hi All, I have this in a jsp form:text property=phonenumber / Now, what does this property corresponds to ? I am getting the exeception saying no getter method available for property phonenumber Thanks, - raj

RE: form and action in struts-config

2002-10-29 Thread Vankineni, Naga X
Sri I have been using the other action attribute convention i.e path '/test' and also the other action-mappings were working fine with this declaration.But anyway I will try this too and let u know.. Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com]

Re: [Re: A newbie question.]

2002-10-29 Thread Josh Berry
This is how I go about it as well. I have a datasource set up in my container. I access that datasource using jndi, and do no do that in my Actions. This topic cycles through here every now and again. Try a search for DAO in the archives at

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
OK, so you have: form-bean name=cultureForm type=com.pfizer.caa.culture.CultureForm / action name=cultureForm type=com.pfizer.caa.culture.CultureAction input=/test/culture.jsp scope=session validate=false path=/test / What does your jsp look

Advantages of other frameworks

2002-10-29 Thread John Nicholas
This was at the end of another thread and didn't get any response so I'm moving it into a new thread. John Nicholas -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] I'm not here to argue about Struts' performance. Anyone who chooses another framework over

RE: Maxlength validation returns null in error message

2002-10-29 Thread Nekkalapudi, Viplava
I think, arg2 is only required for the range validation error message not for minlength/maxlength. please check for the error messages declared in the validator-rules.xml. But in the struts-example application in validation.xml, arg2 is declared for maxlength, field property=username

Re: How to use Templates efficently ?

2002-10-29 Thread David Graham
Definitely use Tiles as Cedric suggested. The template taglib is deprecated in 1.1 in favor of Tiles so when you eventually migrate to 1.1 you'll already have Tiles in place. David _ Unlimited Internet access for only

Differentiating Option boxs in action class

2002-10-29 Thread Vijay Kumar
Hi, I have two option boxes called group and attribute, which are loaded in preaction. And i am using javascript onchange='document.forms[0].submit()' to kick of an action in option box. As there are two option boxes on screen is there any way distinguish between them say which option box

[OT] Re: Javascripting

2002-10-29 Thread David Graham
Make sure you're submitting to .do not .jsp. Also, it's usually a bad idea to rely on js to submit forms. What happens when javascript is turned off? David From: Alok Garg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: form:text property

2002-10-29 Thread Raj Yadav
Wendy, Thanks for your reply. I have a getPhoneNumber() method instead of getPhonenumber() ? But how does it matter ? Thanks, - raj - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 8:33 PM Subject:

RE: [OT] Re: Javascripting

2002-10-29 Thread Madel,Kurt
Some people are creating apps for controlled environments. Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Tuesday, October 29, 2002 10:24 AM To: [EMAIL PROTECTED] Subject: [OT] Re: Javascripting Make

tiles:put / in ActionForward.perform()

2002-10-29 Thread Roland Carlsson
Hi! I'm trying to expand my tiles with a dynamic body. I want to control this body with a simple parameter in the url eg http://localhost:8081/myPage?body=aTile.jsp . Does anyone have an example of how to do this? Thanks in advance Roland Carlsson -- To unsubscribe, e-mail:

Struts in a war inside a ear file in WL6.1

2002-10-29 Thread Gus Delgado
I'm getting this error in the browser when I try to deploy an ear that has two EJBs and a war with struts in it. When I click on the button that has the action: No action instance for path /amortization could be created action: Error creating ActionForm instance of class '

RE: form:text property

2002-10-29 Thread Wendy Smoak
I have a getPhoneNumber() method instead of getPhonenumber() ? But how does it matter ? Then change your tag to form:text property=phoneNumber / Java is case sensitive-- phoneNumber isn't the same as phonenumber. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA

Re: form:text property

2002-10-29 Thread Raj Yadav
Yes, got it. Thanks a lot.. spent an hour on this... - Raj - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 9:03 PM Subject: RE: form:text property I have a getPhoneNumber() method instead of

RE: [OT] Re: Javascripting

2002-10-29 Thread David Graham
I understand that; however, if you're not then using js in this way is a very bad idea. David From: Madel,Kurt [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT] Re: Javascripting Date: Tue, 29 Oct

RE: Struts in a war inside a ear file in WL6.1

2002-10-29 Thread Wendy Smoak
The struts.jar is inside the WAR file under web-inf/lib/struts.jar any ideas? Try capitalizing WEB-INF? If you're running on Windows it might not matter, but I've never seen it in lower case. -- Wendy Smoak http://sourceforge.net/projects/unidbtags

RE: Maxlength validation returns null in error message

2002-10-29 Thread Nekkalapudi, Viplava
I think, arg2 is only required for the range validation error message not for minlength/maxlength. please check for the error messages declared in the validator-rules.xml. But in the struts-example application in validation.xml, arg2 is declared for maxlength, field property=username

Validator lazy validation

2002-10-29 Thread Bas Passon
In using the validator I noticed that the validator will run every validator specified in the depends attribute of the field element in the validator.xml. I would like the validator to stop running checks at the first check that fails for a particular field element. You could call it lazy

RE: form and action in struts-config

2002-10-29 Thread Vankineni, Naga X
Sri Here is the snippet of form class too.Plz take a look at this one too.. Naga Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, October 29, 2002 10:08 AM To: Struts Users Mailing List Subject: RE: form and action in struts-config

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
You cannot nest form tags. That isn't valid HTML. That probably explains why your field values aren't getting submitted. You can accomplish what you are attempting with simply your current outer form tag with one hidden 'target' field. Set the target accordingly using JavaScript based on

RE: Struts in a war inside a ear file in WL6.1

2002-10-29 Thread Wendy Smoak
I'm getting this error in the browser when I try to deploy an ear that has two EJBs and a war with struts in it. When I click on the button that has the action: No action instance for path /amortization could be created action: Error creating ActionForm instance of class '

how many form for update and create action ?

2002-10-29 Thread Xavier Combelle
I have a conceptual problem in my struts application I am programming an application which give the possibility to create, update and delete several information, for exemple the name and the price of an item. So I need to give to the user two possibilities : 1- the possibility to create an

Action class called multiple times

2002-10-29 Thread Zaleski, Kirk I.
I'm running a Web Application on WebLogic 6.1sp3 with Struts 1.0. A user request triggers an Action class to generate a report from an Oracle Reports Server. I've found that if the ORS takes longer than 5 minutes to process, the Action class is called again, and then every 5 minutes from then

Re: how many form for update and create action ?

2002-10-29 Thread David Graham
You have one form bean, one jsp, and 2 actions. ProductForm - form bean holds data and has action attribute to determine if this is an add or edit form productForm.jsp - displays data to user GetProductFormAction - if this will be an edit form, get data from db and pre-populate the form bean,

Nested levels within tiles?

2002-10-29 Thread ajTreece
How many levels of extends can you have within tiles? I've attached a tiles def file (that works), but I would like to see if it is possible to do it differently so that I don't duplicate code in the xml file. Here is the scenario... site.mainLayout defines the overall page. The mainbody

RE: form and action in struts-config

2002-10-29 Thread Vankineni, Naga X
Sri, I used the nested tags previously for other similiar pages and they all worked fine.. Also I can try it out like you said,but my point is how did the other page which had the similar functionality like this page work well and why is the problem only with this one. Naga Vankineni Phone:

Re: how many form for update and create action ?

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Xavier Combelle wrote: Date: Tue, 29 Oct 2002 17:25:34 +0100 From: Xavier Combelle [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: how many form for update and create action ? I have a conceptual problem in my

Re: Container Managed Authentication and roles attribute on action

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Jarnot Voytek Contr AU HQ/SC wrote: Date: Tue, 29 Oct 2002 10:25:40 -0600 From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Subject: Container Managed

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread Parmar, Dipakkumar
Hi flare, It doesn't work for me. I'm getting error org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute value with value ${flare.ciccio}: Unable to find a value for ciccio in object of class org.apache.commons.beanutils.BasicDynaBean using operator .

Suggested Change in ActionForwards

2002-10-29 Thread Ken Riley
Hi all, Recently I've had a good deal of trouble with templates after upgrading my servlet container. It seems my container vendor has revisited their interpretation of forwards in the JSP spec which broke my application horribly. Several people on this list ( thanks Cedric and others ) gave

a complex solution for a simple problem

2002-10-29 Thread Vincent Stoessel
Hello Here is my situation. I need to copy information from one database (da_A) and insert it into another (db_B).I get the id for the from an ActionForm. I guess the easiest thing to do would be to write code in my acton class that basically makes jdbc calls to both databases and do a jdbc get

Re: a complex solution for a simple problem

2002-10-29 Thread David Graham
I would break this into a value bean for the info and a DAO for the jdbc. ValueBean value = dao.getSomeValue(); dao.insertSomeValue(value); getSomeValue retrieves data from dbA and insertSomeValue inserts it into dbB. Of course, there are many variations of this that you can try. I don't

Re: Suggested Change in ActionForwards

2002-10-29 Thread David Graham
This sounds very similar to the 1.1 feature of putting tiles in the forward like: forward name=success path=account.form.myFormTile / This tells Tiles to process the account.form.myFormTile definition and construct the response. Does that meet your needs? David From: Ken Riley [EMAIL

RE: Maxlength validation returns null in error message

2002-10-29 Thread Jeff Born
Thanks for the info, that fixed it for me. Also cleared up the arg0, arg1, arg2 confusion. jb -Original Message- From: Nekkalapudi, Viplava [mailto:VNekkalapudi;erac.com] Sent: Tuesday, October 29, 2002 10:51 AM To: [EMAIL PROTECTED] Subject: RE: Maxlength validation returns

struts-validator.war doesn't work

2002-10-29 Thread JuanPedro . DeAndres
I'm using jakarta-struts-20021029, and trying struts-validator.war, it doesn,t works. I'm using Tomcat 4.1.10 Thanks for all Juan Pedro. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread flare
Hi flare, It doesn't work for me. I'm getting error org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute value with value ${flare.ciccio}: Unable to find a value for ciccio in object of class org.apache.commons.beanutils.BasicDynaBean using

html:select tag question

2002-10-29 Thread Axtell, Neil
This may be a question for the Struts Developers, but here goes. I've been investigating the following JSP error (thrown by a JSP page attempting to use a FormBean) :- javax.servlet.jsp.JspException: No getter method available for property archiveServer for bean under name

Re: form:text property

2002-10-29 Thread Peter A. J. Pilgrim
Raj Yadav wrote: Yes, got it. Thanks a lot.. spent an hour on this... Can you turn off the EMAIL NOTIFICATION in your outgoing messages? Sheesh! -- Peter Pilgrim ServerSide Java Specialist My on-line resume and for interview videos about myself, J2EE Open Source, Struts and Expresso. ||

RE: error checking in Action

2002-10-29 Thread Mark Silva
yes i agree. my error checking is going into a buisness level helper class (instead of the form) because it is so complex. it onvolves going into the database, and making sure there are a minimum number of an item left, before a user can make changes to it. it also needs to check various

RE: form and action in struts-config

2002-10-29 Thread Sri Sankaran
Don't know. All I can say is that nesting forms is incorrect usage of HTML and will lead to unpredictable results. Sri -Original Message- From: Vankineni, Naga X [mailto:naga_x_vankineni;groton.pfizer.com] Sent: Tuesday, October 29, 2002 11:50 AM To: Struts Users Mailing List Subject:

Re: [how many form for update and create action ?]

2002-10-29 Thread Josh Berry
Xavier Combelle [EMAIL PROTECTED] wrote: I have a conceptual problem in my struts application I am programming an application which give the possibility to create, update and delete several information, for exemple the name and the price of an item. So I need to give to the user two

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread Parmar, Dipakkumar
Hi flare, I don't know how you got c:out working with DynaBean but seems like that JSTL doesn't support DynaBean. Here is the link http://nagoya.apache.org/eyebrowse/ReadMsg?listName=taglibs-user;jakarta.apa che.orgmsgId=367697. I also looked at the source code and couldn't find anything related

Re: [how many form for update and create action ?]

2002-10-29 Thread David Graham
Josh, I think your approach is fairly standard and is also what I recommended :-). David From: Josh Berry [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [how many form for update and create action ?]

Advice needed on dynamic list forms.

2002-10-29 Thread Jeff_Mychasiw
Greetings: I know this is done many times before. My requirement is to display a list of records where one of the columns is text box. The actual datastructure is a list of dual lists.. I have a List of wrapper objects that each contains two Lists. The internal list are value objects with non

Form Validation Errors in ONE line?

2002-10-29 Thread Dan Tran
Hi I used struts declarative validation, which works quite well for me, but the all errors are concatenated in one line. Is there a way to break them into multiple line on my web page? -Dan

RE: form and action in struts-config

2002-10-29 Thread Vankineni, Naga X
Sri I fixed the problem and found out that the problem was in my jsp page at defining forms. Thank you very much and really appreciate it .. Naga Vankineni Phone: 860-686-1643 -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Tuesday, October 29, 2002 1:16 PM To:

Re: [Re: [how many form for update and create action ?]]

2002-10-29 Thread Josh Berry
David Graham [EMAIL PROTECTED] wrote: Josh, I think your approach is fairly standard and is also what I recommended :-). The only thing I wasn't sure of was using the same action for saving and creating. I feel that is easiest, but I can see how some people might disagree. Also, two general

Re: [Re: [how many form for update and create action ?]]

2002-10-29 Thread Craig R. McClanahan
A couple of embedded comments. On Tue, 29 Oct 2002, Josh Berry wrote: Date: Tue, 29 Oct 2002 14:16:54 -0500 From: Josh Berry [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [Re: [how many form for update

RE: [JSTL] c:out and DynaBeanClass

2002-10-29 Thread flare
Hi flare, I don't know how you got c:out working with DynaBean but seems like that JSTL doesn't support DynaBean. You're right, It seems Resin has a JSTL implementation built-in so I was using the Resin implementation not the Apache one. I really didn't know about that sorry...

Can format strings be used with html:text input fields

2002-10-29 Thread Norman Klein
Currently we use format strings to control the display output of our financial fields for bean:write output statements. bean:write name=overviewForm property=LHO_AppraisedPrice format=$###,###,###.00 / This format string ensures that thousands and hundred thousands values automatically

Re: Form Validation Errors in ONE line?

2002-10-29 Thread David Graham
I assume you're using html:errors to display the messages. Add this to your message resources file errors.prefix=br/ I believe this requires version 1.1. David From: Dan Tran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Container Managed Authentication and roles attribute on action

2002-10-29 Thread Jarnot Voytek Contr AU HQ/SC
In your web.xml file, you can define the page that is used for any particular status code (including 400). Check out the error-page directive. That's a workable solution, but a bit of kludge - assuming that the user can get a error-code of 400 for other reasons than not being authorized. I

RE: Container Managed Authentication and roles attribute on actio n

2002-10-29 Thread Madel,Kurt
Another way is to check the role from the action: request.isUserInRole(role); On false, forward to your error page. Not as convenient as using the Struts config, but much more definitive. Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Jarnot Voytek

Re: Struts in a war inside a ear file in WL6.1

2002-10-29 Thread Kevin . Bedell
I belive you need a copy of the struts.jar file inside the ear file as well - plus the manifest should have a line such as: classpath: struts.jar This is classic Weblogic classloader stuff - check their docs. Kevin Gus Delgado [EMAIL PROTECTED] on 10/29/2002 10:24:21 AM Please respond

Re: [RE: Container Managed Authentication and roles attribute on action]

2002-10-29 Thread Josh Berry
my response below... Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] wrote: That's a workable solution, but a bit of kludge - assuming that the user can get a error-code of 400 for other reasons than not being authorized. I guess I was hoping for a way to trap the response before it left the

RE: Container Managed Authentication and roles attribute on action

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Jarnot Voytek Contr AU HQ/SC wrote: Date: Tue, 29 Oct 2002 14:33:04 -0600 From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Container Managed

RE: Container Managed Authentication and roles attribute on actio n

2002-10-29 Thread Jarnot Voytek Contr AU HQ/SC
I plan to use that method when necessary, but hope to accomplish a large chunk of the security requirements declaratively. -Original Message- From: Madel,Kurt [mailto:kmadel;csmi.com] Sent: Tuesday, October 29, 2002 2:39 PM To: 'Struts Users Mailing List' Subject: RE: Container Managed

RE: [RE: Container Managed Authentication and roles attribute on actio n]

2002-10-29 Thread Jarnot Voytek Contr AU HQ/SC
Your assumption is correct, I can restrict url-patterns in web.xml, but for finer-grained control, I _may_ wish to utilize struts-config.xml to restrict at the action level. -Original Message- From: Josh Berry [mailto:josh.berry;usa.net] Sent: Tuesday, October 29, 2002 3:03 PM To: Struts

RE: Container Managed Authentication and roles attribute on actio n

2002-10-29 Thread Jarnot Voytek Contr AU HQ/SC
Thank you, I should've known to look in RequestProcessor... -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Tuesday, October 29, 2002 3:05 PM To: Struts Users Mailing List Subject: RE: Container Managed Authentication and roles attribute on actio n On Tue,

Nice labels for inputs.

2002-10-29 Thread Josh Berry
I am not real sure of what to call what I am trying to do, so nice labels will have to work. Due to my amazing irritation with having to check a tiny little box for a radio/checkbox select when there is a large label I could be checking, I used to use the label tag quite extensively. I am not

RE: Nice labels for inputs.

2002-10-29 Thread Karr, David
Use the styleId attribute. That's exactly what it does. -Original Message- From: Josh Berry [mailto:josh.berry;usa.net] Sent: Tuesday, October 29, 2002 1:32 PM To: 'Struts Users Mailing List' Subject: Nice labels for inputs. I am not real sure of what to call what I am trying

Re: Nice labels for inputs.

2002-10-29 Thread Antoni Reus
Hi, The struts-html tags have the styleId attribute, that will output and id Salut! -- Antoni Reus A Dimarts 29 Octubre 2002 22:31, Josh Berry va escriure: I am not real sure of what to call what I am trying to do, so nice labels will have to work. Due to my amazing irritation with

  1   2   >