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 javafx.beans.value.ChangeListener | |
import javafx.beans.value.ObservableValue | |
import org.apache.commons.lang.StringUtils | |
// model | |
@FXBindable String amount1 | |
// view | |
textField(id: 'amount1', text: bind(model.amount1Property)) |
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 javafx.beans.value.ChangeListener | |
import javafx.beans.value.ObservableValue | |
import org.apache.commons.lang.StringUtils | |
// model | |
@FXBindable String amount1 | |
// view | |
textField(id: 'amount1', text: bind(model.amount1Property)) |
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 javafx.beans.value.ChangeListener | |
import javafx.beans.value.ObservableValue | |
import org.apache.commons.lang.StringUtils | |
// model | |
@FXBindable String amount1 | |
@FXBindable String amount2 | |
// view | |
textField(id: 'amount1', text: bind(model.amount1Property)) |
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 griffon.test.GriffonUnitTestCase | |
/** | |
* Date: 18/02/13 | |
*/ | |
class ReportServiceTests extends GriffonUnitTestCase { | |
GriffonApplication app | |
ReportService reportService | |
ImporterService importerService |
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
SELECT table_name, column_name, data_type FROM all_tab_cols | |
WHERE lower(owner)=lower(:owner1) | |
AND table_name LIKE :prefix | |
AND column_name NOT LIKE 'SYS%' | |
AND table_name||'-'||column_name NOT IN | |
(SELECT table_name||'-'||column_name FROM all_tab_cols | |
WHERE lower(owner)=lower(:owner2) | |
) | |
ORDER BY table_name, column_name; |
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
<?xml version='1.0' encoding='cp1252'?> | |
<tomcat-users> | |
<role rolename="manager-gui"/> | |
<role rolename="manager-script"/> | |
<role rolename="manager-jmx"/> | |
<role rolename="manager-status"/> | |
<role rolename="admin-gui"/> | |
<role rolename="admin-script"/> | |
<user username="tomcat" password="password" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-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
<settings> | |
<servers> | |
<server> | |
<id>dev-tomcat</id> | |
<username>tomcat</username> | |
<password>password</password> | |
</server> | |
</servers> | |
</settings> |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<build> | |
... | |
<plugins> | |
<plugin> | |
<groupId>org.apache.tomcat.maven</groupId> | |
<artifactId>tomcat7-maven-plugin</artifactId> | |
<version>2.1</version> | |
<configuration> |
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
<?xml version='1.0' encoding='utf-8'?> | |
<Context> | |
<WatchedResource>WEB-INF/web.xml</WatchedResource> | |
<Resource name="jdbc/mydb" auth="Container" type="javax.sql.DataSource" | |
maxActive="100" maxIdle="30" maxWait="10000" | |
username="sa" password="" driverClassName="org.h2.Driver" | |
url="jdbc:h2:tcp://localhost/~/test"/> | |
<Resource name="mail/session" auth="Container" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:jee="http://www.springframework.org/schema/jee" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd | |
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd"> |
OlderNewer