Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Balaji Kadam

Ranch Hand
+ Follow
since Apr 27, 2010
Balaji likes ...
Hibernate Java Ubuntu
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Balaji Kadam

Hi all,

I want a datatable to display value from DB and for that i have used JPA bean as value to datatable, it is working fine but now i want a more property to datatable for checkbox but there is no property in JPA bean that i can assign to check box. and i dont wanted to create that.

how can i achieve this?

Thanks
9 years ago
JSF

Hi:

While executing update query using Hibernate, i am getting following error,

org.hibernate.exception.SQLGrammarException: could not execute update query

The actual built query i am getting on console is,


Actually i am not getting from where comma(,) is appended to above query.

So, can any body help me in that?


Thank You,
Balaji
Hi all,

in my jsf page i have added message using h:messages which will show message for all component including info and error messages.

but i want info messages to be display as blue and error as red.

i was trying to apply css class but it shows same for all messages

anybody know how to do this?

Thanks
Balaji
10 years ago
JSF

suresh dasari wrote:Hi Balaji,

why you need binding for an inputText, is there any specific reason?

An alternative for solving this issue is try to enclose the inputText in a panelGrid or panelGroup and in reset button click set the required value to '0' and rerender the panelgrid which will refresh only inputText with value set back to blank.

Thanks,
Suresh.



Thanks for reply. But i am not getting what exactly.
10 years ago
JSF
Hi:

While reseting values in JSF it is not reset. I have declare inputbox as


and i want to set this blank on Reset button click event. so i have used,


But it not works.

So can any body help me to solve this?


Thank You,
Balaji
10 years ago
JSF

Hi:

I have generated PDF using iText, where i have written all code in sequential flow.



And i have added all fields in the document.

But my problem is how to display total pagecount on all pages e.g.1\20 (because i have generated PDF sequentially)
Also i want to add watermark on all pages.

So, can any body help me to solve this problem?


Thank You,
Anup Desai
10 years ago
Hi all,

i have a scenario my first table contains master data with different codes
like
A Table

and second table having first table reference twice
like
B Table


How to write relation for this scenario annotation based.

Thank You

Because i wanted to change attribute of component as per program condition.
and other reason is that. at some point getValue() doesnot gives value of component. there i use getInputBind().getValue();


10 years ago
JSF
No.
There is nothing in log
10 years ago
JSF
Hi all,
I am using jsf 2.0 with icefaces. I have created a page with 2 inputText. when i use binding property for those two components and i run that page it does not render input text. when i remove binding property it shows input text.
What would be problem?

Code


Thanks
Balaji
10 years ago
JSF
Hi all,
I want to use hot keys on my page to implement it. I have tried this using accesskey attribute for command button , but this changes behaviour hen browser changes. Is there any way in jsf to perform this?

Thanks
Balaji
10 years ago
JSF
HI all,
I am using tomcat 6.
Almost 10 applications are deployed on that. My question is that Only one application runs slow when more than 10 users login to that system.
What would be cause? I have checked logs and found only one error getOutputStream() has been already called for this response.
Thanks
Balaji
10 years ago
hi all,
i have two jsf pages 1st login and 2nd a tree view page
when user directly invoke url for 2nd page then it shoud navigate to login
i have checked session and write navigate code but it gives error.


i have wriiten code to check whether session is active or not in constructor.
Is it right place
10 years ago
JSF
value isn't present in the selectItem list.
setValue() method invokes twice. when invokes first it contains proper value but next time it contains null so it doesn't display any value selected in it.

How to avoid second call.
10 years ago
JSF
thanks for your reply

You can set the selection in Java code by simply invoking the "set" method: "setSelection(newValue)".



what to set in value
itemValue or itemLabel .
i am trying itemvalue but it doesnot set properly
10 years ago
JSF