Tuesday, February 22, 2011

content type of DataResource

I am using a ClientBundle with DataResource elements for audio files
used as sound effects. e.g.

public interface Sounds extends ClientBundle {
@Source("sound1.mp3") DataResource sound1();
@Source("sound2.wav") DataResource sound2();
}

In the above example, the url of sound1begins "data:content/
unknown;...." while sound2 begins "data:audio/x-wav"

How do I influence what content type appears in the data url? For
instance, I would like audio/mp3 as opposed to "content/unknown"

thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate