[IGNORE -] Re: Setting chehckbox state for DynActionForm

2003-01-06 Thread Affan Qureshi
Please ignore. Its fixed. I was not using correct property names in the files. Sorry for the post out of frustration. Regards, Affan - Original Message - From: Affan Qureshi [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 06, 2003 12:32 PM Subject:

form encryption and Character encoding

2003-01-06 Thread James Dean
Hi, I've asked this question before but so far haven't received any feedback on this subject, my problem is that I used the following : html:form action=upload.do enctype=multipart/form-data html:text property=aText / html:file property=aFile / html:submit / /html:form to submit some text and

Re: stream utf-16 data to browser

2003-01-06 Thread Joel Rees
Hi, What is the exact contentType to stream utf-16 data to the browser? application/utf-16? Are you sure you want to do that? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Date Formats

2003-01-06 Thread usha
Hi i have a form where i am entering the date field in the format 01-JAN-2003 form the jsp page. my Action form class setter method for this field expects java.sql.Date data type. from the UI if i enter in the above said format i am getting following error. can anybody help me how to convert

Source for beta 3

2003-01-06 Thread Steve Bosman
I've just downloaded Beta 3 binary, but unlike beta 2 there does not appear to be a download source option. So could someone tell me which nightly build corresponds to beta 3? -- Steve Bosman Senior Programmer FW Pharma Systems Ltd, Four Brindleyplace, Birmingham, B1 2JB, UK Tel: +44 (0)121 616

Error in getting message resouces

2003-01-06 Thread Suresh Addagalla
Hi, I am seeing ???en_US.invalid.login??? in place of Invalid login, please try again when I use html:errors/ in my login.jsp. I have put PRWPResources.properties in WEB-INF/classes directory. My struts.config is as follows. action path=/login type=com.nokia.ipdc.ss.prwp.action.LoginAction

RE: Source for beta 3

2003-01-06 Thread René Eigenheer
I found the b3-sources at http://www.apache.org/dist/jakarta/struts/ -Original Message- From: Steve Bosman [mailto:[EMAIL PROTECTED]] Sent: Montag, 6. Januar 2003 10:35 To: [EMAIL PROTECTED] Subject: Source for beta 3 I've just downloaded Beta 3 binary, but unlike beta 2 there

HttpSession in ActionForm

2003-01-06 Thread Amit Badheka
Hi All, is there any way to get HttpSession object in the bean class that extends ActionForm. I am not using any of reset() or validate() etc. My bean class is having some business methods and some get and set methods. My requirement is to get some attribute from session object. Any help will

RE: HttpSession in ActionForm

2003-01-06 Thread shirishchandra . sakhare
Hi Amit, The clear way of doing this would be in the action class.So the action class should retrieve the data from session and set it on the beanThe bean itself should not have the logic of retrieving the data -Original Message- From: amit [mailto:[EMAIL PROTECTED]] Sent:

Help needed

2003-01-06 Thread Suresh Addagalla
Title: Message Hi, I have a login page. If the login fails, I want to show the errors next to the specific field (if username is wrong, the error is shown next to username field, etc.) I am using programmatic exception handling. try { service.authenticate(userName, password) ; } catch

RE: form encryption and Character encoding

2003-01-06 Thread Alireza Fattahi
Add a System.out.printlen to the do method of your filter, if nothing happens then this is a bug of your web server. We had used it without any problem with JRun 4.0. WEB.XML filter filter-nameSet Character Encoding/filter-name filter-classfoo.SetCharacterEncodingFilter/filter-class

No such tag notPresent in the tag library imported with prefix logic

2003-01-06 Thread Heather Buch
Hi all, It's good to be here. I've been searching in vain for a solution to an error that suddenly appeared at work today, though not at home last night. I just switched from struts 1.0.2 to 1.1-b3. I'm pretty sure I did a clean switch. I removed all my old .tld files and my old struts.jar. I

RE: Help needed

2003-01-06 Thread C.Bhaskaran
Title: Message put html:errors tag -Original Message-From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 4:30 PMTo: [EMAIL PROTECTED]Subject: Help needed Hi, I have a login page. If the login fails, I want to show the errors next to

[ANN] neteye actioncache 1.1

2003-01-06 Thread Felix Gnass
The neteye actioncache is a Struts extension that caches the result of actions and views. It can boost the performance of your website because time expensive operations like data retrieval, JSP processing or XSLT transformations are only performed when needed. The new release now uses the

RE: Source for beta 3

2003-01-06 Thread Steve Bosman
Thanks, got it now. Just so I appear less stupid :-) I was trying to follow the link from http://jakarta.apache.org/site/sourceindex.html which is broken. -- Steve Bosman Senior Programmer FW Pharma Systems Ltd, Four Brindleyplace, Birmingham, B1 2JB, UK Tel: +44 (0)121 616 5600Fax:

