Unable to display Popup page while using JSF Tiles
Hi All,
I am using JSF Tiles. In the body page i am trying to open a pop up page through java script. bt i got the 500 internal server error. The popup open properly when there is no html or core jsf tags. can anyone help me abt this problem.
Thanks.
For future JSP/Servlet related questions please use the JSP/JSTL forum or the Servlet forum. There are more experts.
As to your problem: did you read a basic JSP/Servlet book/tutorial? Did you read the [Tomcat documentation|http://tomcat.apache.org/tomcat-6.0-doc/index.html]? Your problem more sounds like you missed something trivial.
Similar Messages
-
Problem while displaying popup message while using inputfile component
Hi
I am using JDEV 11.1.1.2.0, using ADF i developed and application
in my page i have a input file component, from which i am taking a csv file and reading it through valuechangeevent of inputfile component. I have used myfaces.trinidad-UploadedFile to get the selected file and read it using inputstream.
I have put some validation check (validation check is done while reading the file using valuechangeevent of the inputfile component), while reading the file and incase i receive any error (validation mismatch), the reading of file stops ... and before doing that i used to display error message using below method:-
public String ValidationCheck(String attrname, String attrvalue, int rownumber) {
String msg="Validation error found in "+attrname+" with value "+attrvalue+" of row "+rownumber+" in the file. Please correct the file and retry/";
FacesContext ctx = getFacesContext();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
ctx.addMessage(null,fm);
return null;
i have used the same method to display message in other places where its showing correctly but fails in inputfile component.
Please help me out how can display messages from inputfile component??
Thanks
Sudeep
Edited by: SKD on Feb 21, 2012 12:02 PM
Edited by: SKD on Feb 21, 2012 4:08 PM
Edited by: SKD on Feb 21, 2012 4:11 PMIt works fine for me (albeit on 11.1.2.1). Here is my complete test case:
FileUploadTest.jspx:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="FileUploadTest.jsf" id="d1">
<af:form id="f1" usesUpload="true">
<af:inputFile label="Label 1" id="if1" valueChangeListener="#{TestBean.vcl}"/>
<af:commandButton text="commandButton 1" id="cb1"/>
</af:form>
<af:messages id="m1"/>
</af:document>
</f:view>TestBean.java:
package view;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import oracle.adf.share.logging.ADFLogger;
public class TestBean
private static final ADFLogger _LOG = ADFLogger.createADFLogger("view.TestBean");
public TestBean()
public void vcl(ValueChangeEvent valueChangeEvent)
_LOG.severe("in the value change event");
FacesContext ctx = FacesContext.getCurrentInstance();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "This is a message", "Message");
ctx.addMessage(null, fm);
}adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<managed-bean id="__1">
<managed-bean-name>TestBean</managed-bean-name>
<managed-bean-class>view.TestBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</adfc-config>John -
How to trigger New page while using ALV with classes/oops?
Hi All
I am trying to print a report which has to show the data in two pages.
I am using ALV with classes/oops.
Though I am able to print the report but a new page is not coming. Whole of the data is coming in one single page.
Please tell me as to how to trigger a NEW PAGE while using ALV with classes/oops.
Please send some code samples also if available.
Thanks in advance.
Jerryusing sort option you can do it. in case of grid/oo alv class ALV you can view that only in print mode/preview mode.
in case of list you can view that directly.
sort-fieldname = 'FIELDNAME'.
sort-group = '*' "triggers new page
sort-up = 'X'.
append sort to it_sort. -
Problem with fixing pagerdeluxe and progressbar while using jsf-ibm.jar
hi,
I am having a jsf data table with <hx:pagerdeluxe> to navigate, and i am using (jsf-ibm-unknown-vers.jar) jar, this works fine. I need to insert a progress bar in my jsf and used <hx:progressBar> but this was not available in the old jar, So i upgraded my jar to jsf-ibm.jar when i ran this progress bar works fine but he pager deluxe shrinks and unable to navigate.. I am using jboss server .... Can any one help me out about regarding this. So that both works fine
Thanks.
Rakesh MThis is not related to Sun JSF. You might have more luck if you ask component library specific questions at the website/forum/mailinglist of the component manfacturer.
-
11i Login Page is showing 'Error on Page' while using IE 7
Hi DBAs,
I am using Oracle 11.5.10.2 with DB 10.2.0.4 (Single Instance). The EBS is on RUP6 and using JDK 1.6.0_12.
I was using Firefox and not getting any issue. I used first time IE-7 (7.0.5x) to access the application. I noticed that Pressing the 'Login' button on Login Page , it was saying in the left bottom of the IE says 'Error on page' and was not navigate to any page or did not perform any action.
I verified all the services and everything was OK. While using Firefox , I was able to navigate the application w/o any issue.
Using IE 7 , I am able to access
http://host.domain:8000/OA_HTML/fndvald.jsp?username=sysadmin&;password=sysadmin
Most of the stuff seems to be working fine while logging in using above URL but the 'GO' buttons are throwing same error in IE 'Error on page'. Rest of the Bottons like 'Edit Navigator' , 'Edit Favorites' are working fine but when on any Page I press the 'Go' button then IE showing Error. It seems to me that when a button need to navigate to next page then IE saying 'Error on page' but when a button have to lunch a new page it is working fine.
All the responsibilities and links are working fine. Application Navigation using Firefox is working absolutely fine.
Seeking your advise and suggestions to resolve the issue.
Thanks
-Samar-Hi Samar,
You can clear the cache as follows (login as applmgr user, and source the application env file):
$ cd $COMMON_TOP/_pages
$ rm -R *
ML Note: 285218.1 is not helpful as I am on later version of EBS (11.5.10.2 with RUP6 and Developer6i Patchset 19). At Client side I am using Windows XP SP3 with IE 7.0.5.x with JInit 1.3.21 and JRE 1.6.0.12.Did you review the steps under "Recommended MSIE Browser Settings" section?
Can you reproduce the issue with JInitiator? If yes, any errors in the JInitiator console window? Enable debug (you may also enable trace for Sun JRE) and see if any errors are reported there.
Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549423.1
Regards,
Hussein -
Display current page name using API ?
I want to display the current page name using a PL/SQL API. I can get it using smart text - current page item, but I need to get it programmatically using a procedure. Which one? What variable? If I need to pass values in, where do I get them?
Thanks,
JohnYou can use wwpro_api_parameters.get_value('_pageid','a') in a pl/sql item or UI template to get the value of the current page id. You can then use the page id to look up page attributes in the WWSBR_ALL_FOLDERS view. In a portlet, you have to use the reference_path instead of the 'a' as the second parameter.
Please note that is is an undocumented use of this API and is not guaranteed to work in future releases. However, it does work in 9.0.2 and 9.0.2.6. WWSBR_ALL_FOLDERS is not officially supported until the 9.0.2.6 version.
Regards,
Jerry
PortalPM -
Navigation issue using jsf, tiles, tomahawk :loosing faces context
Hi all,
I enhanced my webapp using tomahawks jscookmenu.
Triggering 1 menuItem the wanted pages displays correctly but the next click anywhere in the application shows this error:
org.apache.jasper.JasperException: javax.faces.FacesException: Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to *.jsf (with the <servlet-mapping>-element), you need to access your pages as 'sample.jsf'. If you tried to access 'sample.jsp', you'd get this error-message.The web config is like that:
<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<context-param>
<description>Tiles MyFaces Config</description>
<param-name>tiles-definitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.jsp</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
<param-value>off</param-value>
</context-param>
<!-- context-params mafaces -->
<context-param>
<param-name>org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.RENDER_VIEWSTATE_ID</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.STRICT_XHTML_LINKS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.CONFIG_REFRESH_PERIOD</param-name>
<param-value>this is a bug in myfaces</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
<param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
<param-value>/faces/myFacesExtensionResource</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<!-- StartupServletContextListener -->
<listener>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener
</listener-class>
</listener>
<!-- Faces MyFacesExtensionsFilter -->
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>1m</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>imageServlet</servlet-name>
<servlet-class>my.com.xplorer.gui.v.ImageServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>imageServlet</servlet-name>
<url-pattern>/image/*</url-pattern>
</servlet-mapping>
</web-app>So I lost the faces context using the jscookmenu, I believe.
My webapp uses tiles, and there is 2 navigation possibilities: tomahawaks jscookmenu and tomahawaks commandNavigation.
Latter one runs ok, I do use
<t:panelNavigation id="nav" styleClass="navigation"
itemClass="navitem" separatorClass="navseparator"
activeItemClass="navitem_active" openItemClass="navitem_open">
<t:commandNavigation action="#{newsHandler.userRequest}" value="#{newsHandler.rss_source_name[0]}">
<f:param name="navigator" value="/jsf/news.jsp" />
</t:commandNavigation>
</t:panelNavigation>for this kind of navigation I do not use any navigation rules in faces config. To dynamically include the desired faces page I do that:
<%
String s = (String)request.getParameter("navigator");
if (s == null || s.length() == 0 ) {
s = "/jsf/explorer.jsp";
%>
<jsp:include page="<%=s %>" />That does work.
Now like I said I did enhance the app by adding tomahawks jscookmenu.
Therefore I use the following in another tile:
<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="resources/css">
<%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl, vur, vul
respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
*/%>
<t:navigationMenuItem id="nav_0" itemLabel="#{localz.Xplorer}" action="Xplorer" />
</t:jscookMenu>For this kind of navigation I tried to use navigation rules and the following show the config:
<navigation-rule>
<from-view-id>/jsf/*</from-view-id>
<navigation-case>
<from-outcome>Xplorer</from-outcome>
<to-view-id>/jsf/tileMain.jsp?navigator=/jsf/explorer.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>Tabs</from-outcome>
<to-view-id>/jsf/tileMain.jsp?navigator=/jsf/tab.jsp</to-view-id>
</navigation-case>
</navigation-rule>That works for the first click. The desired page is shown. The nect click anywhere in the app then show the mentioned error.
Using tiles I use this view-handler
<view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>One question is: can I use another view-handler on top of the above one? So I could extend com.sun.facelets.FaceletViewHandler and try my luck with this? Or is the solution pointed out just a millisecond from being ok, I just don�t see it?
Maybe you need to know a bit more on how I use tiles:
That is the page I start with. It inserts the tile shown underneath.
<f:view locale="#{userLocale}">
<f:loadBundle var="localz" basename="my.com.xplorer.gui.v.Lokalization" />
<f:loadBundle var="bundle" basename="my.com.xplorer.gui.v.messages" />
<f:subview id="tileMain">
<h:form id="myJsfForm" styleClass="standard">
<tiles:insert definition="template" flush="false" />
</h:form>
</f:subview>
<h:messages />
</f:view>
</html>The foolowing is the tile structure.
The bodi tile is the dynamic part. Above you see that I dynamically load the pages into it.
<t:htmlTag value="div" styleClass="pageLayout">
<h:panelGrid columns="2" align="center" styleClass="pageContent">
<f:facet name="header">
<f:subview id="header">
<tiles:insert attribute="header" flush="false" />
</f:subview>
</f:facet>
<t:htmlTag value="div" styleClass="pageMenu">
<f:subview id="menu">
<tiles:insert attribute="menu" flush="false" />
</f:subview>
</t:htmlTag>
<t:htmlTag value="div" styleClass="pageContentWoMenu">
<f:subview id="bodi">
<tiles:insert attribute="bodi" flush="false" />
</f:subview>
</t:htmlTag>
<f:facet name="footer">
<f:subview id="footer">
<tiles:insert attribute="footer" flush="false" />
</f:subview>
</f:facet>
</h:panelGrid>
</t:htmlTag>Maybe you also need to know the tiles config?
<tiles-definitions>
<definition name="template" path="/jsf/tileTemplate.jsp">
<put name="header" value="/jsf/header.jsp"/>
<put name="menu" value="/jsf/menu.jsp"/>
<put name="bodi" value="/jsf/bodi.jsp"/>
<put name="footer" value="/jsf/footer.jsp"/>
</definition>
<definition name="/jsf/news.tiles" extends="template">
<put name="bodi" value="/jsf/news.jsp"/>
</definition>
<definition name="/jsf/explorer.tiles" extends="template">
<put name="bodi" value="/jsf/explorer.jsp"/>
</definition>
<definition name="/jsf/tab.tiles" extends="template">
<put name="bodi" value="/jsf/tab.jsp"/>
</definition>If you have read until here: thanks very much.
There seems to be a sort of gap regarding jsf navigation documentation.
I mean the ordinary way is covered everywhere (the book I have covers that too), but jscookmenu seems not to fit in too good. I also tried it with an actionslistener in the jscookmenu but that failed, too. So a link to documents telling the truth on jsf navigation I would appreciate very much.
Kind regards
Belle Ile En MerThis is the error i am getting into now..
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /welcomeJSF.jsp at line 19
16: This file is an entry point for JavaServer Faces application.
17: --%>
18: <body>
19: <f:view>
20: <h3><h:outputText value="CHOULTRY'S IN BANGALORE" /></h3>
21: <h:form>
22: <table border="0">
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
java.lang.RuntimeException: Cannot find FacesContext
javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1811)
javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1628)
org.apache.jsp.welcomeJSF_jsp._jspx_meth_f_005fview_005f0(welcomeJSF_jsp.java:112)
org.apache.jsp.welcomeJSF_jsp._jspService(welcomeJSF_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) -
Using an external image file to display on page while page is loading
I am uploading my site to a host that insists that I put their logo on the top of my web pages. They will not permit me to embed the logo on the page. They want me to insert an image srch on the page to a graphic file they store locally. This is so they can update all web pages on their site at once when a change is made to their logo. How do I place this on my web page using muse so the logo loads with my page.
Hello,
You can insert the image as HTML. Use Object>Insert as HTML option in Muse.
Please refer to the link : http://www.w3schools.com/html/html_images.asp for using the Image tag as HTML.
Replace the Source to what your hosting service provides you as their logo file path.
Hope this helps.
Regards,
Sachin -
Unable To Pass Input Page Parameter Using PageDef File.
Dear All,
I am currently exploring task flows as I dont have that much knowledge in it.
Here's my use case
1. I setup a taskflow which has a Method Call and a View Activity in it.
2. The method call is a default activity which just calls a web service.
3. After execution, I just wanted to display the result of the method.
I used input page parameters to pass data between the method call and the view activity.
(I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
my self exercise so that I could understand ADF fully );)
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="ManageEmployeeTaskflow">
<view id="viewEmployee">
<page>/viewEmployee.jsff</page>
<input-page-parameter>
<from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
<to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
</input-page-parameter>
</view>
<method-call id="EmployeeSetup">
<method>#{bindings.EmployeeSetup.execute}</method>
<outcome id="__12">
<fixed-outcome>viewEmployee</fixed-outcome>
</outcome>
</method-call>
<use-page-fragments/>
</task-flow-definition>
</adfc-config>Problem is, when I display the data. Nothing is being displayed.
<af:inputText value="#{bindings.name.inputValue}"
label="#{'Name'}"/> I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
Any idea please?
Edited by: Marky on May 15, 2011 11:25 PMHi,
I've been thinking... Is this way of passing parameters not possible?
<input-page-parameter>
<from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
<to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
</input-page-parameter>Thanks. -
Hi, after updating to the newest iOS version (iOS 8.3) I have experienced a lot of graphics issues. I experiensed it in the keyboard with some of the "button pop-ups" lingers. Also, when I rotate the phone it kinda shows a negative version of the screen besides the normal one during the rotation animation.
However this is not the big problem.
Cause, while I was about to take a picture, using the standard camera app, I zoomed in stretching two fingers away from each others. Suddenly the whole screen zoomed in, not only the camera. So after that I can only see a limited part of the screen. I have tried to turn the phone off and on and it seems promising during the startup (I can then see the apple logo in normal size), but as soon as it comes to the locked screen it zooms in again.
Because of this IO am now unable to use the cellphone and I consider to downgrade to 1.2.
I appreciate all suggestions.To disable Zoom double-tap the screen with three fingers.
Go to Settings > General > Accessibility > Zoom and turn this OFF. -
Problem with format displayed in output while using Pivot table
Hi All,
I am using Pivot table in 10.1.3.4.1 version for displaying dynamic type data. Data is coming fine but it is coming in very strange format. I have following two tables in my RTF Template.
Table1 using Pivot table
!http://farm3.static.flickr.com/2570/4092137243_924cca92ca.jpg!
Table 2 - A normal table
!http://img5.imageshack.us/img5/6651/table3p.jpg!
In the output PDF, “Table 2” shows data fine but “Table 1” shows very strange kind of behaviour if the columns exceed more than 5 in “Table 1” . If columns in Pivot table output are more than 5[at present according to my Table1 size] then columns more than 5 are shown on next page after Table 2 instead of displaying inside outer table “Table1“. Anyone has any idea what is the reason behind this strange behavior and how can I avoid it ?
Thanks
-SookieHi All,
I tried including following piece of code in RTF as mentioned here: [http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html] but as a result it showed blank page in report. Nothing else.
<?variable:G11;count(xdoxslt:distinct_values(/CUST_SUMMARY/LIST_CLIENT/CLIENT/LIST_OVERALL_ASSET_ALLOC/OVERALL_ASSET_ALLOC/ASSET_LIAB_DESC))?> <?variable:numcol;5?>
<?template:table1?><?param:cellvalue;1?><?param:maxcolvalue;5?>
<?choose:?>
<?when:$cellvalue < $maxcolvalue?>
!http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
<?call@inlines:table1?><?with-param:cellvalue;(number($cellvalue) + $numcol)?><?with-param:maxcolvalue;$maxcolvalue?><?end call?>
<?end when?>
<?end choose?>
<?end template?>
Also modified RTf as
C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
H
G <?for-each@column:$c594//C1?><?if@column:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
ASSET_LIAB_DESC <?./H?>
E <?end if?><?end for-each?>
G <?for-each:$c594//R1?>
PORTFOLIO_NAME <?./H?>
G <?for-each@cell:.//R1C1?><?if@cell:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
99.00% <?./M1?>
E <?end if?><?end for-each?>
E <?end for-each?>I have this as my xml
<?xml version="1.0" encoding="UTF-8"?>
<CUST_SUMMARY>
<CLIENTID>1034</CLIENTID>
<LIST_CLIENT>
<CLIENT>
<CLIENT_ID>1034</CLIENT_ID>
<LIST_OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID>1110</PORTFOLIO_ID>
<PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
<PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID>1110</PORTFOLIO_ID>
<PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
<PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID>1110</PORTFOLIO_ID>
<PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
<PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID>1110</PORTFOLIO_ID>
<PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
<PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID>1110</PORTFOLIO_ID>
<PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
<PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
<PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
<PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
<PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
<PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
<PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
<PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
<PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
<PERCENT>-3.6085338841885100259678951503326304942E-01</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
<PERCENT>2.71946226825880885538778864840827563226E-01</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
<PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
<PERCENT>.3</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
<PERCENT>.4</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
<PERCENT>.3</PERCENT>
</OVERALL_ASSET_ALLOC>
<OVERALL_ASSET_ALLOC>
<PORTFOLIO_ID/>
<PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
<ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
<PERCENT>.3</PERCENT>
</OVERALL_ASSET_ALLOC>
</LIST_OVERALL_ASSET_ALLOC>
</CLIENT>
</LIST_CLIENT>
</CUST_SUMMARY>and Original RTF looks like !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
with code as
C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
H <?horizontal-break-table:1?>
G <?for-each@column:$c594//C1?>
ASSET_LIAB_DESC <?./H?>
E <?end for-each?>
G <?for-each:$c594//R1?>
PORTFOLIO_NAME <?./H?>
G <?for-each@cell:.//R1C1?>
99.00% <?./M1?>
E <?end for-each?>
E <?end for-each?>Anyone can now tell my mistake? What wrong I am doing? Why it is showing blank page in output? How to solve this page breaking problem?
Thanks
-Sookie -
I have edited the default edit form for my Issue Tracking Tool using Info Path, But currently when I try accessing the form using IE 10 64x , I got the following error-
“The form cannot be displayed in the browser because the use of DOM storage has been disabled in the current browser settings. In order to load the form, DOM storage must be allowed.”
But using Firefox I was able to access the edit form , so can anyone advice on this please?
Thanks. Tools > Internet Options > Privacy Tab > Advanced
Check the over-ride box to Enable/Accept cookies. Click on Always allow session
cookies.
2. Clear Your Cache and Cookie Files
If you are using an Internet Explorer browser, please follow these instructions to clear
your cache and cookie files: Open your Internet Explorer browser.
Tools > Internet Options > General > Browsing History
Click Delete Browsing History.
Delete Temporary Internet Files, Cookies and History Also under Browsing History,
click Settings and make sure that your browser automatically checks for newer versions
of stored pages. Click OK and restart your browser
3. Pop-up Blockers
Turn Off the firewall in IE.
you can disable\enable it from below:
http://webdevwonders.com/clear-dom-storage/
Clear DOM Storage in Firefox:
Select “Tools” -> “Clear Recent History”, open “Details”, check “Cookies” and select “Everything” as time range.
ATTENTION: No other time range will clear the DOM Storage. Have a look at
Mozillas documentation for further info.
Disable DOM Storage in Firefox:
Type “about:config” in your address bar and hit enter to view your internal browser settings. Scroll down to „dom.storage.enabled“, right click on it and hit „Toggle“ to disable the DOM Storage.
Clear DOM Storage in Internet Explorer:
Select “Tools” -> “Internet Options” -> “General” -> check “Delete browsing history on exit”, click on “Delete”, check “Cookies”, click on “Delete” once more and restart your browser afterwards.
Disable DOM Storage in Internet Explorer:
Select “Extras” -> “Internet Options” -> “Advanced” Tab -> Go to “Security” -> uncheck “Enable DOM-Storage”
Clear DOM Storage in Chrome:
Select “Tools” -> “Clear browsing data…”, check “Delete cookies and other site data”, select “Everything” from “Clear data from this period” and click on “Clear browsing data”.
Disable DOM Storage in Chrome:
Open “Options” and select “Under the Hood” Tab. Click on “Content settings…”, select “Cookies” and set “Block sites from setting any data”.
If this helped you resolve your issue, please mark it Answered
ok i did all these steps but still i am getting the same error,, i can not understand how SharePoint works better on firefox and chrome comparing to IE !!! so what i should do now , as all the edit forms that are customized using Info path can not be viewed
on IE 10 64x !!!! -
When I try to print articles, pages, etc. that have the print icon provided, or when I use the File/Print menu, the print options window opens but when the print command is clicked I get a ding sound and no printing. I switched back to Explorer so I could get my work done and the print functions work fine. This problem was just created this week (9/13/10) and prior has been fine.
Is your printer selected at the top of the native print dialog box ''(what you see when you do File > Print)''?
If so, try doing the '''reset''' mentioned in this article: <br />
[http://kb.mozillazine.org/Problems_printing_web_pages] -
Partial Page Reloading using JSF
Hi All,
can any one suggest me how can we implement PPR technique in java server faces. can any one give more insight on this technique.
Thanks in Advance.
Regards,
A.Basically this has nothing to do with JSF. You just need to understand the AJAX techniques (asynchronous requests). This makes such behaviours possible. Finally look for an AJAX library for JSF and implement it.
-
MBP Display flicks off while using Logic Pro and external monitor
Hi there
I have the MBP conected to my external 19" monitor. While running Logic Pro 7.2 the MBP will, for no apparent reason, turn its diplay off and logic will crash. The external monitor will still be on. And I can still move the mouse onto this monitor.
I then have to hold down the start button to force the machine to restart. This only started to happen after 3 months, but now it happens twice a week or so.
Anyone else experiencing similar problems?
Mbp Mac OS X (10.4.6)You may want to check these threads to see if they match your problem
http://discussions.apple.com/thread.jspa?threadID=570540
http://discussions.apple.com/thread.jspa?threadID=539425
http://discussions.apple.com/thread.jspa?threadID=546601
Reverting to 10.4.6 solved my issues.
Maybe you are looking for
-
Sir, We have around 500 items as Insurance Spares in the stores. These spares are checked once in 6 months for their healthiness, storage, etc with a special checklist. We want this checklist an schedule in SAP ( MM). How to do it? Please help.We are
-
I read in a text document from a server different HEX values depending on the equipment i used. The Hex value is sent to a VI for TMT commands. And the entrance which must be presented as HEX display. I want to "convert" an appended path string wit
-
My PDF documents do not print correctly
When I try to print a PDF with more than one page, only the first one prints correctly, the rest of the pages print a a smudge in the upper left hand corner.
-
Need to Upgrade Sharepoint 2010 to SP2- advise!
Hello All, I do not work on SharePoint services much, basic operations only. I am entitled to upgrade the SP application and backend SQL in order to make it compatible with our Backup Solution (Symantec Backup Exec 2014). We got 2 servers, one is ru
-
If there is something you can do, do it quick and get away from Verizon! My husband and I are going through an awful experience with his Droid replacement and they aren't doing anything for us after 3 years of service. We pay over $150 a month for ou