khaled hanafy

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

Recent posts by khaled hanafy

I tried to send multipart request with unicode characters with the foolowing code :


And the server side servlet code is :



the println line give distorted charavter like : تيتتسيتتسيتس which also saved as it is in the Database !

Can anyone help me to solve that issue ...

Thanks in advance ,
10 years ago
I am trying to implement this example : Gmap info Window

The info dialog appears "in my implementation" with small size so the complete image doesn't appear only part of it !

I think this is something related to css but how can i fix that behaviour and show the info dialog with the image size ?

Note :

1- I am using JSF2 with primefaces 3.5 .

2- The images which i display is 150X175 Pix as the shown example .
10 years ago
JSF
unfortunately, my folder inside the war .I display that uploaded photo and if i create the folder outside tomcat it will be problem for me .


Anyway thanks for your support and fast reply .

Folder creation outside "webapps" folder is enough to solve that issue , right ?


11 years ago
Hi ,

I have deployed a website in tomcat 7 .This site the users can register and upload some photos and files .

I add new features to my website .The Problem is How can i redploy it without losing the data that users have upload before ?

Thanks in advance .....
11 years ago
I don't know why you talking alot about what you called "bump" message !!! , i think if you said please don't send reminder message or ["bump" message] i will not .

Anyway thanks ..
11 years ago
JSF
Any idea guys !!!
11 years ago
JSF
Hi Guys ,

I have a problem with prime faces "selectOneMenu" component as i try to update " p:dataGrid " by change the SelectOneMenu value as follow :




The problem is when i change the selectOneMenu's value at the first time the datagrid doesn't updated what happen is only the postconstructor method is called after the first change it works fine ..

my managed bean is viewscoped manage bean .

and the listner method "bussinessOwnersViewerMB.handleCityChange" is :


11 years ago
JSF
Hi guys ,

I have strange problem with p:commandLink tag when i use it with the ui:repeat tag !

commandLink doesn't work at all .

this my xhtml code :



the actionlistner is just test method :




if i put the commandLink out the repeat tag the method #{bussinessOwnerViewerMB.changeMap} called !



can anybody help me .

Thanks
11 years ago
JSF
Thanks alot Tim Holloway for your fast and helpful reply .

I need more clarification ..

Is it not good practice to call the page immediately from the action attribute of the commandButton ?




and from your reply i understanded that the problem in the forwarding the request and i should redirect it and set the request parameter through the managed bean instance which i should make it in the session scope.

Thanks again
11 years ago
JSF
Hi guys ,

I need your help .

i am developing a simple project with jsf2.0 and primefaces 3.2.

I have 2 pages first is the page1.xhtml whci contains :



When i press The command link it forwarded me to another page which have a selectOneMenu which doesn't show its items until i refresh the page manually .


11 years ago
JSF
Thanks Srinath Gamage for your reply .

i know if the sender doesn't set the port number my application can not receive the SMS , i am asking about if there any possible way to do that through j2me (CLDC-1.1 , MIDP-2.0)

Thanks again
12 years ago
Hi guys ,

I searched for receive sms by j2me there is no way by "sender send to specific port number !! " , is there another way to receive sms directly without port no , as i want to receive sms from the Gps device .

Thanks in advance ..
12 years ago
Hi guys ,

I have a 'USB device ' if i open a txt editor " i.e. notepad" it write a specific number on it directly , i want to get that number to my java application directly without reading a text file .


Any idea ?
12 years ago
Thanks alot .
12 years ago
Hi Guys,

Is there any Api i can use to deal with usb devices ?

Thanks,
12 years ago