Add Content renders blank pop list
I have created a Webcenter application.
The edit button changes the mode to editable. Upon hitting the Add Content button, a blank pop list is rendered with the following exception:
Mar 12, 2010 5:28:35 AM oracle.adfinternal.rc.model.service.CatalogService getCatalogContext()
SEVERE:
oracle.adf.rc.model.exception.InvalidCatalogException: cannot initialize the catalog context with catalog [default-catalog]
at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1720)
at oracle.adfinternal.rc.model.service.CatalogService.retrieveItems(CatalogService.java:1412)
at oracle.adfinternal.rc.model.service.CatalogService.getItems(CatalogService.java:499)
at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:303)
at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:490)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2113)
at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:439)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:173)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:656)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1655)
at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3307)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3115)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:78)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:19)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:230)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3593)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2203)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2109)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1427)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog [default-catalog] using MDS path=[oracle/adf/rc/metadata/default-catalog.xml] Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"]
at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:150)
at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:108)
at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:339)
at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:323)
at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1708)
... 73 more
The jspx page:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view locale="#{applCorePrefs.locale}">
<af:document id="d1">
<af:form id="f1">
<af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
<f:facet name="first">
<af:panelStretchLayout id="psl1" startWidth="400px"
endWidth="300px" topHeight="0px"
bottomHeight="0px">
<f:facet name="bottom"/>
<f:facet name="center"/>
<f:facet name="start"/>
<f:facet name="end">
<af:panelGroupLayout id="pgl1" layout="scroll">
<pe:changeModeButton id="cmb1"/>
</af:panelGroupLayout>
</f:facet>
<f:facet name="top"/>
</af:panelStretchLayout>
</f:facet>
<f:facet name="second">
<!-- id="af_one_column_header_stretched_with_splitter" -->
<pe:pageCustomizable id="pageCustomizable1">
<f:facet name="editor">
<pe:pageEditorPanel id="pep1"/>
</f:facet>
<pe:layoutCustomizable id="layoutCustomizable1">
<cust:panelCustomizable id="panelCustomizable1"/>
<f:facet name="contentA">
<cust:panelCustomizable id="panelCustomizable2"/>
</f:facet>
<f:facet name="contentB">
<cust:panelCustomizable id="panelCustomizable3"
layout="horizontal">
<cust:showDetailFrame text="Custom Show Detail Header Text" id="sdf1"/>
<af:inputText label="First Label" id="it1"/>
</cust:panelCustomizable>
</f:facet>
</pe:layoutCustomizable>
</pe:pageCustomizable>
</f:facet>
</af:panelSplitter>
</af:form>
</af:document>
</f:view>
</jsp:root>
What is wrong with the page here? Or is there any jar that I have missed out.
I have the same exceptions thrown at me. Unfortunately, I do have the default-catalog.xml created for me. But for some reason it is not found it seems. I have tried creating a custom catalog, but that is not found either. How does one specify in which directory the framework should look for this catalog? Is there anything else to influence the frameworks ability to find a file that clearly exists!
best regards
Lucas
Similar Messages
-
Hi,
I have a form, and i query data to populate the pop list when I enter the form.
So far, no problem. But how do I add a blank entry in the Pop list?
I want the user to select from the list or blank entry.
When I click on the pop list, all the data is there, EXCEPT for a BLANK entry.
Please Help,
Marc.Remove the required property = yes and inital values should be blank.
you will get a blank entry -
This is a variation on the issue mentioned in this
post
We are using SP 2010 Content Hub to manage our content types. On the content hub we've created a couple of exteranl lists, and then created some site columns as lookups against these lists. We then added the columns to one of our content types
and set it to publish.
After the publishing job executed, I tried adding the content type (which now appears on the subscriber sites) to one of the document libraries on one of the subscriber sites. When I did that it threw the following error:
Microsoft.SharePoint.WebControls.BusinessDataListConfigurationException: Id field is not set on the external data field
at Microsoft.SharePoint.SPBusinessDataField.CreateIdField(SPAddFieldOptions op)
at Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op)
at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)
at Microsoft.SharePoint.SPContentType.ProvisionFieldOnList(SPField field, Boolean bRecurAllowed)
at Microsoft.SharePoint.SPContentType.ProvisionFieldsOnList()
at Microsoft.SharePoint.SPContentType.DeriveContentType(SPContentTypeCollection cts, SPContentType& ctNew)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentTypeToList(SPContentType contentType)
at Microsoft.SharePoint.SPContentTypeCollection.AddContentType(SPContentType contentType, Boolean updateResourceFileProperty, Boolean checkName, Boolean setNextChildByte)
at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)
at Microsoft.SharePoint.ApplicationPages.AddContentTypeToListPage.Update(Object o, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b55297ed-717f-466d-8bdc-297b20344d3f
I checked the external content type configuration and it did specify an "id column". Anyone know if what I am attempting to do is possible and if so, what special configurations are required?
ThanksThe issue is not External Content type or external list but the look up column.
It's not possible to publish a look up column via the Content Type Hub.
If you need to do this then an alternate way is to use a Managed Metadata column instead, otherwise you will have to implement this via a feature.
Varun Malhotra
=================
If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you. -
Add Content button not rendered inside Portlets on edit mode
Hi,
I have a requirement where administrators will add some external content(Add content) either from taskflow or portlet and that external content (along with taskflow output) will be shown to the users based on some logic performed inside the taskflow/portlet bean code.
This PanelCustomziable should render AddContent button inside the portlet when pressing ctrl shiftE, but its no doing so? Where as the same PanelCustomizable renders AddContent button inside the taskflow on edit page? Any settings or changes needs to be done to make it work in porlet when consumed in portal?
a)taskflow cannot be selected for this purpose, as there will be only a single instance of the taskflow across the portal and it cannot retain runtime MDS changes to a specific instance (Unless we design the ADF taskflow with MDS customization layer). By default, any runtime change in one taskflow instance will be propagated to all the other taskflow instances of the portal.
(For eg.. Admin drops this taskflow onto a page1 and adds a image(external content) using the button AddContent inside the taskflow because of PanelCustomizable and close the page. He drops the same taskflow from RC only to find that the changes he done on page1 is being retained here ..its not resuable because of no MDS per instance)
So we selected Portlet for this purpose, as it has the inbuilt personalization framework. Admin can personalize each portlet instance and drops on the the same page and diff page again. But with portlets, Add Content is not rendered.
Its not just external content, the taskflow / porltet has some logic to perform and displays some output based on the ruleId which is the input parameter.
Taskflow or jsff code
==================
<cust:panelCustomizable id="pc1">
<cust:showDetailFrame text="rules content" id="sdf1"
shortDesc="rules content">
<af:panelGroupLayout id="pg1" >
<af:outputText label="RuleId" id="ot1" clientComponent="true"/>
</af:panelGroupLayout>
</cust:showDetailFrame>
</cust:panelCustomizable>Can you please post this question to weblogic.developer.interest.portal
newsgroup.
Thanks
"Lodewijk Spijker" <[email protected]> wrote in message
news:3f165945$[email protected]..
Hi,
i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
feature) with respect to the beta version.
i have created a simple portlet with a view mode and an edit mode. When i
place the portlet on the very first page of a one book portal, it works
perfectly. However, i have a book with three pages and placed the portleton
the second page. Now when i put the portlet in edit mode, by clicking the
edit button, i am directed to the first page of the portal and the portlet
will not show.
Inspection learned that the URL generated for the edit button, didn't
contain the _pagelabel parameter. When i added the parameter manually it
works fine.
A final remark is that the buttons in the titlebar have no icons thebrowser
can load.
hope someone can help me out,
Lodewijk -
Add content type to Team Discussion List
Hi
I was create a content type with some culoms. then I was add content type on the Team Discussion List and was set as a default item.
i was add item and filled it and saved
but there aren't any view! perhaps there don't save!! Where this item are saved?Hello,
How did you create that content type? By default all the post gets saved in message content type and display in subject view. Have you tried to open each view ? if not then do so.
I have also found one similar thread for you info:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/7b074ba1-aed0-49af-8685-0e206001f5d0/custom-discussion-content-type-in-sharepoint-2010?forum=sharepointgeneralprevious
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
SharePoint REST service to add an exsiting site content type to a list/library
Trying to use SharePoint 2013 REST Service to add existing site content types to a list/library. Below MSDN article suggests that the POST method is available but does not say how to use it.
http://msdn.microsoft.com/en-us/library/office/jj246793%28v=office.15%29.aspx#postsyntax_htm
POST http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes/add(parameters)
How do we create the body for this rest call?Hi You need to use the addAvailableContentType method to attach a Existing Content Type to a list/Library.
Consider the below Sample. Take the Id of the Content Type and pass it.
the REST API URL is
http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes/addAvailableContentType(contentTypeId)
var siteUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('Employees')/ContentTypes/AddAvailableContentType";
var call = jQuery.ajax({
url: siteUrl,
type: "POST",
data: JSON.stringify({
"contentTypeId": "0x0100E5EC1FE6D284A74A972A1776FFFE2DA0"
headers:
'accept': 'application/json;odata=verbose',
"content-type": "application/json;odata=verbose",
"X-RequestDigest": jQuery("#__REQUESTDIGEST").val()
call.done(function (data, textStatus, jqXHR) {
var message = jQuery("#message");
message.text("Added Content Type Successfully");
call.fail(function (data, errorcode, errormessage) {
alert("Could not enable content types: " + errormessage);
Here 0x0100E5EC1FE6D284A74A972A1776FFFE2DA0 is the Content Type Id of my existing Content type "Employees"
Ensure the AllowContentTypes is set to True for that List/Library
R.Mani | http://rmanimaran.wordpress.com -
Need to add a additional blank space in output
In the following outputs a line of numbers like: 5 43 12 23 10 29 etc. I would like to add a extra blank space between each number. What and where do I need to change or add in the following code to make this happen?
Code:
import java.util.Arrays;
import java.util.List;
import java.util.Collections;
public class onetime {
public static void main( String [] args ) {
final int DOMAIN = 36 * 2;
char [] characters = new char[DOMAIN];
Integer [] numbers = new Integer[DOMAIN];
char ch = 'a';
int j = 0;
for ( j = 0; ch <= 'z'; ++ch, ++j )
characters[j] = ch;
for ( ch = 'A'; ch <= 'Z'; ++ch, ++j )
characters[j] = ch;
for ( j = 0; j < DOMAIN; ++j )
numbers[j] = new Integer( j );
List list = Arrays.asList( numbers );
Collections.shuffle( list );
Arrays.sort( characters );
String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZaBcDeFgHiJkLmN";
int [] encodedValue = new int[str.length()];
int pos = 0;
final int max = str.length();
System.out.print("\nFirst number is a, second is b and so on. After z you start with A then B and so on. After Z you start with 0 then 1 till 9. After 9 the next four are ? . , !\n");
for ( j = 0; j < max; ++j ) {
ch = str.charAt( j );
pos = Arrays.binarySearch( characters, ch );
encodedValue[j] = numbers[pos].intValue();
System.out.print( encodedValue[j] );
System.out.print( ' ' );
System.out.print("\n");
System.out.print("\n\n\n");
System.out.print("\nSee readme for more detailed instructions\n\n");System.out.print( encodedValue[j] ); replace the above line of code with the following:
System.out.print( encodedValue[j] + " " );i am not quite sure what r u asking. but i wish this would bring u a bit helps.
System.out.print( ' ' );
System.out.print("\n");
System.out.print("\n\n\n");
System.out.print("\nSee readme for more detailed
ed instructions\n\n"); -
Using SPmanagementshell to create library ,version enable & Add content type
Hi Folks,
How to create library document,enable version, add content type in every site using SPmanagementshell.
Now i am doing user interface,it is taking more time to do this task.
Please give solution using SPmanagementshell to do this task.
I would be great if someone help.Hi,
Please try code given below:
$spWeb = Get-SPWeb -Identity http://SPServer
$listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary
$spWeb.Lists.Add("My Documents","My Doc Library",$listTemplate)
$spDocumentLibrary = $spWeb.GetList("My Documents")
$spDocumentLibrary.EnableVersioning = $true
$spDocumentLibrary.ContentTypesEnabled = $true
$spDocumentLibrary.Update()
#Add site content types to the list
$ctToAdd = $site.RootWeb.ContentTypes["<NAME OF ContentType>"]
$ct = $spDocumentLibrary.ContentTypes.Add($ctToAdd)
$spDocumentLibrary.Update()
Hope it helps!
Thanks,
Avni Bhatt
If this helped you resolve your issue, please mark it Answered -
Editing Content types at the list level
Hello, I have a range of Content Types that are administered centrally from a Content Type hub, all of the content types have workflows and retention policies set at the content type hub level.
I have had a request from a user who wishes to add a template to one of these content types that will be specific to only their document library on their team site.
The question I'm asking is, if I add a template in the settings of the content type at a list level only, i.e. edit list content type to add a template to it - will it then have any effect on the workflows and retention policy that are set on the content
type and administered centrally from the content type hub?
Regards
kegan1Hi,
As per the Microsoft article "Any changes that you make to a content type for a list or library apply only the instance of that content type that has been added to the list or library. The parent site content type from which the content type was created
is not updated with the changes."
So, any changes you made at list level will not be updated at the content type hub level.
Change a content type for a list or library
Please mark it answered, if your query answered. -
Flash content renders above everything else
This is something that has been happening since even way before I upgraded to Safari 5. Every page that has any flash content renders the flash on top of everything else.
Example: a site with a dropdown menu and a large content slider made with flash, the flash covers the dropdown menu making it impossible to click the links. Or heres an example that I have a screenshot of:
http://img4.imageshack.us/img4/5820/flashk.png
Here the flash covers only part of the content but its annoying especially on sites built with large flash areas. Is there a fix for this? This has been happening for as long as I can remember.Honestly I cannot find any other sites, I know there are many out there I just cant remember the name. Regardless this happens no matter what, for some reason my Safari renders Flash the top layer in ANY instance. I can try to explain another site I remember distinctly: The site had a header much like the Apple site here except that the menu was a CSS dropdown menu. Right below the menu was a sort of "headlines/highlights" section which spanned the full width of the webpage design and it was build purely with flash. Now, every time you hover over one of the menu items they drop down, right below the flash so I couldn't read the links or even click them because Flash was stacked on top.
Another example I can think of is sites that use a javascript/jquery image viewer where you'd click a thumbnail and it would pop it up full size (like Gizmodo does with their galleries). Now if there is a banner ad on the side and I click an image it will come up full size but it doesn't cover the whole page like it should, it covers everything but the flash. -
Create Site Column and add it to two different list as dependent lookup column
I want to create two lookup lists that will have one common column. The common column values will vary depending on the list.
For ex: List A holds Countries (USA) and their Currency code (USD). List B holds States (New York) and their code (NY). The lists are completely independent of each other. I would like to create a common site column named "Code" of type
Text and use it across these two lists. Is it possible?
My solution so far -
a. created the site column (programmatically) which is pretty straight forward.
b. created list definition with two fields (Title and Code).
c. created list instance for Country list. Added data rows in the elements.xml. But not sure how to add Code field as dependent lookup.
If I remove the code field from the elements.xml, the solution deploys successfully creating the Country list with just the Title field. But I need both the fields. Any help is appreciated.
Here is a look at the elements.xml with data rows for Country list instance
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="List Instance" OnQuickLaunch="TRUE" TemplateType="10001" Url="Lists/CountryList" Description="Country Values">
<Data>
<Rows>
<Row>
<Field Name="Title">USA</Field>
<Field Name="Code">USD</Field>
</Row>
<Row>
<Field Name="Title">Japan</Field>
<Field Name="Code">Yen</Field>
</Row>
<Row>
<Field Name="Title">Australia</Field>
<Field Name="Code">AUD</Field>
</Row>
</Rows>
</Data>
</ListInstance>
</Elements>Hi,
According to your post, my understanding is that you want to add lookup field to the list in elements.xml.
I recoment you to create lookup column as site column, then bind the lookup column to the contnet type, and then use the contnet type in the list.
For more information, you can refer to:
http://spcodes.blogspot.com/2013/02/create-custom-content-type-with-lookup.html
http://social.msdn.microsoft.com/Forums/office/en-US/d5ec08d5-cfa7-4bbb-9459-78d04674ee59/add-a-lookup-column-in-the-schemaxml?forum=sharepointcustomizationlegacy
http://www.justanothertechnologyguy.com/2013/01/how-to-create-and-connect-lookup-fields.html
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hide ,add or remove button in LIST MANAGER ITEM
Hi,
How i can hide ,add or remove button in LIST MANAGER ITEM.
Thanks & Regards
VedantI figured out the VO and CO object and the page.
PersonSitPG.xml
SpecialInformationDetailsVO
SitMainPageCO
And after going through the forum form Anil passi, it mentions there are three ways of doing it and the SPEL example given
extends a VO object.
I created a boolean variable based on IdflexNum as isIdflexNum in SpecialInformationDetailsVO
That is if Idflexnum = 2356 then
retrun true
else return false.
And use this in the HrSitDeleteButton and HrSitUpdateButton---?property rendered --->SPEL. But there is no SPEL in the rendered property when I clicked on the button property.
So I doubt if this approach is right . Can you please let me know. I am new to OA framework, I have done only personalizations before. -
Hi all,
I read Oracle "How to create Databound pop-list with Oracle Jdeveloper10g" to create a Single Select List.
In this paper the DepartmentId input text will be replaced with a Databound pop-list. This works fine for a single language. How can I create a i18n Databound pop-list with the same mechanism of the paper? It's possible?
thxFrom a design point of view I wouldn't do it your way because you'll have to change the table structure if you find you need to add another language.
I'd use a structure like
TABLE answers
answers_id NUMBER
answers_country_code VARCHAR2
answers_answer VARCHAR2
That way you can have as many languages as you like and simply query based on the country code.
However, assuming your Structure, you'll have to do something with JSTL.
So maybe you'd create three list bindings in the UIModel for the page, one for each language, with the correct column being displayed for the display value. The use a <c:choose> statement in the page to define which one to actually show based in the locale -
How to add new button on Add content box in DVT
Hello All,
Currently we are using Dynamic Visitor Tool in weblogic portal 10.3.2 and want to add one new button e.g. "Favorite Portlets" along with portlet list when user clicks on Add Content menu option. Could any one explain what is the exact procedure to do it what are places/files we need to modify.
Thanks in advance.
AlkaHi,
You will have to use the mixin mechanism provided in dvt. Here are the mixin classes you will need to add and methods to override within them.
Original class - com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilder
Mixin class - com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilderMixin
Your mixin class will look like -
wlp_dvt_dojo.setObject("com.bea.wlp.dvt.uikit.wlp.menus.MenuBuilderMixin", {
buildNavigableMenu: function(scope, allowRemovePlaceables)
var menuWidget = null;
var menuWidgets = scope.getDescendants();
for(var widgetIndex=0;widgetIndex < menuWidgets.length;widgetIndex++)
var tempMenuWidget = menuWidgets[widgetIndex];
if(tempMenuWidget instanceof dijit.Menu)
menuWidget = tempMenuWidget;
break;
if(menuWidget)
try
if(wlp_dvt_WlpResourceDelegateInstance().isResourceUpdateable(scope.model.id))
//Change Appearance menu item
menuItemArgs = {label:scope.messages.changeAppearance,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_laf",
onClick:dojo.hitch(null, scope._onChangeAppearance, scope)};
mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
//Change Layout menu item
menuItemArgs = {label:scope.messages.changeLayout,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_layout",
onClick:dojo.hitch(null, scope._onChangeLayout, scope)};
mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
//Add Books menu item
menuItemArgs = {label:scope.messages.addBook,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_book",
onClick:dojo.hitch(null, scope._onAddBooks, scope)};
mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
//Add a menu separator
menuWidget.addChild(new dijit.MenuSeparator());
//Add Content menu item
var menuItemArgs = {label:scope.messages.addContent,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_portlet",
onClick:dojo.hitch(null, scope._onAddPortlets, scope)};
var mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
//Set As Default menu item
menuItemArgs = {label:scope.messages.setDefault,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_setAsDefault",
onClick:dojo.hitch(null, scope._onSetAsDefault, scope)};
mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
if(allowRemovePlaceables && wlp_dvt_WlpResourceDelegateInstance().isResourceRemoveable(scope.model.id))
if(wlp_dvt_WlpResourceDelegateInstance().isResourceUpdateable(scope.model.id))
//Add a menu separator, but only if we have something to separate it from
menuWidget.addChild(new dijit.MenuSeparator());
//Remove Book menu item
var menuItemArgs = {label:scope.messages.remove,
iconClass:"com_bea_wlp_dvt_uikit_menu_icon_delete",
onClick:dojo.hitch(null, scope._onRemove, scope)};
var mi = new com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuItem(menuItemArgs);
menuWidget.addChild(mi);
//If no menu items were added to the main menu, don't render it
if(menuWidget.getChildren().length < 1)
scope.destroy();
catch(e)
//handle no DISC or no authentication.
In the abve code, follow the pattern to add a new menuitem in the place where you need it to show up. The method that gets called when the menuitem is clicked will go in the following mixin class -
wlp_dvt_dojo.setObject("com.bea.wlp.dvt.uikit.wlp.menus.NavigableMenuMixin", {
// add the method that gets called when your new menuitem is clicked
Note I haven't run the code above so please check for syntactical correctness before you run it. Also note that, unfortunately, the granularity of the buildNavigableMenu method above is very coarse in that you cannot add new menuitems as small snippets all by themselves. So you will have to include the base menu building code along with your new menu item building code snippet.
Thanks -
Hi,
I am generating Forms application (iAS).
I would like to change view of pop-list button from arrow to "...".
I know that there is something Jinitiator.
How can I do that ?
regards,
CezarySet app.ui.lovButtons to false. Then add a button to the canvas right next to the item. Set iconic to Yes and the Icon Filename to the name of your .gif file that contains the icon that you want to display on the button. For example, if your filename is list.gif, you would set IconFilename to list.
To deploy the icon file, there is some configuration that must be done on the middle tier. There is a white paper on OTN that explains how to do it: http://www.oracle.com/technology/products/forms/pdf/webicons.pdf.
If you want to have the button only visible when navigating to the text item, you can use Pre-Text-Item and Post-Text-Item triggers on the text item to make the button visible/not visible.
Maybe you are looking for
-
Webex won't work with Mac os 10.6.8
I am running Mac OS 10.6.8 on a Macbook Pro and am unable to connect with Webex --- once I log into the webex session --- I get this same command on both Safari 5.1.2 and on Firefox 10.0: Meeting center cannot be opened because of a problem. check wi
-
Can anyone tell me how to integrate a simple viewer gallery into my iweb site through .mac? thanks s
-
Help needed: I have problems to set up a connection from XI to MailServer, in order to send a mail (RECEIVER MailAdapter) XI:System: NetWeaver 7.0 MailSystem: MS Exchange 2007 Problem is, that MS Exchange requires TLS (but NOT SSL ).
-
How to disable or delete fast formulas?
Hi, We have a list of fast formulas to retire, and I need to know if there's an API that I can use to automate this (either to disable or delete the fast formulas)? Thanks, Lorena
-
How to serialize a binary tree object
HI Friends, This is the problem............................. I got a binary Tree Program with root (object ) containing the elements in the tree. I got a server which performs insertions and deletions in the root. Once it has got the operations right