# Servoy 3.0 Beta 2

**URL:** <https://forum.servoy.com/t/servoy-3-0-beta-2/5692>\
**Category:** Classic Servoy\
**Created:** [April 5, 2006, 7:17pm UTC](https://forum.servoy.com/t/servoy-3-0-beta-2/5692 "2006-04-05T19:17:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [April 6, 2006, 9:22am UTC](https://forum.servoy.com/t/servoy-3-0-beta-2/5692/7 "2006-04-06T09:22:28Z")

</div>

> pbakker:  
> Kan de volgende method niet uitvoeren: ‘onShow’  
> TypeError: undefined is not a function. (onShow; line 9)  
> TypeError: undefined is not a function. (onShow; line 9)  
> at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:584)  
> at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:544)  
> at org.mozilla.javascript.NativeGlobal.typeError1(NativeGlobal.java:554)  
> at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1239)  
> at org.mozilla.javascript.gen.c3.call(onShow:9)  
> at com.servoy.j2db.scripting.f.executeFunction(Unknown Source)  
> at com.servoy.j2db.FormController.a(Unknown Source)  
> at com.servoy.j2db.FormController.a(Unknown Source)  
> at com.servoy.j2db.FormController.executeOnShowMethod(Unknown Source)  
> at com.servoy.j2db.FormManager$3.run(Unknown Source)…[/code]  
> This error is not displayed when opening the same solution in Developer. I tried to find the onShow method and line 9 in it, but none of the onShow methods I have have a line 9 with code. Only one onShow method has 9 lines. Here’s it’s content:
> 
> ```auto
> if (foundset.getSize() == 0) 
> 
> ```

{  
//disable Main Tab, untill a SubScription has been selected by Search  
for ( var i = 1 ; i \<= elements.main.getMaxTabIndex(); i++ )  
{  
elements.main.setTabEnabled(i,false);  
}  
forms[elements.main.getSelectedTabFormName()].controller.enabled = false;  
}

> ```auto
> 
> Am I using functions here that are not supported in the WebClient? I thought it would all work due to Jan's comment in the release notes of b2:
> 
> > [fix]-made webclient components compatible with richclient components for all javascript functions
> 
> ```

Any change you could check if:  
elements.main.getSelectedTabFormName()  
does return something? with application.output for example  
if it does not please file a case, see [http://forum.servoy.com/viewtopic.php?t=6062](http://forum.servoy.com/viewtopic.php?t=6062)

---

_[View the full topic](https://forum.servoy.com/t/servoy-3-0-beta-2/5692)._
