anil
05-04-2009, 11:38 PM
Hi,
My working version is Lps-4.3.0.
When i am using <richinputtext> in my code, then the server giving error
message (swf8 mode) as
"ERROR: Attempt to instantiate <richinputtext>, which has not been defined ".
The following is my sample code
<canvas height="300" width="500" bgcolor="green">
<include href="extensions/views/richinputtext.lzx"/>
<view width="200" height="200" bgcolor="yellow" align="center" valign="middle">
<richinputtext width="200" align="center" valign="middle" bgcolor="red" multiline="true">default text goes here</richinputtext>
</view>
</canvas>
But when i change the richinputtext width attribute value as "${parent.width}" then its works fine .
<canvas height="300" width="500" bgcolor="green">
<include href="extensions/views/richinputtext.lzx"/>
<view width="200" height="200" bgcolor="yellow" align="center" valign="middle">
<richinputtext width="${parent.width}" align="center" valign="middle" bgcolor="red" multiline="true">default text goes here</richinputtext>
</view>
</canvas>
can anybody give suggestions why it happens like that?
Thankyou,
Anil Kumar
My working version is Lps-4.3.0.
When i am using <richinputtext> in my code, then the server giving error
message (swf8 mode) as
"ERROR: Attempt to instantiate <richinputtext>, which has not been defined ".
The following is my sample code
<canvas height="300" width="500" bgcolor="green">
<include href="extensions/views/richinputtext.lzx"/>
<view width="200" height="200" bgcolor="yellow" align="center" valign="middle">
<richinputtext width="200" align="center" valign="middle" bgcolor="red" multiline="true">default text goes here</richinputtext>
</view>
</canvas>
But when i change the richinputtext width attribute value as "${parent.width}" then its works fine .
<canvas height="300" width="500" bgcolor="green">
<include href="extensions/views/richinputtext.lzx"/>
<view width="200" height="200" bgcolor="yellow" align="center" valign="middle">
<richinputtext width="${parent.width}" align="center" valign="middle" bgcolor="red" multiline="true">default text goes here</richinputtext>
</view>
</canvas>
can anybody give suggestions why it happens like that?
Thankyou,
Anil Kumar