Problem with inputText in my custom component

Hi, I have a custom dataTable component that I'm trying to get to work. It has to be a custom component because dataTable doesn't support rowspan, colspan, multi line headers, and a rendered attribute for rows. The problem is, that when I wrap the column tag inside my row tag then the method for the inputText tag never gets called in the UPDATE_MODEL_VALUES phase.
I'm starting to think that JSF doesn't support 2 levels of tags between the inputText and dataTable. I'm hoping that someone can tell me what I have wrong with my components.
Here is the JSP snippet.
<cjsf:rptTable>
     <cjsf:data id="dataTable1" value="#{allAuthUser.tableRows}" var="myTableRow1">
          <cjsf:row>
               <cjsf:col>
                    <h:inputText id="tableTestFld" value="#{myTableRow1.testFld}" size="5" maxlength="5"/>
               </cjsf:col>
          </cjsf:row>
     </cjsf:data>
</cjsf:rptTable>Here is what it renders. It looks to me like everything renders fine. So I'm guessing that there is something in a component that is causing JSF during the life cycle to not be able to process correctly.
<table>
     <tbody>
          <tr>
               <td><input id="tblmaintForm:body:dataTable1_0:tableTestFld" name="tblmaintForm:body:dataTable1_0:tableTestFld" type="text" value="" maxlength="5" size="5"/></td>
          </tr>
          <tr>
               <td><input id="tblmaintForm:body:dataTable1_1:tableTestFld" name="tblmaintForm:body:dataTable1_1:tableTestFld" type="text" value="" maxlength="5" size="5"/></td>
          </tr>
          <tr>
               <td><input id="tblmaintForm:body:dataTable1_2:tableTestFld" name="tblmaintForm:body:dataTable1_2:tableTestFld" type="text" value="" maxlength="5" size="5"/></td>
          </tr>
     </tbody>
