Wednesday, December 8, 2010

Updating my apps database schema in the App Engine's datastore

I had read this article by Mark Ivey:

So I thought I was ready for this ... but!!

I had added a new field like this:
private int sortorder;

And got this error whatever I did:
This property is mapped to FIELD, which cannot accept null values.

So I changed my field definition to:

private Integer sortorder;

Now I could loop the records in my table and assign default values, because now null is accepted!

Puh ...

Monday, June 7, 2010

To make my blogger page look like a normal web page ...

To remove the navbar I added:

/* next line removed the navbar */
#navbar-iframe { display: none !important; }

Just above the variable definition in the template HTML code.

I found this documentet here:

Works for me ;-)
now I have to go to to login and edit my pages ...

Thursday, May 20, 2010

Installing Ubuntu Netbook from a USB

I found lots of instructions on how to do it from a Windows PC, but I have already started to use the Ubuntu Desktop version 10.
I found detailed descriptions and lots of command lines in the Ubuntu documentation - and got the feeling this could take some time.

Then I saw the "Startup Disk Creator" under System > Administration and that was it! I had already downloaded the disk-image. I had my USB ready. I clicked on "Erase Disk", then on the "Make Startup Disk", and waited ...

Once the USB was ready - all I had to do was to get the BIOS screen up when starting my dead little notebook. (Had to google this: F2 and Esc on my Eee PC). Made sure it would boot from the USB - and it did!

The installation of Ubuntu is so easy! And my Eee PC is working again ;-)

Wednesday, May 5, 2010

Strong Setup

Strong Setup

We are very happy to have been approved as a Google Apps Authorized Reseller.

So do contact us to get help to set up your google apps account :-)

The following are some notes that may be useful after you have your email on but may also want it on Outlook and iPhone.

How you get started with
Google Apps Sync for Microsoft Outlook

depends on how you plan to use it.
I want to install Google Apps Sync and keep using Outlook ...

Note from these pages:
After installing Google Apps Sync for Microsoft Outlook, you can use Outlook to access either your Google Apps account, or the previous account you're switching from. (The data in each account is kept totally separate.)

Each time you start Outlook, you're prompted to choose the profile for whichever account you want to open.
When you no longer need access to your previous account, however, you can have Outlook open your Google Apps profile automatically, without prompting you to select it from a dialog:

Go to your Windows Control Panel > Mail settings, and click Show Profiles.
In the dialog that opens, select Always use this profile, specifying your Google Apps profile.

My experience:

1) Installing Google Apps Sync did not work as I expected on some PC's because I could not download! The button was disabled for some reason. So I copied the setup-program from my computer to the new computer and started it. On another computer the message was that I did not have admin access so I was not allowed to install anything, and I had to assign these rights first.

2) When the Google Apps Sync starts it will ask you to create a profile, this is for email you use. Then it will start Outlook and you have to choose a profile. The new one with your email is selected. Just "OK" this (do not create a new profile!). After this the sync process starts - however: not all is imported even if the process indicator tell you it is 100% done. So you may have to close Outlook - open it again - to choose the old profile and find your old emails.

3) Another program complained after the Google Apps Sync was installed, because this was connected to the Outlook account.

Gmail vs. Outlook
Note: Gmail does not support rich text formatting, graphics, or HTML in your signature

Outlook setup after importing
Note: here are a few things you might want to set up in your new Google Apps profile that don't get imported, to make your Outlook environment best match what you had before...

Typical problem:

"When I delete a message in the Outlook inbox for Gmail, it comes right back in the next time Outlook does a Send/Receive."
"I should add that I have the same problem when moving messages from my Outlook Gmail inbox to Outlook folders: The message comes right back into the Outlook Gmail inbox at the next Send/Receive."

>> Read the answer in the help forum ...


Follow the instructions below to set up POP access on the iPhone.

My contact info:
Fred Pallesen


Friday, April 9, 2010

Testing ZUL on GAE

I have ZK Studio installed on a virtual machine running Ubuntu and I have installed the Google Plugin for Eclipse.

I have created a New Web Application Project and integrated ZK with the Google App Engine.

My first guestbook example from the GAE introduction was replace with a new test environment at this URL:

If I go to /test on my localhost - I get to /test/index.html - but out in the real-world I have to give the absolute URL. - fails - works - fails - works - works

Running the project locally all links works fine.

Stating the server at localhost:8888 I get some warnings:

WARNING: Component captcha ignored.
Reason:  java.awt.Font is a restricted class. 

WARNING: Component jasperreport ignored. 
Reason: unable to load org.zkoss.zkex.zul.Jasperreport due to java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource

Running the system I get another warning:

WARNING: Failed to configure fileupload.

Not that I use any of this so I may find out how to remove the jar's.

Next task: to test the datanucleus.appengine.datastore ;-)