Brian reckinger

Greenhorn
+ Follow
since Feb 26, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Brian reckinger

Howdy,

I am converting an existing WebSphere 5.1 FrontController servlet application to Struts. The infrastructure is very simple and just receives requests, wraps the request in an MQ message and sends it to a mainframe. The mainframe sends back an XML message that is associated with an XSLT to render the screen.

Here's the problem: all of these stylesheets have been created by mainframers and contain pages and pages of nasty looking javascript. Whenever you click on a link you get all sorts of js errors even though we haven't changed anything in the XSLT or the XML message.

I have noticed that changing document references from document.main.fieldname.value to document.HomePageForm.fieldname.value works very well, but I am assuming that that means that every variable declared in these scripts and stylesheets must have a field in the appropriate form bean.

So, the questions is:
Can js developed explicity for DOM be converted to Struts without any changes?
If I'm being stupid and missed some basic doc, please let me know.

Thanks.
Brian
18 years ago
From a guy named "Bear", OK.
18 years ago
JSP
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>

in WebSphere 5.1.1

I am very new to JSTL and the Struts Taglibs. I have an ArrayList contained inside of a value bean (VALUEBEAN) that I am putting into the HTTP session. I need to populate a drop-down box with the contents of the ArrayList (txnList). I am using the folling tags:

<bean efine id="vbean" name="VALUEBEAN" property="txnList" />

<html:select property="transactionNm" onchange="newTransaction()">
<html ptions collection="txnList" property="value" labelProperty="value" />
</html:select>

I've been reading Struts in Action and the Apache doc, but It's just not sinking in and I've got to understand where I'm going wrong.

Please, "help a brother out."
18 years ago
JSP