Different number of entries listed masters vs replicas
Hi,
I have 2 masters replicated to one another which all seems to be working fine. But my top level "dc=example,dc=com" on my first master has 7566 entries,
while the master that replicates from it (and to it) has 32 entries less ie 7534 entries.
I did a little audit and all my branches pretty much tallies up, so I also looked at hidden suffixes such as cn=config, cn=schema etc and those numbers
match as well.
Can someone please tell me how to find the missing entries on my replicas? Is there a nice easy way to find out why 32 entries are missing on the other systems?
Do orphans or tombstones or whatever account for this? Please tell me how to resolve this annoying problem!
Thanks!
Hi,
I have 2 masters replicated to one another which all seems to be working fine. But my top level "dc=example,dc=com" on my first master has 7566 entries,
while the master that replicates from it (and to it) has 32 entries less ie 7534 entries.
I did a little audit and all my branches pretty much tallies up, so I also looked at hidden suffixes such as cn=config, cn=schema etc and those numbers
match as well.
Can someone please tell me how to find the missing entries on my replicas? Is there a nice easy way to find out why 32 entries are missing on the other systems?
Do orphans or tombstones or whatever account for this? Please tell me how to resolve this annoying problem!
Thanks!
Similar Messages
-
Max number of entries in the variable input list (F4) of Bex Analyzer Query
Dear BW experts,
When I run the Bex Analyzer query, it pops up the variable input screen.
If I don't know the specific value of the variable, then I can click on the input help (F4) to get a list of available values. There is a max number of entries coming back to the list. For my BW system, it is currently returning 500 values. For other people and SAP Help document, it could be 1000.
My question is: Do you know where we can configure/set this max value? Is it a global setting?
Thanks in advance for your help in this matter.
Kevin-Murali & Pra,
Thanks for both of your answers. I think the answers that you provided are for BW 7.X version.
It is flexible and exactly the way it should be for each user to customize a specific variable.
I am running BW 3.5 query, and don't see the "Settings" option/button after I got the list of single values back.
Is there a way to set this up for BW 3.5 query Analyzer? My max value is always 500 for all variables. Is there a place for setting this value and save for the next time.
Any help from any BW experts is appreciated. -
Dear Experts,
I am preparing one Z report on measuring points and documents and just want to confirm that are we assigning entry list number to any equipment or functional location ?
My report req is client want to capture the measuring points which has no documents entered by user, any soution for this ?
Regards,
RiRipel,
The entry list is to group the measuring points to ease the data entry operations in a single screen IK34 instead IK11.
For your client requirement, you may get the measuring point from IMPTT table and pass into IMRG to find no Measurement document entries.
Babu -
Restrict Number of Value List Entries
I noticed on the dropdown for any field in WebDynpro, automatically restricts it to 500 entries to display.
You can override it the 500, but only up to 9999.
What if you have a dropdown list over 9999 ? Is it not possible?John
Hi this is a hypotetical question.
In fact, it should be your aim to restrict the number of entries rather than enlarge it.
Do not forget that the more entries you put there, the more loaded your communication to and from the browser becomes.
In addition do not forget that web dynpro is all about user interface. You should be interested in making it fun and easy for your user to use your application. No one in his right mind would want to go through hundreds or thousands on entries if he can avoid it.
Regards
Yuval peery -
Hi Experts!
Is it OK if SM12's "LOCK Entry List" looks like as follows:
Some tables are appearing at least twice ore more with the lock mode E.
Is it acceptable.
Please give me a hint, is it possible that such a scenario may cause
an error output
Some of the selected &1 are being processed
*see se91
Error Type: E
Id: C$
Message Number: 162
Thanks
sas erdem
011 Thealy 21:19:47 E CCIHT_ACH 01100000000000000153354#################### 1 0
011 Thealy 21:19:47 E CCIHT_IP 01100000000000000153325#################### 1 0
011 Thealy 21:19:47 E CCIHT_IPEVA 01100000000000000153326#################### 1 0
011 Thealy 21:19:47 E ESTDF 01100000000000000153354#################### 1 0
011 Thealy 21:26:00 E CCIHT_IAL 01100000000000000153354#################### 1 1
011 Thealy 21:26:00 E CCIHT_IHVA 01100000000000000153354#################### 1 1
011 Thealy 21:26:00 E CCIHT_IP 01100000000000000153354#################### 2 1
011 Thealy 21:26:00 S KSSKX 011100YXE_RET_MAL_0010 O0000000000000015355700000000000000004348 0 3
011 Thealy 21:26:00 S KSSKX 011100YXE_RET_MAL_0089 O0000000000000015355800000000000000004349 0 3
011 Thealy 00:38:27 E CCIHT_IP 01100000000000000153325#################### 1 0
011 Thealy 00:38:27 E CCIHT_IP 01100000000000000153354#################### 1 0
011 Thealy 00:38:27 E CCIHT_IP 01100000000000000153358#################### 1 0
011 Thealy 00:38:27 E CCIHT_IPEVA 01100000000000000153326#################### 1 0
011 Thealy 00:38:27 E CCIHT_IPEVA 01100000000000000153375#################### 1 0
011 Thealy 01:16:56 E CCIHT_ACH 01100000000000000153015#################### 1 1
011 Thealy 01:16:56 E CCIHT_IAL 01100000000000000153015#################### 1 1
011 Thealy 01:16:56 E CCIHT_IHVA 01100000000000000153015#################### 1 1
011 Thealy 01:16:56 E CCIHT_IP 01100000000000000153015#################### 2 1
011 Thealy 01:16:56 E CCIHT_IPEVA 01100000000000000153016#################### 2 1
011 Thealy 01:16:56 E CCIHT_IPEVA 01100000000000000153017#################### 2 1
011 Thealy 01:16:56 E CCIHT_IPEVA 01100000000000000153018#################### 2 1
011 Thealy 01:16:56 E ESTDF 01100000000000000153015#################### 1 1There can be 2 entries in SM12 for same table. But if you check the record which is locked, it will be different.
There can be row level locks on tables.
If you are trying to edit the 'record' of a table listed in SM12, which is locked, then it should give an error.
Try accessing some other record of the same table, it should not cause any issue. -
How to remove a number from a list controlling a table
i'm controlling data that enter to a table by using a specific one from them,let's call it "number of the user", when a client has the num 5 and enters his data ;it will be stocked in the 5th row.i want this number 5 to be removed from the list ,so when a new user try to enter num 5 he gets a message"number already used" so he have to enter a different number than 5,for instance 8,consequently i'll get all his data in the 8th row.
if anyone know a little trick to solve this problem
thanksthis number has to be a shared variable,every client is concerned .
"There is no need to keep track of anything seperately. Simply check if the requested row has already been filled or not." i'm not sure if i get your point,because i don't want a new user to even try to fill data in same row,for example 5,the moment he enters 5 in "NR_ORDRE" he gets a message"it's already taken" or use a combo box containing numbers when a client use one it gets deleted for the upcoming client.
Attachments:
NR_ORDRE unique.vi 14 KB -
Page number instead of number of entries
Hello
I have a requirement for changing the number of entries in KM to page numbers.
So I need to change:
1-10 11-20 21-24
to
1 2 3
I found a thread on sdn about this requirement, but there wasn't much information. It just said to write your own Collection Renderer.
I was able to add something between the breadcrumb (showing the map you are on the moment) and page numbers. So I still don't know where the 'page numbers' are added?
Is there anyone with experience? Or ideas?
Thanks!
Christof
The decompiled Collection Renderer:
package be.kindengezin.wcm.rendering.collection.cm;
// FrontEnd Plus GUI for JAD
// DeCompiled : CollectionListRenderer.class
import com.sap.tc.logging.Location;
import com.sap.tc.logging.LogController;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.CellHAlign;
import com.sapportals.htmlb.enum.CellVAlign;
import com.sapportals.htmlb.page.DynPage;
import com.sapportals.htmlb.rendering.IPageContext;
import com.sapportals.wcm.WcmException;
import com.sapportals.wcm.control.util.EmptyComponent;
import com.sapportals.wcm.control.util.FolderSettings;
import com.sapportals.wcm.control.util.property.*;
import com.sapportals.wcm.rendering.base.*;
import com.sapportals.wcm.rendering.collection.LightCollectionRenderer;
//import com.sapportals.wcm.rendering.collection.cm.PropertyColumnRenderer;
//import com.sapportals.wcm.rendering.collection.cm.PropertyHeaderRenderer;
import com.sapportals.wcm.rendering.readymades.EmptyCollectionInfo;
import com.sapportals.wcm.rendering.resource.IResourceRenderer;
import com.sapportals.wcm.rendering.util.HtmlRendererUtil;
import com.sapportals.wcm.repository.*;
import com.sapportals.wcm.repository.service.IRepositoryServiceFactory;
import com.sapportals.wcm.repository.service.layout.IDebugContainer;
import com.sapportals.wcm.repository.service.layout.customizing.*;
import com.sapportals.wcm.service.propertyconfig.*;
import com.sapportals.wcm.util.logging.LoggingFormatter;
import com.sapportals.wcm.util.profiler.IProfiler;
import com.sapportals.wcm.util.profiler.Profiler;
import com.sapportals.wdf.WdfException;
import java.util.*;
import to.work.PropertyColumnRenderer;
import to.work.PropertyHeaderRenderer;
// Referenced classes of package com.sapportals.wcm.rendering.collection.cm:
// PropertyHeaderRenderer, PropertyColumnRenderer
public class CollectionListRenderer extends LightCollectionRenderer
protected class HeaderItem
private int rowSpan;
private int colSpan;
private IMetaName labelMetaName;
private IPropertyColumn column;
private boolean processed;
public void setRowSpan(int row)
rowSpan = row;
public int getRowSpan()
return rowSpan;
public void setColSpan(int col)
colSpan = col;
public int getColSpan()
return colSpan;
public void setLabelMetaName(IMetaName column)
labelMetaName = column;
public IMetaName getLabelMetaName()
return labelMetaName;
public void setPropertyColumn(IPropertyColumn column)
this.column = column;
public IPropertyColumn getPropertyColumn()
return column;
public String toString()
return "Item: RowSpan=" + rowSpan + "; ColSpan=" + colSpan + "; PropertyColumn=" + getLabelMetaName();
public HeaderItem()
rowSpan = 0;
colSpan = 0;
labelMetaName = null;
column = null;
processed = false;
public HeaderItem(int rowSpan, int colSpan, IMetaName metaName, IPropertyColumn column)
this.rowSpan = 0;
this.colSpan = 0;
labelMetaName = null;
this.column = null;
processed = false;
this.rowSpan = rowSpan;
this.colSpan = colSpan;
labelMetaName = metaName;
this.column = column;
private static final String PROFILER_PATH_UI_RENDER = "/KM/FLEXUI/RENDER/UI";
private static final String PROFILER_PATH_UI_RENDER_ROW = "/KM/FLEXUI/RENDER/UI/ROW ";
private static final String PROFILER_PATH_UI_RENDER_GETPROPS = "/KM/FLEXUI/RENDER/UI/GETPROPS";
private static IProfiler s_profiler = Profiler.getInstance();
private static Location log;
private static int PAGER_LINKS_DEFAULT = 5;
private static final CellVAlign VERTICAL_ALIGN;
private int MaxNumberOfRows;
private int noOfColumns;
private static IPropertyName DEFAULT_PROP_NAMES[];
private IPropertyPosition propertiesPositions[];
private static final String NEXT_LINE_START_COLUMN = "col";
private static final String NEXT_LINE_METANAME = "metaName";
private static final String NEXT_LINE_METANAME_MODIFIERS = "metaNameModifiers";
private boolean debug;
private boolean isManualOrdered;
public CollectionListRenderer()
MaxNumberOfRows = 10;
noOfColumns = 0;
debug = false;
isManualOrdered = false;
initParameterSettings();
set508enabled(true);
private void initParameterSettings()
IParameterName supportedParameters[] = {
ICollectionRendererParameterNameConst.BREADCRUMBSTYLE, ICollectionRendererParameterNameConst.BREADCRUMBVISIBILITYSTYLE, ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, ICollectionRendererParameterNameConst.SHOWFILESSTYLE, ICollectionRendererParameterNameConst.SORT_ENABLED, ICollectionRendererParameterNameConst.LINKSSTYLE, ICollectionRendererParameterNameConst.SHOWFOLDERSSTYLE, ICollectionRendererParameterNameConst.SHOW_HIDDEN, ICollectionRendererParameterNameConst.COLUMNS, IResourceRendererParameterNameConst.ICONSTYLE,
ICollectionRendererParameterNameConst.ROWS, ICollectionRendererParameterNameConst.ROWSPACING, ICollectionRendererParameterNameConst.COLUMNSPACING, ICollectionRendererParameterNameConst.MASSACTIONSTYLE, ICollectionRendererParameterNameConst.UI_GROUP_MASS, IResourceRendererParameterNameConst.ITEMACTIONSTYLE, ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, ICollectionRendererParameterNameConst.BACKGROUNDIMAGEPATH,
ICollectionRendererParameterNameConst.BACKGROUNDIMAGESTYLE, ICollectionRendererParameterNameConst.SORT_PROPERTY, ICollectionRendererParameterNameConst.COMPONENTS, ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, ICollectionRendererParameterNameConst.SORT_ORDER, ICollectionRendererParameterNameConst.COLLECTION_ACTIONSTYLE, ICollectionRendererParameterNameConst.UI_GROUP_COLLECTION, ICollectionRendererParameterNameConst.RESOURCE_LIST_FILTER, ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE,
ICollectionRendererParameterNameConst.FILTEREXTENSION, ICollectionRendererParameterNameConst.FILTERMIMETYPE, ICollectionRendererParameterNameConst.FILTERRESOURCETYPE, IResourceRendererParameterNameConst.UI_GROUP_RESOURCE, ICollectionRendererParameterNameConst.PAGER_LINK_COUNT, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_FILE, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_KEY, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE
setSupportedParameters(supportedParameters);
IParameters parameters = getParameters();
parameters.setParameter(ICollectionRendererParameterNameConst.BREADCRUMBSTYLE, "horizontal");
parameters.setParameter(ICollectionRendererParameterNameConst.BREADCRUMBVISIBILITYSTYLE, "standard");
parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFILESSTYLE, "all");
parameters.setParameter(ICollectionRendererParameterNameConst.LINKSSTYLE, "all");
parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFOLDERSSTYLE, "all");
parameters.setParameter(ICollectionRendererParameterNameConst.MASSACTIONSTYLE, "off");
parameters.setParameter(IResourceRendererParameterNameConst.ITEMACTIONSTYLE, "hover");
parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, false);
parameters.setParameter(ICollectionRendererParameterNameConst.GRIDORDERSTYLE, "columnmajor");
parameters.setParameter(ICollectionRendererParameterNameConst.ROWS, MaxNumberOfRows);
parameters.setParameter(ICollectionRendererParameterNameConst.ROWSPACING, 0);
parameters.setParameter(ICollectionRendererParameterNameConst.SORT_ENABLED, true);
parameters.setParameter(ICollectionRendererParameterNameConst.COLUMNSPACING, 0);
parameters.setParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "off");
parameters.setParameter(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "TRANSPARENT");
parameters.setParameter(ICollectionRendererParameterNameConst.COLLECTION_ACTIONSTYLE, "hover");
parameters.setParameter(ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, "rnd:icon(noTitle/noColumnSpacing),rnd:displayname(contentLink)");
parameters.setParameter(ICollectionRendererParameterNameConst.RESOURCE_LIST_FILTER, "default");
parameters.setParameter(ICollectionRendererParameterNameConst.SHOW_HIDDEN, false);
parameters.setParameter(ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, "compact");
parameters.setParameter(ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE, "compact");
parameters.setParameter(ICollectionRendererParameterNameConst.PAGER_LINK_COUNT, PAGER_LINKS_DEFAULT);
parameters.setParameter(ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE, "off");
public int renderListHeader(FormLayout grid, int row)
throws WcmException
if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
return row;
IPropertyPosition position = null;
IPropertyColumn iterColumns[] = getColumnsList();
boolean existsResource = getResourceList().size() != 0;
String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
if(headerClassStyle == null)
headerClassStyle = "";
FormLayoutCell cell = null;
if(existsResource)
cell = grid.addComponent(row, 1, new HTMLFragment(""));
cell.setStyle(headerClassStyle);
int rowSpan = 0;
int columnSpan = 0;
int line = 1;
int lineNew = 0;
int column = 1;
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
column++;
int startRow = row;
boolean rowHasTitle = false;
propertiesPositions = new IPropertyPosition[iterColumns.length];
PropertyHeaderRenderer sortHeader = new PropertyHeaderRenderer(getProxy(), this, getBundleHandler(), getChildCountMetaName(getParentCollection()), isManualOrdered, getIRS().getSortDefintion(), getResourceContext().getLocale());
IMetaName metaName = null;
for(int i = 0; i < iterColumns.length && existsResource; i++)
if(iterColumns<i> != null)
rowSpan = 0;
columnSpan = 0;
position = PropertyColumnFactory.getInstance().getPosition(iterColumns<i>);
if(position != null)
lineNew = position.getRow();
if(line != lineNew)
column = position.getColumn();
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
column++;
line = lineNew;
if(rowHasTitle)
row++;
rowHasTitle = false;
rowSpan = position.getSpanRow();
columnSpan = position.getSpanColumn();
propertiesPositions<i> = PropertyColumnFactory.getInstance().getPropertyPosition(row, rowSpan, column, columnSpan);
boolean is508Required = false;
try
is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
catch(Exception ex)
log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
metaName = PropertyHeaderRenderer.getMetaNameForTitle(iterColumns<i>, is508Required);
if(metaName != null)
rowHasTitle = true;
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.SORT_ENABLED, true))
sortHeader.setSortEnabledParameter(false);
if(metaName != null)
if(columnSpan != 0)
cell = grid.addComponent(row, 1, sortHeader.createSortLink(metaName));
cell.setColspan(columnSpan);
} else
cell = grid.addComponent(row, column, sortHeader.createSortLink(metaName));
String padding[] = HtmlRendererUtil.getPropertyPaddingValues(iterColumns<i>, metaName);
cell.setHorizontalAlignment(PropertyColumnFactory.getInstance().getHAlign(iterColumns<i>));
cell.setVerticalAlignment(PropertyColumnFactory.getInstance().getVAlign(iterColumns<i>));
if(padding != null)
cell.setPaddingTop(padding[0]);
cell.setPaddingRight(padding[1]);
cell.setPaddingBottom(padding[2]);
cell.setPaddingLeft(padding[3]);
column++;
if(columnSpan != 0)
column += columnSpan;
if(!iterColumns<i>.contains("noColumnSpacing") && column < noOfColumns)
cell = grid.addComponent(row, column, EmptyComponent.render());
if(!"0".equals(getColumnSpacing()))
cell.setWidth(getColumnSpacing());
cell.setVerticalAlignment(VERTICAL_ALIGN);
column++;
if(!rowHasTitle)
row--;
setClassStyleForm(headerClassStyle, grid, startRow, row, noOfColumns);
return ++row;
public int renderListFooter(FormLayout grid, int row)
throws WcmException
boolean existsResource = getResourceList().size() != 0;
if(!isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
if(headerClassStyle == null)
headerClassStyle = "";
FormLayoutCell cell = null;
return row;
public ILayoutObject getNewInstance()
return initNewInstance(new CollectionListRenderer());
private String getChildCountMetaName(IResource res)
throws WcmException
if(res == null)
return null;
IResourceRenderer resourceRenderer = getRenderer(res);
String par = resourceRenderer.getParameters().getParameter(IResourceRendererParameterNameConst.SHOWCHILDCOUNTSTYLE);
if(par == null)
return null;
String resultMetaNameID = null;
if(par.equals("folders/files"))
resultMetaNameID = "rnd:childcount_both";
else
if(par.equals("sum"))
resultMetaNameID = "rnd:childcount_sum";
else
if(par.equals("only files"))
resultMetaNameID = "rnd:childcount_files";
else
if(par.equals("only folders"))
resultMetaNameID = "rnd:childcount_folders";
if(resultMetaNameID != null)
IMetaName metaName = getPropertyConfigurationService().getMetaModel().searchById(resultMetaNameID);
if(metaName != null)
return getEncodedSortProperty(metaName);
return null;
private String getEncodedSortProperty(IMetaName metaName)
if(metaName.getComposedOfMetaNames() != null)
IMetaNameList metaList = metaName.getComposedOfMetaNames();
if(metaList.contains(metaName))
return metaName.getId();
if(metaList.size() == 1)
IMetaName composedMetaName = metaList.get(0);
return composedMetaName.getId();
} else
return metaName.getId();
} else
return metaName.getId();
public static Vector getIMetaNameTypeText(IPropertyColumn propertyColumn, int col)
Hashtable metaNameHash = null;
Vector metaNameVector = null;
IMetaName currentMetaName = null;
IPropertyWithModifiersList propertyWithModifiers = propertyColumn.getPropertyWithModifier();
for(int i = 0; i < propertyWithModifiers.size(); i++)
currentMetaName = propertyWithModifiers.get(i).getMetaName();
if(currentMetaName != null && "Text".equals(currentMetaName.getType()) && propertyWithModifiers.size() != 1)
metaNameHash = new Hashtable();
metaNameHash.put("metaName", currentMetaName);
metaNameHash.put("col", Integer.toString(col));
if(propertyWithModifiers.get(i).getConfigModifierList() != null)
metaNameHash.put("metaNameModifiers", propertyWithModifiers.get(i));
if(metaNameVector == null)
metaNameVector = new Vector();
metaNameVector.add(metaNameHash);
return metaNameVector;
private static boolean[] isNextLineColumnNeeded(IPropertyColumn propertyColumns[])
boolean result[] = new boolean[propertyColumns.length];
IMetaName currentMetaName = null;
for(int j = 0; j < propertyColumns.length; j++)
IPropertyColumn propertyColumn = propertyColumns[j];
result[j] = false;
IPropertyWithModifiersList propertyWithModifiers = propertyColumn.getPropertyWithModifier();
for(int i = 0; i < propertyWithModifiers.size(); i++)
currentMetaName = propertyWithModifiers.get(i).getMetaName();
if(currentMetaName != null && "Text".equals(currentMetaName.getType()) && propertyWithModifiers.size() != 1)
if(log.beDebug())
log.debugT("Found meta name <" + currentMetaName + "> in property column <" + propertyColumn + "> that defines we need a new line column");
result[j] = true;
return result;
private IPropertyConfigurationService getPropertyConfigurationService()
throws WcmException
return (IPropertyConfigurationService)ResourceFactory.getInstance().getServiceFactory().getService("PropertyConfigurationService");
public final void setColumnsList(IPropertyColumn list[])
throws WcmException
getIRS().setPropertyColumns(list);
public IPropertyColumn[] getColumnsList()
throws WcmException
return getIRS().getPropertyColumns();
private IPropertyColumn[] createCollectionColumns()
String columnsString = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, "rnd:icon(noTitle/noColumnSpacing),rnd:displayname(contentLink)");
return PropertyColumnFactory.getInstance().parseProperty(columnsString);
public Component renderUI()
throws WcmException
s_profiler.start("/KM/FLEXUI/RENDER/UI", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
try
if(getProxy().isDebugEnabled())
writeDebugInformation();
setColumnsList(createCollectionColumns());
FormLayout grid = new FormLayout();
grid.setMargin("0", "0", "0", "0");
grid.setWidth("");
FormLayoutCell cell = null;
grid.setDebugMode(debug);
int row = 1;
grid.addComponent(++row, 1, new TextView("CH-BOVENALL"));
if(!isVisible())
FormLayout formlayout = grid;
return formlayout;
if(getParameter(ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, false))
cell = grid.addComponent(row, 1, renderFolderTitle());
cell.setColspan(10);
cell.setPaddingTop("2");
cell.setPaddingBottom("3");
row++;
IResourceList resourcelist = getResourceList();
if(!getParameters().isExactlyValue(ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE, "off") && resourcelist != null && resourcelist.size() == 0)
cell = grid.addComponent(row, 1, new EmptyCollectionInfo(getProxy(), getParameters()));
cell.setColspan(10);
cell.setHorizontalAlignment(CellHAlign.LEFT);
row++;
noOfColumns = PropertyColumnFactory.getNoOfColumn(getColumnsList(), MaxNumberOfRows);
int column = 1;
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
column++;
noOfColumns++;
if(getParentCollection() != null)
FolderSettings currFolderSettings = new FolderSettings(getParentCollection());
isManualOrdered = currFolderSettings.getOrderedFlag();
row = renderListHeader(grid, row);
boolean widthStrech = getParameters().getParameter(ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE, "compact").equals("stretch");
boolean heightStrech = getParameters().getParameter(ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, "compact").equals("stretch");
int maxnumberOfElements = getStartRow() + getParameters().getParameter(ICollectionRendererParameterNameConst.ROWS, MaxNumberOfRows);
if(maxnumberOfElements > resourcelist.size())
maxnumberOfElements = resourcelist.size();
int rowHeightPercent = 0;
if(heightStrech && maxnumberOfElements != 0)
rowHeightPercent = 100 / maxnumberOfElements;
IResourceList renderlist = resourcelist.subList(getStartRow(), maxnumberOfElements);
IResourceListIterator iter = renderlist.listIterator();
IResource res = null;
boolean lightStyleClass = true;
String classStyle = "";
boolean alternatingMode = isExactlyValue(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "ALTERNATING");
boolean lineSeparatedMode = isExactlyValue(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "LINE_SEPARATED");
if(alternatingMode || lineSeparatedMode)
grid.addComponent(row, 1, HtmlRendererUtil.importStyles());
row++;
if(getColumnsList() != null)
IPropertyNameList propertynamelist = PropertyColumnFactory.getInstance().getPropertyNameList(getColumnsList());
for(int i = 0; i < DEFAULT_PROP_NAMES.length; i++)
if(DEFAULT_PROP_NAMES<i> != null)
propertynamelist.add(DEFAULT_PROP_NAMES<i>);
s_profiler.start("/KM/FLEXUI/RENDER/UI/GETPROPS", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
try
getProxy().getAmalgamation().readProperties(renderlist, propertynamelist);
finally
s_profiler.stop("/KM/FLEXUI/RENDER/UI/GETPROPS");
IPropertyPosition positions[] = getPositionArray(getColumnsList());
boolean nextColumns[] = isNextLineColumnNeeded(getColumnsList());
boolean selectionActive = !getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off");
List paddings = getPaddingList(getColumnsList(), selectionActive);
while(iter.hasNext())
res = iter.next();
if(alternatingMode)
classStyle = "urCellBgPlain";
if(!lightStyleClass)
classStyle = "urSTbvCellAlt";
row = renderFormRow(grid, row, 1, res, classStyle, rowHeightPercent, propertynamelist, positions, nextColumns, paddings);
if(lineSeparatedMode && iter.hasNext())
cell = grid.addComponent(row, 1, HtmlRendererUtil.renderLineSeparator("urCellBgPlain", 1));
cell.setColspan(noOfColumns);
row++;
lightStyleClass = !lightStyleClass;
row = renderListFooter(grid, row);
if(widthStrech)
grid.setWidth("100%");
FormLayout formlayout1 = grid;
IParameters parameters = getParameters();
formlayout1.addComponent(++row, 1, new TextView("CH-BOVEN "+parameters.getParameter(IParameterName.PAGER_LINK_COUNT).toString()));
return formlayout1;
catch(Exception ex)
throw new WcmException(ex);
finally
s_profiler.stop("/KM/FLEXUI/RENDER/UI");
private static List getPaddingList(IPropertyColumn columnsList[], boolean selectionActive)
List result = new ArrayList();
for(int i = 0; i < columnsList.length; i++)
String padding[] = null;
try
padding = PropertyColumnRenderer.getPropertyColumnArrayPadding(columnsList<i>, selectionActive);
catch(WdfException e)
log.errorT("Could not parse padding for column <" + columnsList<i> + "> " + LoggingFormatter.beautify(e));
padding = (new String[] {
"0", "0", "0", "0"
result.add(padding);
return result;
private static IPropertyPosition[] getPositionArray(IPropertyColumn columns[])
IPropertyPosition result[] = new IPropertyPosition[columns.length];
for(int i = 0; i < columns.length; i++)
result<i> = PropertyColumnFactory.getInstance().getPosition(columns<i>);
if(log.beDebug())
log.debugT("Calculated property position array <" + result + "> for property column array <" + columns + ">");
return result;
private int renderFormRow(FormLayout grid, int row, int column, IResource res, String classStyle, int rowHeightPercent, IPropertyNameList propertynamelist,
IPropertyPosition positions[], boolean nextColumns[], List paddings)
throws WcmException
s_profiler.start("/KM/FLEXUI/RENDER/UI/ROW ", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
try
boolean emptyRow = true;
try
Vector nextLine = new Vector();
Vector nextLineColumn = new Vector();
Hashtable nextLineElement = new Hashtable();
FormLayoutCell cell = null;
int nextLineCol = 0;
int line = 1;
int startRow = row;
boolean selectionActive = false;
IPropertyPosition position = null;
IResourceRenderer renderer = getRenderer(res);
renderer.setPropertyNameList(propertynamelist);
String padding[] = null;
Component comp = new HTMLFragment(" ");
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
comp = renderItemSelectionMode(res);
cell = grid.addComponent(row, column, comp);
cell.setVerticalAlignment(VERTICAL_ALIGN);
cell.setPaddingRight("2");
cell.setPaddingLeft("3");
selectionActive = true;
column++;
int columnSpan = 0;
int rowSpan = 0;
IMetaName metaName = null;
for(int i = 0; i < getColumnsList().length; i++)
try
columnSpan = 0;
position = positions<i>;
if(position != null)
int lineNew = position.getRow();
if(line != lineNew)
column = position.getColumn();
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
column++;
line = lineNew;
if(!emptyRow)
row++;
emptyRow = true;
columnSpan = position.getSpanColumn();
rowSpan = position.getSpanRow();
comp = PropertyColumnRenderer.renderPropertyColumn(renderer, res, getColumnsList()<i>, false, getProxy());
emptyRow = emptyRow && (comp == null || (comp instanceof EmptyComponent));
if(comp != null)
if(columnSpan != 0)
cell = grid.addComponent(row, column, comp);
cell.setColspan(columnSpan);
} else
cell = grid.addComponent(row, column, comp);
if(rowSpan != 0)
cell.setRowspan(rowSpan);
cell.setVerticalAlignment(PropertyColumnFactory.getInstance().getVAlign(getColumnsList()<i>));
cell.setHorizontalAlignment(PropertyColumnFactory.getInstance().getHAlign(getColumnsList()<i>));
padding = (String[])paddings.get(i);
if(padding != null)
cell.setPaddingTop(padding[0]);
cell.setPaddingRight(padding[1]);
cell.setPaddingBottom(padding[2]);
cell.setPaddingLeft(padding[3]);
selectionActive = false;
if(nextColumns<i>)
nextLineColumn = getIMetaNameTypeText(getColumnsList()<i>, column);
nextLine.addAll(nextLineColumn);
column++;
catch(WcmException wcmEx)
log.debugT("Could not rendere row for resource <" + res + "> & columns <" + getColumnsList()<i> + ">" + LoggingFormatter.extractCallstack(wcmEx));
if(columnSpan != 0)
cell = grid.addComponent(row, column, EmptyComponent.render());
cell.setColspan(columnSpan);
} else
cell = grid.addComponent(row, column, EmptyComponent.render());
column++;
if(columnSpan != 0)
column += columnSpan;
if(!getColumnsList()<i>.contains("noColumnSpacing") && column < noOfColumns)
cell = grid.addComponent(row, column, EmptyComponent.render());
if(!"0".equals(getColumnSpacing()))
cell.setWidth(getColumnSpacing());
column++;
boolean emptyComponent = true;
for(int k = 0; k < nextLine.size(); k++)
nextLineElement = (Hashtable)nextLine.elementAt(k);
if(nextLineElement != null)
IPropertyWithModifiers currProp = (IPropertyWithModifiers)nextLineElement.get("metaNameModifiers");
nextLineCol = Integer.parseInt((String)nextLineElement.get("col"));
metaName = (IMetaName)nextLineElement.get("metaName");
renderer.getParameters().setParameter(IResourceRendererParameterNameConst.PROPERTY_MODIFIERS, PropertyColumnFactory.getInstance().getModifierString(currProp.getModifierList()));
comp = PropertyColumnRenderer.renderMetaProperty(renderer, metaName, false, true);
emptyComponent = false;
if(comp != null && (comp instanceof EmptyComponent))
emptyComponent = true;
if(!emptyComponent)
if(!emptyRow)
row++;
cell = grid.addComponent(row, nextLineCol, comp);
cell.setColspan(column);
emptyRow = false;
int rowSpace = 0;
try
rowSpace = Integer.parseInt(getRowSpacing());
catch(NumberFormatException nfEx)
log.debugT("Could not get an Integer from <" + getRowSpacing() + ">; " + LoggingFormatter.extractCallstack(nfEx));
rowSpace = 0;
int endRow = row;
if(emptyRow)
endRow = row - 1;
if(rowSpace != 0)
String paddingStyle = String.valueOf(rowSpace);
if(startRow != endRow)
setHeightPercentageForm(rowHeightPercent, paddingStyle, 1, grid, startRow, noOfColumns);
setHeightPercentageForm(rowHeightPercent, paddingStyle, 1, grid, endRow, noOfColumns);
} else
setHeightPercentageForm(rowHeightPercent, paddingStyle, 0, grid, endRow, noOfColumns);
if(!"".equals(classStyle))
setClassStyleForm(classStyle, grid, startRow, row, noOfColumns);
catch(Exception e)
throw new WcmException(e);
if(!emptyRow)
row++;
finally
s_profiler.stop("/KM/FLEXUI/RENDER/UI/ROW ");
return row;
private void setHeightPercentageForm(int rowHeightPercent, String padding, int paddingStyle, FormLayout grid, int row, int col)
FormLayoutCell cell = null;
FormLayoutRow rows = grid.getRow(row);
for(int j = 1; j <= col; j++)
cell = rows.getCell(j);
if(cell != null)
if(rowHeightPercent != 0)
cell.setWidth(""";height="" + String.valueOf(rowHeightPercent) + "%"");
if(paddingStyle == 1)
cell.setPaddingTop(padding);
else
if(paddingStyle == -1)
cell.setPaddingBottom(padding);
} else
cell.setPaddingTop(padding);
cell.setPaddingBottom(padding);
private void setClassStyleForm(String classStyle, FormLayout grid, int startRow, int endRow, int col)
FormLayoutCell cell = null;
FormLayoutRow currentRow = null;
int rowSpan = 0;
int noCol = col;
boolean hasRowSpan = false;
for(int i = startRow; i <= endRow; i++)
currentRow = grid.getRow(i);
if(currentRow != null)
if(hasRowSpan)
noCol = col - 1;
hasRowSpan = --rowSpan > 0;
} else
noCol = col;
for(int j = 1; j <= noCol; j++)
cell = currentRow.getCell(j);
if(cell != null && cell.getRowspan() > 1)
hasRowSpan = true;
rowSpan = cell.getRowspan() - 1;
if(cell != null)
cell.setStyle(classStyle);
} else
cell = grid.addComponent(i, j, EmptyComponent.render());
cell.setStyle(classStyle);
public HeaderItem[][] genetateMatrixHeader()
throws WcmException
if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
return null;
IPropertyPosition position = null;
IPropertyColumn iterColumns[] = getColumnsList();
boolean existsResource = getResourceList().size() != 0;
if(!existsResource)
return null;
HeaderItem headerMatrix[][] = new HeaderItem[10][20];
int currentRow = 0;
int currentColumn = 0;
int currentRowSpan = 0;
int currentColumnSpan = 0;
int nextCol = 0;
int maxRow = 0;
int maxCol = 0;
boolean is508Required = false;
try
is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
catch(Exception ex)
log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
IMetaName metaName = null;
for(int i = 0; i < iterColumns.length && existsResource; i++)
if(iterColumns<i> != null)
position = PropertyColumnFactory.getInstance().getPosition(iterColumns<i>);
if(position != null)
if(currentRow != position.getRow() - 1)
nextCol = 0;
currentRow = position.getRow() - 1;
currentColumn = (position.getColumn() - 1) + nextCol;
currentRowSpan = position.getSpanRow();
currentColumnSpan = position.getSpanColumn();
} else
currentRowSpan = 0;
currentColumnSpan = 0;
metaName = PropertyHeaderRenderer.getMetaNameForTitle(iterColumns<i>, is508Required);
if(metaName != null)
headerMatrix[currentRow][currentColumn] = new HeaderItem(currentRowSpan, currentColumnSpan, metaName, iterColumns<i>);
nextCol = 1;
maxRow = maxRow <= currentRow ? currentRow : maxRow;
maxCol = maxCol <= currentColumn ? currentColumn : maxCol;
currentColumn++;
if(currentColumnSpan != 0)
currentColumn += currentColumnSpan;
if(!iterColumns<i>.contains("noColumnSpacing"))
currentColumn++;
maxRow++;
maxCol++;
if(maxRow > 0 || maxCol > 0)
HeaderItem resultMatrix[][] = new HeaderItem[maxRow][maxCol];
for(int i = 0; i < maxRow; i++)
for(int k = 0; k < maxCol; k++)
resultMatrix<i>[k] = headerMatrix<i>[k];
return resultMatrix;
} else
return null;
public int renderListHeader1(FormLayout grid, int row)
throws WcmException
if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
return row;
HeaderItem header[][] = genetateMatrixHeader();
if(header == null)
return row;
String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
if(headerClassStyle == null)
headerClassStyle = "";
FormLayoutCell cell = null;
int columnSpan = 0;
int column = 1;
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
column++;
int startRow = row;
HeaderItem headerItem = null;
PropertyHeaderRenderer sortHeader = new PropertyHeaderRenderer(getProxy(), this, getBundleHandler(), getChildCountMetaName(getParentCollection()), isManualOrdered, getIRS().getSortDefintion(), getResourceContext().getLocale());
IMetaName metaName = null;
int colHeader = 0;
for(int i = 0; i < header.length; i++)
row += i;
if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
colHeader = 1;
else
colHeader = 0;
for(int k = 0; k < header[0].length; k++)
headerItem = header<i>[k];
if(headerItem != null)
boolean is508Required = false;
try
is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
catch(Exception ex)
log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
metaName = headerItem.getLabelMetaName();
if(headerItem.getColSpan() != 0)
cell = grid.addComponent(row, k + colHeader + 1, sortHeader.createSortLink(metaName));
cell.setColspan(headerItem.getColSpan());
} else
cell = grid.addComponent(row, k + colHeader + 1, sortHeader.createSortLink(metaName));
String padding[] = HtmlRendererUtil.getPropertyPaddingValues(headerItem.getPropertyColumn(), metaName);
cell.setHorizontalAlignment(PropertyColumnFactoHello
My problem is the following on the moment:
In debug, I get the message the pager can't be created.
Could not create command with alias KenGPager and classname be.kindengezin.wcm.rendering.component.cm.Pager:java.lang.ClassNotFoundException: be.kindengezin.wcm.rendering.component.cm.Pager
at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at com.sapportals.wcm.rendering.collection.ComponentFactory.createComponent(ComponentFactory.java:447)
at com.sapportals.wcm.rendering.collection.ComponentFactory.initialize(ComponentFactory.java:489)
at com.sapportals.wcm.rendering.collection.ComponentFactory.configEvent(ComponentFactory.java:553)
at com.sapportals.config.event.ConfigEventService.dispatchEvent(ConfigEventService.java:227)
at com.sapportals.config.event.ConfigEventService.configEvent(ConfigEventService.java:112)
at com.sapportals.config.event.ConfigEventDispatcher.callConfigListeners(ConfigEventDispatcher.java:308)
at com.sapportals.config.event.ConfigEventDispatcher.flushEvents(ConfigEventDispatcher.java:251)
at com.sapportals.config.event.ConfigEventDispatcher.run(ConfigEventDispatcher.java:110)
My java files start as following:
package be.kindengezin.wcm.rendering.component.cm;
import com.sap.tc.logging.Location;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.TextViewDesign;
import com.sapportals.htmlb.event.Event;
import com.sapportals.wcm.WcmException;
import com.sapportals.wcm.control.util.PropertyRendererString;
import com.sapportals.wcm.rendering.base.*;
import com.sapportals.wcm.rendering.collection.*;
import com.sapportals.wcm.rendering.util.EmptyHtmlFragment;
import com.sapportals.wcm.rendering.util.PagerData;
import com.sapportals.wcm.repository.*;
import com.sapportals.wcm.repository.service.IRepositoryServiceFactory;
import com.sapportals.wcm.repository.service.layout.customizing.IParameterName;
import com.sapportals.wcm.service.propertyconfig.*;
import com.sapportals.wcm.util.logging.LoggingFormatter;
import com.sapportals.wcm.util.name.IName;
import com.sapportals.wcm.util.resource.ResourceBundles;
import com.sapportals.wcm.util.uri.RID;
import java.util.*;
// Referenced classes of package com.sapportals.wcm.rendering.component.cm:
// LightComponent, PagerComponent, PagerInterval
public class Pager extends LightComponent
Edited by: Christof Houben on Oct 6, 2008 3:44 PM -
I have used pagination to display the report data.I have used page break.I want to display 10 records on first page and from second page onwards I want to display 25 records on all remaining pages.
I followed this link to show 25 records for all page. "http://www.sqlchick.com/entries/2010/9/11/displaying-fixed-number-of-rows-per-ssrs-report-page.html". Now suggest me how display 10 records only on first page having 25 from second page onwards.Hi mukesh_harkhani,
According to your description, you want to insert page break for different number of rows, display 10 rows on the first page and 25 rows on the following pages. After testing the issue in my SQL Server Reporting Services 2008 environment, we can use the
method below to achieve your requirement:
In your scenario, right-click the group which contains the expression: =CEILING(RowNumber(Nothing)/25) to open the Group Properties dialog box.
Modify the original expression to the following in the Group on textbox:
=Floor((RowNumber(Nothing)+14)/25)
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi,
I need the transaction code to entry measuring point entry list.
I created in IK31 and created Entry list name:as XXXX.
But In which Transaction i enter the readings of different equipments Measuring points?
Plz help me.
Regards,
Chitra.Hi,
There are three options to craete measuring entry sheet.
1.Equipment Measuring Entry sheet.
2.Function location Measuring Entry sheet.
3.General Measuring Entry sheet.
For entring measrement documents u can use IK34.
Ramesh -
Entry list or value help?
Hi Experts,
i need a input box or a combo box for an entry field. For example this field should have an input assistance and should accept other values. For example i have a combo box for a licence number of a vehicle. So it must be possible to give value help or the user could enter his own licence number with is not in the help list. At the moment i use a dynamic entry list which get the help values by a webservice.
Now i had the problem when a user enters a value which is in the list. In this case he get a validation error an he must select a value of the list for go on. In the configure of the combo box the setting "validation reqiured" is false!
Many Thanks!Hi Dirk,
If I get you correctly, you would like the end user to type in the Vehicle number / select from the list, When typing in the number there is no validation!
This can be achieved with input box and a button in melting group. Something like [this|http://img355.imageshack.us/img355/8800/example1vq3.jpg]
On click of the button you call the web service which would have the available licence details in table....
Let me know if it helps...
Best regards,
Dharmi
Edited by: Dharmi Tanna on Jul 21, 2008 3:26 PM -
Post Author: ezworld
CA Forum: Xcelsius and Live Office
Hi all, I need help again
I have a List box & a Line chart, the List box has approx 10 separate metrics which are in different number formats(numeric & percentage). The problem is I cannot figure out how to set the number format for each selection in the List box. So I keep the number format as numeric and the result is my percentages end up as fractions, I have been searching however I cannot find a tip or trick which addresses this issue, can anyone help?
Xcelsius Engage 2008Post Author: David Lopez
CA Forum: Xcelsius and Live Office
As far as I can see, the Appearance / Text / Labels property only allows for one numeric format at any given time. So in this case, the user would have to either select a numeric or a percentage format.
I'm not sure which Insertion type that you wanted to use, but would the Spreadsheet Table component be a possible alternative for you? You can insert by either Position or Rows with this component. -
Depending where I look I have a different number of songs on my iPhone
Hi all!
It is really strange. When synchronize music with iTunes, l check the lists I want to sync and up it tells me "115 songs". But when i go to the lower bar, the one in colors, the blue color tells me that there are 68 songs on my iphone. But if I go to "This iPhone" on iTunes it tells me different number of songs, and actually when I look on my iPhone I have another number of songs, different of the others.
How it that possible?
I have itunes updated.
Thanks!!A belated hello. On the topic of duplicate songs / tracks showing up in, say, your iPhone Music app but not in your iTunes Library, with these versions installed ....
iTunes 10.5
iPhone 4 running on iOS 5
.... I discovered this too. This is what I did:
1. purchased full album from the iTunes Store
(once download completed, album magically showed up in iPhone Music app, as expected, without having to sync)
2. I then went to my iTunes Music view and edited the album year (Multiple Item Information)
3. Synced
4. All album tracks showed up in duplicate in iPhone Music app (but not in iTunes view)
Solution:
1. in iTunes, I changed back the album year to the one iTunes Store originally downloaded
2. Re-synced
3. Now all album tracks show up but no longer in duplicate in iPhone Music app
Lesson learned: When purchasing music from iTunes Store, leave metadata untouched. -
Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer
All,
Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue. What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
Many thanks,
FreekHi,
you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
I have never heard of the problem that entry lists are emptied after "insert"-event.
Kindes Regards,
Benni -
Merging two separate Tables into One - different number of rows
Hi. I have a problem. Oracle 10.2.0.4.0
7 years ago when i was learning how to query my teacher told me that is possible to creata some kind of report where results could be combined in 1 view(report) witch in different variable could have different number of rows.
I just remember that there is needed to use group by function and some join?
Please help
In link there is a sample sample view
I need to combine Table A using D variable with Table B to become Wynik(result)
Tables create
CREATE TABLE "TABELA_A" ( A NUMBER,B NUMBER,C NUMBER,D NUMBER ) ;
INSERT INTO "TABELA_A" (A, B, C, D) VALUES (123, 1, 70, 999)
INSERT INTO "TABELA_A" (A, B, C, D) VALUES (123, 2, 80, 999)
INSERT INTO "TABELA_A" (A, B, C, D) VALUES (234, 1, 100, 111)
INSERT INTO "TABELA_A" (A, B, C, D) VALUES (456, 1, 10, 222)
CREATE TABLE "TABELA_B" ( D NUMBER,E VARCHAR2(255),F NUMBER ) ;
INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'A', 1);
INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'B', 1);
INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'B', 3);
INSERT INTO "TABELA_B" (D, E, F) VALUES (999, 'C', 1);
INSERT INTO "TABELA_B" (D, E, F) VALUES (111, 'A', 1);
INSERT INTO "TABELA_B" (D, E, F) VALUES (111, 'C', 2);
And to become result - in picture
[http://i303.photobucket.com/albums/nn153/katanbutcher/pytanko.jpg?t=1306152636]
Thank's for help
Edited by: 860710 on 2011-05-23 05:42
Edited by: 860710 on 2011-05-23 05:54
Edited by: 860710 on 2011-05-23 06:07Maybe if you follow the instructions mention in this post you may get some help. For example, I wouldn't try to click on the link provided by you.
SQL and PL/SQL FAQ
Regards
Raj -
Different number of rows for different columns in JTable
hi
I need to create a JTable with different number of rows for different columns...
Also the rowheight should be different in each column...
say there is a JTable with 2 columns... Col1 having 5 rows and column 2 having 2 rows...
The rowHeight in Col2 should be an integer multiple of Rowheight in Col1
how do I do this ??
can anybody send me some sample code ?????
thanx in advanceHow about nesting JTables with 1 row and many columns in a JTable with 1 column and many rows.
Or you could leave the extra columns null/blank.
You could use a GridBagLayout and put a panel in each group of cells and not use JTable at all.
It would help if you were more specific about how you wanted it to appear and behave.
Maybe you are looking for
-
What are the settings for capturing video from Canon HV20
Hi All, I want to capture video from Canon HV20 with Premiere Elements 11. What kind of settings should I use to capture the video with full information? Here is what I did: 1) According the manual, I went to Capture settings panel (Edit > Project Se
-
App not versioned error in JDeveloper - ADF with SQL Server 2005
Hello All, I am developing a sample ADF application. Database is MS SQL Server 2005 SP2. I get below error message. I am trying in parallel to google it... However trying here if any encountered such an issue and had resolved it. Thanks in advance fo
-
How do i edit a flashdrive usb power point presentation with a pptx file
My son has brought home a flashdrive USB from school (where they use Macs) with a power point presentation that needs to be edited but I can only open it up as a read only file. It has the suffix of .pptx. Does anyone have any suggestions to gain acc
-
Cisco WS-C3560G error message after update IOS Ver.
I get this error: *Mar 1 00:00:14.998: %HARDWARE-3-MCU_I2C_READ_ERROR: I2C read failed in MCU and attached devices (e.g. Temperature Sensor) can't be read. *Mar 1 00:02:33.016: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha nged state
-
Lost everything since ios5 update
i installed ios5, and lost all my files, phone numbres, etc...!!!! ican't find any backup in itunes!!! what can ido ?