Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 6th Feb 2007, 13:02
tgochenour tgochenour is offline
Registered Developer
 
Join Date: Jan 2007
Posts: 135
Default Documentation Errors

1) The function DataSource.xmlSerialize() claims to return type void. It appears to return a string.

2) The function Canvas.dynamicContentsVars() has an example where the contents is "Hello " and I think it should be "Hello ${this.name}"
Reply With Quote
  #2  
Old 6th Feb 2007, 18:56
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Thanks - both fixed now. For #2, it's actually "Hello ${name}".

By the way, notice that our template syntax (unfortunately) matches the JSP EL variable reference. This is actually one of the reasons behind the global disabling of EL in our runtime war.xml (which has now been fixed, by the way).

So be careful when you use this syntax in EL-enabled JSPs as you might get conflicts with the JSP's interpretation...
Reply With Quote
  #3  
Old 17th Feb 2007, 21:06
tgochenour tgochenour is offline
Registered Developer
 
Join Date: Jan 2007
Posts: 135
Default Here's another

3) DataSourceField.valueXPath

"For JSON data (dataFormat:"xml"), this means a call to XMLTools.selectObjects() passing the selected JSON object."

Shouldn't this be (dataFormat:"json")

???
Reply With Quote
  #4  
Old 18th Feb 2007, 17:54
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Quite right, thank you, that's been fixed now.
Reply With Quote
  #5  
Old 27th Feb 2007, 07:25
tgochenour tgochenour is offline
Registered Developer
 
Join Date: Jan 2007
Posts: 135
Default How about this one....

4) class LayoutSpacerextends Canvas

Add a LayoutSpacer to a Layout to take up space just like a normal member, without actually drawing anything. Semantically equivalent to using an empty canvas, but higher performance for this particular use case.

DEPRECATED: As of Isomorphic SmartClient version 5.5, autoFit behavior can be achieved using the Button class instead by setting the property Button.autoFit to true.


-----

The deprecation regarding Button.autoFit seems misplaced.

-----

Found the same deprecation on Window.

Last edited by tgochenour; 27th Feb 2007 at 07:43..
Reply With Quote
  #6  
Old 27th Feb 2007, 07:57
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

Thanks for pointing this out.
This is actually a bug in the document viewer - having viewed a deprecated property (like the auto-fit button), we're not clearing the deprecated warning message when showing another class.

This will be fixed for our next release.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved