This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String getRFCLookupUDF(Container container) throws StreamTransformationException{ | |
GlobalContainer globalContainer; | |
MappingTrace trace; | |
java.util.Map map; | |
trace = container.getTrace(); | |
globalContainer = container.getGlobalContainer(); | |
map = globalContainer.getTransformationParameters(); | |
SystemAccessor rfcAccessor = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String getDBLookupUDF(Container container) throws StreamTransformationException{ | |
GlobalContainer globalContainer; | |
MappingTrace trace; | |
java.util.Map map; | |
trace = container.getTrace(); | |
globalContainer = container.getGlobalContainer(); | |
map = globalContainer.getTransformationParameters(); | |
//Variables Used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Include the below code in functions.php | |
//* Enqueue ionicons | |
add_action( 'wp_enqueue_scripts', 'genesis_ionicons_css' ); | |
function genesis_ionicons_css() { | |
wp_enqueue_style( 'bg-ionicons-css', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css?ver=1.0.1', array(), CHILD_THEME_VERSION ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
HTML Form | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | |
<script src="js/jquery-1.11.2.min.js"></script> | |
<!-- CUSTOM JS --> | |
<script src="js/tester.js" type="text/javascript"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
//Stops the submit request | |
$("#frmSomeForm").submit(function(e){ | |
e.preventDefault(); | |
}); | |
//checks for the button click event for New | |
$("#btnSubmit").click(function(e){ | |
dataString = "somefield=" + $("#frmSomeForm #someField").val(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add the below code to functions.php file | |
/* | |
* OUTPUT in HTML file | |
* <link rel="stylesheet" id="google-fonts-css" href="//fonts.googleapis.com/css?family=Raleway%3A300%2C700%7CLato%3A700%2C400italic%2C400&ver=1.0.0" type="text/css" media="all"> | |
*/ | |
// Enqueue Google Fonts | |
add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' ); | |
function genesis_sample_google_fonts() { | |
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Raleway:300,700|Lato:700,400italic,400', array(), CHILD_THEME_VERSION ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//import com.seeburger.functions.permstore.*; | |
public String getSeeburgerCounter(String counterName, Container container) throws StreamTransformationException{ | |
String counterValue = ""; | |
try { | |
CounterBean be = CounterFactory.getCounterInstance(); | |
counterValue = be.nextCounter( counterName ); | |
} catch (Exception e) { | |
throw new RuntimeException(e.getMessage()); | |
} | |
return counterValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public String setSeeburgerVariable(String variableName, String variableValue, Container container) throws StreamTransformationException{ | |
try | |
{ | |
VariableBean be=VariableFactory.getVariableInstance(""); | |
be.setStringVariable(variableName, variableValue); | |
}catch (Exception e){ | |
throw new RuntimeException(e); | |
} | |
return ""; | |
} |
NewerOlder