Nesrin aboud

Ranch Hand
+ Follow
since Feb 08, 2010
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
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nesrin aboud

I need to know the position of a div inside iframe
I used the following java script code


Iframe width =400px
table inside the iframe width =1200px
when I try to get the position of the (overlayPanel.offsetLeft)) the alert shows (323)
but this is not what I need, I need the position without the scrolling part, I mean the position I am seeing relative to the Iframe width which should be (65)

(323) is the absolute position including the hidden part of scroll

any idea ?
I am creating a jasper report, the data is a collection, and tha java part of code I wrote as follows



now my problem is how to use this collection as a datasource inside the jrxml file
so the nams of the fields (as fullName, birthDate) inside RepEmployee bean can be read in the jrxml file
Thank you very much
9 years ago
JSF
I used the outputText

and the result was


when I used the <f:verbatim> tag

nothing was found in the html with escape=true or false

it worked fine without using this tag "f:verbatim", would please tell me what is its importance in this case?
9 years ago
JSF
the forums site was down while i was adding the post , and i was refreshing the page, after that i found the multiple posts for the same questions and did not know how to delete it, please check your inbox, I sent you for this problem , and thank you for your answer, I will try it
9 years ago
JSF
I have a test.xhtml page using primefaces
I generated html tags in TestBean , and the string content = "<style> .textAreaStyle{width:200px;color:red} </style>"
I need to add the string inside the <head> </head> of html

9 years ago
JSF
I have a test.xhtml page using primefaces
I generated html tags in TestBean , and the string content = "<style> .menu{width:200px;} </style>"
I need to add the string inside the <head> </head> of html

9 years ago
JSF
I have a test.xhtml page using primefaces
I generated html tags in TestBean , and the string content = "<style> .menu{width:200px;} </style>"
I need to add the string inside the <head> </head> of html

9 years ago
JSF
I have a CommandButton in a screen , with actionListener,
the actionListener opens popup screen shows a menu some text

I need to send the position of the button to the actionListener on clicking the button to make the popuscreen open in a position consistent with the button

any idea ?
9 years ago
JSF
I changed the netbeans version to 7.0.1 and it worked well
9 years ago
JSF
is the tags in xhtml
true for the icefaces 2 version
10 years ago
JSF
hi all,

I have a problem in making a form of 3 fields to view icefaces fields and the error returned in the glassfish server consol is the following

WARNING: ICEfaces configured for view /welcomeICEfaces.xhtml but h:head and h:body components are required

the following is the code:


index.xhtml




Bean Class:



the following is the web.xml but it is not present in the web.xml
and the I added it as a trial to the application



i use netbeans 7 as IDE and I installed icefaces jars for neteans 7
when I run the index.xhtml file

not fields appear only the text not invloved in icefaces tag


thank you very much

10 years ago
JSF
Hi all ,

I have a critical problem with my application ,
I call a dot net method that has an object as a parameter,
sometimes not all times , the calling takes long time and then return Connection Time Out
on the same wsdl there is other functions with String or int as a parameter and it works very will all the time
so what could be the problem

I uses axis1 in webservice , and OC4J application server
on the dotnet side IIS server
the following is the log after long time waiting the end of the problem:


10 years ago

Hi there,
I am working on a web service that transfer array of image in the form of array of bytes (byte[] b) from java application on OC4J server to dot net project on the other side
and when a large number of images is sent the returned exception was InvocationTargetException
and when I traced the problem the error returned was something like extension is too large


can any one help me in this

I use axis1 in eclipse to generate the webservice
10 years ago
I have a problem on logging out in struts

when I click exit link on mailbox.jsp from any jsp, it forward me to index.jsp but does not pass
into the LoginAction, I am sure because when I debug I found that debugging does not enter the action class at all
and the session is not closed

I tried to remove the input attribute in struts-config.xml
but this returned error--> that I should add the input attribute

so is there is a solution for this problem , I think the problem is in the input Attribute
when I click "LoginAction.do?signout=1" , this goes first to the input page without entering the action

11 years ago