</table>Note: If I leave off the row tag it renders the same way except of course the <tr> and </tr> tags are missing. If I do this, then the backing method for the inputText tag is called and everything works fine. Why doesn't it work with the row tag in place?
Here are the components:
public class UIRptTable extends UIComponentBase {
     public UIRptTable() {
          setRendererType("tblmaint.rptTableRenderer");
     public String getFamily() {
          return "javax.faces.Output";
public class UIRptTableData extends HtmlDataTable {
     public UIRptTableData() {
          setRendererType("tblmaint.rptTableDataRenderer");
     public String getFamily() {
          return "javax.faces.Data";
public class UIRptTableRow extends UIOutput {
     public UIRptTableRow() {
          setRendererType("tblmaint.rptTableRowRenderer");
     public String getFamily() {
          return "javax.faces.Output";
public class UIRptTableCol extends UIColumn {
     public UIRptTableCol() {
          setRendererType("tblmaint.rptTableColRenderer");
     public String getFamily() {
          return "javax.faces.Column";
}Here is part of the faces-config file in case you need it.
<!-- Components -->
<component>
     <component-type>tblmaint.rptTable</component-type>
     <component-class>com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTable</component-class>
</component>
<component>
     <component-type>tblmaint.rptTableData</component-type>
     <component-class>com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTableData</component-class>
</component>
<component>
     <component-type>tblmaint.rptTableRow</component-type>
     <component-class>com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTableRow</component-class>
</component>
<component>
     <component-type>tblmaint.rptTableCol</component-type>
     <component-class>com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTableCol</component-class>
</component>
<!-- Render Kits -->
<render-kit>
     <renderer>
          <component-family>javax.faces.Output</component-family>
          <renderer-type>tblmaint.rptTableRenderer</renderer-type>
          <renderer-class>com.monsanto.ag_it.fieldops.aim.tblmaint.renderer.RptTableRenderer</renderer-class>
     </renderer>
</render-kit>
<render-kit>
     <renderer>
          <component-family>javax.faces.Data</component-family>
          <renderer-type>tblmaint.rptTableDataRenderer</renderer-type>
          <renderer-class>com.monsanto.ag_it.fieldops.aim.tblmaint.renderer.RptTableDataRenderer</renderer-class>
     </renderer>
</render-kit>
<render-kit>
     <renderer>
          <component-family>javax.faces.Output</component-family>
          <renderer-type>tblmaint.rptTableRowRenderer</renderer-type>
          <renderer-class>com.monsanto.ag_it.fieldops.aim.tblmaint.renderer.RptTableRowRenderer</renderer-class>
     </renderer>
</render-kit>
<render-kit>
     <renderer>
          <component-family>javax.faces.Column</component-family>
          <renderer-type>tblmaint.rptTableColRenderer</renderer-type>
          <renderer-class>com.monsanto.ag_it.fieldops.aim.tblmaint.renderer.RptTableColRenderer</renderer-class>
     </renderer>
</render-kit>I sure hope that someone can help me out. Please let me know if you need any additional information.
Thanks,
Ray

Hi, Ray!
1) I was trying to put a button in the column header (for sorting) and I couldn't get that to work. That involved the >colhdr tag. I got that to work but I don't remember the fix. I'll look it up and reply back with that when I can.Dealing the first part of your trouble, you need NOT a custom component.
I have looked through the implementation of RepeaterRenderer, as you advised me, and found that the multi-header possibility is included in the implementation of dataTable control.
The code below is the part of source of repeater.jsp with only change:
<d:data_repeater> &#61664; <h:dataTable>
And it works fine.
<h:dataTable id="table"
binding="#{RepeaterBean.data}"
     rows="5"
value="#{RepeaterBean.customers}"
var="customer">
<f:facet name="header">
<h:outputText value="Customer List"/>               <!� First Header row -- >
</f:facet>
<h:column>
<%-- Visible checkbox for selection --%>
<h:selectBooleanCheckbox
id="checked"
binding="#{RepeaterBean.checked}"/>
<%-- Invisible checkbox for "created" flag --%>
<h:selectBooleanCheckbox
id="created"
binding="#{RepeaterBean.created}"
rendered="false"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Account Id"/>               <!�Second Header row -- >
</f:facet>
<h:inputText id="accountId"
binding="#{RepeaterBean.accountId}"
required="true"
size="6"
value="#{customer.accountId}">
</h:inputText>
<h:message for="accountId"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Customer Name"/>               <!�Second Header row -- >
</f:facet>
<h:inputText id="name"
required="true"
size="50"
value="#{customer.name}">
</h:inputText>
<h:message for="name"/>
</h:column>
<h:column>
<f:facet name="header">                    <!�Second Header row -- >
<h:outputText value="Symbol"/>
</f:facet>
<h:inputText id="symbol"
required="true"
size="6"
value="#{customer.symbol}">
<f:validateLength
maximum="6"
minimum="2"/>
</h:inputText>
<h:message for="symbol"/>
</h:column>
<h:column>
<f:facet name="header">                    <!�Second Header row -- >
<h:outputText value="Total Sales"/>
</f:facet>
<h:outputText id="totalSales"
value="#{customer.totalSales}">
<f:convertNumber
type="currency"/>
</h:outputText>
</h:column>
<h:column>
<f:facet name="header">                    <!�Second Header row -- >
<h:outputText value="Commands"/>
</f:facet>
<h:commandButton id="press"
action="#{RepeaterBean.press}"
immediate="true"
value="#{RepeaterBean.pressLabel}"
type="SUBMIT"/>
<h:commandLink id="click"
action="#{RepeaterBean.click}"
immediate="true">
<h:outputText
value="Click"/>
</h:commandLink>
</h:column>
</h:dataTable>
You may have a look at HTML source to prove that dataTable is already what you need:
<table id="myform:table">
<thead>
<tr><th colspan="6" scope="colgroup">Customer List</th></tr>
<tr>
<th scope="col"></th>
<th scope="col">Account Id</th>
<th scope="col">Customer Name</th>
<th scope="col">Symbol</th>
<th scope="col">Total Sales</th>
<th scope="col">Commands</th>
</tr>
</thead>
<tbody>
2.) The second trouble is still unsettled as previously. Right now I have different task at my job, and I can�t continue investigation of this problem.
But when you find smth., please let me know. I�ll be very grateful.
Regards,
Oleksa Stelmakh

Similar Messages

  • Problem with iChat changing my custom away message after 30 minutes

    Lately, I've been having a big problem with iChat changing any custom away message that I put up to "Away" after 30 minutes or so. Is there anything I can do to make it stop? Another issue I'm having is that sometimes when people on my buddy list change their away message, it doesn't show up on iChat unless I go offline and then sign back on. Any idea why it's doing that, and what I can do to get it to stop?
    Thanks.
    - Danielle
    G3 iMac   Mac OS X (10.3.9)  

    Hi ienjoyanime,
    Go to the General Section of iChat Preferences.
    Does it say you are set to Go to Away when you log off/QUit iChat ?
    is the computer going to Sleep at this point ?
    10:59 PM Saturday; April 1, 2006

  • Possible problems with Check out and Open Component and delayed publishing

    Hi,
    I've experienced some seemingly wrong behaviors of the checkout and open component and also with the delayed publishing feature, I've listed it down :
    1) The all important one:
    We know we've delayed publishing features for content, if we set the Release Date metadata at a future date, the content will not be released immediately, but do we have a delayed publishing features for a website page. Through manage website the user can add / delete a page(section), may do include or exclude from navigation etc.. but can they set a future date when a particular page can be included in or excluded from navigation? This should be a standard feature for a WCM solution and I hope there is some solution for sure.
    2) Can we set a datefield with a calendar feature as a page custom (section) property?
    3) Again the issue with checkout and open component, only the user with admin privilege seems to be able to change the content, normal contributors cannot, cause every time is tries to check in with the old author name, so the user has to have admin privilege to assign a different doc author's name. No trace also who is making the changes.
    4) Also facing a lot of problems while trying to implement when we use this checkout and open component. As we cannot check who is making the change there is to way to set us a step for self review, also user can only approve or reject but cannot edit the doc before passing it to the next step, if the step user is created using tokens then only checking out of the doc takes it pass the step user, but everything is working perfect with contributor data file. No problem whatsoever. Even if we use manual check out and then check in (i mean without using checkout and open component) this is working fine. But the main problem with non-technical users will be they would not like the content server portal at all and they would always prefer ms word over anything else. They would directly like to double-click on the website page, the word doc will pop up and they would make change and save.
    Issue 1 and 4 are killer issues for us, I need your help to find a solution. I have few more issues that i will post later.
    Regards,
    Nirmalya
    vijayr: Are u Vijay Ramanathan? Product Manager, Oracle UCM, u r my mentor sir.

    Hey Shotdawq,
    I was a bit low on bandwidth, so could not visit the forum any sooner.DIS is dynamic integration studio, it works on the webdav protocol.
    you will need to install DIS on the client machines. The POC that i did was integration of SiteStudio with CheckOutAndOpenInNative.
    I am also planning to referenc this functionality from WebSphere, what i have in my mind is to copy the java script from my sitestudio page and paste
    it in the JSP, and then using the CIS or RIDC will execute the serverices. At present i am stuck in some other work, If i get this thing working i will
    update you. In the meanwhile if you have some question for me, feel free to throw them.
    cheers,
    sapan

  • Problem with Collaboration Navigation in Custom Framework (Tasks)

    Hi,
    I developed a custom frameworkpage with DTN using the Navigation Taglibrary. (Navigation-Method: byURL)
    I also included the navigation within collaboration rooms.
    My problem is now:
    When I navigate to "Tasks" and then click on one of the tasks related to that room, the task appears, but the navigation context is gone (empty DTN, none of the Top-Level nodes is selected..)
    Even when I try to add the navigationContext of the "Task"-Node to the url, it does not work. (a navigation context is only displayed if the context points to a non-collaboration navigation node)
    Does anyone have the same problem and solved this somehow?
    Greetings,
    Michael Baginski

    Hi Mike,
    If you create a custom component then nothing is working "out-of-the-box"
    But the following links could help you in building your own custom nav module with support for Nav-Zoom:
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/996c0ff1cf15ece10000000a114a6b/frameset.htm
    Generic Tag Lib:
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/f35146a7203255e10000000a1553f7/frameset.htm
    You can take the sap portal light dtn and start 'stripping' it until you have something you can work with.
    This helps you to figure how the tag-libs work and can help you create your custom module from scratch eventual.
    Ofcours you should never overwrite SAP components so if you redeploy do it in your customer namespace (com.<customername>.<application>).
    Good Luck,
    Benjamin Houttuin

  • Problem with commandButton in a custom DataTable

    I am trying to write a cutom DataTable and am having some trouble. I don't think that the DataTable that gets shipped has the flexibility that we need for our pages. That's why I'm trying to write my own.
    What I have is a commandButton in one of the column headers for the table. It is bound to a method in a backing bean. The page seems to render correctly. But when I click on the button, it seems to make a trip to the server, but the method doesn't get invoked.
    I figure that I'm missing something in my custom component, but I just can't figure it out. Does anyone have any ideas?
    If you would like for me to post some/all of the code just let me know. I didn't what might be helpful.
    Thanks,
    Ray

    Thank you for your response.
    I already had a messages tag on my page and no messages come out. I've looked in the log and don't see anything in their either. I put in a phaseListener and all of the phases are being processed.
    Here is my output. It is the same whether I press the button that is inside my custom dataTable or press a button that is outside my custom dataTable.
    beforePhase RESTORE_VIEW 1
    afterPhase RESTORE_VIEW 1
    beforePhase APPLY_REQUEST_VALUES 2
    afterPhase APPLY_REQUEST_VALUES 2
    beforePhase PROCESS_VALIDATIONS 3
    afterPhase PROCESS_VALIDATIONS 3
    beforePhase UPDATE_MODEL_VALUES 4
    afterPhase UPDATE_MODEL_VALUES 4
    beforePhase INVOKE_APPLICATION 5
    afterPhase INVOKE_APPLICATION 5
    beforePhase RENDER_RESPONSE 6
    afterPhase RENDER_RESPONSE 6
    The problem is, when I press the button that is inside my custom dataTable the method for the button doesn't get invoked. So I believe that I have something wrong in my custom dataTable that isn't building the component tree correctly. Does anyone have any ideas for this?
    Here is the class that renders my col tag. That tag puts out the <th> that the button is in.
    * Created on Dec 19, 2004
    package com.monsanto.ag_it.fieldops.aim.tblmaint.renderer;
    import java.io.IOException;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import javax.faces.render.Renderer;
    import com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTableCol;
    import com.monsanto.ag_it.fieldops.aim.tblmaint.component.UIRptTableColHdr;
    * @author rcclark
    * Renderer for the RptTableTag
    public class RptTableColRenderer extends Renderer {
         private String tagType = null;
         public void encodeBegin(FacesContext context, UIComponent rptTableCol)
                   throws IOException {
              // First determine if this is a th or td cell
              Object rptTblSection = rptTableCol.getParent().getParent();
              tagType = "td";
              if (rptTblSection instanceof UIRptTableColHdr) {
                   tagType = "th";
              ResponseWriter writer = context.getResponseWriter();
              UIRptTableCol rptTblCol = (UIRptTableCol) rptTableCol;
              writer.write("\t\t\t");
              writer.startElement(tagType, rptTableCol);
    //System.out.println("col id=" + (String) rptTableCol.getAttributes().get("id"));
    //          if (!rptTblCol.getId().substring(0, 3).equals("_id")) {
                   writer.writeAttribute("id", rptTblCol.getClientId(context), null);
              String colClass = (String) rptTableCol.getAttributes().get("colClass");
              if (colClass != null) {
                   writer.writeAttribute("class", colClass, null);
              String colSpan = (String) rptTableCol.getAttributes().get("colSpan");
              if (colSpan != null) {
                   writer.writeAttribute("colSpan", colSpan, null);
              String rowSpan = (String) rptTableCol.getAttributes().get("rowSpan");
              if (rowSpan != null) {
                   writer.writeAttribute("rowSpan", rowSpan, null);
         public void encodeEnd(FacesContext context, UIComponent rptTableCol)
                   throws IOException {
              ResponseWriter writer = context.getResponseWriter();
              writer.endElement(tagType);
              writer.write("\r\n");
         public boolean getRendersChildren() {
              return true;
    }Thanks,
    Ray

  • Problem with inputText and autoTab="true"

    Hi to everyone
    I've a strange problem with the property autotab.
    if i have this situation:
    <af:inputText id="it1" columns="2" autoTab="true"
    maximumLength="2" autoSubmit="true">
    </af:inputText>
    <af:inputText id="it2" columns="1" maximumLength="1">
    </af:inputText>
    when the cursor pass from the first inputText to the second, the last character of the first inputText is cancelled. Anyone has the same problem? How can i solve it?
    Thanks in advance to everyone.

    use like this:
    <af:inputText id="it1" columns="1" autoTab="true"
    maximumLength="3" autoSubmit="true" partialTriggers="it2">
    </af:inputText>
    <af:inputText id="it2" columns="1" maximumLength="1" autoSubmit="true" autoTab="true" partialTriggers="it1 it3">
    </af:inputText>
    <af:inputText id="it3" columns="1" maximumLength="1" partialTriggers="it2">
    </af:inputText>

  • Swc problem with flex from my custom fla

    I have an fla which has several library items with a class linkage to a GenericButton.as file. I am exporting this fla as an swc file, and linking that swc into flex.
    My problem is that when flex builds the code for GenericButton it gets undefined property for anything it tries to reference that is part of the library item.
    Example:
    GenericButton.as does libLabel.text = "something"; where libLabel is a textfield, instantiated in the library clip which is bound to GenericButton in it's class linkage.
    The field exists in the clip, but when I compile in Flex with the swc in there, it cant find it. It says libLabel doesnt exist, undefined property.
    What am I missing here? I want to allow the fla author to bind some of his items to low-level component classes like that, and it's his job to ensure that all the necessary items are part of it. So if he makes a new button, he must just ensure he has a libLabel textfield somewhere in the clip.
    Why cant flex see that the items it's trying to compile have a libLabel in there? Is there a work around?

    Thx for the reply Greg, but no, that's not the problem.  If you re-read my post you'll probably see my problem is a little more involved than that.
    I have symbols exported for actionscript and I can instantiate them in Flex, that's not a problem.  The problem is symbols that are exported for actionscript and bound to a base class that contains custom code.  That custom code, when it uses it to type-check in flex builder (during the swc link stage), causes undefined properties.
    For some reason Flex is not seeing that the exported library item has the things the .as file is looking for.
    Does that make sense?
    I could probalby put together a simple example project but I'd have to find somewhere to upload it so that others could see.
    This problem is hard to describe, you have to read what I'm saying very carefully.

  • Problem with CRM business package- Customer iViews throws runtime error

    Hi all,
    We have installed EP6.0 SP11 Patch3 on windows machine.
    Also we have uploaded CRM business package with all required systems (e.g. SAP_CRM,SAP_BW etc.)
    All the iviews are working fine except which are under Customer and Customer Admin Role. These iViews throws following exception :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.portal.migrated/ep_5.0/roles/com.sap.pct.crm.Customer/customer/Home/com.sap.pct.crm.channelmgmt.specialoffers
    Component Name : com.sap.pct.crm.ChannelMgmtComponents.GenericISAComponent
    Has anybody face this problem earlier....???? If so plz help.....
    With regards,
    Amol.

    hi,
      i didnt configure customer and customer administrator roles...however i was dealign with other roels of CRM business package.. I can jsut give you a asuggestion ..i.e. i see that there is a property cateogry "ISA" after you create the system..so i think these properties need to be filled up.
    Thanks

  • LSMW problem with Partner functions in Customer Master

    Hi All,
    Requirement is to load the Customer Master Data using LSMW.
    Loading General data is ok, But when I am planning to load the
    partner function using the recording method in LSMW, How do I upload
    more than '1' Ship to party partners and more than '1'
    Bill to party partners using LSMW.
    Normally in table control there is a "+" button at the end of the
    table control which when pressed enters one line in table control,In
    Partner function screen , there is no such button available, so how
    can I determine which line am I supposed to enter data using LSMW.
    One partner can have multiple no of BP and SH partners like more than 10
    of both types. How do I upload these partner functions in SAP using LSMW?
    Regards,
    Ajay

    That a customer master has several business partners is just usual, a customer can have as well several company codes and sales areas. So where exactly is the problem?
    Most problems come with recordings, recordings should be the last option, not the first.
    What import method do you use?

  • Problem with re parenting the selected component of a JTabbedDisplay

    I have a number of JPanels in a JTabbedPane.
    I have a mouse listener on the JTabbedPane which displays a popup menu...
    one of the options on the menu is Dislpay Tab in Own Window.
    The action of the menu is basically ...
    Component c = jTabbedPane1.getSelectedComponent();
    JFrame f = new JFrame();
    f.getContentPane().setLayout(new BorderLayout());
    f.getContentPane().add( c,BorderLayout.CENTER);
    The component c is removed from the tab - the frame appears .. but the component is not in the frame.
    Can anyone offer any insite into what is going wrong.... its driving me mad.
    thanks in advance.

    I dont think thats the problem because if instead of adding the selected component to the JFrame I add it back to the tabbed panel with addTab("new",c) ... it works.
    but I think I have a workaround...
    tab.invalidate();
    tab.remove( c );
    tab.validate();
    c.setVisible(true);// overkill
    JPanel p = (JPanel)c;
    < < add p to the JFrame>>
    p.setVisible(true);// <needed
    its this last setVisible which makes it work ... for some reason , the component is being set visible(false) when the tab does the remove.

  • Problem with role mapping in custom login module

    Hi all,
    I have developed custom login modules. They don't use the default user store but own data tables holding the necessary user information.
    Login works fine. But there is one big problem: Only those users that exist with the same user-id in the default user store get roles assigned to it. Whicht leads to 403-errors in my web application.
    Now, this is weired because a user with id 'Susi' has completely different passwords in my custom tables and in the user store, therefore it shouldn't be possible to authenticate 'Susi' against the default user management.
    Next thing is, I don't use the default login modules at all. So why does the application validates against the user store?
    I thought a source of the  problem might be that I don't set the roles correctly. I set the roles as a principal to the subject. I have chosen the role based mapping  in the web-engine.xml and mapped all my custom roles to the server role 'guests'.
    Could anybody think of a solution to this problem ?
    Thanks,  Astrid

    Astrid,
    Sorry to go off-topic on your post...but I have a question in relation to how you deploy your login module. Do you deploy the login module with your application ? I've developed a login module that I would like to deploy by itself, I currently deploy it with the calculator example and it works fine like this, but I need to deploy it by itself. Any tips you can give would be greatly appreciated.
    I've tried to use the deploytool and deploy the module as a library...but I get a "cannot  load a login module" in the logs when authenticating a user.

  • Problem with query an External Business Component!

    Hi guys,
    I have created a Business Object based on an External Business Component.
    In a WorkFlow in a step of type 'Siebel Operation' for operation I chose 'Query'.
    In the section 'Search Spec Input Argument'
    For 'Search Specification' I tiped " [Flag] <> 'N' " and no rows are selected :( (for sure there are rows in the table that are true for this condition)
    For 'Expression Business Component' and 'Filter Business Component' I tiped my BC
    I also would like to mentioned my BC has a field with 'Name' = 'Flag'
    I am not sure that my description is quite clear, if you have any questions please ask.
    Edited by: slyy on Jun 10, 2010 11:41 PM

    Is the WF based on a Business Object i.e. does the WF record (where you specify Workflow Mode, and give it a name) have an entry in the Business Object field?
    If it does, is the Business Component that you try to query on the driving business component of that business object?
    If not, then that is the problem.
    Axel

  • Problems with an own crm-function-component

    Hi!
    We've (sometimes) problems after initial load from "R/3 standard" to "CRM online". Few datas are deleted and so on...
    We've detected that an own written function component is the reason for it. We've deactivate it in se37 and the initial load runs okay (it seems so).
    We've some fears to deactivate the function in this case 'cause the connections between the R/3-CRM-Mobile Sales are sensitive and complicated and we don't want to get another (the next) problem
    So we want to find out where the function component is called. We've used the old abap rsrscan1 to search in sources. We've used "utilities-find in sources", too but we couldn't find the call to our "problem function"... but it will be called. ...But from where?
    Can i find it anywhere in the customizing at crm - initial load?
    Have i another possibility searching for a function call in this case?
    Thanks in advance for your help!
    Best regards,
    Ingo

    The advice would be to do the basics.
    Restart, reset, restore.
    Try a reset.
    If that does not solve, then try a restore.

  • Problem with text direction in table component for text with two language!

    Hi,
    I want to display text in table component by binding to the one property,and also the language of this text is farsi that must be in the RTL direction.
    so i defined a direction in style of staticText component in the table.
    when the text is only in farsi language ,it works correct but when the text has one or more words in english language ,format of the text changed and the words moved in text.
    thanks

    I can not understand relation between COM and HTML elements .
    can you elaborate more ?
    All HTML elements are accesable via DOM in browsers.
    Indeed to change an element attribute in html files (in browser without server interaction) we use scripts to access DOM tree and then we change the element attribute.
    for example when you write
    document.forms[1].submit()
    you accessing the element using DOM tree.
    About Farsi problem , I think there is no solution for this problem , as you may know , when we mix RTL and LTR languages in one element text attribute , we have no control over its appearance.
    If i understand your post , you want to show both rtl and ltr in one static Text , which is not doable in simple manner.
    At least i can not offer you a simple way to solve this.

  • Problem with XMLDecoder and a custom ClassLoader

    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    I am implementing an application based around Java Plugin Framework (jpf.sourceforge.net). In short one consequence of this framework is that each plugin uses its own classloader with scope of that plugins classes.
    One plugin I am using requires the ability to deserialize objects from a javabean xml file. I am using XMLDecoder to do this, and I used the constructor to pass the current plugin ClassLoader to it.
    This however only partially seems to work, this is a shortened extract from an example xml
    <java version="1.5.0" class="java.beans.XMLDecoder">
    <object class="usermanager.javabeans.BeanUser">
      <string>drftpd</string>
      <void property="downloadedBytes">
       <long>737132544</long>
      </void>
      <void property="hostMaskCollection">
       <void method="add">
        <object class="usermanager.HostMask">
         <string>*@*</string>
        </object>
       </void>
      </void>
       <void property="keyedMap">
       <void method="put">
        <object class="dynamicdata.Key">
         <class>commands.UserManagement</class>
         <string>slots</string>
         <class>java.lang.Integer</class>
        </object>
        <int>0</int>
       </void>
    etc...Now without passing XMLDecoder a ClassLoader as would be expected I get a ClassNotFoundException for the first <object>.
    However if I pass XMLDecoder the correct ClassLoader it reads the xml fine until it reaches <class>commands.UserManagement</class> at which point again I get a ClassNotFoundException.
    Here is the stacktrace from that exception:
    java.lang.ClassNotFoundException: commands.UserManagement
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:67)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:54)
         at java.beans.Statement.invoke(Statement.java:140)
         at java.beans.Expression.getValue(Expression.java:98)
         at com.sun.beans.MutableExpression.getValue(ObjectHandler.java:400)
         at com.sun.beans.ObjectHandler.getValue(ObjectHandler.java:106)
         at com.sun.beans.ObjectHandler.endElement(ObjectHandler.java:327)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:625)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:344)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:120)
         at java.beans.XMLDecoder.readObject(XMLDecoder.java:205)
         at usermanager.javabeans.BeanUserManager.loadUser(BeanUserManager.java:128)
    Now after looking through some of the source it appears to me at least that XMLDecoder when processing an <object> uses an ObjectHandler with the ClassLoader as a parameter, however a class contained within a <class> element gets handled by Statement.invoke() which uses an ObjectHandler without a ClassLoader specified thus using the standard ClassLoader.
    I've managed to work around it for now by setting the contextClassLoader to the correct one before calling readObject() in XMLDecoder and then reverting it back immediately after, but this feels like somewhat of a hack to me.
    I would've expected it to have been properly handled when passing the ClassLoader to XMLDecoder rather than like it is.
    Anyone know if this is intended behaviour or a bug? and if the former is there any recommended way to deal with this other than the one I'm currently using.
    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    Message was edited by:
    djb61
    NOTE: Reposting to Serialization

    You can provide a cell renderer to the JTree to paint the checkBox.
    The following code checks or unchecks the box with each click also:
    _tree.setCellRenderer(new DefaultTreeCellRenderer()
      private JCheckBox checkBox = null;
      public Component getTreeCellRendererComponent(JTree tree,
                                                    Object value,
                                                    boolean selected,
                                                    boolean expanded,
                                                    boolean leaf,
                                                    int row,
                                                    boolean hasFocus)
        // Each node will be drawn as a check box
        if (checkBox == null)
          checkBox  = new JCheckBox();
          checkBox .setBackground(tree.getBackground());
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)value;
        checkBox.setText(node.getUserObject().toString());
        checkBox.setSelected(selected);
        return checkBox;
    });

Maybe you are looking for

  • [Solved] Kernel failed to re-read the partition for Udisk

    re-produce procedure * plug a udisk * use `fidsk` to partition the disk `fdisk /dev/sdb` * save the partition. Error will raise. Here is the error raised by fdisk Disk /dev/sdb: 3.7 GiB, 3974103040 bytes, 7761920 sectors Units: sectors of 1 * 512 = 5

  • Attached Mail Document - unable to return to mail

    This has happened to me a couple of times and I'm looking for simpler solutions to a re-boot. I open an attachment in mail (both times a PDF) and then close the iPad or go to another app. When I come back to mail it the document is what is displayed

  • Restricted LOV Selection (more)

    This is a Trigger Francois helped me with yesterday to eliminate previously selected questions from an LOV when selecting from it a second time. For some reason it fails trying to obtain the Group_number_cell. Does anyone see something I've missed? I

  • ADF and Twitter without webcenter

    All, Sudden change in requirements leads me for this post ;) Is it possible to integrate twitter feeds in ADF application (Jdev 11.1.1.5) which is not a Web Center application ? thnks

  • Will not recognize my iphone

    I had to reformat my PC and I'm using windows 8.1 and now itunes will not detect my iphone 5. Do I need to restore, remove, shoot or blow up my PC or the iPhone??