Archives of May 2009

Solution to these erros caused by IE under SSL request:

http://support.microsoft.com/default.aspx?scid=kb;en-us;316431

¡Gerardo, thank you for the note!

A persistent problem in “uploads” and “downloads” with IE and Firefox.

The [Inspectable] metadata tag defines an attribute of your component that you expose in the attribute hints and Tag inspector area of Flex Builder.

Remember to use double quotes because of simple ones doesn’t work.

[Inspectable(type="String", defaultValue="_blank", enumeration="_blank,_self")]

More information about Inspectable on Adobe LiveDoc.

Upload files using Flex and Seam:
- Prepare FileReference class to use a servlet in the server. You can use this example with Apache libraries commons-fileupload-1.2.1 and commons-io-1.4.
- Register the servlet in file configuration web.xml
- IMPORTANT: Modify Seam configuration to allow file upload in

components.xml:

<web:multipart-filter create-temp-files="true"
	max-request-size="1048576"
        url-pattern="*.seam"/>     

and on web.xml:

<filter>
	<filter-name>Seam Multipart Filter</filter-name>
        <filter-class>org.jboss.seam.web.MultipartFilter</filter-class>
</filter>

<filter-mapping>
	<filter-name>Seam Multipart Filter</filter-name>
	<url-pattern>*.seam</url-pattern>
</filter-mapping>   

More information about configuration in the Seam documentation.

ListMultiple is a flex component that show data on different lists.


Source codeClick with the right button to obtain source code.

LinkHTML is a simple Flex component to add look and feel HTML links.


Source codeClick with the right button to obtain source code.

Creative Commons License
This blog is under Creative Commons licence, unless indicated otherwise.
Special thanks to Mark James for the icon set used in this blog.