derek | idea company wrote:
> Hi David,
> Apparently I wasn't escaping all the double quotes.  So my json entry 
> looks like thus:
>
> url : "<applet height=420 width=640 code=zoom2dapplet 
> archive=zoom2dapplet.jar 
> codebase=\"http://zoom.design.yorku.ca:8087/obj=delivery,1.0%26cmd=retrieve%26fif=ServerComponents/Code\";><PARAM
>  NAME=URL 
> VALUE=\"http://zoom.design.yorku.ca:8087/fif=CGDHO/alanfleming/a_fleming_001.fpx\";></applet>"
>
> and in a different file i've got:
>
>     properties: {
>         'url': {
>             valueType: "url"
>         },
>
>   
> is there a way in which i can change valueType to be valueType : "html".  
We're not supporting such value type at the moment... :-( But that's 
definitely a good feature to add.

You're talking about lens templates, right? Not the tabular view? If 
it's OK to add an extra click to the user experience, then you can delay 
the creation of <applet>

    <div ex:role="exhibit-lens" ex:item-id-content=".id" 
ex:applet-codebase-content=".applet-codebase" 
ex:applet-param-content=".applet-param">
       ...
       <button ex:onclick="makeApplet(this.parentNode)">Show Applet</button>
       ...
    </div>

And then makeApplet will retrieve the various attributes from the given 
element. I haven't tried that myself before but I hope that works.

> Or is there some other predefined item to list a value as a string of 
> code.  currently it's attempting to load the value as a url.  Thanks.
>
> On a side note: JQuery has some interesting JSON plugins, and some 
> tighter wordpress integration is in the works (mostly trying to get 
> Exhibit to display Wordpress's RSS feed).
OK, please keep us posted! Thanks!

David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to