![]() ![]() |
Cara Nk Guna Uportal? |
Jun 1 2008, 12:38 PM
Kiriman
#1
|
|
|
Ahli Baru Grup: Learning Kiriman: 7 Penyertaan: 29-April 08 Ahli ke- 46,740 |
salam..
cam maner nk wat klu netbeans ada error(tanda merah)...sy nk guna utk web application.. error ni menyebabkn sy x dpt nk progress yg lain... saper yg ada penglaman guna uportal.. plz help me.. |
|
|
|
Jun 1 2008, 07:35 PM
Kiriman
#2
|
|
|
Ahli Rajin ![]() ![]() ![]() ![]() Grup: Members Kiriman: 699 Penyertaan: 2-December 06 Dari: Paka ke Dungun Ahli ke- 21,529 |
Apa error yang ko dapat dalam netbeans tu? Cuba pastekan error dia.
-------------------- Java Specialist Programmer
programming+bisnes logic=headche |
|
|
|
Jun 2 2008, 09:18 AM
Kiriman
#3
|
|
|
Ahli Baru Grup: Learning Kiriman: 7 Penyertaan: 29-April 08 Ahli ke- 46,740 |
sy nk guna netbeans ni ngan uportal...
lps setup abis smua ada error kat source package.. sbanrnya sya pun bru nk xplore mende ni..still x berape phm lagi.. sy guna uportal 2.5.3, netbeans 6.1 n jdk 1.5.0 ni error dia... CODE [b]import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap; /*error*/
import EDU.oswego.cs.dl.util.concurrent.ReadWriteLock; /*error*/ import EDU.oswego.cs.dl.util.concurrent.ReentrantWriterPreferenceRe adWriteLock; /*error*/ /** * This class extends RDBMUserLayoutStore and implements instantiating and * storing layouts that conform to the design of the distribute layout * management system. These layouts consist of two types: layout fragments * that are the layouts owned by a user specified in dlm.xml, and composite * view layouts which represent regular users with zero or more UI elements * incorporated from layout fragments. Only a user's personal layout fragment * is * * @version $Revision: 36721 $ $Date: 2006-09-25 11:26:24 -0400 (Mon, 25 Sep 2006) $ * @since uPortal 2.5 */ public class RDBMDistributedLayoutStore extends RDBMUserLayoutStore { public static final String RCS_ID = "@(#) $Header$"; private static final Log LOG = LogFactory.getLog(RDBMDistributedLayoutStore.class); private String systemDefaultUser = null; private boolean systemDefaultUserLoaded = false; private Properties properties = null; private FragmentDefinition[] definitions = null; private LayoutDecorator decorator = null; private FragmentActivator activator = null; private Object initializationLock = new Object(); private boolean initialized = false; static final String TEMPLATE_USER_NAME = "org.jasig.portal.services.Authentication.defaultTemplat eUserName"; static final String DECORATOR_PROPERTY = "layoutDecorator"; private static final int THEME = 0; private static final int STRUCT = 1; // Cache for theme stylesheet descriptors private static SmartCache tsdCache; // Cache for structure stylesheet descriptors private static SmartCache ssdCache; /** Map of read/writer lock objects; one per unique person. ==blok ni error*/ private Map mLocks = new ConcurrentHashMap(); private final ReadWriteLock getReadWriteLock(IPerson person) { Object key = new Integer(person.getID()); ReadWriteLock lock = (ReadWriteLock) mLocks.get(key); if (null == lock) { lock = new ReentrantWriterPreferenceReadWriteLock(); mLocks.put(key, lock); } return lock; } private void acquireReadLock(IPerson person) throws InterruptedException { getReadWriteLock(person).readLock().acquire(); //error } private void releaseReadLock(IPerson person) { getReadWriteLock(person).readLock().release(); //error } Kiriman ini telah diubahsuai oleh ciky_girlz: Jun 2 2008, 11:54 AM |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 6th September 2008 - 11:27 AM |




Jun 1 2008, 12:38 PM


