Prasheel Mishra

Greenhorn
+ Follow
since Apr 23, 2014
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 Prasheel Mishra

I have modified the code a bit now.  This is my updated code.  hfsLoanFeeCol has a list of loanids, I am iterating this mainlist, there is a second for loop feeCatTypeList, I am comparing if both feecattype is equal and then check if the reversal flag is true (-1), then check for fee cat type 1 and 2, and do the logic I mentioned. Eg below is the output I need. Please assist.

List of loan ids( hfsLoanFeeCol )
loanid feecatype amount
123    1             10
123   2              20
123   7             10

newbalvalue = X;

I want the fee type map to show output as (1, x-(10+20)) for fee type 1 and 2.
For Fee type 7, it should say X- 10;


1 year ago
There is no application error. Its a logical error. I want that if a record has feetype 1 then fetch amount1, check if has feetype2 as well then fetch amount2 then add to the map as a single record with feetype1 and amount as (amount 1 + amount 2).  My logic is not doing the desired. Can you please help.
1 year ago
Hi,


I have a requirement that if a record has two different fee cat types  1 and 2,  then I want to check if a record has fee type 1 then fetch amount1, check if has feetype2 as well then fetch amount2 then add to the map as a single record with feetype1 and amount as (amount 1 + amount 2).

I have put the entire block of code to see the looping. The logic is in the first else block where flagfirst and secondset are set to true.Please help.


   
1 year ago
Can someone please provide pointers. I tried setting the itemValue="#{null}" but it still doesn't set the value to null. Please help
1 year ago
JSF



OnRowEdit doesnt update the select drop down value correctly
1 year ago
JSF
Hi,

I am using PrimeFaces 5.1 , I have a field Cumulative indicator which is a select drop down wit Y/N/select, when I update the value to Y/N the edit/update is happening fine, but when I chose select as the drop down value it does not update it to null. I am able to set the value to null from the backend. When I chose select as the drop down value it should update to null instead it shows the previous value(Y/N) that is saved in the database. The below is my code xhtml, java bean and the update query. Please advice why its not updating the value to null value. Can you please assist.

Below if my xhtml:



Below is my java Bean:




Below is my update query:




Thanks,
Shilpa
1 year ago
JSF