git remote set-url remotename git://new.url.here
From this question here.
Articles, notes and random thoughts on Software Development and Technology
git remote set-url remotename git://new.url.here
From this question here.
Use an <f:event> tag to invoke a method for example on preRenderView lifecycle stage:
<f:event type="preRenderView" listener="#{controllerBeanName.methodName}"></f:event>
Some jQuery usage notes for useful/common stuff:
To run script when the browser reaches ready state:
$(document).ready(function(){ //do stuff here });
Detecting browser type, eg:
if ($.browser.webkit){ alert( "this is webkit!" ); }
Valid values are webkit, opera, msie, mozila
See here.
Change attribute value of an element:
$('#elementId').attr('attributename', 'new attribute value');
More, see here.
For EE7 on WildFly8.x, use:
Full profile:
<dependency> <groupId>org.jboss.spec</groupId> <artifactId>jboss-javaee-7.0</artifactId> <version>1.0.0.Final</version> <type>pom</type> <scope>provided</scope> </dependency>
Web profile:
<dependency> <groupId>org.jboss.spec</groupId> <artifactId>jboss-javaee-web-7.0</artifactId> <version>1.0.0.Final</version> <type>pom</type> <scope>provided</scope> </dependency
For EE6 on JBoss AS7.x, use:
<dependency> <groupId>org.jboss.spec</groupId> <artifactId>jboss-javaee-6.0</artifactId> <version>1.0.0.Final</version> <type>pom</type> <scope>provided</scope> </dependency>
Info from JBoss’s EE spec Git repo here and referenced from this question here.