Head default Site Studio code
Hi,
Here is my problem. I'm looking for a better performance in my web site.
I don't use any javascripts on my web site. And when I check the loading time of my page,a third of the time is due to javascripts (sitenavigation.js, sitenavigationfunctions.js, contributor.js and ssajax.js).
I noticed that in the head tag of the source page, EVEN IF I delete "<!--$include ss_layout_head_info-->" from my HCSP page, there is this part which I would like to remove :
<script language="JavaScript">
var g_HttpRelativeWebRoot = "/[...]/";
var SSContributor = false;
var SSForceContributor = false;
var SSHideContributorUI = false;
var ssUrlPrefix = "/900/";
</script>
<script id="SSContributorScript" nodeId="48" websiteId="900" layoutType="hcsp" language="javascript" type="text/javascript" src="/[...]/websites/900/contributor.js"></script>
<script id="SSNavigationFunctionsScript" language="javascript" type="text/javascript" src="/[...]/websites/900/sitenavigationfunctions.js"></script>
<script id="SSNavigationScript" language="javascript" type="text/javascript" src="/[...]/websites/900/sitenavigation.js"></script>
<script language="JavaScript">
var g_navNode_Path = new Array();
g_navNode_Path[0] = '4';
g_navNode_Path[1] = '48';
var g_ssSourceNodeId = "48";
var g_ssSourceSiteId = "900";
var g_strLanguageId = "en";
</script>
<script type="text/javascript" src="/[...]/resources/sitestudio/ssajax/ssajax.js"></script>
Does anyone have an idea about this ?
Thank you in advance.
You'll need to add some variable in your template that your include should check first:
Template:
<!--$includeSSContributor="true"-->
Component:
<@dynamichtml ss_layout_head_info@>
<$if includeSSContributor and isTrue(includeSSContributor)$>
<$include super.ss_layout_head_info$>
<$else$>
DO WHATEVER YOU WANT
<$endif$>
<@end@>
Similar Messages
-
Metadata values not showing in Site Studio layout using Idoc Script
Hi All,
We have a SS layout (secondary) with replaceable regions for showing content that is listed in a primary page dynamic list.
Part of the layout shows contribution elements of Contributor Data File content items, but part of layout also shows metadata values. We use <!--$DOC_INFO.dDocTitle--> to show the content item Title with no problems.
However, for some content items, some metadata values are not showing on the layout - specifically a custom metadata field called xFinishDate (which is of type 'Date' in Config Man). The code <!--$DOC_INFO.xFinishDate--> simply does not work (nothing is displayed) for some content items, despite definitely having a set FinishDate value. Some other content items show this value fine.
The <!--$DOC_INFO.dDocTitle--> value works for ALL items, but the <!--$DOC_INFO.xFinishDate--> does not, and there appears to be no difference between the items that it does, and does not work for. They are all CDF, same DocType, same CheckIn profile, etc.
The non-working items are all released and indexed. Their Content Information in Content Server shows complete metadata. I have resubmitted the non-working items for reconversion in Repo Man but no luck.
Is there something I am missing? Any help is greatly appreciated.
Luke.Actually the default DOC_INFO resultset that is on the page seems to be for the content item being loaded into the secondary layout's replaceable regions. This is why DOC_INFO.dDocTitle gives the results expected.
However, I think I have discovered why the xFinishDate value was not showing. Using sapan's code (and modifying it a bit) I was able to print out all the metadata field names and values for default DOC_INFO resultset.
Using this URL as an example: http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011217
At the top of page region (replaceable) where the Contributor Data File is loaded into, the DOC_INFO resultset is relevant to the content item that is being loaded into the layout (content ID: BD3_011217 - as per the URL format), which is what we want.
However, throughout the Contributor Data File content, if a link is made using the Site Studio link wizard via FCK Editor (in the above case, it is the position description link, which is a link to a PDF) and the link is 'Link to a file' and the 'Choose Target section' is selected as 'Use default website section metadata', the resulting link looks like "http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011216". Any references to the DOC_INFO resultset on the page after the instance of this link now use the metadata of the content item referred to in the link, not the original content item. I have dumped out the DOC_INFO fields/values in different parts of the layout to prove this. The linked content item has no xFinishDate value so this is why nothing displays (displaying xFinishDate needs to happen after the link to the position description).
I guess I need to either:
- change the way the link is made to the content item to "Link to the Content Item's URL", but I would prefer not to expose the resulting path e.g. "[!--$HttpRelativeWebRoot--]groups/group-name/@account-name/documents/content-type/content-id.pdf"
- explicitly make a resultset using <!--$executeService("SS_GET_SEARCH_RESULTS")--> with the content ID I know I want and use it instead of the default DOC_INFO one. Is there any other way to make a resultset comprising of a single item's metadata?
9.45 SS_GET_SEARCH_RESULTS
■ Description: This is a wrapper around the regular CS GET_SEARCH_RESULTS
service. It allows some Site Studio features to be specified simply as flags and have
the real query syntax be constructed on the server. It can modify the standard
'SearchResults' resultset to contain an additional column called 'ssUrl' which will
contain the Site Studio-friendly url for all of the search results.
■ Parameters:
– siteId: the unique identifier of the site (required).
– ssLimitScope: True/False, restricting scope to within the site only (optional).
– ssUserSearchText: user-supplied search text (optional).
– ssWebsiteObjectType: object type (optional).
– computeFriendlyUrls: True/False, modify results to include ssUrl (optional).
■ Returns: resultset named ’Search Results’.
■ Security: The user must have at write access to at least one security group on the
content server
Thanks to everyone for their help. Almost there!
Edited by: lukeb2112 on 18/01/2010 17:30 -
Search implementation on website in oracle site studio
I m new to Oracle Site Studio & Content server and i have to implement search on the site which i have created using Oracle Site Studio designer 11g so can any one please help me out regarding that.It's urgent please.
Thanks
Regards
Vijay KumarHi
What exactly are you trying to do with searching on site ? As in by default you have the fragments which has the search code already put in it . You can directly use them for a start .
Hope this helps .
Thanks
Srinath -
Cant log into R12 default site after installation !!!
Hi all,
I have installed R12 on windows 2003, the post installation was successful and i was able to see the test site but it was couldnt log into it because of java error.
Then i restarted and now i cant get into it default site any more. Try to restart the apache service but i couldnt find it.
I am able to ping both the host and the fQdN without any problem
Below is the log file:
Database ORACLE_HOME environment file passes instantiated variables test:
File = c:\oracle\VIS\db\tech_st\11.1.0\VIS_r12.env
Apps ORACLE_HOME environment file passes instantiated variables test:
File = c:\oracle\VIS\inst\apps\VIS_r12\ora\10.1.3\VIS_r12.cmd
iAS ORACLE_HOME environment file passes instantiated variables test:
File = c:\oracle\VIS\inst\apps\VIS_r12\ora\10.1.2\VIS_r12.cmd
APPL_TOP environment file passes instantiated variables test:
File = c:\oracle\VIS\apps\apps_st\appl\VIS_r12.cmd
ADOVARS environment file passes instantiated variables test:
File = c:\oracle\VIS\apps\apps_st\appl\admin\adovars.cmd
APPSCONFIG passes instantiated variables test:
File = c:\oracle\VIS\apps\apps_st\appl\admin\adconfig.txt
DBC File
DBC file passes instantiated variables test:
File = c:\oracle\VIS\inst\apps\VIS_r12\appl\fnd\12.0.0\secure\VIS.dbc
HTTP
checking URL = http://r12.jibosit:8000
HTTP Listener is responding
Help Page
checking URL = http://r12.jibosit:8000/OA_HTML/help
Page is responding
Virtual Directory
checking URL = http://r12.jibosit:8000/OA_MEDIA/FNDLOGOL.gif
Page is responding
checking URL = http://r12.jibosit:8000/OA_JAVA/oracle/apps/fnd/admin/server/server.xml
Page is responding
checking URL = http://r12.jibosit:8000/OA_CGI/FNDWRR.exe
Page is responding
JSP
checking URL = http://r12.jibosit:8000/OA_HTML/jtfTestCookie.jsp
JSP is responding
Login Page
checking URL = http://r12.jibosit:8000/OA_HTML/AppsLogin
Page is responding
DoInstallPanel - Summary Text
The Rapid Install Wizard will now install the following:
Launching browser - rundll32 url.dll,FileProtocolHandler http://r12.jibosit:8000
Any suggestion please let's know.
cheersStarting AutoConfig at Sun Feb 21 07:40:30 2010
Using adconfig.pl version 120.26
script returned:
adexecsql.pl started at Sun, 02 Feb 2010 07:59:41 GMT Standard Time
The environment settings are as follows ...
ORACLE_HOME : c:\oracle\VIS\apps\tech_st\10.1.2
LOCAL : VIS
PATH : c:\oracle\VIS\apps\tech_st\10.1.2\bin;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;%PATH%;c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe;c:\oracle\VIS\apps\tech_st\10.1.2\bin;c:\oracle\VIS\apps\tech_st\10.1.2\jdk\jre\bin\classic;c:\oracle\VIS\apps\tech_st\10.1.2\jdk\jre\bin;c:\oracle\VIS\apps\tech_st\10.1.2\jlib;c:\oracle\VIS\apps\tech_st\10.1.3\bin;c:\oracle\VIS\db\tech_st\11.1.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\cygwin\bin;
TNS_ADMIN : c:\oracle\VIS\inst\apps\VIS_r12\ora\10.1.2\network\admin
Running SQL script : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\fteadmprf.sql
SQL*Plus: Release 10.1.0.5.0 - Production on Sun Feb 21 07:59:41 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
ORA-12541: TNS:no listener
Error encountered while running c:\oracle\VIS\inst\apps\VIS_r12\admin\install\fteadmprf.sql
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\ont\12.0.0\admin\driver\onttmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for ONT_TOP
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\ar\12.0.0\admin\driver\artmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AR_TOP
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\ahl\12.0.0\admin\driver\ahltmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AHL_TOP
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\ozf\12.0.0\admin\driver\ozftmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for OZF_TOP
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\ies\12.0.0\admin\driver\iestmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for IES_TOP
instantiate file:
source : c:\oracle\VIS\apps\apps_st\appl\ies\12.0.0\admin\template\cooper.cmd
dest : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\cooper.cmd
backup : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\cooper.cmd to c:\oracle\VIS\inst\apps\VIS_r12\admin\out\02210740\cooper.cmd
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\csd\12.0.0\admin\driver\csdtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for CSD_TOP
Processing DriverFile = c:\oracle\VIS\apps\apps_st\appl\igc\12.0.0\admin\driver\igctmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for IGC_TOP
instantiate file:
source : c:\oracle\VIS\apps\apps_st\appl\igc\12.0.0\admin\template\igccmprf.sql
dest : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\igccmprf.sql
backup : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\igccmprf.sql to c:\oracle\VIS\inst\apps\VIS_r12\admin\out\02210740\igccmprf.sql
setting permissions: 600
instantiate file:
source : c:\oracle\VIS\apps\apps_st\appl\igc\12.0.0\admin\template\igccmprf.cmd
dest : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\igccmprf.cmd
backup : c:\oracle\VIS\inst\apps\VIS_r12\admin\install\igccmprf.cmd to c:\oracle\VIS\inst\apps\VIS_r12\admin\out\02210740\igccmprf.cmd
AutoConfig Profile Phase
Running Profile Process 1 of 1 for IGC_TOP
Executing script in InstantiateFile:
c:\oracle\VIS\inst\apps\VIS_r12\admin\install\igccmprf.cmd
script returned:
21/02/2010
07:59
Enter the Username/Password: ECHO is off.
ECHO is off.
21/02/2010 07:59
ECHO is off.
ECHO is off.
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
APPSORA.cmd exiting with status 0
ECHO is off.
The environment settings are as follows ...
ECHO is off.
ORACLE_HOME : c:\oracle\VIS\apps\tech_st\10.1.2
ORACLE_SID :
TWO_TASK : VIS
PATH : C:\V98\Common7\IDE;C:\V98\VC\BIN;C:\V98\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\V98\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;c:\oracle\VIS\apps\apps_st\appl\au\12.0.0\bin;c:\oracle\VIS\apps\apps_st\appl\fnd\12.0.0\bin;c:\oracle\VIS\apps\apps_st\appl\ad\12.0.0\bin;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\;c:\oracle\VIS\apps\apps_st\comn\util\unzip\unzip;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;c:\oracle\VIS\apps\tech_st\10.1.2\bin;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\bin;c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin;C:\cygwin\bin;C:\WINDOWS;C:\WINDOWS\system32;c:\oracle\VIS\apps\tech_st\10.1.3\ant\bin
LD_LIBRARY_PATH : c:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\lib;c:\oracle\VIS\apps\tech_st\10.1.2\lib;c:\oracle\VIS\apps\apps_st\appl\cz\12.0.0\bin;c:\oracle\VIS\apps\tech_st\10.1.2\lib
ECHO is off.
ECHO is off.
Running SQL script
ECHO is off.
SQL*Plus: Release 10.1.0.5.0 - Production on Sun Feb 21 07:59:47 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
Error returned while running igccmprf.cmd
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP MSC_TOP IEO_TOP BIS_TOP AMS_TOP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP IGS_TOP IBY_TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP FTE_TOP ONT_TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOP
===========================================================================
Starting Restore Profile utility at Sun Feb 21 07:59:49 GMT 2010
Using version 120.4
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL=''
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : r12
sDbDomain : jibosit
sDbPort : 1521
sDbSid : VIS
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@r12.jibosit:1521:VIS
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=r12.jibosit)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=r12.jibosit)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=VIS.jibosit)))
Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
Verifying connection to the Database : Could not be stablished
No Restore Profile file created.
Restore Profile utility ran successfully
===========================================================================
adcvmlog.xml renamed to c:\oracle\VIS\inst\apps\VIS_r12\admin\log\02210740\adcvmlog.xml.02210759
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: c:\oracle\VIS\inst\apps\VIS_r12\admin\install
adgendbc.cmd INSTE8_SETUP 1
afcpnode.cmd INSTE8_SETUP 1
afgcsreg.cmd INSTE8_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib\MSWin32-x86-multi-thread -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib\MSWin32-x86-multi-thread -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib -I c:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl -I c:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\mod_perl\site\5.8.3\lib\MSWin32-x86-multi-thread c:\oracle\VIS\inst\apps\VIS_r12\admin\scripts\adexecsql.pl sqlfile=c:\oracle\VIS\inst\apps\VIS_r12\admin\install
afwebprf.sql INSTE8_PRF 1
amscmprf.sql INSTE8_PRF 1
amswebprf.sql INSTE8_PRF 1
bisadmprf.sql INSTE8_PRF 1
bisdblrp.sql INSTE8_PRF 1
clnadmprf.sql INSTE8_PRF 1
cncmprf.sql INSTE8_PRF 1
cseadmprf.sql INSTE8_PRF 1
csfadmprf.sql INSTE8_PRF 1
csiadmprf.sql INSTE8_PRF 1
eamadmprf.sql INSTE8_PRF 1
fteadmprf.sql INSTE8_PRF 1
ibywebprf.sql INSTE8_PRF 1
icxwebprf.sql INSTE8_PRF 1
oksfrmprf.sql INSTE8_PRF 1
wshadmprf.sql INSTE8_PRF 1
Directory: c:\oracle\VIS\inst\apps\VIS_r12\admin\install
adadmprf.cmd INSTE8_PRF 1
afadmprf.cmd INSTE8_PRF 1
afcpctx.cmd INSTE8_PRF 1
afcpgsm.cmd INSTE8_PRF 1
igccmprf.cmd INSTE8_PRF 1
jtfictx.cmd INSTE8_PRF 1
okladmprf.cmd INSTE8_PRF 1
txkJavaMailerCfg.cmd INSTE8_PRF 1
txkWebServicescfg.cmd INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib\MSWin32-x86-multi-thread -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib\MSWin32-x86-multi-thread -I c:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib -I c:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl -I c:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\mod_perl\site\5.8.3\lib\MSWin32-x86-multi-thread c:\oracle\VIS\inst\apps\VIS_r12\admin\install
adadmat.pl INSTE8_APPLY 1
AutoConfig is exiting with status 29
This is the last paragraph of the error code as i cant display all because of the restriction, i really dont understand what going on though. My guess is there is a problem with some java script not applying properly.
But i will welcome any suggestion or possible solutions.
Thanks -
Hi ,
I have Jdeveloper Studio 11.1.1.3.0 installed on my machine. I have installed the RIDC and Site Studio extensions in Jdeveloper using Help -> Check For Updates -> Source -> Install From file. I used oracle.ucm.wcm.jdev-11.1.1.zip and oracle.ucm.ridc.jdev-11.1.1.zip for this. These extensions got installed without any error.
Now when I am trying to create a new connection using Oracle Content Server Connection as connection type I am getting following error.
java.lang.NoClassDefFoundError: oracle/stellent/ridc/convenience/adf/mbeans/IdcConnection
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard.runWizard(IdcConnectionWizard.java:88)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard.invoke(IdcConnectionWizard.java:43)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:428)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.stellent.ridc.convenience.adf.mbeans.IdcConnection
Dependent class: oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ucm.wcm.jdev.jar
Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions
This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2190)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1733)
at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
... 17 more
Please help.
Thanks
PravinHi Pravin ,
SS with JDev provides you to create the SS Connection which is to be added to your project . We do not need a Oracle Content Server connection for that . To be able to do it you will need to install the Webcenter Plugins which will be available from :
Check For Updates -> Source -> <Online> - Select Webcenter Framework and Webcenter Portal .
Once these are deployed , then you will be able to create oracle content server connection .
Hope this helps .
Thanks
Srinath -
How do I create a workflow token based on a section property in site studio
I am trying to setup a workflow for a Site Studio site and I want to set the alias based on a custom property of the site studio site. Example...I have custom property called group and I want to use this to determine what which alias to use to send out workflow notification. I tried using the <$ssGetNodeProperty()$> function, but that does not seem to work. Is it possible to expose a custom property for the token code to use?
ThanksHere is my crude example I was using just to see if it would work. When I check something in, it completely by-passes all workflow which leads me to believe that the ssGetNodeProperty function is causing an error. When I look into the log I get a Null Pointer Exception.
<$if strEquals(ssGetNodeProperty("Group"), "Marketing")$>
<$wfAddUser("sysadmin", "user")$>
<$else$>
<$wfAddUser("UEMA025", "user")$>
<$endif$>
I have also tried this if statement as well.
<$if strEquals(ssGetNodeProperty("15", "Group"), "Marketing")$>
<$wfAddUser("sysadmin", "user")$>
<$else$>
<$wfAddUser("UEMA025", "user")$>
<$endif$>
If I change the code to the following, both parts of the if statement work and the notification is sent.
<$if strEquals("Marketing", "Marketing")$>
<$wfAddUser("sysadmin", "user")$>
<$else$>
<$wfAddUser("UEMA025", "user")$>
<$endif$>
OR
<$if strEquals("PR", "Marketing")$>
<$wfAddUser("sysadmin", "user")$>
<$else$>
<$wfAddUser("UEMA025", "user")$>
<$endif$>
Thanks
Nate -
How to include one layout into other layout in Oracle Site studio designer
Hi all,
I have created the Header as on layout(This is my project specific even if we can go for fragments) in oracle site studio designer. It is the same case for footer, Left Nav. All these are primary pages in different sections. Now I have created the new primary page in different section, I would like to include all these layouts in to one layout and show the preview i,.e Header in the header place. Footer in the footer place.
First of all, will it be possible? If so, could you please tell me how to go about this?
As I am new to this site studio designer, I am really clueless in this matter. Please come forward with ideas.
Any help would be much appreciated.
Regards & thanks,
Nirmala Vijaya Sekhar VarreWhat is the version of Site Studio are you using?
Do you want your layouts to be editable by contributors or you want to pick things from the content server and show? -
Check out native doc from Site Studio Contributor
Why can't I (or my users) check out a native document from a dynamic list in contribution mode? Is there any way to accomplish this (besides installing software on every client's computer)? I modified the default dynamic list fragment to use the pdf (web-viewable) link to the document in lieu of the regular Site Studio URL (so that Site Studio doesn't try to apply the document to dynamic converter), as I want to simply display the PDF when the user clicks on it.
All of that works great, and I can still check in documents just fine. However, "Edit Target" doesn't work in contribution mode, and even if I view the info on the document, and check it out from there, it doesn't even give me the link to download the original document. Is there a way around this?
ThanksI guess, image needs to be in the Content Server. You can try desktop integration suite or webdav so that user can easily checkin the digital assets to the content server.
-
Best Practices for Forms within Site Studio Templates
Last summer our university redesigned our entire website using site studio. We only use the content server for the SiteStudio add on. During the redesign, we found that it wasn't clear how we were supposed to migrate our current web forms (applications, payment forms, etc) to sitestudio. Our current workaround is to place the form within the content server, and have it submit data to a cgi (perl,php) placed on a separate web server. We wrap the backend of the form within an html template that looks like our sitestudio templates so that it appears to the end user that they are still on our website.
Obviously, this is not ideal. I have been reading documentation on how to use the content server to host JSP files. The jsp files run flawlessly if they are accessed via the weblayout folder directly. I have not yet found a solution that will allow me to wrap my jsp forms within our existing sitestudio templates.
Has anyone else encountered this problem, or come up with an alternate solution to this problem?Thanks, I appreciate your taking time to find the precise answer. Just today this bit me again.
I have a need to modify the ComboBox template to italicize placeholder text. That's a easy thing to do; however, now that I've created a new template I have to name it and add a Style={StaticResource MyNewStyle} to ALL the comboboxes in my app.
If I leave my new template unnamed - to override the default - none of the theme resource changes that I already have in place are picked up by the existing ComboBoxes, and they revert to their default look.
There's clearly something wrong in the way I'm doing it or the way it's implemented. -
How to pass idoc parameters in a validation script? (10gR3 site studio)
Obviously idoc won't work in the actual validation script, so I'd like to use it to generate the parameters to pass to a custom function.
If I add <!--$siteId--> as a parameter in design mode, it'll be added as: &lt;!--$siteId--&gt; which doesn't work.
If I manually add <!--$siteId--> to the parameter code in Source mode, this works just fine. However, once I enter design mode, Designer strips it out and now I have no parameter.
Is there any way to somehow escape the less than/greater than symbols in Design mode?
It's really unfortunate how the contributor windows are static HTML pages that don't retain what site they're on. Maybe this has changed in the 10gR4.Sorry I don't have an answer for you, but I wanted to say that we have had problems with Design mode in general and don't use it anymore. Switching between Source and Design has cause multiple errors in our Site Studio template. We do all of our Designer editing in Source mode. Any actual design work is done in an external editor and the HTML source is then brought over into Site Studio in Source mode.
I was disappointed when 10gR4 came out and Oracle said they did no significant changes (improvements) to Site Studio Designer application. -
Google recaptcha Implementation in Site Studio Custom Forms
I am implementing recaptcha in my custom html forms which i have defined in custom component resource.for recaptcha implementation i am using recaptcha4j-0.0.7.jar ,on form submit it calls my custom service 'MyMail' which executes javafunction where i am calling recaptcha fuction to verify recaptcha text and after that sending Form details to given Email Address.*But when i am redirecting to same page for sending message for recaptcha response all form fields values goes blank.*
Is there any other way to retain form values when my service returns recaptcha response?
<form id="DataForm10" class="form" action="<$HttpCgiPath$>?IdcService=My_MAIL" method="post">
<fieldset class="rc_grey">
<input type="hidden" name="Email" value="<$email$>"/>
<input type="hidden" name="RedirectUrl" value="<$ssGetServerRelativeUrl(siteId, nodeId)$>"/>
<ol>
<li>
<div class="grid_4 alpha">
<label for="name"><em> *</em>Your Name</label>
</div>
<div class="grid_5">
<input type="text" name="name" id="name" class="mandatory"/>
</div>
</li>
<li>
<div class="grid_4 alpha">
<label for="reference_no"><em> *</em>Your Reference No (located top left of payslip)</label>
</div>
<div class="grid_5">
<input type="text" name="reference_no" id="reference_no" class="mandatory" />
</div>
</li>
<li>
<div class="grid_4 alpha">
<label for="dob"><em> *</em>Your Date of birth</label>
</div>
<div class="grid_5">
<input type="text" name="dob" id="dob" class="mandatory"/>
</div>
</li>
<li>
<div class="grid_4 alpha">
<label for="ni_number"><em> *</em>Your NI Number</label>
</div>
<div class="grid_5">
<input type="text" name="ni_number" id="ni_number" class="mandatory"/>
</div>
</li>
<li>
<$include recaptcha_inc$>
</li>
</ol>
</fieldset>
<div class="s_mrg">
<input type="submit" value="Send" class="button" />
</div>
<div class="clear"></div>
</form>
Also if there is any other better approach to implement google reCAPTCHA in oracle UCM Site Studio?Please SuggestHi Mikey,
This code is not working because when i am redirecting on same Form page all m_binder data will lost , so the response data will be blank on page after redirecting.You can see theprevious form code where i have specified RedirectUrl input hidden field and in my java fucntion i am only appending Response message with RedirectUrl parameter.
if (reCaptchaResponse.isValid()) {
// this command is used to send email to the client. The message
// sent is a template (Mail), and the data to format the
// message is taken out of m_binder, contained in "this"
boolean response=InternetFunctions.sendMailTo(emailStr, "Mail", subject, this.m_service);
redirecturl=redirecturl+"?Response="+response;
m_binder.putLocal("RedirectUrl",redirecturl);
} else {
redirecturl=redirecturl+"?valid="+reCaptchaResponse.isValid();
m_binder.putLocal("RedirectUrl",redirecturl);
}catch(Exception e){
e.printStackTrace();
redirecturl=redirecturl+"?error="+e.getMessage();
m_binder.putLocal("RedirectUrl",redirecturl);
so please tell me is there any other way to submit my custom form and will display previous form field values entered by user when recaptcha response will show on same page through my service.
Thanks
Anubhav -
Word wrapping in site studio?
Hello,
I'm trying to develop in Site Studio 7 and finding it cumbersome the way I always have to scroll across to view code. I've tried 'enable line wrapping' in the view -> customise menu, this doesn't seem to have any effect. Anyone else had this problem or know of a solution?
Cheers
M.Mix"Line wrapping" is not word wrapping. It inserts a physical line break when the line exceeds the specified length. If the text is continuous (no spaces) then no break is inserted. Pointless and yuck. We've been complaining about it for years, maybe Oracle's 11g release might address it.
See Re: Suggestion for Site Studio Designer improvement -
Not publishing entire site with all pages from site studio Designer
Hi,
I have created the site with one primary page & one secondary page in the site designer. I must admit that they don't have link to each other. When I publishing this site using Oracle Site studio publishing utility to a subscriber, it is publishing the primary page as index.htm in the destination. It is not pulling the secondary page. But i would like to get the entire site including the secondary page. What needs to be done to get the entire site. If you have any idea, please let me know.
Any help would be appreciated.
Regards & thanks,
Nirmala Vijaya Sekhar VarreHi
One way is setting a region in secondary as 'set replaceable' and geting ssURL from the code and link them in primary page.
Thanks
Srinath -
Using a Site Studio 10R4 Dynamic List Element Definition
Hi All,
I've created and can use a Static List Element Definition > Region Definition > Region Template with no problems based off of the 10gR4 samples.
However, there is no example that I've found to utilise the Element Definition of a Dynamic List. I'm attempting to use the same sample code as provided for a Static List but having no luck displaying the results of the query...
Does anyone have some sample code used in a Region Template or Sub Template to show how we use a Dynamic List Element Definition please?
I noted from another thread in this forum that there are some iDoc calls to make which load the query defined in the Element Definition... I can't find any documentation regarding this either.
Thanks
Edited by: user615721 on May 4, 2009 10:08 AM
Edited by: user615721 on May 4, 2009 10:09 AMFound my answer in another thread, here... Re: Using a Site Studio 10R4 Dynamic List Element Definition
'For 10gR4 Site Studio you can get examples and even a video talking about making dyanmic lists from here:
http://www.oracle.com/technology/products/content-management/ucm/SiteStudio10gR4Tutorials/index.html'
Edited by: user615721 on May 4, 2009 10:25 AM
Edited by: user615721 on May 4, 2009 10:25 AM -
Migrating Site Studio pages to 11g
We are in the middle of an upgrade from 10gR3 to 11g, and I am trying to get our Site Studio sites working in the new environment. The Sites were originally developed in 751 and migrated up to 10gR3 in 2009. The problem is that many of the pages are now throwing JavaScript errors and not working as a result.
When I dig into the source of the pages in error, I foundnd a reference to idcBundle.js that not longer exists in 11g. I think this script defined a lot of the functions used in base.js, such as idc.schema and idc.string. I have replaced the reference to idcBundle.js with bundle.js, and that appears to have resolved some of my issues, but I am still getting some errors in base.js with references to idc.schema ("idc.schema is not defined").
I have been back over the doco a couple of times and found very little on this subject. Does anyone have any ideas or suggestion on this?
Please note that I didn't develop the sites initially, so I don't know why the original developer used these scripts in the first place. I just have to get them working in 11g. Any input is greatfully received.
Thanks,
AlecHi Remmer ,
I tested this using the following scenario :
1. Create a Site and set it to Secure public group
2. Launch this site , it will show the login screen - checked tracing and it shows to redirect to GET /adfAuthentication?login=true
and redirects to GET /cs/login/login.htm
3. Enter the credentials - POST /cs/login/j_security_check is called and the parameters are passed as :
j_character_encoding=UTF-8&j_username=weblogic&j_password=welcome1
4. This again redirects to GET /adfAuthentication?login=true which in turn (if authentication is successful ) redirects to http://hostname:port/<Site>/index.htm
So I believe this should work in your case :
<input type="hidden" name="RedirectUrl" value="/OurSite/index.htm"/>
Basically the current form code need to be re-designed and using the above urls / login authentication params will need to test with Redirect part .
Create a new form and test , update this post how it works .
We can take it forward accordingly .
Thanks,
Srinath
Edited by: Srinath Menon on Jan 22, 2013 8:23 AM
Maybe you are looking for
-
Dear All , I want to do an enhancement using the ME21n transaction user Exit , where i want to check the Plant Entered by the user & profit center in the PO item at the Time of saving the Me21n transaction that is Purchase order . Which user exit i n
-
How I can create dynamically-formed requests or use native SQL in EJB?
Hi all. I'm working around modify an example from NetWeaver Developer Studio (CarRental). I want to get ordered data from table and allow users to specify the ordering field, not in the code. EJB QL doesn't support dynamically-formed queries like "se
-
How to record avi file in relative small size
i try to grab picture from usb camera and save to AVI file. but the file size are all relatively too big. I hope to use xvid filter that can support good quality and good compression. But for the AVI filter list can not list this filter. So i hope to
-
Why do i get an empty output if i connect a control to the connector pane ?
hello everyone.. i must admit the behaviour of the following program somewhat blew my mind and made me doubt whether i had ever understood anything about programming in labview. please have a look at the attached vi and it's subvi. i probe the output
-
while connecting to itunes mesgae appears the SIM card inserted in this iphone dose not appear to be supported what to do