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
~22.2K People Reached
Favorite Tags

84 Posted Topics

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
106
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
165
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
90
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
203
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
197
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
72
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
240
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
234
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
351
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
294
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
182
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
139
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
152
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
147
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
377
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
147
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
682
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
141
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
127
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
173
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
164
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
178
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
74
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
201
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
163
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
188
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
174
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
169
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
269
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
115
Member Avatar for techyworld
Member Avatar for EmilyJohnson
0
82
Member Avatar for techyworld

Anyone can tell me why am having this error? Uncaught TypeError: Object #<DedicatedWorkerContext> has no method 'terminate' on line 14 below this.addEventListener("message",function(e){ importScripts('test.js'); var object=e.data; object=JSON.parse(object); myArray=object.array; var tst1=new test(); for (var i=0;i<20;i++ ) { for (var j=0;j<10;j++) { word="" + myArray[i][j]+ myArray[i][j+1] + myArray[i][j+2] + myArray[i][j+3] + myArray[i][j+4]; var …

Member Avatar for techyworld
0
102
Member Avatar for techyworld

Hi guys, am having a problem with web worker. it tells me this error : Uncaught ReferenceError: importScripts is not defined i wrote it like this : importScripts('test.js'); i dont knw why it dont acept it. can someone help?

Member Avatar for LastMitch
0
76
Member Avatar for techyworld

Hi, i have a 2D array animal and i want to copy it to another 2D array myArray. can somehelp? the code below is not working. I am havine this error : Uncaught TypeError: Cannot set property '0' of undefined on line 7 var test=""; var myArray=new Array(animal.length); for (y=0;y<animal.length;y++){ …

Member Avatar for pritaeas
0
355
Member Avatar for techyworld

Can someone tell me what does these lines of codes doing? $username=$secure->EscapeCharacters($_POST["username"]); $password=$secure->EscapeCharacters($_POST["password"]); $password=$secure->hashPassword($password);

Member Avatar for IIM
0
175
Member Avatar for techyworld

Hi i want to generate a grid of random numbers and operators both vertical and horizontal using 2D array in javascript. how can i do it?

Member Avatar for DavidB
0
151
Member Avatar for techyworld

Hi i need a simple timer for seconds which keep increment. 0 1 2 3 ....30 Can anyone help?

Member Avatar for slametcahboyolali
0
112
Member Avatar for techyworld

I have an array : my Array = new Array ("0","1","2","3"); i want it to generate an index randomnly then it deletes that index so that next time it does not regenerate it. Here my code below, but it does not seems its deleting the index because it generates same …

Member Avatar for LastMitch
0
248
Member Avatar for techyworld

Hi can someone guide me how to write these code in oop? <script type="text/javascript"> return answer; var rslt=0; var answer= ""; var a,b,c; var fill = new Array(50); function Random(min,max) {return Math.floor(Math.random() * (max - min + 1)) + min;} function myTwoDArray(){ var string=""; var myArray= new Array (20); var …

Member Avatar for remunance
0
141
Member Avatar for techyworld

I need to generate a pattern contain 3 numbers , 1 '+' or '-' and '=' in any order. for eg: 2 3 + = 5, - 4 3 = 1 ..... How can i do this?

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

Hi how can i randomnize the index of this array? var arr = new Array("0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"); i want to return the index of the array randomnly. Any help?

Member Avatar for techyworld
0
166
Member Avatar for techyworld

Hi i create a table and fill it randomnly with operand and operators. Now i want to retrieve every 3 element in each row. For example, have a look at the image i have uploaded, I want to retrieve : + 4 + 4 + 10 + 10 + 10 …

Member Avatar for gon1387
0
157
Member Avatar for techyworld

I want to retrieve every 3 elements in rows and push it in another array. for Ex:retrieve array index [0,1,2] [1,2,3] [2,3,4] [5,6,7] [8,9,10] it goes on like this for all rows. Can someone help? function drawTable() { var div_id = document.getElementById('div1'); var tbl = document.createElement("table"); tbl.setAttribute("id","table_id") ; tbl.setAttribute("border","1") ; …

Member Avatar for gon1387
0
148
Member Avatar for techyworld

Hi can someone help? I'm creating a 2 dimensional Array with a table but its not displaying anything. why this? var totalRows = new Array(10); function drawTable() { var div1 = document.getElementById('div1'); var tbl = document.createElement("table"); // creating rows for (var i = 0; i < totalRows.length; i++) { var …

Member Avatar for techyworld
0
476
Member Avatar for techyworld

hi how can i implement a timer (minute-second-millisecond) using simple javascript? It will increment when click on a button.

Member Avatar for techyworld
0
109
Member Avatar for techyworld

Hello people, I need an idea with u. I need to draw a grid 10 by 10 and then randomnly fill it with numbers, operators + - and =. then user will need to swap number or operator or equal sign to make matches like this 2+3 = 5. It …

Member Avatar for Taywin
0
154
Member Avatar for techyworld

Hi i have a registration form .. somewhere in my form i have an image(registration is written) btw div tag: <div id="test"> <img src="..."/></div> <label>username:</label> ....... .... ... <div><label onclick=Onchange(1)>Login</label></div> Now i have an option :login" on this form if user has already registered. When click on "login" the image …

Member Avatar for diafol
0
134
Member Avatar for techyworld

Hi want to create a grid 5 by 5 and fill it randomnly with number using javascript. Can someone help?

Member Avatar for Taywin
0
3K
Member Avatar for techyworld

I need to implement a timer in my game. how can i do it? I want to do it using dom and jquery if possible.can someone help?

Member Avatar for JorgeM
0
126
Member Avatar for techyworld

Hi i've done a progress bar in javascript. but i dont know how to do the mapping.that is map it to a percentage. the lenght of my progress bar is 260. Can someone help?

Member Avatar for Biiim
0
134

The End.