Re: Help needed

2003-01-06 Thread ashokd
MessageHi, If we displayed html:errors tag, All errors will display. If we want appropirate error we would get by using key (errors.add( userName, new ActionError(invalid.login) );) In above example userName is the key to get appropriage error message corresponding. In API we have method on

Problem in using of Tiles with Struts 1.0.2

2003-01-06 Thread ashokd
Hi, I am getting the following exception while starting of the application server. [5/2/02 22:03:18:389 GMT+05:30] 3dd27426 SystemOut U Parse Error at line 2 column 24: Element type component-definitions must be declared. But i defined this in tileDefinitions.xml

Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Title: Message Hi, I would like to know if Struts provides a custom tag for achieving if..then..else functionality. I can not use logic:equal because the data for me is NOT coming from either a bean or through the request. I just need to compare a variable. Is there any option apart from

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Siggelkow, Bill
I believe that the logic tags will work with a local variable -- anyway, if you don't want to use scriptlet, how did you create the local variable in the first place? -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 8:59 AM To: [EMAIL

Multibox and setter problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

RE: a couple of questions

2003-01-06 Thread Sri Sankaran
-Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 10:57 AM To: Struts Users Mailing List Subject: a couple of questions hey guys, using struts 1.1 beta 3 here with tomcat 4.1.18. pretty much a newbie with struts ...

RE: Date Formats

