jack fe

Greenhorn
+ Follow
since Nov 10, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jack fe

Our application embeds SAS generated html String with Java generated header and footer for the application report.
In our report pages, there are "Back" buttons which use history.back() to
call the same process on the server.
Clients can tolerate waiting a long time after pressing the "generate report" button for the report,
but cannot tolerate the "Back" button taking the same time as "generate report" button.
So I wander if the application can cache the SAS returned String or cache the whole report page
Some where only for "Back" button being pressed.
I do not want cache the html String in Session because I do not know how big the page is returned
by SAS.
By the way, the browser does not cache the page by using history.back() for some reason , any idea?

Thanks.
7 years ago
JSP
Our application embeds SAS generated html String with Java generated header and footer for the application report.
In our report pages, there are "Back" buttons which use history.back() to
call the same process on the server.
Clients can tolerate waiting a long time after pressing the "generate report" button for the report,
but cannot tolerate the "Back" button taking the same time as "generate report" button.
So I wander if the application can cache the SAS returned String or cache the whole report page
Some where only for "Back" button being pressed.
I do not want cache the html String in Session because I do not know how big the page is returned
by SAS.
7 years ago
I have finished the resubmission survey, paid by credit card and printed the Survey Results with Prometric Testing ID, Test Registration ID and date on that.
I submited my assignment resubmission through email. Today I got reply and was asked for assignment resubmission purchase detail.

I could not remember link information I went to have the survey.
Where can I check my assignment resubmission purchase detail? Which information do I need to email to them?
In the dream car project,
Business Domain Model shows
One Request can have mutiple PurchaseOrder and Mutiple parts components.
But in Use Case Basic Flow,
One Request can have one part category and quantity of it, can have one PurchaseOrder based on winning bid.

Which assiciation relationship shold be followed in the class diagram?

I do not know if this question break the discussion policy.
Car Model and destination market should be one to many or many to many association relationship?

One to many reason:
One car can only be sold in one destination market. One destination market can sell multiple cars.
Many to many reason:
One model of car can be sold in mutipal destination market. One destination market can sell multiple cars.

When we dram the association relationship, we need consider them as one type or one object?
Thanks. Your replys are very helpful. Hope this time I can pass.
For example, car, engine. On line:
Some people think it is aggregation relationship. Because Engine can exists without car.
But some people think it is composition relationship. Because if the car is destroyed, the engine also is destroyed.

what is the right answer?
I am trying to find the reason how the 15 points are taken off from my class diagram.
I have two questions,
1. do we need to point out the direction(bi or uni) for association or it is not important?
2. If I want to draw the relation for robot, parts, handpart, footpart, bodypart, headpart.
robot and parts should be aggregation or composition relationship?
3. manage session bean and entity bean should be dependency or association relationship?

Thanks.
I try to embed the birt report to one existing J2ee web application by using Report Engine API.
We are not allowed to install birt on the server machine.
Is that OK?
1. I create the rptdesign files from my local computer which has eclipse birt installed.
2. put created rptdesign files, RE API jar, jdbc driver jar files and few configuration files
under one directory of the server machine.
3. add jar files (or put jar files in the application under web-inf/lib folder) and configuration files on the classpath
by modifying the batch file of the application server like web logic sever.

If I can not, what is the reason?

Thanks.
7 years ago
The name of the input field is going to need to match the name of the property in your form. So the name of the input field should be pageInfo.clientPageNumber.
8 years ago
You are right.
Thanks.
8 years ago
Guys:
I have a known value got from server.
If it is 0, then I need to know class name of <th> for 'Site ID'.
If it is 1, then I need to know class name of <th> for 'Site Name'.

how to use javascript to do that?
Thanks.

code:
Guys:
I have a question. When the form submitted, the value of 'clientPageNumber' of 'pageInfo' of 'form' is still 0 instead of 5
during processing the action class on the server side.
How can I update the value of that?

Thanks.
The source is in the following:
jsp
<bean:define id="formPageInfo" name="TestForm" property="pageInfo"/>
<!-- pageInfo is a property object of form -->
<input type="hidden" id="tablePageNumber" name="tablePageNumber" value="<bean:write name="formPageInfo" property="clientPageNumber"/>"/>
<!-- clientPageNumber is a int property of pageInfo object -->

javascript
function submitFormFunction(){
document.getElementById("tablePageNumber").value= 5 + '';
document.myform.action = "/<%=StartupConstants.APPLICATION_WAR_VALUE%>/TestUpdateFormAction.do";
document.myform.submit();
}
8 years ago
Guys:
I have a question. When the form submitted, the value of 'clientPageNumber' of 'pageInfo' of 'form' is still 0 instead of 5
during processing the action class on the server side.
How can I update the value of that?

Thanks.
The source is in the following:
jsp
<bean:define id="formPageInfo" name="TestForm" property="pageInfo"/>
<!-- pageInfo is a property object of form -->
<input type="hidden" id="tablePageNumber" name="tablePageNumber" value="<bean:write name="formPageInfo" property="clientPageNumber"/>"/>
<!-- clientPageNumber is a int property of pageInfo object -->

javascript
function submitFormFunction(){
document.getElementById("tablePageNumber").value= 5 + '';
document.myform.action = "/<%=StartupConstants.APPLICATION_WAR_VALUE%>/TestUpdateFormAction.do";
document.myform.submit();
}

8 years ago