SelectedItem return null when hit the NEXT page or Submit
Hello All,
I try to add the paging to the open source Alfresco content management. We need to process a large dataset (e.g. > 50K files) so after we gather a list of data files we display them with the checkbox and each checkbox has default checked status.
If the value="#{FixItemList.selectedItems} is omitted in the <h:selectManyCheckbox> then the paging is fine when hitting the NEXT page or Submit button. If we set the value in the selectManyCheckbox then it returns null for selectedItems.
Would please point out what I have done wrong? Appreciate for all yours helps.
This is the managed bean object.
public class ToolsContext
private FixItemList fixItemList;
private ToolsContext()
this.fixItemList = new FixItemList();
public void addFix(Fix fix) {
if(fix != null) {
fixItemList.addFixItem(new SelectItem(fix, fix.getPath(), fix.getDetails(), false));
fixItemList.addFixSelectedItems("" + fix + "");
public class FixItemList implements Serializable
private static final long serialVersionUID = 123784764562L;
private List<SelectItem> items;
private List<String> selectedItems;
private int displayItemPerPage;
public FixItemList() {
displayItemPerPage = 100;
items = new ArrayList<SelectItem>();
selectedItems = new ArrayList<String>();
public void setItems(List<SelectItem> items) {
this.items = items;
public List<SelectItem> getItems() {
return this.items;
public int getItemsSize() {
return this.items.size();
public int getDisplayItemPerPage() {
return this.displayItemPerPage;
public void setDisplayItemPerPage(int displayItemPerPage) {
this.displayItemPerPage = displayItemPerPage;
public void addFixItem(SelectItem selectItem) {
items.add(selectItem);
public List<String> getSelectedItems() {
return selectedItems;
public void setSelectedItems(List<String> selectedItems) {
this.selectedItems = selectedItems;
public void addFixSelectedItems(String selectedItem) {
selectedItems.add(selectedItem);
}My faces-config.xml
<managed-bean>
<description>
This bean is to display in the Web Project tool as the pagination. HOPEFULLY SO
</description>
<managed-bean-name>FixItemList</managed-bean-name>
<managed-bean-class>org.alfresco.module.websitetools.util.FixItemList</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>The JSP page.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %>
<w:avmList id="files-list" viewMode="details" pageSize="#{FixItemList.displayItemPerPage}" styleClass="recordSet"
headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt" width="100%"
value="#{FixItemList.items}" var="row">
<%-- checkbox column --%>
<a:column id="col1" primary="true" width="5" style="padding:2px;text-align:left">
<h:selectManyCheckbox id="wpt" value="#{FixItemList.selectedItems}">
<f:selectItem itemLabel="#{row.label}" itemValue="#{row.value}" />
</h:selectManyCheckbox>
</a:column>
<%-- file name column --%>
<a:column id="col2" primary="true" width="50%" style="padding:2px;text-align:left">
<h:outputText value="#{row.description}" />
</a:column>
<a:dataPager id="pager1" styleClass="pager" />
</w:avmList>When I hit the NEXT page the #FixItemList.selectedItem return null. We use myface version 1.1.5. And below is the stack error
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at javax.faces.component._SelectItemsIterator.hasNext(_SelectItemsIterator.java:73)
at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:268)
at javax.faces.component.UIInput.validate(UIInput.java:354)
at javax.faces.component.UISelectMany.validate(UISelectMany.java:297)
at javax.faces.component.UIInput.processValidators(UIInput.java:184)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIForm.processValidators(UIForm.java:73)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:627)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:149)
at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)Appreciate for all yours helps,
Anh
I put the print out statement in the _SelectItemsIterator and found out that the selected item's value doesn't binding. How would I be able to select an item? Attached is the code with debug print out in the SelectItemsIterator.
Would some one please point me a direction? Appreciate.
public boolean hasNext()
if(_nextItem != null)
return true;
if(_nestedItems != null)
if(_nestedItems.hasNext())
return true;
_nestedItems = null;
if(_childs.hasNext())
UIComponent child = (UIComponent)_childs.next();
getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getChildCount());
getLogger().debug("-----_SelectItemsIterator---child is UIComponent---" + child.getAttributes());
Map m = child.getAttributes();
Set s = m.keySet();
Iterator i= s.iterator();
while (i.hasNext()) {
getLogger().debug("value = " + m.get(i.next()));
if(child instanceof UISelectItem)
UISelectItem uiSelectItem = (UISelectItem)child;
Object item = uiSelectItem.getValue();
getLogger().debug("-----_SelectItemsIterator---child is UISelectItem---getValue()--" + item);
if(item == null)
Object itemValue = ((UISelectItem)child).getItemValue();
String label = ((UISelectItem)child).getItemLabel();
String description = ((UISelectItem)child).getItemDescription();
boolean disabled = ((UISelectItem)child).isItemDisabled();
if(label == null)
label = itemValue.toString(); //////////////////////IT THROWS THE EXCEPTION HERE, BECAUSE THE
///itemValue is null
item = new SelectItem(itemValue, label, description, disabled);
getLogger().debug("-----_SelectItemsIterator---create item - label---" + label);
getLogger().debug("-----_SelectItemsIterator---create item - descp---" + description);
getLogger().debug("-----_SelectItemsIterator---create item - disable---" + disabled);
getLogger().debug("-----_SelectItemsIterator---create item - itemValue--" + itemValue);
}
Similar Messages
-
How to get the page number when click the(Next page) Icon on Tableview
Hi all,
I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
Let us assume when we execute the BSP and a table view got 11 pages.
How I can keep track of the page number when we click the (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that corresponding page number of the tableview when we click the corresponding Icon's??
I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
Any help will be appreciated.
Thanks in advance.
Thanks,
GreetsonHi Greetson,
I was thinking to write a weblog about that.
But now I would like to have your opinion:
I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class me->firstvisiblerowlist (that is a table)
DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
DATA: ff TYPE ihttpnvp,
ffs TYPE tihttpnvp.
me->request->get_form_fields( CHANGING fields = ffs ).
LOOP AT ffs INTO ff.
IF ff-name CP 'f*visiblefirstrow'.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
CASE sy-subrc.
WHEN 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
WHEN 4.
IF sy-tabix = 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ELSE.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
ENDIF.
WHEN 8.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ENDCASE.
ENDIF.
ENDLOOP.
Than you have to provide a generic method to read the firstvisiblerow for each tableview
GET_FIRSTVISIBLEROW
*IM_TABLENAME
*RE_VALUE
DATA: l_firstvisiblerow TYPE zmmsp_tableview_1st_visi_row.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
IF sy-subrc = 0.
re_value = l_firstvisiblerow-value.
ELSE.
re_value = 1.
ENDIF.
And in the DO_REQUSET of each controller you could write something like:
* Paginator
DATA: l_tab1_visiblefirstrow TYPE sytabix.
l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow' ).
As usual pass the value to the view via:
o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
Did you get it? -
Every version of Firefox i try to install fails when hitting the NEXT Button
I have versions 20 - 23.0.1 of Firefox. I click on the installer, the files are extracted, but when i click on the next button to start the install every version fails.
Problem signature:
Problem Event Name: APPCRASH
Application Name: setup.exe_Firefox
Application Version: 1.0.0.0
Application Timestamp: 4bc06cda
Fault Module Name: StackHash_af10
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: 00000000
Exception Offset: 00000000
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: af10
Additional Information 2: af10e1b7f52f433b5dfddc6fa75d9e78
Additional Information 3: 3a32
Additional Information 4: 3a32f4805dfc71fa9ecf9a3e11622deeThis article suggests also scanning for malware when the "fault module" is a StackHash: http://infopurge.tumblr.com/post/10438725843/what-is-stackhash
These three scanners are highly regarded (and free):
* Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
* AdwCleaner : http://www.bleepingcomputer.com/download/adwcleaner/ ''(ignore banner ads for other products)''
* SUPERAntiSpyware : http://www.superantispyware.com/ -
I got error message in Firefox when passing the dropdown value to the next page
Hello:
I am using Ajax to populate a dropdown box. When I pass the
value to the next page, I got an error message saying
'form.thevalue' is undefined in Firefox. It works fine in IE.
Please find part of the code below:
form.cfm:
<select name="appointment_date" id="appointment_date"
onchange="showTime(document.apptform.select_employee.value,
this.value, ' ' )">
<option value=''>[Select]</option>
<cfloop list="#datelist#" index="thedate">
<cfif thedate eq '#chg_appointment_date#'>
<cfset select='SELECTED'>
<cfelse>
<cfset select=''>
</cfif>
<cfoutput><option value="#thedate#"
#select#>#thedate#</option></cfoutput>
</cfloop>
</select>
<span id="TimeList"></span>
GetTime.js:
var oXmlHttp
function showTime(staff, date, available)
var url="/cf/misc/GetTime.cfm?nicknm=" + staff + "&dt=" +
date + "&ti=" + available
oXmlHttp=GetHttpObject(stateChanged)
oXmlHttp.open("GET", url , true)
oXmlHttp.send(null)
function stateChanged()
if (oXmlHttp.readyState==4 ||
oXmlHttp.readyState=="complete")
document.getElementById("TimeList").innerHTML=oXmlHttp.responseText
function GetHttpObject(handler)
try
var oRequester = new XMLHttpRequest();
oRequester.onload=handler
oRequester.onerror=handler
return oRequester
catch (error)
try
var oRequester = new ActiveXObject("Microsoft.XMLHTTP");
oRequester.onreadystatechange=handler
return oRequester
catch (error)
return false;
GetTime.cfm:
<CFINCLUDE TEMPLATE="include.cfm">
<cfset timelist = arrayToList(structSort(atime,
"numeric"))>
<span>
<select name="available_time">
<cfif #trim(URL.nicknm)# eq 'All'>
<option value=''>[Select]</option>
<cfloop list='#timelist#' index='time'>
<cfif time EQ '#trim(url.ti)#'>
<cfset select = 'SELECTED'>
<cfelse>
<cfset select = ''>
</cfif>
<cfoutput><option value="#atime[time]#"
#select#>#time#</option></cfoutput>
</cfloop>
<cfelse>
</cfif>
</select>
</span>
When I pass #form.available_time# to the next page, in
Firefox I got error saying 'form.available_time' is undefined. Any
idea, please?
Thanks in advance.This extension will restore Remote XUL to Firefox 4+ via a whitelist for each domain. <br />
https://addons.mozilla.org/en-US/firefox/addon/remote-xul-manager/ -
Web CrystalReportViewer error when trying to go to the next page or search
Recently I've updated my solution to CrystalReports for VS2010 (now I have 13.0.2000.0 version along with .NET 4.0 and C#). When I used CrystalReports 10.5.3700.0 CrystalReportViewer was situated inside an UpdatePanel and controlled with my own toolbar and everything worked fine. After an update this stuff refused to work at all (CrystalReportViewer was simply blank) and I according to advices on this board removed all UpdatePanels and ScriptManager from my page and began to use native CrystalReportViewer toolbar. Now first page of the report is rendering properly and Print and Export buttons of the native toolbar are working fine but when i'm trying to go to the next page of a report, I see only word "Error" in the report's area.
Fiddler log for this request:
POST http://127.0.0.1:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3a00%3a00&to_d=22.03.2010+23%3a59%3a59&s%5b%5d=74%2c95%2c112%2c97%2c139%2c96%2c125%2c113%2c98%2c128%2c144%2c90%2c141%2c80%2c75%2c118%2c109%2c71%2c72%2c94%2c73%2c3%2c2%2c81%2c133%2c82%2c117%2c140%2c127%2c137%2c131%2c143%2c116%2c129%2c111%2c87%2c88%2c120%2c110%2c124%2c145%2c146%2c134%2c135%2c138%2c108%2c101%2c136%2c142%2c76%2c6%2c47%2c10%2c4%2c53%2c102%2c91%2c11%2c99%2c50%2c114%2c132%2c115 HTTP/1.1
Host: 127.0.0.1:56507
Connection: keep-alive
Referer: http://ipv4.fiddler:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3A00%3A00&to_d=22.03.2010+23%3A59%3A59&s%5B%5D=74%2C95%2C112%2C97%2C139%2C96%2C125%2C113%2C98%2C128%2C144%2C90%2C141%2C80%2C75%2C118%2C109%2C71%2C72%2C94%2C73%2C3%2C2%2C81%2C133%2C82%2C117%2C140%2C127%2C137%2C131%2C143%2C116%2C129%2C111%2C87%2C88%2C120%2C110%2C124%2C145%2C146%2C134%2C135%2C138%2C108%2C101%2C136%2C142%2C76%2C6%2C47%2C10%2C4%2C53%2C102%2C91%2C11%2C99%2C50%2C114%2C132%2C115
__EVENTTARGET=StatReportViewer
__EVENTARGUMENT={"0":{"rptViewLabel":"u0413u043Bu0430u0432u043Du044Bu0439 u043Eu0442u0447u0435u0442", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duaAUOTGFzdFBhZ2VOdW1iZXICAQUKUGFnZU51bWJlcgIB", "pageNum":1}, "common":{"width":"350px", "Height":"", "enableDrillDown":false, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"...(HUGE VIEWSTATE STUFF)...", "rptAlbumOrder":["0"], "toolPanelType":"None", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[], "paramOpts":{"numberFormat":{"groupSeperator":" ", "decimalSeperator":","}, "dateFormat":"dd.MM.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"dd.MM.yyyy H:mm:ss", "booleanFormat":{"true":"u0438u0441u0442u0438u043Du0430", "false":"u043Bu043Eu0436u044C"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"01.09.2011 15:14:03"}, "curViewId":"0"}
__VIEWSTATE=/wEPDwUKMTY3NzU4MzI2OQ9kFgICAw9kFgICEw8XAGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFEUxvZ2luU3RhdHVzJGN0bDAxBRFMb2dpblN0YXR1cyRjdGwwMw==
StatReportViewer_toptoolbar_search_textField=Find...
text_StatReportViewer_toptoolbar_selectPg=1 of 1+
text_StatReportViewer_toptoolbar_zoom=100%
On a reloaded page I see just a text "Error" in CrystalReportViewer area and the following stack trace in html markup:
Inner Stack Trace:
at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)
at CrystalDecisions.Shared.Json.JsonTokener.NextValue()
at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)
Stack Trace:
at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)
at CrystalDecisions.Shared.Json.JsonTokener.NextValue()
at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)
at CrystalDecisions.Shared.Json.JsonArray..ctor(String string_Renamed)
at CrystalDecisions.Web.ReportAgentBase.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)
at CrystalDecisions.Web.ReportAgent.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)
at CrystalDecisions.Web.CrystalReportViewerBase.LoadViewState(Object viewState)
at CrystalDecisions.Web.CrystalReportViewer.LoadViewState(Object viewState)
I don't know what additional information about this issue will be helpful. Any kind of help will be highly appreciated.Tried with attached allinone.js with out any luck.
It seems that the GetLayer function returns null for the Crystal reports viewer Id
below are fields values in function Widget_init()
A.id= "RptViewer_BeamRptViewer__UI"
this
id: "RptViewer_BeamRptViewer__UI"
layer: null
css: null
getHTML: function(){var B=bobj.html;var C={overflow:"hidden",position:"relative",left:this.visualStyle.left,top:this.visualStyle.top};var A=B.DIV({dir:"ltr",id:this.id,style:C,"class":"dialogzone"},this._topToolbar?this._topToolbar.getHTML():"",this._separator?this
beginHTML: function Widget_getHTML(){return""}
endHTML: function Widget_getHTML(){return""}
write: function Widget_write(A){_curDoc.write(this.getHTML(A))}
begin: function Widget_begin(){_curDoc.write(this.beginHTML())}
end: function Widget_end(){_curDoc.write(this.endHTML())}
init: function(){this.initOld();this._initSignals();if(this._reportAlbum){this._reportAlbum.init()}if(this._topToolbar){this._topToolbar.init()}if(this._leftPanel){this._leftPanel.init()}if(this._statusbar){this._statusbar.init()}if(this._leftPanelResizeGrabber)
move: function Widget_move(A,C){var B=this.css;if(A!=null){if(_moz){B.left=""+A+"px"}else{B.pixelLeft=A}}if(C!=null){if(_moz){B.top=""+C+"px"}else{B.pixelTop=C}}}
resize: function(A,B){if(bobj.isNumber(A)){A=A+"px"}if(bobj.isNumber(B)){B=B+"px"}this.visualStyle.width=A;this.visualStyle.height=B;this._doLayout()}
setBgColor: function Widget_setBgColor(A){this.css.backgroundColor=A}
show: function Widget_show(A){this.css.visibility=A?_show:_hide}
getWidth: function Widget_getWidth(){return this.layer.offsetWidth}
getHeight: function Widget_getHeight(){return this.layer.offsetHeight}
setHTML: function Widget_setHTML(A){var B=this;if(B.layer){B.layer.innerHTML=A}else{B.initialHTML=A}}
setDisabled: function Widget_setDisabled(A){if(this.layer){this.layer.disabled=A}}
focus: function Widget_focus(){safeSetFocus(this.layer)}
setDisplay: function Widget_setDisplay(A){if(this.css){this.css.display=A?"":"none"}}
isDisplayed: function Widget_isDisplayed(){if(this.css.display=="none"){return false}else{return true}}
appendHTML: function Widget_appendHTML(){append(_curDoc.body,this.getHTML())}
setTooltip: function Widget_setTooltip(A){this.layer.title=A}
initialized: function Widget_initialized(){return this.layer!=null}
widx: 64
isDisplayModalBG: false
isLoadContentOnInit: false
layoutType: "fitReport"
visualStyle: {...}
widgetType: "Viewer"
_topToolbar: {...}
_reportAlbum: {...}
_leftPanel: {...}
_separator: {...}
_print: {...}
_export: {...}
_promptDlg: null
_reportProcessing: {...}
_eventListeners: []
_statusbar: {...}
_leftPanelResizeGrabber: {...}
initOld: function Widget_init(){var A=this;A.layer=getLayer(A.id);A.css=A.layer.style;A.layer._widget=A.widx;if(A.initialHTML){A.setHTML(A.initialHTML)}}
_boundaryControl: {...}
_modalBackground: {...}
LayoutTypes: {...}
PromptingTypes: {...}
onGrabberMove: function(A){if(this._leftPanel){this._leftPanel.resize(A,null);this._doLayout()}}
keepFocus: function(){var A=bobj.crv.params.FlexParameterBridge.getSWF(this.id);if(A){A.focus()}}
addChild: function(A){if(A.widgetType=="ReportAlbum"){this._reportAlbum=A}else{if(A.widgetType=="Toolbar"){this._topToolbar=A;this._separator=bobj.crv.newSeparator()}else{if(A.widgetType=="Statusbar"){this._statusbar=A}else{if(A.widgetType=="PrintUI"){this._print=A}
_onWindowResize: function(){if(this._currWinSize.w!=winWidth()||this._currWinSize.h!=winHeight()){this._doLayout();this._currWinSize.w=winWidth();this._currWinSize.h=winHeight()}}
_initSignals: function(){var B=MochiKit.Base.partial;var D=MochiKit.Signal.signal;var A=MochiKit.Signal.connect;var C=MochiKit.Iter.forEach;if(this._topToolbar){C(["zoom","drillUp","firstPage","prevPage","nextPage","lastPage","selectPage","refresh","search","export","pr
getLeftPanel: function(){return this._leftPanel}
_initLeftPanelSignals: function(){var B=MochiKit.Base.partial;var D=MochiKit.Signal.signal;var A=MochiKit.Signal.connect;var C=MochiKit.Iter.forEach;if(this._leftPanel){C(["grpDrilldown","grpNodeRetrieveChildren","grpNodeCollapse","grpNodeExpand","resetParamPanel","resizeToolPan
_isMainReportViewSelected: function(){var A=this._reportAlbum.getSelectedView();return A&&A.isMainReport()}
_doLayoutOnLoad: function(){this.css.visibility=this._oldCssVisibility;this._doLayout()}
_doLayout: function(){var H=this._topToolbar?this._topToolbar.getHeight():0;var D=this._topToolbar?this._topToolbar.getWidth():0;var K=this._separator?this._separator.getHeight():0;var M=this._statusbar?this._statusbar.getHeight():0;var R=this._leftPanel?this._leftPa
_onSwitchPanel: function(A){var B=bobj.crv.ToolPanelType;if(B.GroupTree==A){MochiKit.Signal.signal(this,"showGroupTree")}else{if(B.ParameterPanel==A){MochiKit.Signal.signal(this,"showParamPanel")}else{if(B.None==A){MochiKit.Signal.signal(this,"hideToolPanel")}}}this._left
setPageNumber: function(B,A){if(this._topToolbar){this._topToolbar.setPageNumber(B,A)}}
showPromptDialog: function(B,A){if(!this._promptDlg){var C=MochiKit.Base.bind(this._onShowPromptDialog,this);var D=MochiKit.Base.bind(this._onHidePromptDialog,this);this._promptDlg=bobj.crv.params.newParameterDialog({id:this.id+"_promptDlg",showCB:C,hideCB:D})}this._promptD
updatePromptDialog: function(A){A=A||"";var B=function(C,D){return function(){C.updateHtmlAndDisplay(D)}};bobj.loadJSResourceAndExecCallBack(bobj.crv.config.resources.HTMLPromptingSDK,B(this._promptDlg,A));if(bobj.isParentWindowTestRunner()){setTimeout(MochiKit.Base.partial(M
showFlexPromptDialog: function(G,M){var B=bobj.crv.params.FlexParameterBridge;var C=bobj.crv.params.ViewerFlexParameterAdapter;if(!B.checkFlashPlayer()){var E=L_bobj_crv_FlashRequired;this.showError(E.substr(0,E.indexOf("{0}")),B.getInstallHTML());return }C.setViewerLayoutType(
sendPromptingAsyncRequest: function(A){MochiKit.Signal.signal(this,"crprompt_asyncrequest",A)}
setDisplayModalBackground: function(A){A=this.isDisplayModalBG||A;if(this._modalBackground){this._modalBackground.show(A)}}
_onShowPromptDialog: function(){this._adjustWindowScrollBars();this.setDisplayModalBackground(true)}
_onHidePromptDialog: function(){this._adjustWindowScrollBars();document.onkeypress=this._originalDocumentOnKeyPress;this.setDisplayModalBackground(false)}
isPromptDialogVisible: function(){return this._promptDlg&&this._promptDlg.isVisible&&this._promptDlg.isVisible()}
hidePromptDialog: function(){if(this.isPromptDialogVisible()){this._promptDlg.show(false)}}
hideFlexPromptDialog: function(){if(this._promptDlg){if(_ie){this._promptDlg.focus()}this._promptDlg.style.visibility="hidden";this._promptDlg.style.display="none";this.setDisplayModalBackground(false);if(this._promptDlg.closeCB){this._promptDlg.closeCB()}}}
_adjustWindowScrollBars: function(){if(_ie&&this.layoutType==bobj.crv.Viewer.LayoutTypes.CLIENT&&this._promptDlg&&this._promptDlg.layer&&MochiKit.DOM.currentDocument().body){var E,B;var A=MochiKit.DOM.currentDocument().body;var D=this._promptDlg.layer;if(this.getReportPage()&&this
showError: function(C,A){var B=bobj.crv.ErrorDialog.getInstance();B.setText(C,A);B.setTitle(L_bobj_crv_Error);B.show(true)}
update: function(C){if(!C||C.cons!="bobj.crv.newViewer"){return }if(C.args){this.isDisplayModalBG=C.args.isDisplayModalBG}this.hidePromptDialog();for(var A in C.children){var B=C.children[A];if(B){switch(B.cons){case"bobj.crv.newReportAlbum":if(this._reportAlbum){
getToolPanel: function(){if(this._leftPanel){return this._leftPanel.getToolPanel()}return null}
getParameterPanel: function(){var A=this.getToolPanel();if(A){return A.getParameterPanel()}return null}
getReportPage: function(){if(this._reportAlbum){var A=this._reportAlbum.getSelectedView();if(A){return A.reportPage}}return null}
scrollToHighlighted: function(){if(!this._reportAlbum){return }var A=this._reportAlbum.getSelectedView();if(A){A.scrollToHighlighted(this.layoutType.toLowerCase()==bobj.crv.Viewer.LayoutTypes.FITREPORT)}}
addViewerEventListener: function(C,B){var A=this._eventListeners[C];if(!A){this._eventListeners[C]=[B];return }A[A.length]=B}
removeViewerEventListener: function(E,B){var A=this._eventListeners[E];if(A){for(var D=0,C=A.length;D<C;D++){if(A[D]==B){A.splice(D,1);return }}}}
getEventListeners: function(A){return this._eventListeners[A]} -
Problems when trying to move a paragraph with a heading to the next page
When i try to move a paragraph with a heading (generally style 2) to the next page by pressing the enter key, rather than the whole paragraph moving to the top of the next page it moves to pretty well every where but the top. i have attached a video because im sure what i have said doesn't make much sense.
http://www.youtube.com/watch?v=MrlnsmLIDGk&feature=youtubegdataplayer
i have talked to an apple technician through apple care and we came to the conclusion after reseting iwork to default settings still with no changes all i could do was completely remove iwork from my computer and try to start over. Or come to the forums to see if there is a work around.Hi Jared,
Without commentary, or other explanation, it's difficult to determine what actions you are taking to produce the results in the video.
In the first instance, it appears that you have placed the insertion point at the beginning of the line following the header, then pressed and held return. this action pushes that line (and anything below it) down until it crosses the page boundary and jumps to a second page. That's expected behaviour.
At approximately 0:57, you have deleted the return characters, returning the first and second lines after the header to a position immediately following the header. The insertion point is then moved to the point at the beginning of the header line, and returns are inserted as before. About 1:04, a number of unreadable alert boxes appear. At 1:07, the second line below the heading moves to the second page, followed by the first line, then by the heading itself at about 1:10. Again this is expected behaviour.
Only after that are there any 'odd' behaviours, and without knowing what actions you are taking to produce those oddities, it's (at least) difficult to say what is causing the results you see.
Regards,
Barry -
Lately, when I log on to my yahoo mail while using firefox, it no longer shows the DELETE option at the top of the email page. So, I cannot delete any emails that I might wish to delete. Also, I cannot get past the first page of my emails. Every time I click on the NEXT PAGE button, it does not move from page 1. This does not happen when I log onto yahoo mail using Internet Explorer. Please advise as to what I can do to correct this. Could it be that I'm not using the latest version of Firefox? I don't know...
Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
Note: ''This will temporarily log you out of all sites you're logged in to.''
To clear cache and cookies do the following:
#Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
#Under "Time range to clear", select "Everything".
#Now, click the arrow next to Details to toggle the Details list active.
#From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
#Now click the ''Clear now'' button.
Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
How can I have a PDF in Full Screnn Mode without it goinging to the next page when you click?
I'm trying to make, let's say, a mini website using a pdf that includes hyperlinks. I also want the PDF to open in FULL SCREEN Mode. For some reason, when in FULL SCREEN mode you can click on the links (works excellent), but when you click on an area of the page that is NOT a link, it forwards you to the next page in the PDF.
I ordered the full version of Acrobat X Pro, and thought that it would work saving it out of Powerpoint (original file), but I had to disable the add-in because it just kept on crashing.
I can't seem to find where i can control the "Do Not Forward to Next Page OnClick".
Help!
Thanks!If you just purchased Acrobat 10, you might be eligible for a free upgrade to Acrobat 11, which is suppposed to have much improved export to PPT.
-
I am trying to figure out ow to prevent tables from breaking along a row when there is a page break in "Pages". This is done in MS Word by going under Table properties under "Rows". I have a document with small three row tables and I want to keep the tables together and move to the next page in its entirety when there is a page break. Help!
The table that I don't want to break between rows looks like this, except it fits the width of the page:
quilt name
picture of quilt
source
Size: XX; Difficulty Level: 3
I inserted a Inline Text box into the document, copied the table inside the text box, then pasted it through the document (which lists quilting projects). When the table spans a page break, even when in an inline text box, the picture which is in the right hand column splits, as well as the information pertaining to the particular quilt.
Jerry - thank you for your help. I tried to give you a "solved my problem" rating, but I am adjusting to the Mac slowly after 20+ years on a PC. -
Pages '09 v4.1
Problem 1:
I am working with a 2-column Page document. Its my goal to have three items listed in a header in particular positions. Far left shows the paragraph number the page starts with, in the center is a title of the contents of the page, and on the far left is the last paragraph number to appear. To place these three items in the desired positions requires the insertion of a lot of spacing on both sides of the 'centered' title along with counting the characters of the title to find its center to alighn with the center of the page. 253 pages of this to will qualify me to be labled with a severe case of Obsessive Compulsive Disorder. I don't want OCD.
However, by installing a one row/3 column table in the header my task was made a lot easier in alighnments. But, another problem reared up. Within the header underneath the table is a vertical space remaining. This vertical 'tallness' is equivalent to the font size of 10. Its taking up too much space between the header and the text. It needs to be reduced or eliminated.
On the left-hand page I am able to reduce the font as far down as '1'. I've settled on using '3'. However, on the right-hand page the font will not accept any size selections be they less or more and remains stubbornly at font 10. Within a Header that does not have a table, I am able to change the font of both left and right pages.
Is there a another way to approach what I desire for the header other than installing a table in it? Is there a way to alter the font on the right hand pages?
Problem 2:
Whenever I create a table following text already on a page all is right until the table's growth in construction laps over to the next page. At that point the first row snaps to the top of the following page leaving an undesired area (space) between the last line of the text on the preceding page. Whenever I attempt to drag the table to the desired position it snaps back. This only happens when the table is larger than the remaining area of the page. If the table is started at the top of an unused page and runs beyond the confines of that page than it continues as expected onto the next page duplicating the table header. But to do this it must begin at the top of an unused page. Is there a means to have a table placed in the remaining space of a page and what does not fit continues to the next page in effect having a partial of the table on each page?
So there you have it. Christmas is over and its back to work. Thank-you for your attention.Regards re-positioning a table:
I went to Inspector>Wrap>Object Placement/Inline (moves with text) and found that the inline option was selected. Some of the rows within the table have two lines of text. Again, I dragged the table to the desired position on a page that is partially composed with text and got the same results as before - the table snapping back to the top of the following page where it initially resided. In this current position the 2-page table does break as it should on the following 3rd page. Below is a schematic of the appearance of the 2-pages involved.
Page 1 left side.
TEXT 1-line as 1-column
TABLE (5-rows)
TEXT (2-columns) 14-lines left column and 13-lines right column.
[Layout Break] otherwise the above textual columns would be all on the left side of the page.
TEXT 1-line as 1-column
* The desired insertion point for a two page table on a page that is 40% filled with the above descriptions.
Page 2 right side.
A 2-page table flowing or breaking into a 3rd page.
Page 3 left side.
The overflow of the subject table.
[Layout Break]
[Section Break]
Is there some other way to anchor a table to the text other than Inspector>Wrap>Object Placement/Inline (moves with text)? -
When i try to activaye facetime after i sign in and go over to the next page it kept goin back to the sign in what do i do?
1. Make sure software is up to date
2. Make sure FaceTime is enabled; Settings>FaceTime
3. Make sure Date and Time is correctly set; Settings>General>Date and Time>Set Automatically>On
4. Make sure Push Notification is enabled
5. Make sure phone number or email address is correct
6. Hold the Sleep and Home button down (together) until you see the Apple Logo -
How can I get the page to curl when turning to the next page in iBooks author?
How can I get the page to curl when turning to the next page in iBooks author?
I don't think you can. If you need that effect, you should use ePub (that can be authored via Pages) not iBA.
I hope Apple give us the option in the future though. -
For instance, I was trying to pay bills and either the site wouldn't load further than the log in or if it did, the next page loads but gets stuck & won't go further
How can we try to help you when you haven't given us any pertinent information about your problem?
Which version of Firefox? Do you have any addons installed? <br />
Which websites are causing that problem for you?
What firewall program or security suite are you using?
Right now, all we know is that you are frustrated and unhappy with Firefox, and that you have WinXP as your operating system. -
For instance, I was trying to pay bills and either the site wouldn't load further than the log in or if it did, the next page loads but gets stuck & won't go further.
How can we try to help you when you haven't given us any pertinent information about your problem?
Which version of Firefox? Do you have any addons installed? <br />
Which websites are causing that problem for you?
What firewall program or security suite are you using?
Right now, all we know is that you are frustrated and unhappy with Firefox, and that you have WinXP as your operating system. -
How can I change the "view" permanently? When changed, it is reset the next page.
== This happened ==
Every time Firefox opened
== TodayMake sure that you not run Firefox in [[Private Browsing]] mode.
In Private Browsing mode some menu items are disabled (grayed) and some features like visited links and others are disabled and not working.
You are in Private Browsing mode if you see "Tools > Stop Private Browsing".
See [[Private Browsing]] and http://kb.mozillazine.org/Issues_related_to_Private_Browsing
You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
To see all History settings, choose: Tools > Options > Privacy, choose the setting '''Firefox will: Use custom settings for history'''
UnCheck: [[ ] "Automatically start Firefox in a private browsing session"
If you need to increase (or decrease) the font size on websites then look at:
Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
NoSquint - https://addons.mozilla.org/firefox/addon/2592
See also http://kb.mozillazine.org/Zoom_text_of_web_pages
Maybe you are looking for
-
I have sucessfully imported 150 Sony digital 8mm movies (each one hour in length) into iMovie as 150 iMovie events. I have since successfully converted them from their original 13 Gb (.dv) file to an exported smaller 1.3 Gb (.4mv "large file") movie
-
Physical query generation: unneeded dimension tables get joined to the fact
Hi there! The setup is the following: There is a logical fact table which is joined to 7 logical dimensions, it has 4 table sources which correspond to different time dimension levels (all other dimensions are mapped to Detail level). Time dimension
-
Change screen background color without any defer
I would like to change the screen background color using the Framed color box. I can do this using property node. The problem is I cannot update the screen simultaneously as that in VI edit mode. I hope the screen background color can update as the
-
Managing Purchasing orders that contains third-party materials
Hello everybody, How can I manage the purchasing orders related to third-party materials (sales order that contains third party materials). For example, I use ME5A to create purchase orders from the purchase requests created by MPS. Does exists any t
-
Do I need to re-download to install on 2nd computer?
The Creative Cloud Apps have installed as expected on my desktop. I have kept the installers, but when used to install on my laptop they ask for a serial number - and my Creative Cloud serial number is rejected. OR do I have to have to completely red