Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~21.7K People Reached
Favorite Tags
Member Avatar for techyworld

We are creating a work-flow in which a submitted form-data needs to be approved by dynamic number of people based on the designation of user who submitted it. So if User1 has submitted a form and there are 3 levels in between, before it goes to final approver Uuser5, the …

0
103
Member Avatar for techyworld

Hi am creating a java web application using jsf framework. I generate report using BIRT report. i create a table but when i view the report the line and border of the table is not displaying. how to make it appears? Anyone can help?

Member Avatar for cool_zephyr
0
160
Member Avatar for techyworld

hello everyone, am here to solve a problem and i need advice from u ppl. i have my database consist of 7 tables which generates a java web application. (Spring,Jsf,primefaces,java) when the user login, only the data for that particular user from the tables should be displayed. I was thinking …

0
86
Member Avatar for techyworld

Hi i need help to retrieve data from DB. I am trying to retrieve from database the number of cars that we registered each month in 2013.Based on that i will draw a line chart.so on my x-axis will be cars, and y-axis is number. Note: i have different models …

Member Avatar for masijade
0
200
Member Avatar for techyworld

Hi i need some help. I am developing a java web application using jsf (front-end) and primefaces. I have a drop down list in my .xhtml page containing Car,Bus,Other. On clicking 'Other', i want a text box to appear.Can you advice me how to do it? i have a java …

Member Avatar for LastMitch
0
194
Member Avatar for techyworld

Hi am new to jsf and primefaces. I have a drop down list which contain high,medium,low,other(please specify) When user select other(please specify), i want a textbox to be displayed. i guess there should be an if statement. anyone can help..i got no idea how to write an if statement in …

Member Avatar for techyworld
0
69
Member Avatar for techyworld

Hi i need some help on jsf/primefaces layout. i created 3 tabs, but the labels and text box in tab1 is not displaying.instead it is being displayed in tab2, and content of tab2 in tab3... I would like to know why am having this issue and how to solve this? …

Member Avatar for techyworld
0
237
Member Avatar for techyworld

Hi, I am developing a web app and when i deploy on tomcat 7, it gives me this error in my template.xhtml: Unknown attribute (contentType) and in browser, it give me this: exception javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Cannot open connection javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) root cause javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection …

Member Avatar for techyworld
0
230
Member Avatar for techyworld

hi am building a web application using maven,eclipse,tomcat. after resolving my dependency, am getting this error. anyone can help how to solve this? cvc-complex-type.2.4.a: Invalid content was found starting with element 'http:basicAuthSupplier'.One of '{"http://cxf.apache.org/transports/http/configuration":client, "http://cxf.apache.org/transports/http/configuration":authorization, "http://cxf.apache.org/transports/http/configuration":proxyAuthorization,"http://cxf.apache.org/transports/http/configuration":tlsClientParameters, "http://cxf.apache.org/transports/http/configuration":authSupplier, "http://cxf.apache.org/transports/http/configuration":trustDecider}' is expected. jaxws-web-context.xml here the code where am getting this error: <http:conduit …

Member Avatar for techyworld
0
350
Member Avatar for techyworld

hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue?

Member Avatar for cool_zephyr
0
291
Member Avatar for techyworld

value="jdbc:mysql://localhost:8080/mkyongjava" i need to change this path so that it works at my place. where will I get this? <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://localhost:8080/mkyongjava" /> <property name="username" value="root" /> <property name="password" value="password" /> </bean>

Member Avatar for cool_zephyr
0
179
Member Avatar for techyworld

how to do a unit testing on this method? anyone can help plzz? public boolean saveOrUpdateUser(User user) { boolean res = false; try { this.getHibernateTemplate().saveOrUpdate(user); res = true; } catch (DataAccessException e) { res = false; this.logger.error("DataAccessException", e); } return res; }

Member Avatar for techyworld
0
137
Member Avatar for techyworld

