hassan ali

Ranch Hand
+ Follow
since Apr 23, 2006
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by hassan ali

hi


i am using p:dataGrid that retrive list of objects that has variable that has arabic String -problem it appers as ??? why
11 years ago
JSF
hi


i am using primeface3.3 with hibernate 4.1.7
to bulid news site in arabic


when i save data in arabic in mysql 5

i am trying to rerive variable from it is object

i try some thing like object.title

i found it appere as ???

this part of hibernate.cfg.xml file

jdbc:mysql://localhost/news_papper?characterEncoding=UTF-8</property>
<property name="hibernate.connection.characterEncoding">UTF-8</property>
<property name="hibernate.connection.charSet">UTF-8</property>



this section of java file


List<Image_entity> list = query2.list();

Iterator iterator = objectList.iterator();

while(iterator.hasNext()){
Image_entity obj = (Image_entity)iterator.next();
System.out.println(obj.file);
System.out.println(obj.title);
}
11 years ago
JSF

i am using jsf1.2

using sandbox 1.2

i am trying to have autocomplete with sandbox
it run without throws any exception and calling functions as it expected but nothing appear in browser for Suggested items


can some body help
11 years ago
JSF
i mean mistakes when someone develops with JSF
11 years ago
JSF
Hello

does some body knows
what is top mistakes in JSF?
11 years ago
JSF

my project works use jsf2 and fine in tomhawaks and trinidad but when calender turn come i found that next block of code run fine but when i tried to run it as popup it does not popup image not clickable



<!-- this works fine -->
<t:inputCalendar monthYearRowClass="yearRowStyle" weekRowClass="weekRowStyle"
currentDayCellClass="selectedDayCellStyle" value="#{Calendar.selectedDate1}"/>
<t:htmlTag value="pre">------------------------</t:htmlTag>


<!-- this does not works fine -->

<t:inputCalendar id="secondOne" value="#{Calendar.selectedDate2}"
renderAsPopup="true"
popupDateFormat="MM/dd/yyyy"
popupTodayDateFormat="dd-MMM-yyyy"
popupWeekString="Week"
popupTodayString="The date today is :"
renderPopupButtonAsImage="true"
popupButtonImageUrl="images/calendar.gif"
helpText="MM/DD/YYYY"
forceId="true"/>
11 years ago
JSF
asking for https
11 years ago
JSF
i need to use https protocol on specific folder on jsf 1.2 by example or url ,
my users in database and my server shared tomcat

thanks
11 years ago
JSF

First time use security Token i need First Step or Guide to use token with java web application.
11 years ago
JSP
hi

how can i have Many check box dynamically

in jsp

it was loop around <input TYPE=checkbox name=accommodation VALUE=Rugby> tag


according to result from search in database in table accommodation




how this can be done in JSF?
11 years ago
JSF
yes it was configration

it was set server from mail.jerma.net to localhost
11 years ago
JSF
i have remove servlet idea and got to basic manged bean

it run on my machine (localhost) it works fine and send email i got it.
i upload all files online in website but does not work . why?
11 years ago
JSF
i have tried to let my jsf post t servlet

servlet sends email
but
it can not read parameters
and
it can not retrieve bean from session
while
it is manged bean scope is session




11 years ago
JSF
no there is no error exception

this is url jerma
http://jerma.net/faces/index.xhtml;jsessionid=529A217E77D218B5D98A860784FA0D11


for contact us page i got no error message but no email send ???


11 years ago
JSF
so jsf is the V in MVC and Beans are M so whey i can not use this bean to send from web application while this bean send email from my PC as Desktop Application?
if i add such function


public static void main(String arg[]){
sendmail m=new sendmail();

m.setEmail("asdasd");
m.setName("g");
m.setSms("aaaaaaaaaaaaaaaaaaaaaaa");
m.setSubject("test");
m.send();
}
it works Good why in web application does not work
11 years ago
JSF