Can I really not ship open source with Client ID? [closed]

On November 5th 2014 Google made some changes to the APIs terms of Service. Like you I had an issue with the following line. Asking developers to make reasonable efforts to keep their private keys private and not embed them in open source projects. I have several open source projects on GitHub they are basically … Read more

Is there a way to use “” in an external javascript file?

If you really want to do this you can do following <%@ Page ContentType=”text/javascript” Language=”C#” AutoEventWireup=”false” %> <%@ OutputCache Duration=”86400″ Location=”Any” VaryByParam=”None” %> var time = “<%= DateTime.Now.ToString() %>”; alert(time); And then reference it in your page <script src=”https://stackoverflow.com/questions/6542079/Scripts/file.aspx” type=”text/javascript”></script> Note When using mentioned method, the only way to pass target page controls client-ids, is … Read more

How to use JSF generated HTML element ID with colon “:” in CSS selectors?

The : is a special character in CSS identifiers, it represents the start of a pseudo class selector like :hover, :first-child, etc. You would need to escape it. #phoneForm\:phoneTable { background: pink; } This only doesn’t work in IE6/7. If you’d like to support those users as well, use \3A instead (with a trailing space … Read more

How to find out client ID of component for ajax update/render? Cannot find component with expression “foo” referenced from “bar”

Look in HTML output for actual client ID You need to look in the generated HTML output to find out the right client ID. Open the page in browser, do a rightclick and View Source. Locate the HTML representation of the JSF component of interest and take its id as client ID. You can use … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)