Hi i need some help, how to unit test a DAO? here my code: @Transactional public class ProjectDaoImpl extends HibernateDaoSupport implements ProjectDao { Log logger = LogFactory.getLog(this.getClass()); private String message; /** * {@inheritDoc} */ public List<User> retrieveAll() { return this.getHibernateTemplate().loadAll(User.class); } /** * {@inheritDoc} */ public boolean saveOrUpdateUser(User user) { …

Member Avatar for techyworld
0
147
Member Avatar for techyworld

Hi I am currently having an issue. I have two div tags, and the elements of the div tags should be aligned on the same line. (1 image + text +1 image). My problem is the 3rd element , that is the image , in order for it to appear …

Member Avatar for BMXDad
0
145
Member Avatar for techyworld

Hi... i need some help. I have a .jsp file and a div tag containing h1 tag. <div id="header"> <h1 class="header1"><fmt:message key="application.title"/></h1> </div> <div id="login"><jsp:include page="/WEB-INF/common/login.jsp" /></div> here my css file: #header{border-bottom:1px solid #999;margin-bottom:10px;height:10px;width:100%; background: transparent url('../images/test.png') left top no-repeat; background: transparent url('../images/test1.jpg')right top no-repeat; } my problem is the …

Member Avatar for k99rs
0
376
Member Avatar for techyworld

hi am developing an application on java using JSF framework. I'm making some changes in my css file,but it's not applying the changes in browser. am using myeclipse spring 10.6 and tomcat 7.0.41. Anyone can help? because yesterday i was working on the same css file, and i was able …

Member Avatar for chandrasekhar1
0
144
Member Avatar for techyworld

i have a header.jsp file with the following div tag: <%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/> <fmt:setBundle basename="bundles.application-resources"/> <div id="header"> <h1><fmt:message key="application.title"/></h1> </div> <div id="message"></div> <div id="login" ><jsp:include page="/WEB-INF/sitemesh-common/login.jsp" /></div> and my css file as follows: #header{solid #999;margin-bottom:10px;float:top left;min-width:960px; background: transparent url('../pharmacy.jpg') no-repeat;} #message{margin-bottom:10px;float:top right;min-width:960px; background: transparent …

Member Avatar for techyworld
0
674
Member Avatar for techyworld

hi i need some help. Suppose i have 4 different xhtml pages(page1,page2,page3,page4), and all the 4 contain one <h1> tag. Now i have an external css file and it contains(showing only h1 tag): h1{font-size:16px;font-weight:bold;} But now i want to add margin-top:10px(only for <h1> tag) for page1,page3 and page 4.if i …

Member Avatar for Octet
0
140
Member Avatar for techyworld

Hi am working on jsf, am changing the css file, but when i view it in browser, it does not apply the change. Can i know why am having this issue and how can i resolve it?

Member Avatar for masijade
0
123
Member Avatar for techyworld

hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring.

Member Avatar for DarkLightning7
0
172
Member Avatar for techyworld

Hi anyone can help, am having this error on line 10: uncaught TypeError: Cannot read property '0' of null. I have use the same code other places, same array but never got this error. I dont know why am having this error here. this.addEventListener("message",function(e){ importScripts('test.js'); var object=e.data; object=JSON.parse(object); mArray=object.array; var …

Member Avatar for techyworld
0
162
Member Avatar for techyworld

Hello, i need some help. I 've created a game on html5 using javascript, mysql and php. I want to send it to my iphone(ios). How should i proceed? the game is open with browser.

Member Avatar for deltascrow
0
176
Member Avatar for techyworld

Anyone can tell me if there is an automated tool to generate class diagram for javascript and php?

Member Avatar for pritaeas
0
72
Member Avatar for techyworld

Hi i need some help of how to display data dynamically.i just need someone to explain me the concept. actually I am retrieving some data from database but i dont know how many data there will.it can 2,3 10,50,150,...200 and so on. in javascript, i will display 10 par page,when …

Member Avatar for lambing
0
195
Member Avatar for techyworld

I retrieve data from an associative array and i want to insert it in another associative array. anyone can tell me how to do it?

Member Avatar for Airshow
0
157
Member Avatar for techyworld

hi i want to retrieve whole column from DB but store it in associative array. i write the code but its returning me only the last record. i want to return me the whole column. anyone can help? public function GetMarks(){ $query=mysql_query("SELECT name, marks FROM marks,users WHERE marks.id=users.id "); while($rows=mysql_fetch_assoc($query)){ …

Member Avatar for diafol
0
186
Member Avatar for techyworld

hi can someone help? I'm retrieving from database and i want to display it on screen. i use aler in my ajax to see if it's working but it's not alerting anything. anyone can tell me what's wrong? client: function client{ ... .... public function GetMarks(){ $query=mysql_query("SELECT users.name, marks.MarksHighest FROM …

Member Avatar for techyworld
0
173
Member Avatar for techyworld

Hi can someone explain me this code? actually i need to write another function like this but without passing any parameter, then what should I insert in data? the code is using the parameter id in data but what if i dont have any parameter? server.prototype.GetSpeed=function(id){ $.ajax( {url:"marks.php", data: {id:id}, …

Member Avatar for radhakrishna.p
0
165
Member Avatar for techyworld

I have a field dbscore in my database and it it an array of 5(5 level). lets say i have a new score for level 3. I want to update that score in the database for that particular level. the code below is updating the values but i think it's …

Member Avatar for techyworld
0
266
Member Avatar for techyworld

Hi i have a table Users which have a field "score" to store the current score of the game. Now lets say the user have played a level and has obtain a highest score. So it should update it in the DB. How will i do this comparison? the highest …

Member Avatar for pixelsoul
0
109