Re: Problem in displaying ValueObject contents using logic tag

2004-01-03 Thread Nisith Dash
yoyu have to specify the class name of the value object in the type attribute of the iterate tag. this will solve the problem - Original Message - From: Sudhakar G [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 02, 2004 12:13 PM Subject: Problem in displaying ValueObject

struts vs. portal framework

2004-01-03 Thread Naresh Agarwal
Hi I'm new to the world of web application/portals. What is the difference between struts and a portal framework like jetspeed? thanks, Naresh

RE: logic:messagesPresent do not show messages

2004-01-03 Thread stefan . berger
Dear Ivan Thanks for your answer. But this solution works for ActionErrors ! My question was about ActionMessages. My ActionErrors are working the old way. But my Problem still are the ActionMessages. I saw this lesson as well, but it was not my solution. Do u have another idea. How to solve

[FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2004-01-03 Thread Ted Husted
Last time (which was some time ago), we asked contestants to identify the title and author of a seminal paper regarding artificial intelligence published by the journal MIND in 1950. Our bonus question regarding a tangentially related story by Harlan Ellison (gotta love Harlan). As many

Paging for table...

2004-01-03 Thread vasudevrao gupta
Hi, I have a requirement where in user executes a query and gets some x number of records. I have to show the user 1-y records per page and when user clicks next button, he should be be able to see next y number of records.(Similar to yahoo site ). Can any one pls tell me if struts frame work

Re: dynamic input fields

2004-01-03 Thread Mark Lowe
What does your action form look like? The jsp should look something like this logic:iterate id=lotes name=meusLotes html:text name=lotes property=valor indexed=true / /logic:iterate Cheers Mark On 3 Jan 2004, at 03:22, Otávio Augusto wrote: I need to generate html:text fields on demand. If i

Re: [FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2004-01-03 Thread Martin Gainty
Project Practices as whole Team Project Practices used for the Planning Game Project Practices implements Small Release deliverables Project Practices implements Customer Tests Programmer Practices in Simple Design Programmer Practices in Pair Programming Programmer Practices development which is

Re: DynaActionForm question

2004-01-03 Thread Mark Lowe
Not sure if its deprecated but i always use action path=/foo name=myForm .. rather than attribute which i don't know anything about. Cheers Mark On 2 Jan 2004, at 20:44, Sifuentes, Ben wrote: I have been trying to do the following: form-bean name=searchForm

RE: DynaActionForm question

2004-01-03 Thread Matthias Wessendorf
hi, attribute: Name of the request-scope or session-scope attribute that is used to access our ActionForm bean, if it is other than the bean's specified name. Optional if name is specified, else not valid. if you have something like this: action path=/foo

Re: Howto answer: Validate two input forms (PDA and 1024x768) for same Action

2004-01-03 Thread Iain Sanderson
Answered my own question. action path=/SchedChoiceActions type= com.medtrix.orview.orstat.schedule.SchedChoiceActions name= SchedChoiceForm validate=true scope=request parameter=livemethod input=/schedule/schedchoices.jsp / and action path=/PdaSchedChoiceActions type=

Re: DynaActionForm question

2004-01-03 Thread Mark Lowe
Nice... So the attribute attribute lets you override the the attribute name when the setAttribute method is called, rather than using the default form name. Thanks Mark On 3 Jan 2004, at 14:13, Matthias Wessendorf wrote: hi, attribute: Name of the request-scope or session-scope attribute

Re: struts vs. portal framework

2004-01-03 Thread Ted Husted
IMHO, Jetspeed isn't a framework per se (or wasn't last time I looked). It's an application that you can customize for your own use. You can write custom components for Jetspeed to use, but you're really plugging things into Jetspeed, the way you plug things into an IDE, like Eclipse or IDEA.

RE: Paging for table...

2004-01-03 Thread David Friedman
I use displaytag, www.displaytag.org, for that. Regards, David -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 7:40 AM To: 'Struts Users Mailing List' Subject: Paging for table... Hi, I have a requirement where in user executes a

RE: Paging for table...

2004-01-03 Thread vasudevrao gupta
.Can you please send across the sample code that you have developed??? -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: 03 January 2004 20:57 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Paging for table... I use displaytag, www.displaytag.org,

RE: Paging for table...

2004-01-03 Thread David Friedman
The site I gave you, www.displaytag.org (with source and binaries available from SourceForge.net), lists plenty of examples and code. Basically, you have a collection of objects (usually in request or session scope, but you can do it in page scope) and set your tag with the columns. From their

Design Questions

2004-01-03 Thread Scott McClure
I am trying to design a basic struts application, and I would like the opinion of those on the list about some design questions. First, I was thinking about using a single UserForm to validate all forms relating to a user, for instance. The problem is, is that some fields would not be

RE: Design Questions

2004-01-03 Thread Guillermo Meyer
This is our experience using DispatchAction. I'll try to summarize: Our application uses DispatchAction. In fact, we have one action for each use case. All administration use cases (Operators admin, accounts admin, banks admin, etc) uses actions that extends from an AdministrationBaseAction. This

how to compare two string variables most efficiently? (logic:equal does only variable vs. string constant?)

2004-01-03 Thread Ralf Hauser
Hi, So far, my logic:equal tags only compare variables with constants. I guess with doing some playing jsp with the value attribute along the lines of value=%= myClass.getVariable % I could get there, but what is the recommended way? Rgds Ralf

html:button

2004-01-03 Thread Otávio Augusto
Small question: what is (or what means) the property attribute i have to add when using the html:button tag? Thanks Otávio Augusto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:button

2004-01-03 Thread Mike Deegan
property = the name assigned to the generated input field - Original Message - From: Otávio Augusto [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 03, 2004 12:49 PM Subject: html:button Small question: what is (or what means) the property attribute i have to add when

Re: html:button

2004-01-03 Thread Otávio Augusto
That means I have to add, in my FormAction, a field corresponding to the button in the jsp? On Sat, 3 Jan 2004 13:24:55 -0700 Mike Deegan [EMAIL PROTECTED] wrote: property = the name assigned to the generated input field - Original Message - From: Otávio Augusto [EMAIL PROTECTED]

RE: html:button

2004-01-03 Thread David Friedman
Otávio, When you set your property to, say, 'property=something', it gets invoked as 'form.getSomething();'. Regards, David -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 3:33 PM To: Struts Users Mailing List Subject: Re: html:button

Re: html:button

2004-01-03 Thread Otávio Augusto
hmm,now I got it. By the time I had this doubt, I was using input button the html way. The html:form action=someAction defines the Action class I want to execute to process the fields. If using the simple html button, what corresponds to the property attribute? I'm used to apply the property

RE: html:button

2004-01-03 Thread David Friedman
Otávio, Perhaps the documentation would be of better use at this point. You can find details of the html taglib and descriptions of the available attributes at: http://jakarta.apache.org/struts/userGuide/struts-html.html According to that page, though it might relate specifically to the nightly

Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
The statement shown below encountered a ClassCastException: PostForm postForm = ( PostForm )form; I cannot figure out the reason. Please help. Allow me to show more code of the class where the exception occurred: ... import org.apache.struts.action.Action; import

Re: Please Help - ClassCastException

2004-01-03 Thread Pedro Salgado
On your struts config file check if the form bean for StoreMessage action is of type pkg.pkg.PostForm and if the action name is pointing to the correct form bean... It also seems to be missing the import of the PostForm on your action class. Pedro Salgado On 04/01/2004 03:22, Caroline Jen

Re: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
Thank you for trying to help. I have added import org.apache.artimus.message.PostForm; to my action class. I do not fully follow what I should check in the struts-config.xml file. And should I use name=postForm with lowercase 'p' or uppercase 'P'? In my struts-config.xml file, I have:

RE: Please Help - ClassCastException

2004-01-03 Thread David Friedman
Here is what I see (opinions vary)... I see you are defining your form bean in your struts-config.xml as type 'org.apache.struts.validator.DynaValidatorForm'. So, why are you trying to cast it as this 'org.apache.artimus.message.PostForm' class. Does that class extend DynaValidatorForm? If it

RE: Paging for table...

2004-01-03 Thread rahul.chaudhary
Check for paging taglib available for struts which will meet your requirements. Rahul -Original Message- From: Vasudevrao Gupta M V S S S (WT01 - UTILITIES) Sent: Saturday, January 03, 2004 8:57 PM To: 'David Friedman'; 'Struts Users Mailing List' Subject: RE: Paging for table...

RE: Paging for table...

2004-01-03 Thread David Friedman
Rahul, What is this paging taglib? Do you have a url? Curious, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 12:15 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Paging for table... Check for paging taglib

RE: Paging for table...

2004-01-03 Thread rahul.chaudhary
David, Check for the details on http://www.servletsuite.com/servlets/pagertag.htm Rahul -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 10:48 AM To: Struts Users Mailing List Subject: RE: Paging for table... Rahul, What is this paging

RE: Please Help - ClassCastException

2004-01-03 Thread Caroline Jen
I think that there are a lot more mistakes in my code than I originally thought. The root of the problem is that I do not know how to use DynaValidatorForm. If you could help me in learning how to code when I am working with DynaValidatorForm. 1. in my struts-config.xml, I have:

RE: Please Help - ClassCastException

2004-01-03 Thread Joe Hertz
Well, first off: In your (dyna) form, you don't create setters and getters for the properties though. With DynaForms you would say set(myPropertyName, myString) instead of calling setMyPropertyName(myString). This is the Dyna part of DynaForms. It's much less tedious IMHO. In your action, you