From: Guijarro, J. <jul...@hp...> - 2007-02-19 15:42:28
|
Hi Ambika, =20 You can deploy a component written in another sf file without any problem but I am not entirely sure if I understand what your problem is. =20 If you want to use in sfDeployCode a variable that you are creating/calculating in sfStartCore then it won't work unless this happens in two different components where the component creating the variable in sfStartCode has completed its sfStart lifecycle before the component using the variable in sfDeployCode starts its sfDeploy lifecycle. =20 I could be of more help if you can send a mock up example. =20 Regards, =20 Julio Guijarro. =20 =20 ________________________________ From: sma...@li... [mailto:sma...@li...] On Behalf Of Ambika Awanty Sent: 19 February 2007 10:40 To: sma...@li... Subject: [Smartfrog-developer] ScriptPrim help =20 Hi, =20 Can i deploy a component inside sfDeployCode part of ScriptPrim? I want to deploy a component whose description is written in another sf file, can i just do "deploy_new extends old_cmpnt;"=20 This i required because i want to get the value of a variable which i am computing in sfStartCode of it. Is that way its possible?=20 =20 =20 Thanks and Regards, Ambika =20 =20 =20 ________________________________ Here's a new way to find what you're looking for - Yahoo! Answers <http://us.rd.yahoo.com/mail/in/yanswers/*http:/in.answers.yahoo.com/> =20 |