Posts Tagged Google
Wicket On Google App Engine (GAE) – Deployment Configuration
Posted by rn in Java, Software Engineering on March 7th, 2010
Just a quick tip – generally with Wicket we want to supply our application with a way to choose between “Development” vs. “Deployment” mode automatically, so that we can get stack traces etc. during development and disable development features for deployment. Google App Engine sets a convenient JVM property to enable this -
class MyWicketApplication extends Application {
.....
private boolean isProd =
"Production".equalsIgnoreCase(
System.getProperty("com.google.appengine.runtime.environment"));
@Override
public String getConfigurationType() {
return (isProd ? "DEPLOYMENT" : "DEVELOPMENT");
}
}
Bam – Wickety GAE love!
Can’t Publish A Google Form Outside Your Domain?
This one was way harder than it should have been to figure out – if you want to publish a Google Spreadsheets Form and you use Google Apps For Your Domain, make sure these radio buttons in your Docs service management settings are like this -

Google has a habit of making occasional odd design choices. It’s not so much that the way this “not allowed to publish outside of the domain” works, it’s more that you wouldn’t expect it to apply to forms, or at least be told when trying to embed or email a form that it won’t be able to be submitted unless the recipient has an account in your domain.
Instead that message is left for the person attempting to submit but can’t. Not the most intuitive set up.
That said, Google forms are pretty nice, particularly if you’re already using Google Docs!

