You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by an...@wipro.com on 2009/02/25 17:48:37 UTC

js and css in a gadget

 
Hi,
 
I am facing a problem in creating a gadget.
Here is my gadget xml which I am creating:-
 
<?xml version="1.0" encoding="UTF-8"?>
<Module>
 <ModulePrefs title=" "
  width = "300"
   height="500" 
   render_inline="inline" >
   <Require feature="opensocial-0.7" />
   <Require feature="dynamic-height"></Require>
 </ModulePrefs>
 <Content type="html">
  <![CDATA[
<script type="text/javascript" src="/teamsocial/tabber.js"></script
<http://localhost/festa/web/html/teamsocial/tabber.js"></script> > 
 <script type="text/javascript" src="/teamsocial/profile.js"></script
<http://localhost/festa/web/html/teamsocial/profile.js"></script> >
 <link rel="stylesheet" href="/teamsocial/tabber.css
<http://localhost/festa/web/html/teamsocial/tabber.css> "
TYPE="text/css" MEDIA="screen">
 <link rel="stylesheet" href="teamsocial/fos.css
<http://localhost/festa/web/html/teamsocial/fos.css> " TYPE="text/css"
MEDIA="screen">
.....
    some html code
......
]]>
  </Content>
</Module>
 
With the help of this gadget I want to create different tabs for
updating the profile of the users.The js and css files required for the
tabs are included in the code.But,unfortunately the jss and css files
are not getting accessed by the code and hence no tabs are getting
created. Only the names of the tabs are getting displayed with no tab
functionality like Basic and Contact tabs given below.
 

Basic

first name* 
	
last name* 
	
nick name* 
	
gender* 
- Female Male	
date of birth 
- 1 2 3 4 5 6 7 8 9 10 11 12 - 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 - 1940 1941 1942 1943 1944
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972
1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986
1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
2001 2002 2003 2004 2005 2006 2007 2008	
political views 
	
religion 
	
children 
- none 1 2 3 4 more then 4	
drinker 
- Heavily No Occasionally Quit Quitting Regularly Socially Yes	
smoker 
- Heavily No Ocasionally Quit Quitting Regularly Socially Yes	
ethnicity 
- african american (black) asian caucasian (white) east indian
hispanic/latino middle eastern native american pacific islander
multi-ethnic other	
 

Contact

primary email* 
	
secondary email 
	
address line 
	
city 
	
state 
	
zipcode/pincode 
	
Country 
- Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla
Antigua and Barbuda Argentina Armenia Ascension Island Australia Austria
Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize
Benin Bermuda Bhutan Bolivia Bosnia and Herzegovina Botswana Brazil
British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso
Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central
African Republic Chad Chile China Colombia Comoros Congo Cook Islands
Costa Rica Cote D Ivoire Croatia Cuba Cyprus Czech Republic Democratic
Republic of Congo Denmark Djibouti Dominica Dominican Republic Ecuador
Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland
Islands Faroe Islands Federated States of Micronesia Fiji Finland France
French Guiana French Polynesia Gabon Georgia Germany Ghana Gibraltar
Greece Greenland Grenada Guadeloupe Guam Guatemala Guinea Guinea Bissau
Guyana Haiti Honduras Hong Kong Hungary Iceland India Indonesia Iran
Iraq Ireland Isle of Man Israel Italy Jamaica Japan Jordan Kazakhstan
Kenya Kiribati Korea (Peoples Republic of) Korea (Republic of) Kuwait
Kyrgyzstan Laos Latvia Lebanon Lesotho Liberia Libya Liechtenstein
Lithuania Luxembourg Macau Macedonia Madagascar Malawi Malaysia Maldives
Mali Malta Marshall Islands Martinique Mauritius Mayotte Mexico Moldova
Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia
Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand
Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana Islands
Norway Oman Pakistan Palau Panama Papua New Guinea Paraguay Peru
Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania
Russian Federation Rwanda Saint Vincent and the Grenadines San Marino
Sao Tome and Principe Saudi Arabia Senegal Serbia Seychelles Sierra
Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa
South Georgia Spain Sri Lanka St. Kitts and Nevis St. Lucia St. Pierre
and Miquelon Sudan Suriname Swaziland Sweden Switzerland Syrian Arab
Republic Taiwan Tajikistan Tanzania Thailand The Gambia Togo Tokelau
Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos
Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United
States Uruguay Uzbekistan Vanuatu Venezuela Viet Nam Virgin Islands
(U.K.) Virgin Islands (U.S.) Wallis and Futuna Islands Western Samoa
Yemen Yugoslavia Zambia Zimbabwe	
 

Relationship

relationship status 
- Single In a relationship Engaged Married It's complicated In an open
relationship	
living arrangement 
- Alone With roommate(s) With partner With kid(s) With pet(s) With
parent(s)	
 
So, can you help me regarding this problem that what can be the reason
that js and css files are not getting included into the code.
 
 
Thanks and Regards,
 
 

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com