Modifying the Crosstab Bean appearance in JSP

Hi,
I want to show five crosstabs in a HTML table each in different row.
But every crosstab set their rows size independently depending on the actual column heading, so the generated page is very ugly.
Is there a way to control the crosstab Bean generated table parameters, for example to set the column width from code ??
thnx: --PS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Try using the following code:
<%! public static final String CROSSTAB_ID = "untitled1_Presentation1"; %>
<%
Object ct = pageContext.findAttribute(CROSSTAB_ID);
((ThinCrosstab) ct).setHTMLColumnSizing(oracle.dss.gridView.GridViewCommon.ABSOLUTE_COLUMN_SIZING);
((ThinCrosstab) ct).setCellMinWidth(05);
((ThinCrosstab) ct).setCellMaxWidth(10);
Hope this helps
Keith
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
BI Beans http://www.oracle.com/technology/products/bib/index.html
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/

Similar Messages

  • How to call the form bean value on jsp withthe help of jstl tag

    hi
    all friends
    i am working in struts & i use jstl tag in jsp. i have one problem rise is how to call the form bean value in jsp page by using jstl tag.
    i now how to retrive the value through jsp:logic
    eg. <logic:empty name="userListForm" property="users">
    NO USER FOUND
    </logic:empty>
    see * userListForm mean formbaen name.
    * users means collection object.
    so how can i write above e.g in jstl

    You use the jstl core:if or core:choose combined with the EL:
    <c:if test="${empty users.userListForm}">
    NO USERS FOUND
    </c:if>I suggest you lookup the jsp expression language (EL) using google, it's very powerful.

  • How to Modify The Text That Appear in Context Help?

    Hello,
    I searched, but could not find any result.
    Actually I am using a code from "Find Example" of Labview. I have modified it for my application and hence, I must modify the context help (as some of its dicription is not true anymore). Would anybody able to suggest me how to do it?
    Thanks,
    Dushyant

    Right click on the VIs Icon and select VI Properties. In the Category drop down ring select documentation. Edit the text. The text in VI description is what will be displayed in LabVIEWs context help.
    Chad

  • Modifying the HttpClusterServlet to display a .jsp for outage window

    We have Weblogic Server 8.1 and we use IIS for our web server (not my choice). Since we use IIS, we have to use a HttpClusterServlet to act as a proxy since the BEA plug-in for IIS only supports forwarding to one port.
              We are about to have a huge database server outage (don't ask) this coming weekend which will break all of our apps, and I need to figure out a good way to display an outage message. We have a ton of applications, that have a bunch of different URIs. I don't know of an easy way to display an "outage" page so users don't get errors. I was wondering, since all our web apps traffic goes thru the HttpClusterServlet, there may be a way to modify it, and make it just display a .jsp or .html page.
              Is there a way to do this, or an easier way to handle it?
              Thanks in advance for any help!

    NullPointer indicates it is a Java Error and nothing to do with JSP.
    send us the JSP to debug more.
    Try one thing
    have a try-catch block running for your entire JSP and then try to print console messages in every Java lines of code u have.
    Thanks and regards,
    Pazhanikanthan. P

  • Modify the messages in error page.jsp

    Hi All,
    I am using error page for exception handling and using the statement
    LOG.error("dpm Exception", exception);
    But due to this my performance of the program is getting degraded.
    For example if the user is not authenticated to view a particular peice if info and there are many users of such category then the exception keeps on showing which covers all the logs and is too big.
    Is there any way by which i can limit the exceptions to 2-3 lines .
    Please help.
    Thanks In Advance
    MB

    newbie_java123 wrote:
    Is there any way by which i can limit the exceptions to 2-3 lines .try custom exception..
    it may help you..
    [link 1|http://www.seasite.niu.edu/cs580java/testexception.htm]

  • How to use the same bean from Jsp and Servlet

    I want to use the same bean instance from both the servlet and jsp.
    for eg. if a create a bean using the jsp:useBean in servlet and if a modify some values, that values should be reflected while i access the same bean from the servlet. But instead of that the servlet is creating a new instance of the bean.
    is it possible?
    Thanks in advance

    Hi,
    When you call jsp:useBean you inform a scope (session, request, page...)
    This means the bean instance will be stored in that scope.
    So, if the informed scope is session, then, in the servlet you could get the bean instance back from the session, this way:
    HttpSession session = request.getSession();
    Bean b = (Bean) session.getAttribute("bean_id");
    Regards,
    Filipe Fedalto

  • How to call the method from the java bean and pass it to JSP textbox

    i'm quite new to java thats why i'm asking how to call a method in the java bean file and pass it to the JSP textbox. My projects are communicating JSP with C#. i had successfully created a C# client bean file for JSP. The whole process is to type something on the server(C# programming) and it would appear in the textbox.

    your question doesn't provide much informartion. provide some other information and coding so that we could tell exactly what you are looking for?

  • Defining the path for the use of beans in a JSP

              Hello,
              I would like to use a bean in a JSP file, via the <jsp:usebean> directive.
              I didn't find any property (weblogic property) which could define the path
              to the directory of my beans classes.
              So :
              1) i have put the path of this directory in the weblogic classpath in the weblogic
              start script.
              2) i made the same with the java classpath.
              Both solutions don't work at all.
              Any suggestion would be appreciated.
              Thanks in advance.
              

              We use the \weblogic\myserver\serverclasses for beans..
              of course we pack beans into jar files, and these jar files are included into
              the wls classpath..
              "Sylvain R." <[email protected]> wrote:
              >
              >Hello,
              >I would like to use a bean in a JSP file, via the <jsp:usebean> directive.
              >I didn't find any property (weblogic property) which could define the
              >path
              > to the directory of my beans classes.
              >So :
              >1) i have put the path of this directory in the weblogic classpath in
              >the weblogic
              >start script.
              >2) i made the same with the java classpath.
              >
              >Both solutions don't work at all.
              >
              >Any suggestion would be appreciated.
              >Thanks in advance.
              >
              

  • Confuse..where are the java files(bean) related to JSP in Portal??

    Hi..
    Can anybody plz help me..
    I already deploy the new JPDK Jan 2003.
    It's works fine in the Portal.
    Just, i don't understand, where they put the java files(bean) related?
    For example..the Lottery (lotto.jsp)
    it called this bean..
    "<jsp:usebean id = "picker" class = "oracle.portal.sample.devguide.lottery.LottoPicker" scope = "page" />"
    but, when i searched in the Server, i cannot find this LottoPicker.java.....
    Pls help me, it is urgent..

    Hi,
    All the bean files are in samplev2.jar at %OC4J_HOME%/j2ee/home/applications/jpdk/jpdk/WEB-INF/lib. If you extract the zip you will see all the class files for samples in JPDK.
    btw, as per J2EE container specification, the default location for any java class file (i.e. '.class' files) is WEB-INF/lib (packaged as a jar) or inside WEB-INF/classes as individial class files (with their complete package structure)
    Regards,
    Abhinav

  • Java Connectivity - No classes appearing in the Java Beans Classes dropdown

    Hi,
    VERY NEW user to Crystal Reports.  I am trying to create a report using a java class as a datasource.  I have updated the setting in the CRConfig.xml file, and can get the Java Beans Connectivity screen to appear, but is shows none of my classes in the dropdown.  I found a knowlege base entry that indicated this problem was caused by the JavaBeansClassPath value in the CRConfig.xml file being invalid.  But I've verified the location and it is pathed directly to the classes.
    Not sure what I am missing, but any help is greatly appreciated.
    Thanks!

    Ted,
    Thanks for the reply.  I checked out each of your suggestions, but haven't had any luck thus far.  Here's what I found:
    1.  We created a simple method in an existing public class to return a ResultSet.  The method looks like this:
    public ResultSet GetAllMediaTypesRS()
          String strFuncName = "ScsXDMDatabase::GetAllMediaTypesRS : ";
          ScsDebug coutDebug = new ScsDebug();
          String strSqlStmt;
          String strMediaType;
          ScsStringList sslReturnList = new ScsStringList();
          // Create the SQL to get all the Displayable Media Types.
          strSqlStmt =
             "SELECT DISTINCT mt.Media_Type_Name "
                + "FROM dbo.Media_Type mt "
                + "WHERE mt.Media_Type_Rqst_Display_Ind = 1 "
                + "ORDER BY mt.Media_Type_Name";
          coutDebug.println(strFuncName + "SQL Statement:  " + strSqlStmt);
          // Run the Query
          Statement stmt = null;
          ResultSet SQLResult = null;
          try
             stmt = GetConnection().createStatement();
             SQLResult = stmt.executeQuery(strSqlStmt);
          } //End of Try
          catch (SQLException sqle)
             if (sqle.getErrorCode() != 0)
                coutDebug.println(
                   "Error in ExecuteQuery: "
                      + "Error code - "
                      + sqle.getErrorCode());
                coutDebug.println("Message - " + sqle.getMessage());
          return SQLResult;
    The signature, and the method look fine to us, but maybe we are missing something obvious.
    2. We do use JDK 1.5 to compile the classes, but my JavaDir setting in the CRConfig.xml file points to jre1.6.0_02.  I assume this is OK.
    3. We do see java.exe start up when opening the JavaBeans connection.
    4. No firewall issues as we are inside our corporate network.
    Any other thoughts or ideas?  I did see a knowledge base entry that indicated the cause of this particular problem is that the JavaBeansClassPath in CRConfig.xml is incorrect or invalid.  I've validated the path takes me right to the classes, so I believe that is OK.  Is there some way that we can see the actual path that is searched when the JavaBeans connection is opened?
    Thanks for your help.
    --john davies

  • Modify the login page (login.jsp) of B2B scenario of the Internet Sales app

    All
    I wanted to modify the login page (login.jsp) of B2B scenario of the Internet Sales application
    By typing the URL "http://<servername>:50001/b2b/b2b/init.do." I could able to see the login page
    My requirement is to add an extra link in this page
    when I use showmodule=true it gives the location of jsp which is "user/logon/login.jsp"
    I could able to find this jsp in the DC "crm-isa-web-b2b"
    when I open the DC in package explorer i could able to locate this jsp in a jar file but not able to open/modify it
    Awaiting experts response
    Thanks
    Murali.K.N

    When I work on ours ISA4, I go to the file on the server
    \jsp\crm.b2b\servlet_jsp\b2b\root\b2b\login\login.jsp
    Now, I'd imagine there might be a much easier way to work with the files, but that's how I edited ours. 

  • May i use the session bean in the jsp

    <%@ page import="sms.EJB.*,sms.UserDetailEJB.*" %>
    <%
    if (request.getParameter("userid")!=null && request.getParameter("password") !=null && request.getParameter("userLevel")!=null)
    UserHome userHome look up...
    UserLocal userLocal;
    userLocal = userHome.create(userid,password,userlevel);
    %>
    <html>
         <head>
              <title>Insert One Page</title>
         </head>
         <body>
         <form action="/testing/insertOne.jsp">
              <h1 align="center">Insert into User Database !</h1>
              <table align="center">
                   <tr>
                        <td bgcolor ="#FFFCCC">User Name :</td>
                        <td bgcolor ="#FFFCCC"><input type="text" name="userName" size="12" maxlength="12"></td>
                   </tr>
                   <tr>
                        <td bgcolor ="#FFFCCC">Password :</td>
                        <td bgcolor ="#FFFCCC"><input type="password" name="password" size="12" maxlength="12"></td>
                   </tr>
                   <tr>
                        <td bgcolor ="#FFFCCC">User Level :</td>
                        <td bgcolor ="#FFFCCC"><input type="text" name="userLevel" size="12" maxlength="12"></td>
                   </tr>
              </table>
              <p align="center"><input type="submit" name="submit" value="add it"</p>
         </form>
         </body>
    </html>
    May i use the session bean like this, if i dont want to use the data access object
    may i use this...

    Hey it apperars to me like heero82 is using session facade and all he has to do is use session bean to make one business call on session bean. Now if u say it is not correct then i would like to know the better way to doing so.
    I can imagine one ways is use business delegate. Just make new of java class in jsp and let that java class do lookup and delegate the call to session facade.
    Let me know inpout on this
    pranav

  • Modifying the "Eject CD" icon that appears in the Dock

    I've been modifying icons in my Dock to make Kirby (a Nintendo videogame character) my trash can.
    Results here:
    http://www.facebook.com/photo.php?pid=2798420&l=d78b29c6cb&id=509387036
    http://www.facebook.com/photo.php?pid=2798421&l=beaa647438&id=509387036
    I've made good progress, and next need to modify the "Eject CD" icon that appears in the dock when ejecting a CD or hard disk. Does anyone know the folder location of the icon the Dock uses? I couldn't find it in the Dock's resources folder like the "trashempty.png" and "trashfull.png" files.

    OK folks...thanks to Bee (thank you!) I can post a screen shot of the icon I'm referring to....
    Fantastic!  There it is...in all it's glory....look up in the corner, it's a bird, it's a plane...it's...??????
    Anyone who has info regarding this icon is more than welcome to share!   
    Thanks again Bee 
    JL

  • Modifying the appearance of the search box, the search button, and the submit button for web forms

    I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?

    When you generate the help you can select / deselect the buttons that are displayed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • JSP-can i reuse the instance of a bean in another .jsp file

    am having a bean like clsStudent and i have used the usebean tag and setproperty to set all the values of the same bean. then i want to access the contents in the instane of clsStudent in another .JSP file.

    That doesn't sound like you're doing it right. Beans, like any java class, are actually defined in Java, and class files placed in the WEB-INF directory (By the way class names should be capitalised).
    JSPs shouldn't be populating beans, they should be generating HTML based on them. If you're loading form data into a bean use a servlet.
    That said there's no problem referencing beans in multiple JSPs, but you have to pay attention to how the actual reference gets into the JSP. This is done through "scope" on useBean. Generally a Servlet builds a bean and places it into the request attributes, then forwards to a JSP to format the HTML.

