Latest Blog Posts - Java Behind Obvious
- Highcharts both OX and OY logarithmic axison Mar 24, 2013 in JavaScript for programmersToday’s tip is about Highcharts. Few months ago, we have talk about Highstock JavaScript library. Well, Highcharts is pretty much the same, since both are developed by Highsoft Solutions AS. There are both pure JavaScript libraries for creating int...
- How to find a point coordinates between other two pointson Mar 23, 2013 in Java Helper MethodsTheory: Given a segment from point A to point B, our goal is to find a C point coordinates at a specified distance on that segment. Let’s say that DT is the distance of the AB segment and D is the distance from point A to poin...
- Fixing nsIDOMLSProgressEvent.input erroron Dec 18, 2012 in JSFFixing error "NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMLSProgressEvent.input]" for PrimeFaces p:fileUpload I found this solution on internet and I think it deserve to be shared. Adding...
- Reading a cookie from JSFon Dec 18, 2012 in JSFIf you ever need to read a cookie from JSF, maybe this will help you: Object my_cookie = FacesContext.getCurrentInstance().getExternalContext() .getRequestCookieMap().get("my_project"); if...
- Working with JavaScript cookieson Dec 18, 2012 in JavaScript for programmersJust a few methods for handling cookies with JavaScript: function setCookie(c_name,value,exdays) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) +...
- Introducing Highstock JavaScript libraryon Aug 26, 2012 in JavaScript for programmersIf you ever need to create dynamic interactive charts for you’re projects and you don’t know exactly how to do it or what to use, then Highstock may be a good solution for you. Highstock is a charting library written in p...
- Mastering CSS3 box-shadowon Jul 6, 2012 in CSS for programmersThis post want’s to bring up one of the great features introduced in CSS3, the box-shadow property. Now you can stop using images for displaying box-shadows, with just a few CSS lines you can create awesome effects. In this post,...
- Solving GlassFish 3.1/JSF PWC4011 warningon Jul 4, 2012 in JSFWhen you combine GlassFish 3.1 and JSF, it sometimes cause in Glassfish server.log file the warning: “PWC4011 Unable to set request character encoding to UTF-8 from context ...” To get rid of this warning, you need to add in gl...
- Resolving JSF1091 in PrimeFaceson Jul 4, 2012 in JSF“JSF1091: No mime type could be found for file dynamiccontent. To resolve this, add a mime-type mapping to the applications web.xml” This error comes in various PrimeFaces situations, in this case, when I’ve try to load an extern CSS file wh...
- Accesing files outside a JARon Jun 23, 2012 in Java Helper MethodsFirst, get out of current JAR in JAR’s parent folder: private String outJarPath = new File(getClass().getProtectionDomain() .getCodeSource().
Loading Comments...
Comments
{ds_PageTotalItemCount} commentcomments
{pvComments::date}
{pvComments::comment}