Il Web Editor dispone di alcuni parametri dell'applicazione impostati all'interno del file webeditor.properties. Tale file si trova nella seguente directory:
unità:\WebSphere\AppServer\installedApps\WC_Enterprise_App_demo.ear\
wcwebeditor.war\WEB-INF\classes\webeditor.properties
unità:\Program Files\WebSphere\AppServer\installedApps\
WC_Enterprise_App_demo.ear\wcwebeditor.war\
WEB-INF\classes\webeditor.properties
/usr/WebSphere/AppServer/installedApps/WC_Enterprise_App_demo.ear/
wcwebeditor.war/WEB-INF/classes/webeditor.properties
![]()
/optWebSphere/AppServer/installedApps/WC_Enterprise_App_demo.ear/
wcwebeditor.war/WEB-INF/classes/webeditor.properties
/QIBM/UserData/WebASAdv4/was_instance_name/installedApps/
WC_Enterprise_App_wcs_instance_name.ear/wcwebeditor.war/WEN-INF/classes
Modificando il file webeditor.properties, un responsabile può effettuare operazioni come ad esempio modificare il file utilizzato per descrivere i moduli visualizzati nel Web Editor. Di seguito viene riportato un esempio del contenuto di un file webeditor.properties:
# Properties file for WebEditor (Il seguente percorso indica dove sono posizionati l'elenco dei processi personalizzati e le buste di configurazione del programma di utilità di Catalog Manager.) # URI Location of Process and WCM Subsystem configuration envelopes ProcessConfigFile=file:///D:/WebSphere/CommerceServer/xml/wcwebeditor/xml/ weProcessList.xml (Il seguente percorso indica dove si trovano i moduli.) # Location of Forms file FormsURL=file:///D:/WebSphere/CommerceServer/xml/wcwebeditor/xml/forms51_be.xml (La seguente impostazione indica dove si trova il foglio di stile XML - HTML) # Location of XML to HTML StyleSheet StyleSheetURI=file:///D:/WebSphere/CommerceServer/xml/wcwebeditor/xsl/webeditor.xsl (La seguente impostazione indica la posizione dei file temporanei) # Location of Temporary Directory #temp.dir= StyleSheetURI=xsl/webeditor.xsl# WebSphere datasource. This is used to build form drop-down lists and field # default values. However, when publishing and searching, the Web Editor utilizes # the WCM subsystems ID Resolver, Mass Loader, and Mass Extractor. Database access # for these WCM subsystems must be configured separately. # Name of WAS database source dbsource=jdbc/mall # Name of WAS database. If specified, this takes preference over the database name # value in the forms XML file. This value will be utilized as a parameter when # invoking the WCM subsystems such as the Mass Loader. dbname=mall (La seguente impostazione indica l'insieme dei caratteri da utilizzare. Per impostazione predefinita, è impostato sull'insieme di caratteri a single byte. Per altri paesi, scegliere dai valori commentati fuori.) # Encoding Character Set Encoding=ISO-8859-1 # CN #Encoding=gb2312 # TW #Encoding=Big5 # KR #Encoding=EUC-KR # JP #Encoding=Shift_JIS (La seguente impostazione viene utilizzata per consentire alle immagini di essere visualizzate. Il nome host del server, le informazioni sulla directory principale prima delle informazioni sull'immagine che sono memorizzate in WebSphere Commerce devono essere specificate qui. Le informazioni sul catalogo di WebSphere Commerce vengono accodate a questo valore per costruire un'immagine URL.) # Specifies the base href location for images # This should be set so that this info plus the info stored in WCS # (e.g. /image/char.gif) combines to create a URL to an image #imageRootURL=http://%HOSTDOMAIN imageRootURL=http://localHost/webeditor (La seguente impostazione viene utilizzata per impostare un formato data per l'applicazione. Se queste proprietà non sono disponibili (ad esempio, sono commentate fuori), allora verrà utilizzato il formato specifico alla locale Java. Di seguito è riportata una tabella di riferimento per l'impostazione di questi valori.) # Use these properties to specify a date format if the Java locale-specific # format is not desired #dateFormat=yyyy-MM-dd #dateTimeFormat=yyyy-MM-dd HH:mm:ss # Symbol Meaning Presentation Example # ------ ------- ------------ ------- # G era designator (Text) AD # y year (Number) 1996 # M month in year (Text & Number) July & 07 # d day in month (Number) 10 # h hour in am/pm (1~12) (Number) 12 # H hour in day (0~23) (Number) 0 # m minute in hour (Number) 30 # s second in minute (Number) 55 # S millisecond (Number) 978 # E day in week (Text) Tuesday # D day in year (Number) 189 # F day of week in month (Number) 2 (2nd Wed in July) # w week in year (Number) 27 # W week in month (Number) 2 # a am/pm marker (Text) PM # k hour in day (1~24) (Number) 24 # K hour in am/pm (0~11) (Number) 0 # z time zone (Text) Pacific Standard Time # ' escape for text (Delimiter) # '' single quote (Literal) '
![]() |