Abhishek Reddy

Ranch Hand
+ Follow
since Mar 28, 2006
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Abhishek Reddy

Hello Tim,

I have one more question for you.

When i click on the modal panel link, the current page is getting refreshed. Inside the modalPanel window, I have save and close button...when I click either of the buttons backend page(modalPanel calling page) is getting refreshed. How to stop refreshing the backend page (modalPanel calling page) ?

Thanks,
Abhishek
5 years ago
JSF
thanks for the help, its working now.
5 years ago
JSF
Thanks for the reply,

I did the way you have suggested, but failed.... below is the code



modalPanel.xhtml


The above code is not working, could you please tell me where I went wrong ?

Thanks

5 years ago
JSF
Hi All,

I am new to JSF, I need help in invoking rich:modalPanel from another page ?

For example:
Consider Page1.xhtml
In the above page, I have to provide a link somewhere in the middle of the form which popups the modalPanel. This modalPanel is in another Page (say modalPage.xhtml)

The modalPanel content should be in a different page as it is needed in the multiple pages of the application.

Note: This modalPanel has another form which takes some inputs from the user.

I have used <ui:include> tag to include the content of the modelPanel.xhtml and used the below code to invoke the modalPanel (in Page1.xhtml), but it is not working.

<a href="javascript:Richfaces.showModalPanel('modalPanelID')">Display Modal Panel</a>

I think it is not finding the id 'modalPanelID' of rich:modalPanel tag which is present in another page, but not sure about that.

Please provide your thoughts.

Thanks
Abhishek
5 years ago
JSF
Thanks Bill, for the information, i will go through the links
Let us consider employee obj is there in cache (Session level cache). An external appln. has updated the employee object which is there in session, now how can I make sure that objects in cache are always in sync with database ?

Please provide your thoughts on this.
Do I need to follow any design pattern here ?

Thanks,
Abhishek
How to print windings characters in pdf using itext ?


How to print content of different fonts in pdf ?
thanks Mr.David Newton for the reply,

I didnot understand, can you please explain?
7 years ago
how the values added from two different browsers can be seen in either of the browsers? whats happening internally in the struts2.0 framework?

here is the code for struts.xml, Action and service class











Its an data entry appln. for performing CRUD operations on employee details
when i try to access the appln. from two different browsers, i can able to see the values added from either of the browsers. how this is happening?
are the added values are serialised internally?

please help me..........regarding this
7 years ago
Its working, i have to add cascade="all" in the employee mapping file



Actually i tried for uni-directional mapping, but it forced to have bi-directional mapping.

I would like to know the reason to opt for bi-directional mapping.
i have modified the mapping file for emptechnologies



Now, there are no errors, but failed to save the collection of childs in the database.

what is the workaround? did i miss anything?
do i need to iterate through each and every child in collection and save them separately?

hi everyone,

I created a one-to-many mapping between two table for example employee and emptechnologies, its like an employee knows many technologies

here are the respective mapping files
employee table



emptechnologies table



Here is the access Code..........



When i try to run this code it is giving the following error......

error
thanks for the reply,

iam using jsp for displaying data.

used jstl core tags for iterating through the list and displaying the same in the jsp
7 years ago
JSP
hi every one,

I have a table for with employee details and his photo. I have an employee persistance object with data. Now i have to display the data in a table.

I can able to display all data except image. Image is in the form of byte array. how to display this byte array as image along with other details.

thanks in advance
-Abhishek
7 years ago
JSP