Kant P.

Greenhorn
+ Follow
since Apr 12, 2005
Merit badge: grant badges
For More
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 Kant P.

Hi all,

I'm currently using Tomcat 5.0.30, JRE 1.4.2_15.
I wonder which version of Tomcat Axis is compatible with that set up.

Or do you have a table of Tomcat/jre/axis compatibility ?

thanks a lot
13 years ago
Hi all,

I'm currently using Tomcat 5.0.30, JRE 1.4.2_15.
I wonder which version of Tomcat Axis is compatible with that set up.

Or do you have a table of Tomcat/jre/axis compatibility ?

thanks a lot
13 years ago
Thank you for replying...

I'm using RAD6
Tomcat 4.127
JDK 1.4.2*
JSF 1.1

I heard that, JSF 1.1 has a problem with buttons.
I looked up here: http://forum.java.sun.com/thread.jspa?threadID=532214&messageID=2567252
which describe my problem too. One of them said, because the page backing bean doesn't have setter for its variables, so that cause the jsf life cycle to end prematurely.

I added all setters on every page, but the problem still persists....Any thought?

Thanks again
18 years ago
JSF
hi,
I have 4 buttons in a form. Each has its own logic. But after pressing them for awhile; they started not working any more. As I press them, no logics were executed...

I'm struggling trying to find out the cause..!! Can you tell me what's the problem here?

Thank you for your time and assistance..!
18 years ago
JSF
I got it to work.....by creating a getStyle() in back-bean of jsp page. getStyle() returns a style. Then Bind it to output text.... it works just like it want it..
18 years ago
JSF
Thanx all for replying again....
But i'm still struggling on how to find the selected row-x (x number is returned by a logic, so i don't know ahead of time of what it is). Here is my dataTable method in backing bean:
protected HtmlDataTable getTable1()
{
if (table1 == null)
{
table1 = (HtmlDataTable) findComponentInRoot("table1");
}
return table1;
}
I tried using table1 object to access getRowData, but nothing worked because I haven't been able to pinpoint the selected row and its index...
Can you give me more hint please?

thanks
18 years ago
JSF
Thank you for replying,
But the problem is if I have 100 rows...and I want row X to be color; X could be any number. Then the problem is how to find the rowIndex of X in dataTable, so I know where to color.
Others have similar suggestion like this:
<h utputText styleClass="#{varerrors.errItem eq 'E1' ? 'red' : (varerrors.errItem eq 'W1' ? 'blue' : 'grey')}"/>
But that don't work. I have also created a wrapper class to choose request color, but it come out coloring the whole table w/ one color....
18 years ago
JSF
there are 4 things you have to create:
1) create an output text
2) create a request scope of type java.lang.string
3) bind this request scop to output text you just created
3) when a login fails, do this:
getRequestScope().put("name of request scope", "Required field: " + newCustomer.firstName)

Follow those step should do it!!!1 good luck
18 years ago
JSF
Hi all,
I have a bean of array. A datatable is created out of this bean. I want to be able to colo rox-x in this datatable; row-x is colored based on some business logic. How do I do that?
Example:
<h ataTable id="table1" value="#{pc_EcOutput.tableDataMrgBean.errors}" var="varerrors">
<h:column id="column1">
<f:facet name="header">
<h utputText styleClass="outputText" value="Item Number" id="text3"> </h utputText>
</f:facet>
<h utputText id="text4" styleClass="outputText" value="#{varerrors.errItem}"></h utputText>
// if (varerrors.errItem == "E1")
// styleClass="red"
//else if(varerrors.errItem == "W1")
// styleClass ="blue"
//else
//styleClass="grey"
</h:column>
-
-
-
I have tried using a wrapper class which uses those if statement above to return a particular styleClass for each errItem. Unfortunately I can't pin point the row (or row index) that contains E1 or W1 to color. It turns out coloring the whole table w/ red or blue or grey.... Can someone show me how this work please....?

Thank you for your time and assistance..
18 years ago
JSF
thank you all for helping me out....
I'm hitting it now..... and let you know soon of what how much I learned..chao
18 years ago
Hi,
I have been trying to create a timer that times how long it takes a process or an execution to finish. But not so successfull.....

Anyone knows how to do this. Any help is gratefull. Thank you for your time and assistance..

Happy
18 years ago