Pager tag library

2001-06-29 Thread Biggs
Greetings, Has anyone successfully used the pager tag library from www.jsptags.com within a form? What I currently have is a page that contains a form that allows the user toperform a search for a customer, based upon there criteria we return the results (in a collection) and display this

Strange Problem using JavaScript and HTML:Submit Tag

2001-06-29 Thread Sandeep . Yawale
Hi All, I have encountered the strange problem when I used Javascript to submit the form. 1. In my case, I have one hyperlink namely Add Employee, when user clicks that hyperlink, I use Javacript for setting the value of one hidden variable and to submit the form subsequently. 2. In the

Re: Pager tag library

2001-06-29 Thread Oleg V Alexeev
Hello Biggs, Friday, June 29, 2001, 10:27:40 AM, you wrote: B Has anyone successfully used the pager tag library from www.jsptags.com within a form? What I currently have is a page that contains a form that allows the user to perform a search for a customer, B based upon there criteria we

RE: Something strange about iterate tag

2001-06-29 Thread Laurent Delvaux
Yes, I have one! It is the only place where it didn't work in my entire site! -Message d'origine- De : David Winterfeldt [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 28 juin 2001 16:02 À : [EMAIL PROTECTED] Objet : Re: Something strange about iterate tag Do you have a setObjectives method

SOLVED!!!: IAS 6.0 SP2 and struts TAGLIB error

2001-06-29 Thread Brandon, Raymond
FYI, The following describes how to solve the error below, make sure you don't make the same mistake as I did! When writing your jsp page with the following: html /html iPlanet Application Server 6.0 SP2 will show the exception below: Class was not found for :html Prevent this by

RE: Something strange about iterate tag

2001-06-29 Thread guido . roth
Hi The Struts documentation states that the result of the getter must be a 'java.util.Collection'; String[] is no Collection. Regards, Guido Laurent

Does someone has experience implementing automatic properties?

2001-06-29 Thread Marcel Andres
Hello I started to implement some automatic properties according to the information from Thor Kristmundsson on the following web-page: http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts.html. Now, I got to the point, that I figured out, Thor used method/classes, which are

Extra: SOLVED!!!: IAS 6.0 SP2 and struts TAGLIB error

2001-06-29 Thread Brandon, Raymond
Folks, A correction on the cause of the bug. If a JSP defines a prefix with the same name as a literal HTML-tag like html, body, head, etc.,you'll run into this problem. E.G: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html ... /html Since the code in the JSP is case sensitive,

request for an html:errors property=value indexed=true tag

2001-06-29 Thread Jakob Flierl
Hello struts-user, hi Dave, We've got a html:text name=attribute property=value indexed=true/ tag in our html:iterate tag. What we now need, is a html:errors name=attribute property=value indexed=true/ tag, so we can display an error message in the appropriate formular entry. Did anyone

Error: cannot load servlet name

2001-06-29 Thread Alan Inser
Hello, Like the struts-exemple with the 'database' servlet, I initialize a servlet that will load a list of codes and then place it in the servlet context. When I run Tomcat, I receive the following error: ... 2001-06-29 01:12:19 - Ctx( /regbl ): Loading 1 codes cannot load servlet name:

RE: No action

2001-06-29 Thread Firmin David
It also might be worth double-checking that your ListServicesAction class extends the org.apache.struts.action.Action class. If it doesn't, action creation will definitely fail, yielding the error you're seeing. HTH Dave -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL

attributes in the Bean Logic tags - Help

2001-06-29 Thread Jonathan Asbell
I have been looking at the documentation and I am still not comfortable with understanding what certain attributes represent in the Bean Logic tags. I am particularly confused with nested tagsand these attributes: id= name= property= Could one of you kind gentlemen help with a concise

Non-Web-based Application with STRUTS

2001-06-29 Thread Andreas Dejung
Hi there I have done some prototyp with Struts. Now a new requirement is that the application runs not only with a Broser. It should also run with a fat java client. Has somebody experiences with this? Is it possible? and if yes, with what kind of architecture? I very intressted in your

html:options

2001-06-29 Thread Stefan Faist
Hi, I have a ArrayList in a xxxAction and make a session.setAttribute(list, list);. How can I access to this array from the forward jsp-site? In this jsp-site I have a fallowing: html:select property=list html:options collection=list property=value labelProperty=lable/ /html:select What

name and value

2001-06-29 Thread Kiet Nguyen
I'm sure someone had this problem. I have a dropdown box with items having name and value ([name=apples, value=1]). Upon submit, the selected value is stored in the form. Then on the confirm page, the selected value is displayed. But on the confirm page I want display the name of the selected

RE: Non-Web-based Application with STRUTS

2001-06-29 Thread Rey Francois
I have no experience with this but the TCF from IBM may be of help. It is based on MVC so perhaps you can combine it with Struts MVC. Fr. ::: Thin-Client Framework Thin-Client Framework (TCF) is a framework and design/development approach that makes it easy to rapidly develop high function,

RE: Non-Web-based Application with STRUTS

2001-06-29 Thread Marcel Andres
In my opinion: forget about struts for a fat client. You can't use the advantage of the taglib within a fat client. You need to work with AWT/Swing to create an application for a fat client. But, I would be interested if someone has a good idea how this two things fit together. Marcel

Re: Non-Web-based Application with STRUTS

2001-06-29 Thread Michelle Popovits
Andy, Perhaps you could create your application as an EJB application where the application state, business logic, data access are all managed by the EJB tier. Create a set of workflow 'Session Facade' session ejb's to be your interface between your various clients and your ejb business tier.

RE: newbie question (again)

2001-06-29 Thread Tim Buchalka
Hi there Tiff, I'll prefix my recommendations by saying I am far from an expert with the struts framework, but I have managed to get a simple app up and working, so hopefully I can help you out a bit. I think the problem may be that you have not defined any actions for your application (I could

Re: Strange Problem using JavaScript and HTML:Submit Tag

2001-06-29 Thread Peter Alfors
The html:submit tag sets the submit name to submit. JavaScript gets confused when an object (your submit button) has the same name as a javascript method you are trying to call. If you set the submit name to something else, like btnSubmit, it will work fine. HTH, Pete [EMAIL PROTECTED]

RE: Non-Web-based Application with STRUTS

2001-06-29 Thread Nanduri, Amarnath
I think it is possible. You can have a fat client talk to the Action servlet all the time and the Action Servlet forwards the response to the fat client all the time. this way you can use the struts architecture. I don't have experience with this but i think this will involve designing your

Re: struts with jboss problems

2001-06-29 Thread jorisumu
Well Maybe is not entirely a JBoss problem. JBoss by nature is just an app server that supports perfectly the deployment of EJBs, but I believe it uses an implementation of Tomcat web app server for the web layer on your application ( correct me please if I'm wrong! ;-) ). So it might be

Re: Are there problems with Struts w/o an internet connection?

2001-06-29 Thread Bill Clinton
Hello, I am still wondering on this one In a future release, would it be possible to include all necessary DTD files with the struts release? I don't like the idea of a methodology that requires both the Apache and Sun sites to be up in order for my app server to start. Is this

Re: Custom tag question

2001-06-29 Thread Peter Alfors
If your question is just - Is it possible? Then the answer is Yes. However, if you are asking for the current tags to implement this, that is a totally separate question. That would take some re-work. Pete Aapo Laakkonen wrote: Is it possible to have custom tags that can have both child

Invalid Package Declarations! .java file won't compile.

2001-06-29 Thread Chuck Amadi
Hi, Can anyone suggest why i might be recieving the following invalid package declarations. My Path as follows. C:\jakarta-tomcat-3.2.1\webapps\bbnpa\ thus continued- WEB-INF\classes\org\breconbeacons\it\java(classes). Thus i am aware that they haven't compiled to .class file any help would be

Antwort: Re: STRUTS and EJB

2001-06-29 Thread dirk . osterkamp
I think UDDI and WSDL are just things on top of ejb's. They are for the outside world to access business oriented services to other applications or to people who want to access your apps with a different frontend. If you have apps that access something via soap, where is the apps which

Struts with different User-Agents

2001-06-29 Thread Sean
Hello All, Had a few questions I was looking for some possible help on. I am in the process of developing a web application that needs to render different views based on the users browser type and the version number of that browser. It is pretty easy to parse out the User-Agent field of the

Re: attributes in the Bean Logic tags - Help

2001-06-29 Thread Oleg V Alexeev
Hello Jonathan, Friday, June 29, 2001, 4:09:04 PM, you wrote: JA I have been looking at the documentation and I am still not JA comfortable with understanding what certain attributes represent JA in the Bean Logic tags. I am particularly confused with nested JA tags JA and these

Using non-form beans in a form...

2001-06-29 Thread Dallas_Browning
I can create an html form and associate a bean with it (i.e. html:form name=Bean type=com.package.Bean). When I do this, I am happy to see all of my form fields populated with values that they retrieve from the getters in the bean. However, when I update those values, it appears that I have to

RE: Custom tag question

2001-06-29 Thread Anthony Martin
Hey, good idea: +1 :P But I imagine it'd have to me more likes: bean:message key=text.welcome bean:message-arg0bean:write name=un property=firstname//bean:message-arg0 bean:message-arg1bean:write name=un property=firstname//bean:message-arg1 /bean:message Anthony -Original

Re: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Rama Krishna
yes niall, it's name of hindu god. but i am just a human ;-) pual, did it help you??? - Original Message - From: Niall Pemberton [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 8:31 PM Subject: RE: multiple form fields (I HATE CTRL-S ) Paul,

indexing in tag 'iterate'

2001-06-29 Thread guido . roth
Hi I need a form representing a two-dimensional array of input fields. Can anybody tell me what the appropriate solution in Struts 1.0 looks like? Despite numerous attempts to solve this with Struts, I did not succeed. My attempted solution (in fact, one of them) looks like that ('account',

How to implement a done button

2001-06-29 Thread Matt Raible
I have the following situation: A user logs into my application and is presented with a main menu. From there, they click on a link to view a search screen. The search screen uses html:form to submit the parameters of the search back to itself and display the results below the search criteria.

RE: validation

2001-06-29 Thread Gogineni, Pratima
On second thoughts ...I guess if there is some validation common to all the actions its probably better to place it in the actionform even if it means looking at information outside the view/form itself? -Original Message- From: Gogineni, Pratima Sent: Friday, June 29, 2001 9:41 AM To:

RE: Using non-form beans in a form...

2001-06-29 Thread Anthony Martin
That's why Struts supports nested beans. Just make a form-bean that handles your non-form bean. I hope this is you're talking about, just ignore my references to interface and read Tony's message: @see: http://marc.theaimsgroup.com/?t=9923099142w=2r=1 Anthony -Original Message-

RE: Custom tag question

2001-06-29 Thread Anthony Martin
to me more likes...stinking one handed keyboard... -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Friday, June 29, 2001 8:46 AM To: '[EMAIL PROTECTED]' Subject: RE: Custom tag question Hey, good idea: +1 :P But I imagine it'd have to me more likes:

Re: Using non-form beans in a form...

2001-06-29 Thread Thomas Peters
Try looking at the BeanUtils.copyProperties method call... Thomas Peters Senior Consultant Aidera Solutions Telephone: 603-888-7700 Mobile: 603-566-5406 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 11:45 AM Subject: Using non-form

RE: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread dhay
Hi Paul. Just got in (tied up this am). Agree with everything that Niall said. Just wanted to confirm that you don't get an error when you actually BUILD Struts? ie you get the error when you try and use the tag, and check that you have copied the struts-html.tld into your directory too?

Struts 1.0 Final Migration Errors

2001-06-29 Thread Assenza, Chris
All, I'm upgrading our app from Struts 1b1 to Struts 1.0. Unfortunately, nothing in our app seems to be working, so I went back a step and tried deploying the struts-example.war file and received the same error when trying to "logon" in the demo. We're using JBoss 2.0 w/ Tomcat 3.2b7

Using the logic:equal tag in collection

2001-06-29 Thread Steve Taylor
I am using the iterate tag to display the results from a query to a database. logic:iterate id=echaResults name=phsEchaSummaryForm property=echaResults tdbean:write name=echaResults property=id//td tdbean:write name=echaResults property=caseDate//td tdbean:write name=echaResults

Re: Struts with different User-Agents

2001-06-29 Thread Ned Seagoon
Hi Sean, we've done this here, targetting various platforms. what we had to do was: build template action that automatically checks for browser and sets a session bean with the type wraps the mapping up an a class called MapperEx which when somebody does a findForward, stick the platforms

Re: indexing in tag 'iterate'

2001-06-29 Thread Becky Moyer
This is mostly a guess, but in the iterate tag's description, it states that the indexID must be a pagescope bean. I think you must do something like: % int entryId=0; pageContext.setAttribute(entryId, entryId, PageContext.PAGE_SCOPE); % And this will initialize an entryId int and place it into

Re: indexing in tag 'iterate'

2001-06-29 Thread Becky Moyer
I got this completely working in a test, so if you need more help then to put entryId as an Integer equalling 0, let me know. Oh, and if you couldn't figure this out, when you use it as an index, it will come out as an Integer value, and you'll need to say something like: tdhtml:text

RE: Custom tag question

2001-06-29 Thread Tim Moore
I think that's a great idea. And to go one step beyond, you wouldn't have to call the child elements arg0, arg1...you could just use arg (or probably something like bean:arg). -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW/ 5th Floor / Washington, DC 20036 Phone

RE: Using the logic:equal tag in collection

2001-06-29 Thread Anthony Martin
Why not make this a function of the perform() method? Is caseDate a String or Date? If it's a String, just assign nbsp; (if it's in a table) or (if it's not). If it's a Date, assign something like 01/01/1980 then test for it with logic:equal in the JSP. Anthony -Original Message-

RE: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Paul Beer
i got it all compiled. i think it wasnt compiling just becasue there were older versions of some of the java files.. versionitis. anyway, Ive got a vector iteration working, but I am still struggling getting the vector values to display in the html tag. i get a Unable to Find Method error. Is

Re: validation

2001-06-29 Thread Rama Krishna
perhaps, you first thought seems to be valid. - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 9:44 AM Subject: RE: validation On second thoughts ...I guess if there is some validation common to all the actions its

Re: request for an html:errors property=value indexed=true tag

2001-06-29 Thread dhay
Hi Jakob, This would be somewhat different to all the other tags, and trying to get my head around this, and how it would work in practice. Specifically, how would you see adding an error to the ActionErrors that you want to display later for a particular attribute? In the errors tag, I can

problems with iteration

2001-06-29 Thread Rama Krishna
hi all, this is my jsp code and i want to display this vector of vectors in text fields with each inner vector in a row and each element in innervector in a textfield can anyone tell me how do i do this??? logic:iterate id="outer" name="myBean" property="records" logic:iterate

Re: newbie question (again)

2001-06-29 Thread Tiffany Dodge
Hello, I added a htmlform command to my jsp and created a Form and Action object, but I got the same error. :( Here's everything again. I would very much appreciate any suggestions/comments as to why things aren't working. (FYI, I am using WebLogic 5.1 with SP8.) Thanks in advance, Tiff

Opening another window from Struts

2001-06-29 Thread Tom Miller
Hello I'm trying to open a new window (without a location bar) from within my Struts application. I don't want the users to be able to page forward and back, etc. while they are on that new page editing a record in my database. I know how to open new windows via Javascript, but I'm unsure of

Re: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Rama Krishna
i do have the same problem. i can get to display it with bean:write but struck up when displaying in text fields. can anyone help us??? - Original Message - From: Paul Beer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 12:26 PM Subject: RE: multiple form fields (I

RE: Using the logic:equal tag in collection

2001-06-29 Thread Steve Taylor
Thanks Anthony. The caseDate is a string and my intention is to write out nbsp; where the caseId is repeated. I believe all the logic has to go in the jsp, since it is just a presentation issue (perhaps I am wrong though). This what my jsp looks like now... % String a=0;% logic:iterate

Re: newbie question (again) - Solved

2001-06-29 Thread Tiffany Dodge
I was deploying the webapp with the expanded directory structure (not as a .war file)and didn't have struts.jar or WEB-INF/classes in WebLogic's classpath. Once I added both to WebLogic's classpath, all was well. :) Thanks, Tiff Tiffany Dodge [EMAIL PROTECTED] wrote: Hello, I got the

RE: Using the logic:equal tag in collection

2001-06-29 Thread Steve Taylor
You have gotta love the mail archive. The following item answered all my questions: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg09813.html Now my code looks like the following: % String s = 0; % logic:iterate id=echaResults name=phsEchaSummaryForm property=echaResults

RE: Opening another window from Struts

2001-06-29 Thread Anthony Martin
I used frames briefly, to show the UI team it was possible. I mainly showed them how to make submits show up on a different frame, which is not quite what you're talking about: html:form action=editThingy target=overThere . . . /html:form It worked, and I stopped

Report to Recipient(s)

2001-06-29 Thread Paladin
Incident Information:- Originator:Anthony Martin [EMAIL PROTECTED] Recipients:'[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Opening another window from Struts Message from Anthony Martin [EMAIL PROTECTED] was quarantined because it contained banned content.

setting properties on nested collections

2001-06-29 Thread troy hart
I know there has been talk around this subject, if it hasn't been addressed directly, but I can't seem to find the answer that will work. My problem: I have a bean (instance of an ActionForm), lets call it OrderForm. It has an ArrayList of LineItem objects, and each LineItem contains ArrayList

Report to Recipient(s)

2001-06-29 Thread Paladin
Incident Information:- Originator:troy hart [EMAIL PROTECTED] Recipients:[EMAIL PROTECTED] Subject: setting properties on nested collections Message from troy hart [EMAIL PROTECTED] was quarantined because it contained banned content.

RE: beans and scope

2001-06-29 Thread Gangadharappa, Kiran
if it is session scope, When will the bean get destroyed? Does it have to wait till the session is ended? What I mean is , isnt there any way to control the lifetime of this bean say programmatically? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: setting properties on nested collections

2001-06-29 Thread Paul Beer
this is a mystery. I gave up trying to use the html bean tags and just named my input fields w/syntax : FIELDNAME[INDEX] . let me know if you figure out a cleaner way to do this. there is a tag extension that allows you to set a flag indexed=true that names your input fields accordingly but

Report to Recipient(s)

2001-06-29 Thread Paladin
Incident Information:- Originator:Paul Beer [EMAIL PROTECTED] Recipients:[EMAIL PROTECTED] Subject: RE: setting properties on nested collections Message from Paul Beer [EMAIL PROTECTED] was quarantined because it contained banned content.

Re: beans and scope

2001-06-29 Thread troy hart
You could do the following in, say, one of your action classes to remove a session scoped bean called foo request.getSession().removeAttribute(foo); - Original Message - From: Gangadharappa, Kiran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 5:52 PM Subject: RE:

RE: multiple form fields (I HATE CTRL-S )

2001-06-29 Thread Niall Pemberton
Rama, Paul Hadn't tried Vector of Vectors before and this isnt a very elegant solution, but it works. Basically I resolved it by sub-classing Vector to create a VectorBean (adding getValue/setValue methods) and generating the name in the format name=grid[x].value[y].value My suggestion would

RE: beans and scope

2001-06-29 Thread Niall Pemberton
Yes it will hang around until the end of your session unless you remove it. Theres an example of this in the strust example SaveRegistrationAction class. session.removeAttribute(mapping.getAttribute()); Niall -Original Message- From: Gangadharappa, Kiran [mailto:[EMAIL PROTECTED]]

Re: Struts 1.0 Final Migration Errors

2001-06-29 Thread Rick Smith
Chris, I don't know the exact cause but I think you're on the right track if not exactly right. I upgraded JBoss/Tomcat to JBoss 2.2 and Tomcat 3.2.2 and don't have this problem. Rick Assenza, Chris wrote: All, I'm upgrading our app from Struts 1b1 to Struts 1.0. Unfortunately,

Re: Opening another window from Struts

2001-06-29 Thread Tom Miller
Anthony Well, your frames example may be very useful to me in another context. So does the output generated in the form get displayed on the target frame? I'm doing my own paging, a specialized calendar list, and I'd like to paint the pages in a frame instead of flashing the entire window every