explicitType for Typed objects in Flex (with patch)
| Project: | AMFPHP |
| Version: | 6.x-1.0-beta1 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I've created a patch to set explicitType to node->type. This is very useful because you can then set create an ASObject VO with RemoteClass(alias="node") or RemoteClass(alias="page") and it will automatically work, assuming identical properties. I've also attached to VOs that should work for node.get() with a page.
I only tested this for node.get() on AMFPHP 6.1 beta with Drupal 6.10! I don't know if it works for views.
In the future, this needs to be an option that you can check off like "Do you want to set ExplicitType?" and I think you should also be able to override it to any value you like. I am not good enough at Drupal to do this on my own.
I am also planning to release a SWC with some useful tools for dealing with Flex/Drupal apps, including the default VO set.
If anyone's interesting, I'm giving a presentation about this stuff today at DrupalCon.
| Attachment | Size |
|---|---|
| amfphp.patch | 960 bytes |
| vo.zip | 701 bytes |
