RE: sfCodeBase and Prim

"Goldsack, Patrick" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Sanjay,

There is a file in smartfrog.jar called 

org/smartfrog/sfcore/prim/prim.sf 

which contains the definition of Prim - this includes a default codebase
attribute. It is used as a repository for default attribute values.

The example without inheriting from Prim will clearly not have this set.
It is advised, but not essential, that you inherit from components.sf
which in turn includes the defintion of Prim from prim.sf. 

Patrick



-----Original Message-----
From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Dahiya, Sanjay (STSD)
Sent: 03 January 2006 12:22
To: Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-support] sfCodeBase and Prim

Hi -

Not sure if this is something documented, Is there a difference in
following two notations

MyComponents extends {
	sfClass "...";
}

and

MyComponent extends Prim {
	sfClass "...";
}

In case 1, sfCodeBase attribute is not present in the parsed
description, which may be because its defined in Prim. but if dont
extend Prim then is it a valid SF component descriptor? It seems to work
generally.
I assumed this attribute is available by default and something broke :-)

~Sanjay 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that
makes searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Smartfrog-support mailing list
Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.