Maybe you are looking for

  • Creation of application in designer 2000 ver 6

    Following messgae is shown while try to create new appliocation in designer 2000. ORA-6502 PL/SQL numeric or value error. The detail error is follows. RME-00222: Failed to dispatch operation to Repository RME-02124: Failed to execute SQL statement: d

  • Computer crashed, need to load itunes from ipod onto new computer.

    My hard drive on my pc crashed. I purchased a new computer and I need to transfer all my itunes from my ipod to my new laptop. When I try, a message tells me to erase my ipod and set up new account. I purchased alot of itunes other the past two years

  • Why can't I sync my phone with my computer after both the ios7 and Itunes 11.1 updates?

    I just recently purchased the new iPhone 5s and have been very happy with it.  At the same time I updated my itunes to the newest version 11.1.0.126. Since the initial syncing, I have been unable to complete the syncing process.  It progresses all th

  • Which Model 13" MBP for Aperture?

    I am a heavy user of Aperture, and keep several other apps open constantly. I currently have a 2010 13" MBP that I've upgraded to 8GB, and it's always running right up against the limit of RAM. I plan to get a 13" Retina MBP, and I need advice on wha

  • Re: get list of open session

    Hello, if i get sessions like public ActionForward execute(ActionMapping mapping, ActionForm form,         HttpServletRequest request, HttpServletResponse response)             throws ServletException {             request.getSession().removeAttribut