HTMLB Table attribute

I have seen a table from a BusinessPackage with the rows clickable.The contents of the table are of the type(Link) i guess. when u click it, it fires a client event.
What attribute or method of HTMLB's Table wud do that?
Ex:
         NAME               AGE
[]       <u>Ching</u>        34
[]       <u>peter</u>        35
Note: [] is checkBox
Thanx.

Hi,
The JSP tableview should be like this
     <hbj:tableView  id="invoiceTable"
       model= "invoiceBean.model"
       design = "STANDARD"
       headerVisible = "true"
       footerVisible = "true"
       fillUpEmptyRows = "false"
       selectionMode = "SINGLESELECT"
       navigationMode = "BYPAGE"
       headerText = "Invoice List"
       visibleFirstRow = "<%=invoiceBean.getVisibleFirstRow()%>"
       onNavigate = "Paging"
       width = "450"
       visibleRowCount = "25">
       <%
       invoiceTable.setUserTypeCellRenderer(new MainCellRenderer()); 
      %>
     </hbj:tableView>
Maincellrenderer should be like this:
import com.sapportals.htmlb.DropdownListBox;
import com.sapportals.htmlb.InputField;
import com.sapportals.htmlb.Link;
import com.sapportals.htmlb.enum.DataType;
import com.sapportals.htmlb.enum.InputFieldDesign;
import com.sapportals.htmlb.enum.TableCellStyle;
import com.sapportals.htmlb.rendering.IPageContext;
import com.sapportals.htmlb.table.ICellRenderer;
import com.sapportals.htmlb.table.TableView;
public class MainCellRenderer implements ICellRenderer {
The class, which renders the user type. In the bean we declared column 1 and 3 as type USER
For the 2 columns we define a cell renderer. In column 1 we set a drop down listbox
and in the column 3 we set an input field with the field type DATE and showHelp="TRUE"
This will bring up a help button at the end of the input field. When the user clicks the
button the date navigator comes on and the date can be selected from the calender.
See the HTMLB Reference for details on inputField.
     public void renderCell(int row, int column, TableView tableView, IPageContext rendererContext) {
          System.out.println("===table VIEW  cell renderer called===");
          if (column == 1) {
               Link link = new Link("myLink");
               link.setOnClick("GetDetails");
               link.addText(tableView.getValueAt(row,column).toString());
               link.render(rendererContext);
Hope this helps.
Regards,
Rajesh Khanna Venkatesan.

Similar Messages

  • htmlb:tableView : (table) Attribute value is not a valid reference

    Hi All,
    In Table view i am getting the following error.
    The following error text was processed in the system:
    <htmlb:tableView>: (table) Attribute value is not a table
    My code in View is
    CREATE OBJECT  MODEL TYPE  ZCL_HREPAN_MODEL_MAIN.
    CREATE OBJECT tv_itr1 TYPE ZCL_HREPAN_MODEL_ITR_STATUS exporting model = model.
    %>
         <htmlb:tableView  id              = "reportsTable1"
                           headerVisible   = "true"
                           headerText      = "All PANs:"
                           footerVisible   = "true"
                           design = "alternating"
                           visibleRowCount = "20"
                           width           = "100%"
                           fillUpEmptyRows = "false"
                           columnWrapping  = "false"
                           columnWidth     = "200"
                           sort = "server"
                           selectionMode = "lineEdit"
                           iterator        = "<%=tv_itr1%>"
                           table           = "//MODEL/DATE_RANGE_PAN" >
          </htmlb:tableView>
    in above DATE_RANGE_PAN is table from model 'ZCL_HREPAN_MODEL_MAIN'
    Controller as below:  DO_REQUEST.
    if lr_event is bound and lr_event->server_event = 'allpans'.
      lo_model ?= get_model( 'model_id_status' ).
      lo_display_view->set_attribute( name = 'model' value = lo_model ).
      lo_display_view = create_view( view_name = 'allpans.htm').
      call_view( lo_display_view ).
      ENDIF.
    DO_INIT as below
    lo_model ?= create_model( class_name = 'ZCL_HREPAN_MODEL_MAIN'
                                model_id   = 'model_id_status').
    please help me how to solve this??
    REgards,
    Kishan

    I think DATE_RANGE_PAN is not table. Make sure its a table. If issue persist, post the data type declaration here.
    Raja

  • MVC Problem with getter method of table attribute in model class

    Hi,
    I am on 620 SP34. I am writing a bsp application with mvc. One of the model classes has an attribute of type table. I use this attribute in a htmlb-tableview and '//MODEL/ZMY_TAB' for data binding. If I try to activate a getter method for this attribute, the application dumps with exception <i>BSP exception: Structure component with name "ZMY_TAB" does not exist</i>. I find the SAP source, that raising this exception (see below). The source code looks like: <i>"I don't support getter methods for tables in attribute path"</i>! The setter method works fine, so I am at a loss. Has anyone of you wrote a getter method for an table attribute in bsp-mvc? Have I to consider anything special?
    Thanks,
    Carsten
    Main Program CL_BSP_MODEL==================CP
    Source code of CL_BSP_MODEL==================CM00Z
    METHOD IF_BSP_MODEL_BINDING~GET_ATTRIBUTE_DATA_REF
           * check if attribute exists for binding!                                   
             if exists_attribute( l_name ) is initial.                                
               return.                                                                
             endif.                                                                               
    * setter or getter defined? Not supported for DATA REF requests            
             if get_getter( attribute_name = l_name ) is not initial.                 
               raise exception type cx_bsp_inv_component                              
                 exporting name = l_name.                                             
             endif.                                                   

    You have two options:
    1. Make your attributes public. It should work fine.
    2. If you need to process the attribute values before it is used, you can make the attribute private but will need three methods
    GET_T_ZMY_TAB that returns the table
    SET_T_ZMY_TAB that sets the values
    GET_M_T_ZMY_TAB that returns DDIC information about the attribute. The same holds good for structures(Change to GET_S_ and GET_M_S_ ) and simple attributes(Change to GET_ and GET_M_).
    The set and get methods are kind of documented at http://help.sap.com/saphelp_nw04/helpdata/en/fb/fbb84c20df274aa52a0b0833769057/content.htm but there is no mention of the GET_M_ methods. I could not find one single document on the Model part MVC.
    Once I added the GET_M_XYZ methods to my attributes, my BSPs started to work fine.
    Cheers
    Sreekanth

  • JDev 10.1.3.0.4 studio problem: table attribute not found in @JoinTable

    Hi,
    I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler
    complains about the table attribute of the @JoinTable annotation.
    The following code is not accepted:
    * Retrieve the list of clubs this player played for
    * @return List of clubs this player played for
    @ManyToMany(fetch=EAGER,targetEntity=nl.company.contractadmin.Club.class)
    @JoinTable(table=@Table(name = "CONTRACTPERIOD")
    joinColumns = {@JoinColumn(name = "PYR_ID",
    referencedColumnName = "ID")}
    inverseJoinColumns = {     @JoinColumn(name = "CUB_ID",
    referencedColumnName = "ID")
    public Collection getClubs() {
    return clubs;
    public void setClubs(Collection<Club> clubs){
    this.clubs=clubs;
    This code compiles in the EA release of JDev 10.1.3..
    Can anyone tell me if there is something changed in the implementation of EJB3??

    On the latest build of JDeveloper, the backspace key mapping is still NOT WORKING. I've been trying to fix this since the early access release, but I failed.
    Backspace key is already mapped by default, but still not working.
    Did I missed something during the installation here? The installation documentation said that I should only extract the archive then edit the jdev.conf file to set the JDK to use.
    I already pointed my installed JDK and JDeveloper's JDK but the backspace is still not working.
    Help!

  • Issue to check in parent-child closure table attributes to OBIEE repository

    I use OBIEE 11.1.1.5 Administration Tool to open repository in online mode and set up parent-child hierarchy. There are no issues but after I check in changes to server, close repository and open it back from server, closure table attributes are missing.
    On the other hand when I save repository file locally, close it and then open offline, all mentioned attributes are there. Also all other modifications (except hierarchy) are properly checked in to remote repository.
    When I compare UDML from remote and local copy of repository here is part missing in remote:
    CLOSURE TABLE ATTRIBUTES( "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."MEMBER_KEY",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."ANCESTOR_KEY",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."DISTANCE",
              "xxx".."yy"."ORG_STRUCTURE_CLOSURE"."IS_LEAF")
    When trying to build web report I get "[nQSError: 38107] Not all four columns are defined for closure table" (which is actually not surprising).
    Unfortunately I need to do this change in online mode without restarting obiee services.
    Any ideas how to force admin tool to check in all changes to remote repository?

    Finally I applied workaround:
    - modified hierarchy in offline mode
    - deployed repository
    Now when importing repo in online mode closure table parameters are in place.

  • Wee inconsistency in region template "Form Table Attributes"

    In the region template definition there is a field for specifying form table attributes. If I specify table attribute(s) they work as expected. If I then add an item type of "Stop and start table" to the region, the custom attributes are not used in the subsequent tables.
    It's a minor thing... perhaps this can be fixed (or has been fixed) in 3.0?

    Atul:
    I dont know what the 'Alternate Source' is
    In the Source section set
    Source value or expression to be the name of the database column that has the URL (company_url)
    Post calculation Computation to be '<a h ref="' || :pxx_company_url || '">' || :pxx_company_url || '</a>'; where pxx_company_url is the page-item name.
    I have specified 'h ref' instead of 'href' so that the forum software doesnt mess up the post.
    Varad

  • At com.sapportals.htmlb.table.TableView.getColumnCount(TableView.java:539)

    when i use the tag <hbj:tableview> in the jsp of the project portal application!
    01:56_02/04/09_0006_9369850
    [EXCEPTION]
    java.lang.NullPointerException
         at com.sapportals.htmlb.table.TableView.getColumnCount(TableView.java:539)
         at com.sapportals.htmlb.unifiedrendering.controls.TableViewRow.<init>(TableViewRow.java:33)
         at com.sapportals.htmlb.unifiedrendering.controls.TableView.<init>(TableView.java:50)
         at com.sapportals.htmlb.unifiedrendering.ie5.TableViewRenderer.render(TableViewRenderer.java:28)
         at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:987)
         at com.sapportals.htmlb.taglib.TableViewTag.doEndTag(TableViewTag.java:139)
         at pagelet._sapportalsjsp_admin.subDoContent(_sapportalsjsp_admin.java:543)
         at pagelet._sapportalsjsp_admin.doContent(_sapportalsjsp_admin.java:40)
         at pagelet._sapportalsjsp_admin.service(_sapportalsjsp_admin.java:24)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    be answered

  • REG: How to add elements onto htmlb table cell.. URGENT PLZ HELP

    Hi all,
    I have created a htmlb table. And the jsp code is as follows
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.linde.myaccounts.util.TableBean" />
    <hbj:content id="myContext">
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <hbj:tableView id="myTableView1"
                          model="myBean.model"
                          design="ALTERNATING"
                          headerVisible="false"
                          footerVisible="false"
                          fillUpEmptyRows="true"
                          visibleFirstRow="1"
                          visibleRowCount="5"
    </hbj:form>
      </hbj:page>
    </hbj:content>
                          width="500 px" >
    </hbj:tableView>
    I have used a table bean by which I am getting the column header names. I have 5 columns, I have to add input field in the first column, checkbox in the second column, leave the third column blank, checkbox in the fourth column and again a input field in the fifth column. I am not understanding on how to add this elements onto the table. Will I add it from the JSP using <hbj:tableViewColumns> tag or I have add them in the bean or in the dynpage. Kindly someone give me the code for this...
    This is very urgent..Kindly help...
    Thanks in advance,
    Priyanka

    Hi,
    Have you tried looking at the examples that come with the PDK for all of the HTMLB elements?  From memory, there should be a small table example or 2 that have different types of columns shown similar to what you want - they have the full source code with them for you to look at.
    If you are working in a portal, go to the Java Developer tab and I "think" there should be a tab linking to HTMLB documentation and examples - sorry I can't be more specific but I don't have access to a portal at the moment so am trying to remember.
    Gareth.

  • Custom Table Attribute - How to handle the PropertyScriptElement

    Hi All,
    I have a custom Table attribute that I'd like to process via snippets.
    I've added kCellObjectScriptElement to my ScriptProviderBoss and I can see the request coming in to my ScriptProvider.
    The trouble is, I need to extract the ITableModel and GridID from the IScript in my AccessProperty() method in order to access my custom attribute, and I have no idea how.
    GetObjectType() for the IScript returns c_Cell (i.e. 'ccel')
    The scripting DOM provides the following info:
    cell (kCellObjectScriptElement-object)
    ScriptID = 'ccel', Name = "cell", Description = A table cell., BaseObject = kIDBasedObjectScriptElement, Suite = kTableSuiteScriptElement, Plugin = Table Model.InDesignPlugin CollectionScriptID = 'Cels', CollectionName="cells"
    When I just hard-code a string to represent the attribute, it appears in the snippet as follows:
    <Cell Self="ucbie1i0" Name="0:0" RowSpan="1" ColumnSpan="1" AppliedCellStyle="CellStyle/$ID/[None]" AppliedCellStylePriority="0" Sgdata="Hardcoded String">
        <ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/$ID/NormalParagraphStyle">
            <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]"/>
        </ParagraphStyleRange>
    </Cell>
    Can anyone tell me how to proceed?
    Any help much appreciated.
    - Jackeen

    Moderator message - Please search before asking - post locked
    Moderator message - Cross post locked

  • Unable to set default table attributes in Keynote

    I've been trying to change the default table attributes in one of my themes, and as per the description in the Keynote manual (page 237-8), this should be a straightforward process:
    1) In the slide navigator, create a new slide.
    2) If you're setting up default attributes for a particular master slide (rather than all the masters in the current theme), click Masters in the toolbar and choose the master slide. [I want to change the table attributes in all master slides in the particular theme, I skip this step.)
    3) Place a table on the slide.
    4) Select the table and set its attributes.
    5) Do one of the following: To make the table the default for only the current master slide, choose Format>Advanced>Define Table for Current Master. To make the table the default for all masters slides in the current theme, choose Format>Advanced>Define Table for All Masters.
    6) If you don't want the table on the slide, delete the table.
    Step 1) through 4) is unproblematic, but the second I try to execute step 5), the new formatting is all mixed up, and I am left with a table that looks nothing like the one I have just created in step 4). (Choosing to make the new table layout valid only in the current master doesn't help.)
    Any thoughts on how to sort this out would be greatly appreciated!  I should mention that following a similar procedure for diagrams works like a dream.

    Hi!
              We have same problem!
             The layout can be selected in application, but it is not taken as default.
         We appreciate your feedback
    Best Regards.
    Angelica

  • RFC tabe into HTMLB Table.

    Iam looking for some guidance on rendering a BAPI values in a HTMLB Table.
    My application has a bean and a Dynpage.The jsp uses htmlb tableView's model which is myBean.model.
    Whatz the API for declaring and accessing Table view from the Bean.
    Thanx SDN Gurus.

    package com.sap;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.connector.metadata.functions.IFunction;
    import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
    import com.sapportals.htmlb.page.*;
    import com.sapportals.portal.htmlb.page.*;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    public class ExecuteRfc extends PageProcessorComponent {
      public DynPage getPage(){
        return new ExecuteRfcDynPage();
         public static class ExecuteRfcDynPage extends JSPDynPage{
         private RfcBean myBean;
         public void doInitialization() {
              IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
              Object o = componentSession.getValue("myBean");
              if(o==null || !(o instanceof RfcBean)){
                myBean = new RfcBean();
                componentSession.putValue("myBean",myBean);
              else {
               myBean = (RfcBean) o;
         public void doProcessAfterInput() throws PageException {
         IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
          myBean = (RfcBean) componentSession.getValue("myBean");
         public void doProcessBeforeOutput() throws PageException {
              IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
              try {
                   getSAPdata(getConnection(request, "SYSTEM1"));
              catch (Exception e) {
                   e.printStackTrace();
                   this.setJspName("display.jsp");
         private IConnection getConnection(IPortalComponentRequest request,String alias)
                   throws Exception {
                   IConnectorGatewayService cgService =
                        (IConnectorGatewayService) PortalRuntime
                             .getRuntimeResources()
                             .getService(
                             IConnectorService.KEY);
                   ConnectionProperties prop =     new ConnectionProperties(request.getLocale(),request.getUser());
                   return cgService.getConnection(alias, prop);
         private void getSAPdata(IConnection client) throws Exception {
         IPortalComponentResponse response = (IPortalComponentResponse)this.getResponse();
         IInteraction interaction = client.createInteractionEx();
         IInteractionSpec interactionSpec = interaction.getInteractionSpec();
         interactionSpec.setPropertyValue("Name", "BAPI_LIST");
         IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
         IFunction function     = functionsMetaData.getFunction("BAPI_LIST");
         RecordFactory recordFactory = interaction.getRecordFactory();
         MappedRecord importParams =     recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
         IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
         importParams.put("LIST", "SHOW");
         MappedRecord exportParams =     (MappedRecord) interaction.execute(interactionSpec, importParams);
         IRecordSet table = (IRecordSet)exportParams.get("SOME_LIST");
         myBean.createData(table);
         client.close();

  • Automatically Change Database Table Attribute Value.

    Hi All,
    I am trying to write a tool which will run as a cronjob. This tool which runs periodically, connects to DATABASE and checks the System Central Date of the Server say 20070828(this format!) and also checks the values in Database Table.. if this matches then The Table Attribute should change from "postponed" to "initial".
    I have a table named "Task" it has attributes.. ID, TaskDate, Name, State..etc
    Now this tool should check the "TaskDate" and alter the "State" if it satisfies the condition.
    Could anyone of you help me by giving some tips, so that I can finish the project asap..? This is the last requirement which is pending now.. I am running out of ideas.. ;-(
    Let me know, if you require more info to suggest me.
    Thanks and Rgds,
    Pradeep

    Running out of ideas in the sense.. my mind is not workin!! ha ha.. just kiddin..
    I already know the concept to schedule cron job.. so the problem here ends..
    I wanted some tips how can i change the attribute by just checkin the TaskDate.. i need something like 20070828(i.e only the date related) but in database i have something like 20070828102000(total time!!)
    If any of you just give an idea.. then it would do a world of good for me..
    Thanks!

  • Last column in HTMLB table gets truncated

    Hi,
       The last column in a HTMLB table gets truncated,i.e, only part of the column is visible. The table's border (along the column) is also not visible.
          I've tried by reducing the number of columns, but the last column always gets truncated.
         This iView has the same properties as other iViews with HTMLB tables, but those iViews display correctly all the HTMLB tables, even when they have much more number of columns.
         I'm new to this and don't have much idea.Does anyone has suggesstions regarding this?

    Hi Sagar,
    First, welcome on the SDN forum!
    About your question: Strip down your code to the absolute minimum required to reproduce your problem. This way maybe you can analyse the problem by yourself. If not, you can still submit this example here (this is also a reason why to strip down the code to a minimum, cause otherwise nobody will read the code if it's longer the necessary).
    Hope it helps
    Detlev

  • EJB3 Problem: table attribute of @JoinTable not accepted in JDEV 10.1.3..

    Hi,
    I tried to compile a EJB3 application in JDev 10.1.3.0.4 Studio version, but the compiler
    complains about the table attribute of the @JoinTable annotation.
    The following code is not accepted:
    * Retrieve the list of clubs this player played for
    * @return List of clubs this player played for
    @ManyToMany(fetch=EAGER,targetEntity=nl.company.contractadmin.Club.class)
    @JoinTable(table=@Table(name = "CONTRACTPERIOD")
    joinColumns = {@JoinColumn(name = "PYR_ID",
    referencedColumnName = "ID")}
    inverseJoinColumns = { @JoinColumn(name = "CUB_ID",
    referencedColumnName = "ID")
    public Collection getClubs() {
    return clubs;
    public void setClubs(Collection<Club> clubs){
    this.clubs=clubs;
    This code compiles in the EA release of JDev 10.1.3..
    Can anyone tell me if there is something changed in the implementation of EJB3??

    Use @JoinTable(name, catalog, schema, uniqueConstraints) instead of @JoinTable(table=@Table())
    http://www.hibernate.org/hib_docs/ejb3-api/javax/persistence/JoinTable.html

  • Inserting owa output to long raw table attribute

    hi there,
    i have some old code that creates an html page using owa facilities and then exports the file and uses sqlloader to import the file into a table with a long raw attribute.
    we would like to remove this step accessing the file system and would like to insert the html produced by the htp commands directly into the table.
    can someone provide me with a simple example of how to do this? is owa.get_page_raw of any assistance?
    thanks much.

    thanks for the response.... and i had seen similar examples.
    i guess that i should have asked... can someone provide an example of populating a long raw table attribute? are there any problems with looping and appending?
    create or replace procedure dump_page()
    is
    l_thePage htp.htbuf_arr;
    l_lines number default 99999999;
    begin
    owa.get_page( l_thePage, l_lines );
    for i in 1 .. l_lines loop
    ** populate a single long raw table attribute here
    end loop;
    end dump_page;
    /

Maybe you are looking for