Monday, July 31, 2006

Javascript - Pass data between windows.

Check out this post:

http://theopensourcery.com/jswin.htm

it shows examples on how to do this.

Thursday, July 27, 2006

AWS S3 ACL Modification

The trick is to use the right namespace, see the xmlns section below.

You should also be sure to re-grant yourself full access with every ACL update.


So your ACL update document should look something like this:


<AccessControlPolicy
xmlns="
http://s3.amazonaws.com/doc/2006-03-01/"
>

<Owner>

<ID>1234567890</ID>


<DisplayName>pguillard</DisplayName>

</Owner>

<AccessControlList>

<Grant>

<Grantee xmlns:xsi="

http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group">

<URI>
http://acs.amazonaws.com/groups/global/AllUsers</URI>

</Grantee>


<Permission>READ</Permission>

</Grant>

<Grant>

<Grantee xmlns:xsi="

http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">

<ID>1234567890</ID>

<DisplayName>pguillard</DisplayName>


</Grantee>

<Permission>FULL_CONTROL</Permission>

</Grant>

</AccessControlList>


</AccessControlPolicy>

Tuesday, July 25, 2006

Turbo Widgets Info

Is it possible to have two turbo widgets components on the same page and have them use different themes? Yes.

Origonal Post

Post subject: Can I use multiple turbo themes on a single page?

theme="+H2O" added to any Turbo widget does the trick should anyone require this info in the future.

Yes, you figured it out. Setting theme="+" will force a specific widget to use a particular theme and ignore global theme settings. The TurboButton example shows this in action.