Hi All,
Would appreciate help with my this project pls..
I am not too old to this company, but I am very new to this project. I know some of Java & jsp, and don't know anything about struts and weblogic.
This project was developed by my company and sold to other company. But my company supports it. unfortunately all guys who wrote this code have left. Now this urgent issue came up to support and modify code on this project and some requirements are so that if we don't support, we will loose this whole product. Unfortunately my company cannot hire anybody so soon, it will take them few weeks to hire due to budget approvals etc. and economic reasons. So I am trying to save this project for a company thus few guys can be hired also once we can support this product and situation is stable..
Hope you guys can help me saving this project..
This is written in JAVA-JSP-STRUTS ON WEBLOGIC 6.1/8.1 ON UNIX..
This is the first requirement --
There are tabs on the page -- Dealings/Trds etc..
Once we click on Trd's.. (it calls
http://ifxap1.nj.ssmb.com:8005/isoft/iSoft/ViewTrades.do?action=recon)
I know ViewTrades.do is not actually a file -- it is some mapping to jsp in struts..
This page brings a form to fill with some parameters
in this form, there are several fields to fill but one I need to work on is as below:
There is a select box, text box, submit button and reset button:
TEXTBOX:
<html:text property="gpNum" styleClass="inputtextmediu
m" tabindex="1"/>
SELECT BOX:
<html:select property="reconSource" value="Dollar" size="3" styleClass="inputtextmediu
m" tabindex="4">
<html:option value="Dollar"></html:opti
on>
<html:option value="Non-Dollar"></html:
option>
<html:option value="Australia"></html:o
ption>
</html:select>
action of the form is as below:
<html:form method="get" action="/TradeReconSearch"
onSubmit="tradeReconSearch
Validate(t
his);">
and reset of button:
<html:reset styleClass="submitsmall" property="Button" value="Reset" tabindex="14"/>
Now when client selects option (say Australia), and in textbox say value = 115,
and click on submit, it comes with response page -- as well as above form on the top (in case client wants to submit it again).
Requirement 1:
The form which comes back has value in the textbox (115) which client typed initially, but doesn't have option selected .. (it resets it back to default option).. requirement is to make is somehow so that it comes in response page with seleclted option as (AUSTRALIA) as client submitted.
Requirement 2:
say response page came back with
results
and form again with textbox populated..
RESET BUTTON should reset everything to default values.. (Initially before submitting, default value of textbox was empty)
But on response page, default value of textbox has been changed to whatever client put on first page (115).
If I click on reset button on response page, it will always reset to 115 (and not to empty). I want to reset this to empty (without reloading the page - since it will delay the process since action is going to servlet etc.. i want to do this client-side and fast)..
any help pls...
Thanks,
Regards