2003-01-06 Thread Siggelkow, Bill
Struts does not convert Strings to dates -- you neecx to do this in your ActionForm -- for example, you can have Display methods such as getDateDisplay:String setDateDisplay(String d) that perform the conversion to the internal Date type. -Original Message- From: usha [mailto:[EMAIL

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Well, as you guessed, I do have scriptlets. Now my effort is to minimize or remove them completely. And I tried to use logic with local variables, it worked. Thanks for that. And still, logic:equal offers only if..then; is there any way to simulate if..then..else? Thanks, Suresh -Original

URL to Download the tiles-blank-struts1-0.war

2003-01-06 Thread ashokd
Hi, From where I can download the tiles-blank-struts1-0.war . Can any one hlep me in this. Thanks Regards, Ashok.D - Original Message - From: AMIR-TAHMASSEB Marc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 06, 2003 7:44 PM Subject: Multibox and setter problem Hi

Repopulating a form after an error in Validate

2003-01-06 Thread Samir Shah
Hi I have a very frustrating problem. I have a form where I use a bean to prefill a form with a record, the data for which is obtained from a Javabean in the request object. Once a user is completed, I use the validate functionality in the ActionForm to see if the required fields were entered.

Re: Struts equivalent of if...else (newbie)

2003-01-06 Thread Affan Qureshi
Not in Struts itself but have you seen JSTL? it has a c:choose .. tag which does exactly what u r looking for. Affan - Original Message - From: Suresh Addagalla [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, January 06, 2003 7:18 PM Subject: RE: Struts

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Siggelkow, Bill
The Struts logic tags do not provide if...then...else -- you can certainly simulate that by using the not versions of the tags -- the if-then-else logic can be implemented like the following: logic:equal 'if' markup here /logic:equal logic:notEqual 'else' markup here /logic:notEqual The

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Sorry for the haste.. Logic:equal doesn't seem to be working with local variables... Suresh -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 7:49 PM To: 'Struts Users Mailing List' Subject: RE: Struts equivalent of if...else (newbie)

Re: Date Formats

2003-01-06 Thread samit.goyal
Hi Usha, You will have to assign the date field as String type in your Form.class file. However in the action you can convert the string date to any date type. you'll have to user java.text.SimpleDateFormat class. The syntax will be something like that java.text.SimpleDateFormat sdf = new

RE: Repopulating a form after an error in Validate

2003-01-06 Thread Sri Sankaran
-Original Message- From: Samir Shah [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:23 AM To: [EMAIL PROTECTED] Subject: Repopulating a form after an error in Validate Hi I have a very frustrating problem. I have a form where I use a bean to prefill a form

Re: HttpSession in ActionForm

2003-01-06 Thread samit.goyal
Sorry dear, not a perfect solution, but there is a workaround. guess, it may help you. if you use a validate method, there you can get the HttpSession object from the request. thereafter you can pass it to other methods... otherwise you may pass the session object when you call your business

Re[2]: Date Formats

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 9:16:15 AM, Bill wrote: SB Struts does not convert Strings to dates -- A nice why to deal with Date conversions though is to use BeanUtils.copyProperties(..) and make sure you have a bean(DTO) to hold the correct properties (ie. java.util.Date, etc ). You have to

RE: ModelJ - open-source EJB/Struts code generator for JBoss 3.x released

2003-01-06 Thread James Mitchell
Very nice Tom! I was able to build the sample.xml and deploy to JBoss (jboss-3.0.3_tomcat-4.0.5) in a matter of minutes. Great stuff!!! -- James Mitchell Software Engineer/Open Source Evangelist http://www.open-tools.org C makes it easy to shoot yourself in the foot; C++ makes it harder, but

Re: Repopulating a form after an error in Validate

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 9:23:04 AM, Samir wrote: SS The problem is when the user is sent back to SS the input screen on error, it is not finding the SS required Javabeans in the request object and is SS failing to create the form with the data. I know we started working on this on Friday.

Problem with ActionConfig.setInput() - Configuration is Frozen

2003-01-06 Thread Srinivas Bhagavathula
I am having a problem with the ActionMapping.setInput() which is throwing an illegal state exception and also says that the configuration is frozen. Not sure what is happening but what I am trying to do is set the input attribute dynamically in the action class. If an error occurs it is

Re: Repopulating a form after an error in Validate

2003-01-06 Thread Samir Shah
Ok, here are the relevant pieces of information !-- Step 1 Action, this takes you to form to edit -- actionpath=/gotoStep1 type=com.fdl.quoteweb.GotoStep1Action scope=request validate=true input=/quoteweb/welcome.jsp

RE: Struts in Action Unavailable at Amazon

2003-01-06 Thread Haseltine, Celeste
I ordered the Struts in Action book on Amazon in early Nov. I did go on backorder status, but I received my copy the week before Christmas. Perhaps they have a large number of people on backorder status as I was, and don't want to accept new orders until they have filled all of their current

Re: No such tag notPresent in the tag library imported with prefix logic

2003-01-06 Thread David M. Karr
Heather == Heather Buch [EMAIL PROTECTED] writes: Heather Hi all, Heather It's good to be here. I've been searching in vain for a solution to an error Heather that suddenly appeared at work today, though not at home last night. I just Heather switched from struts 1.0.2 to

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

Re: Struts equivalent of if...else (newbie)

2003-01-06 Thread David M. Karr
Suresh == Suresh Addagalla [EMAIL PROTECTED] writes: Suresh Sorry for the haste.. Suresh Logic:equal doesn't seem to be working with local variables... The logic:equal tag should work fine with scripting variables defined by scriptlets. You'd have to show us your code for us to

Re[2]: Repopulating a form after an error in Validate

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 10:46:10 AM, Samir wrote: SS Ok, here are the relevant pieces of information SS !-- Step 1 Action, this takes you to form to edit -- SS actionpath=/gotoStep1 SStype=com.fdl.quoteweb.GotoStep1Action SSscope=request

RE: PrePopulation of FormBean Values

2003-01-06 Thread pqin
I do it this way In your action class, instantiate a new ActionForm, populate values, and then request.set(yourformbeanname in struts conf xml, yourinstance). Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: ashokd

Default method to launch in a LookupDispatchAction

2003-01-06 Thread ROSSEL Olivier
Is there a way to tell to a LookupDispatchAction: if submit=button.add do add() if submit=button.delete do delete() else do process(); ? the last part (a default method to launch if you can find no method name in the Map) ---cut here--- This e-mail is intended only for the above addressee.

Struts Action Chaining

2003-01-06 Thread Karl Baum
I have implemented a Struts extension which easily allows for the chaining together of Action's based on Locale. I have posted the source, binary distribution, and some documentation. http://www.strutschaining.org Please take a look and let me know what you think. Thanks! Karl (I apologize

RE: Default method to launch in a LookupDispatchAction

2003-01-06 Thread Wendy Smoak
Is there a way to tell to a LookupDispatchAction: if submit=button.add do add() if submit=button.delete do delete() else do process(); Override the execute method in your LookupDispatchAction. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg49636.html -- Wendy Smoak

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread pqin
logic:equal = if...then logic:notEqual else Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: January 6, 2003 9:19 AM To: 'Struts Users Mailing List' Subject: RE:

Tiles Menu and Character encoding problem

2003-01-06 Thread Jim Theodoridis
Hi to all. I use the following definition about a menu on tiles-defs.xml ... definition name=.menu.programs path=/tiles/layouts/menu.jsp put name=title value=Êõñßùò Ìåíïý / putList name=items item value=Index link=/index.jsp

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

a tile question

2003-01-06 Thread Yan Zhu
hey guys, i am using struts 1 beta 3 on tomcat 4.1.18. i got a template and some tiles configured, here is my problem. i have an init.jsp, which contains things like this: %@ page language=java % %@ page import=com.infinity.framework.reflex.*% %@ page

Forward to self?

2003-01-06 Thread Jarnot Voytek Contr AU HQ/SC
In an action class, how can I get an ActionForward instance that represents the action currently executing? Thanks, -- Voytek Jarnot Quidquid latine dictum sit, altum viditur -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: a couple of questions

2003-01-06 Thread Yan Zhu
One, possibly hokie way, of doing this would be to use parameters in your resources. For example, say your error resource is defined as This makes the *entire* text of foo.error dynamic. excellent, that is awesome! no way to make individual prefix based on class though? :( I have a root

Re: Tiles Menu and Character encoding problem

2003-01-06 Thread Cedric Dumoulin
Hi, Have you specify the characters encoding at the beginning of your xml tiles config file: ?xml version=1.0 encoding=ISO-8859-1 ? Cedric Jim Theodoridis wrote: Hi to all. I use the following definition about a menu on tiles-defs.xml ... definition name=.menu.programs

RE: a couple of questions

2003-01-06 Thread pqin
The template is like a super class, include jsp is like a subclass, can you inherit super class imports in your subclass? No. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]]

RE: Forward to self?

2003-01-06 Thread ROSSEL Olivier
In an action class, how can I get an ActionForward instance that represents the action currently executing? No. But if that class was accessed for another class, you could have saved the ActionForward in the request/session to get it back in the target action. This e-mail is intended only

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

Re: Tiles Menu and Character encoding problem

2003-01-06 Thread struts
No. But U are right if I use ?xml version=1.0 encoding=ISO-8859-1 ? with the corect character font it works. Thanx. - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 06, 2003 6:35 PM Subject: Re: Tiles

Using ActionError without text messages

2003-01-06 Thread Eric Jain
Is their any way to make use of Struts validation mechanism without having to use resource bundles? The problem is that resource bundles only seem to work when allowing sessions is an option. Furthermore, I do not need error messages, just an indication which fields where not valid. In fact I can

Re: PrePopulation of FormBean Values

2003-01-06 Thread Dan Tran
A better way is to create a loadObjectAction with your form. Invoke the action, and populate the form, which is passed to your action, fill the form and forward it to your jsp page to display. The is no need to construct the form object and stick it back to the request. -Dan - Original

Why flush is not supported in a body of logic:iterate... ?

2003-01-06 Thread Zsolt Koppany
Hi, in a logic:iterate ... block I get always an exception saying: Illegal to flush within a custom tag... This is a problem for me because I want to execute either tiles:insert name=cb.bullet flush=true or out.flush(); What can I do? -- Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Default method to launch in a LookupDispatchAction

2003-01-06 Thread PILGRIM, Peter, FM
Rip the guts out of the `execute()' method in the LookupDispatchAction and then write your own new subclass of `DispatchAction' class to do it. Rgds Peter Pilgrim I am back! -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: 06 January 2003 16:07 To: '[EMAIL

Please Help! Nested form property attributes.

2003-01-06 Thread Paul Idusogie
Please Help! I have the following code snippet in a jsp page html:form action=/saveProfile.do focus=user.firstName scope=request . tr td width=17% height=25 html:text readonly=%=noDbPrivilegeInd% property=user.enrollDate size=10 maxlength=10/

Re: PrePopulation of FormBean Values

2003-01-06 Thread Scott Reisdorf
Well what if you have this scenario. You have a form that a user enters in data. The form then calls the action associated to it. In that action, you want to populate another object/bean with data so it can be displayed on the forwarded jsp page. With this case the Form that is being passed into

Need an id attribute on the HTML tags.

2003-01-06 Thread Alok Pota
We use the Javascript DOM method getElementById() a lot to identify the appropriate element on the page. What would it take to support the id attribute for the form elements. -Alok -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Need an id attribute on the HTML tags.

2003-01-06 Thread James Childers
We use the Javascript DOM method getElementById() a lot to identify the appropriate element on the page. What would it take to support the id attribute for the form elements. Reading the docs? http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html Hint: Look for styleId. -= J --

Re: No such tag notPresent in the tag library imported with prefixlogic

2003-01-06 Thread Heather Buch
Hi all, Thanks for the answer, that one was definitely my own dumb fault. In my hasty cutting and pasting during the upgrade, I did this in my web.xml: !-- Struts Tag Library Descriptors -- taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Mervin Williams
In your sample code you use the RowSetDataSource class. In what package is this class located? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 5:49 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Iterate tag with

Date Formatting

2003-01-06 Thread Samir Shah
Hi, I am trying to print a date on a jsp screen using the following bean:write name=recentProspect property=propLcts formatKey=date.format/ The property propLcts is a Calendar datatype I have defined the following in the applicaitonl.resources file date.format=MM/dd/ When the page is

Error key-value pairs

2003-01-06 Thread Alok Pota
Are error key-value pairs always read from a properties file? We store i18n error bundles (key-values) in the database. I would like to be able to read those values, cache 'em and then re-use those values using the ActionError and ActionErrors classes. Since I don't want the default mechanism of

Re: Please Help! Nested form property attributes.

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 12:44:38 PM, Paul wrote: PI rootCause PI java.lang.IllegalArgumentException: argument type mismatch at PI sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at PI sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 snip PI What do

RE: Iterate tag with ResultSet Example

2003-01-06 Thread James Mitchell
Craig wrote: ... I just checked in a change in commons-beanutils that can... ^ http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanuti ls/ -- James Mitchell Software Engineer/Open Source Evangelist http://www.open-tools.org C

xml/html/xsl/jsp and performance

2003-01-06 Thread Hu, Jinsong
Hi All, I am new to struts, and I have the following questions: We have a web application already in production, we use EJB in backend, servlet in front end, we did it this way, back end session bean will generate XML data, and pass to front end servlet, the servlet will call XSL

RE: Error key-value pairs

2003-01-06 Thread James Mitchell
Are error key-value pairs always read from a properties file? We store i18n error bundles (key-values) in the database. I would like to be able to read those values, cache 'em and then re-use those values using the ActionError and ActionErrors classes. If you want to pull from a

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Craig R. McClanahan
On Mon, 6 Jan 2003, Mervin Williams wrote: Date: Mon, 6 Jan 2003 12:16:04 -0600 From: Mervin Williams [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Iterate tag with ResultSet Example In your sample

RE: Please Help! Nested form property attributes.

2003-01-06 Thread Paul Idusogie
I modified the formbean and action class to accept a date string and it work Thanks Thanks Thanks. Sincerely, Paul Idusogie Email: [EMAIL PROTECTED] Tel: 651.714.8779 -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 12:42 PM To:

Struts-EL javadoc build errors

2003-01-06 Thread Chris Winters
Just a minor note: using the b3 source I had to change the javadoc Ant target in contrib/struts-el in the following ways to generate the javadocs: - change attribute 'packagename' to 'packagenames' - in attribute 'packagenames', change 'org.apache.struts.*' to 'org.apache.strutsel.*' Thanks

html:options question

2003-01-06 Thread Gus Delgado
I populate an html:option tag with a collection. I use the html:option to create a new user in my system and to edit a user in my system. html:select name=editUserForm property=accessType html:options collection=accessTypeList property=value labelProperty=label/ /html:select When doing

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Mervin Williams
You do mean RowSetDynaClass, not RowSetDataSource. Right? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 1:00 PM To: Struts Users Mailing List Subject: RE: Iterate tag with ResultSet Example On Mon, 6 Jan 2003, Mervin Williams

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Craig R. McClanahan
On Mon, 6 Jan 2003, Mervin Williams wrote: Date: Mon, 6 Jan 2003 13:30:51 -0600 From: Mervin Williams [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Iterate tag with ResultSet Example You do mean

Need logic:equal tag help

2003-01-06 Thread Jordan Thomas
Hi, I am wanting to use a logic:equal tag inside an interate tag like this logic:iterate id=permission name=permissions indexId=idx logic:equal scope=page name=idx value=request.permissionsSize blah blah... /logic:equal /logic:iterate Essentially the idx value comes from the

Re: html:options question

2003-01-06 Thread Heather Buch
I did something similar, with optionsCollection (which I like). Here is my code: logic:select multiple=true size=10 property=addchosencourseids logic:optionsCollection property=availablecourselabels label=availablecourseconcatenated value=availablecourseinstanceid/ /logic:select for

Re: html:options question

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD html:select name=editUserForm property=accessType GDhtml:options collection=accessTypeList property=value GD labelProperty=label/ GD /html:select GD Example. the options are Read-only, Admin, and Analyst that's the GD order of the

Re: Need logic:equal tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:41:02 PM, Jordan wrote: JT Hi, JT I am wanting to use a logic:equal tag inside an interate tag like this JT logic:iterate id=permission name=permissions indexId=idx JT logic:equal scope=page name=idx value=request.permissionsSize JT blah blah... JT

Re: html:options question

2003-01-06 Thread Gus Delgado
Thanks it work!. -Gus D. Rick Reumann wrote: On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD html:select name=editUserForm property=accessType GDhtml:options collection=accessTypeList property=value GD labelProperty=label/ GD /html:select GD Example. the options are Read-only,

RE: Need logic:equal tag help

2003-01-06 Thread James Turner
This is (unfortuantely) another one of those gotta use JSTL things. The value clause in a logic comparison has to be a literal. So you either need to drop the value in dynamically with %= tags, or give in to the Dark Side (major :-) and do it in JSTL. James (Who's in the middle of converting a

Re[2]: Need logic:equal tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:59:41 PM, Rick wrote: RR Did you try: RR logic:iterate id=permission name=permissions indexId=idx RRlogic:equal name=permissionsSize value=idx RR blah blah... RR/logic:equal RR /logic:iterate Sorry to have tried to help so soon, the above that

Re[3]: Need logic:equal tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 3:26:26 PM, Rick wrote: RR To avoid the scriplet though I think you are going to have to use the RR logic-el tag, but possibly someone else has a better solution. Actually logic-el wouldn't be what you want either. I think if you just used the JSTL choose and when

Getter/Setter for properties with multiple values (newbie)

2003-01-06 Thread Alok Pota
Have an html form with key-value pair text boxes table % for (int i = 0; i 10; ++i) { % tr td html:text property=key/ /td td html:text property=value/ /td /tr % } % /table How do I get/set the key and value property in my ActionForm

Re: Struts-EL javadoc build errors

2003-01-06 Thread David M. Karr
Chris == Chris Winters [EMAIL PROTECTED] writes: Chris Just a minor note: using the b3 source I had to change the javadoc Ant target Chris in contrib/struts-el in the following ways to generate the javadocs: Chris - change attribute 'packagename' to 'packagenames' Chris -

Why flush is not supported in a body of logic:iterate... ?

2003-01-06 Thread Zsolt Koppany
Hi, in a logic:iterate ... block I get always an exception saying: Illegal to flush within a custom tag... This is a problem for me because I want to execute either tiles:insert name=cb.bullet flush=true or out.flush(); What can I do? -- Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL

Accessing static constants with EL

2003-01-06 Thread Justin Ashworth
Hope you're all doing well in the new year. I am just starting to use EL syntax so this question may be very basic. I have an interface which contains many public static final variables that I would like to be able to access with the EL tags. For regular tags that support rtexprvalues, I would

RE: Why flush is not supported in a body of logic:iterate... ?

2003-01-06 Thread James Childers
According to JSP 1.2 spec, 10.2.1: The buffer size of a BodyContent object is unbounded. A BodyContent object cannot be in autoFlush mode. It is not possible to invoke flush on a BodyContent object, as there is no backing stream. In other words, it is illegal to perform flushes from within a tag

Re: Accessing static constants with EL

2003-01-06 Thread David M. Karr
Justin == Justin Ashworth [EMAIL PROTECTED] writes: Justin Hope you're all doing well in the new year. Justin I am just starting to use EL syntax so this question may be very basic. I Justin have an interface which contains many public static final variables that I Justin would

Re: PrePopulation of FormBean Values

2003-01-06 Thread Curtney Jacobs
Hi, this has been discussed before. Do a search on the list archive _CJ. On Thursday 02 May 2002 10:23 am, ashokd wrote: Hi, How to propopulate the Form values in a Form (which is using the Struts FormBean) The scope of the FormBean is request. Please provide an example on this.

RE: Why flush is not supported in a body of logic:iterate... ?

2003-01-06 Thread Joe Barefoot
Pardon if this is a silly question, but why would you need to explicitly call flush() anyways? --joe -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 1:59 PM To: struts mail list Subject: Why flush is not supported in a body of

scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am using the html:option tag I must set the scope of the parent form to session for the tag to generate the correct selected = selected Html on the page when the form is submitted (it is bouncing back to the same page) Why is this? The request hits the server with the values in it The

[OT] [ Lets Do The Timewarp Again] Re: PrePopulation of FormBeanValues

2003-01-06 Thread Peter A. Pilgrim
ashokd wrote: Hi, Why is your mail creation time set to 02/05/2002 ? Subject: PrePopulation of FormBean Values Date: Thu, 2 May 2002 15:53:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer:

Validator problem with optional fields

2003-01-06 Thread Mader, Cary J
I'm using the validator with Struts 1.1b3. The release notes say that b3 fixes an issued with validator that I was having problems with in b2...where all validations are treated as required. The problem I was having with the date validator has gone away, but I'm still seeing the same problem

Re: scope

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 6:57:15 PM, ex1) wrote: LDHBe The jsp containing the html:option tag is the last thing the request is LDHBe forwarded to The forwarded page does not have access to the request any longer. If you want to have access to what was selected on the form page and then

RE: scope

2003-01-06 Thread Joe Barefoot
LDHBe The jsp containing the html:option tag is the last thing the request is LDHBe forwarded to The forwarded page does not have access to the request any longer. I think you mean on a redirect. JSPs that are forwarded to definitely have access to the HttpServletRequest object; that's

Taglib questions

2003-01-06 Thread Damm, Gary
I'm relatively new to Struts and I'm looking for an existing tag lib to do the following actions (I would like to avoid adding Java code to my JSP's): HTML Tables 1. Alternate row color for each row of an iteration. 2. Next/Previous links for a large collection that is being iterated

  1   2   >