JSF/MyFaces Converter getAsObject() method doesnt get called

I have two h:selectManyList boxes and a custom converter
On form load, right box gets populated with some values and has converter attached to it , the getAsString() method is invoked
When i hit submit button the page it goes directly to the action method without invoking converter
Wondering why its bypassing Validation/Conversion phase and directly going to Invoke Application phase
I verified that i dont have immediate="true" attribute attach to h:selectManyList component and their is no any a4j events i.e. ajax4jsf also . So what exactly is causing the problem
I also set immediate="false" for all the components on page
I am having this problem for couple of days i will appreciate any help.

Thanks for quick response.
Here are the answers.
Is a value being selected by the client?
Not sure what you mean. As i come from search screen, when the form loads the values are automatically populated into right h:selectManyListBox
Is the component's value attribute bound to a backing bean property?
Yes the component's value attribute bound to a backing bean property. In addition to h:selectmanyList component i am HtmlInputHidden Field and Javascript. On Submit the javascript will submit the inputHidden field values to the backing bean. Please note both h:selectmanyList component and inputHidden field component are bound to same backing bean property. Here is the snippet
<h:selectManyListbox id="fqdnPolicies"
                         value="#{updateDeviceBean.fqdnPoliciesSelected}"
                         converter="#{policyConverter}">
                         <f:selectItems value="#{updateDeviceBean.fqdnPolicies}" />
                    </h:selectManyListbox>
                    <h:inputHidden id="selectedFqdnPolicies"
                         value="#{updateDeviceBean.fqdnPoliciesSelected}"
                         converter="#{fqdnPoliciesConverter}" />
<h:commandButton  value="Update"  action="#{updateDeviceBean.updateDevice}" styleClass="button" onclick="return shuttle.setSelected();" />What is the value of that property?
The value as seen from FacesContext.getRequestMap is String i.e. "2, 1,7" and i have custom converter which converts String to List and parsing etc. Unfortunately the getAsObject() which does this doesn't get invoked
What is the result of getValue() on the component?
Null

Similar Messages

  • Headstart CEV rule doesnt get called

    Hi,
    I have a problem with my first CEV rule. It doesnt get called
    although it does get put on the stack as the following debug log
    shows:
    17:05:03 - QMS_TRANSACTION_MGT.CLOSE_TRANSACTION by qq
    17:05:03 - OHVADM.OHV_VFM_CAPI.need_br_vfm001_cev (f)
    17:05:03 - QMS_TRANSACTION_MGT.OPEN_TRANSACTION by qq
    Cleared
    Do you have any ideas why it doesnt get run?
    Thanks, Adrian.

    Hi Adrian,
    as far as I can see the business rule is not put on the stack,
    the 'need ' function you see appear in the debugger just
    evaluates if the rule needs to be 'performed', this function is
    called from the appropriate database trigger that should trigger
    the BR. When function this evaluates to true you should also see
    a message in the debugger like
    'QMS_TRANSACTION_MGT.ADD_BUSINESS_RULE br_vfm001_cev'.
    This means the BR is put on stack.
    Check the code in the need function to see why it is not put on
    the stack.
    suggestions:
    -check the trigger-when-condition in Designer (table, triggers)
    -check the enabled flag in Designer for the table trigger of
    this BR
    kind regards
    Geert

  • Why listener methods are getting called twice ?

    Hi Group,
    I have a doubt, i need to know logic behind it.
    Lets consider, JComboBox,
    For an item state change of JComboBox,
    itemStateChanged method gets called twice.
    Its similar with valueChanged getting called twice
    on List Selection Event.
    Why does it call twice ? Is there any way, I can
    have invocation only once (except flagging mechanism)?
    with regards,
    vikram.

    http://java.sun.com/j2se/1.3/docs/api/java/awt/event/ItemListener.html
    tells the following:
    public void itemStateChanged(ItemEvent e)
    Invoked when an item has been selected or deselected. The code written for this method performs the operations that need to occur when an item is selected (or deselected).
    So the listener is notified for both items: losing and gaining selection.
    If you are only interested in listening to either selection or deselection event you can check which was the cause for the method call by examing the ItemEvent parameter i.e. item_event.getStateChange() == ItemEvent.DESELECTED or ItemEvent.SELECTED and then decide whether you are interested in the event at all.
    I don't know how to stop JComboBox from launching both select and deselected events.

  • Getter & Setter Method not getting called for a field enhanced through AET

    Hello,
    I am new to SAP CRM 7.0 and working on a requirement.
    A Z-field was added by our functional guy in CRM 7.0 WebGui through AET in the 'Create Opportunity' transaction (Header data).
    Now the requirement is, as soon as the opportunity is created through the WebGui, I should post a document in R/3 and paste that document number back to the enhanced Z-field in opportunity.
    Work done by me:
    I pressed F2 on the enhanced Z-field in the WebGui screen and took the details of view, component name etc. After this I went to normal SAP CRM system and open tcode "BSP_WD_CMPWB", located the corresponding view "BT111H_OPPT/Details" and right clicked & enhanced the same.
    Then I opened the structure of this view, expanded context node, located context "BTOPPORTH" and inside this, located my Z-attribute. Now right clicked on the Z-attribute & selected the option "Generate SETTER & GETTER Methods" and these were generated successfully.
    Problem:
    The problem is even after putting external break points in these methods, these methods are not getting called while creating, modifying & displaying the Opportunity in WebGui.
    I hope that for the requirements that I have, I have to do the coding in "Getter & Setter" methods. But since these are not getting called, I am unable to proceed.
    Please help/suggest how to achieve this.
    Thanks in anticipation.
    Best Regards,
    Rahul Malani

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

  • ACE for CRM 2007-AFO method not getting called!

    Hi Experts,
    I am trying to implement ACE for CRM 2007.The only issue/concern is the Actor From Object(AFO) method is not being called even once.
    I was assuming that every method is called at the time of right's activation.
    I placed breakpoints in all the 5 methods, but only method Actor from User(AFU) and Object by Filter(OBF) were being called.
    Can anybody suggest at what point the method-Get Actors From Objects is called?
    Thanks and Regards,
    Rohit

    Hi Rohit,
    the method Actors-For-Object isnt used any more by SAP. Always use method Actors-For-Objects.
    This method should be called, when objects pass the method "object_by_filter" (runtime --> check_object..., activation --> get_object..).
    Perhaps there are no objects passing your OBF-methods? Can you check the output of your method?
    Regards,
    Mario

  • Iphone 4 factory unlocked doesnt get calls from boost network callers

    hi guys .
    just got my iphone 4 using factory unlocked using with TMOBILE sim card. everything works good except when people with boost phone try to call me it wouldnt go through, however when i call them it will work . beside that i do receive calls from att users an other users .
    any suggestions please i had tried the reset etc but still the same thing , cant seems to find a solution, any suggestion will be helpfull thank you in advance.

    sylo18 wrote:
    Is it possible for a factory unlocked phone to become sim locked?
    Anything is possible, but this almost never happens to officially unlocked iPhones. I suspect your phone is in fact NOT officially unlocked.

  • Bookmark method for a page is not getting called

    Hi,
    I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124).
    I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets called when I load the page.
    When I access the Page2 directly,the corresponding bookmark method is getting called.But when I navigates it through commandLink provided in Page1,the bookmark method is not getting called.
    Page1.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:commandLink text="Go to Page2" action="page2" />
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Page2.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:bib="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:outputText value="This is Page2"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    adfc-config.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="page1">
    <page>/page1.jspx</page>
    </view>
    <view id="page2">
    <page>/page2.jspx</page>
    <bookmark>
    <method>#{mBean.bookMarkMethod}</method>
    </bookmark>
    </view>
    <control-flow-rule>
    <from-activity-id>page1</from-activity-id>
    <control-flow-case>
    <from-outcome>page2</from-outcome>
    <to-activity-id>page2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean>
    <managed-bean-name>mBean</managed-bean-name>
    <managed-bean-class>view.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    ManagedBean.java:
    public class ManagedBean {
    public ManagedBean() {
    super();
    public void bookMarkMethod() {
    System.out.println("Inside bookmark method");
    Please look into this...........

    Hi Frank,
    I need to provide the af:commandLink inside af:table component and the values which I pass to page2 depends on the row I select at runtime.
    so,I am trying to use ad:setActionListener inside af:commandLink.
    If I use FacesContext.getCurrentInstance.getExternalContext.redirect() inside the actionListener of af:commandLink, I need to extract all the required values in the actionListener.
    Isn't there any way so that, I can pass the values using af:setActionListener inside af:commandLink and a method ( which will initialise the managed bean) will be called when page2 loads ???
    Regards,
    Lokesh.

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • DataAction prepareModel method getting called twice.

    I have a DataAction subclass in which I have overridden the prepareModel() method, putting a System.out.println() into. I just discovered that this method is getting called twice per time that I run the DataAction. Why is this, and how do I change it so that it is only executed once?
    Brad

    Hi:
    The prepareModel method will get called each time your action is executed, ie before your page is displayed, and after a user submits a request.
    If you dont want your code in the prepareModel method to be run when a user submits a request, you should check the event list. If the list is non-empty, then the user has submitted a request to your action.
    The following code is taken from Steve Muench's ADFToyStore demo:
    private boolean handlingEvents(DataActionContext ctx) {
        List events = ctx.getEvents();
        return (events != null) && (events.size > 0);
    }in your prepareModel method, do the following:
    protected void prepareModel(DataActionContext ctx) {
        if(!handlingEvents(ctx)) {
            // code for before the initial display of the page
        } else {
            // code to be executed before your event handlers get called
    }HTH
    Gareth

  • CommandButton actions not getting called when "disabled" element present

    MyObjectForm.jsp contains commandButtons for "add", "update" and "delete" that are enabled/disabled according to the value of the bound id field.
    MyObjectForm.jsp
    <html>
    <body>
    <f:view>
    <h:form id="create">
    <h:inputHidden id="id" value="#{myObjectBean.id}" />
    <h:panelGrid columns="3" border="0">
    Name: <h:inputText id="name"
    requiredMessage="*"
    value="#{myObjectBean.name}"
    required="true"/>
    <h:message for="name"/>
    // other fields
    <h:commandButton id="add"
    value="Add" disabled="#{myObjectBean.id!=0}"
    action="#{myObjectBean.add}"/>
    <h:commandButton id="update"
    value="Update" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.update}"/>
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>
    </h:form>
    </f:view>
    </body>
    </html>In its managed bean, MyObjectBean, if an id parameter is found in the request, the record is read from the database and the form is populated accordingly in an annotated @PostConstruct method:-
    MyObjectBean.java
    public class MyObjectBean {
    private int id;
    /** other properties removed for brevity **/
    public MyObjectBean() {
    LOG.debug("creating object!");
    @PostConstruct
    public void init() {
    String paramId = FacesUtils.getRequestParameter("id");
    if(paramId!=null && !paramId.equals("")){
    getById(Integer.parseInt(paramId));
    LOG.debug("init id:"+id);
    }else{
    public String delete(){
    LOG.debug("delete:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.removeMyObjectVO(myObjectVO);
    return "";
    public String add(){
    LOG.debug("add");
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.insertMyObjectVO(myObjectVO);
    return "";
    public String update(){
    LOG.debug("update:"+id);
    MyObjectVO myObjectVO = new MyObjectVO();
    ModelUtils.copyProperties(this, myObjectVO);
    myObjectService.updateMyObjectVO(myObjectVO);
    return "";
    public void getById(int id){
    MyObjectVO myObjectVO= myObjectService.findMyObjectById(id);
    ModelUtils.copyProperties(myObjectVO, this);
    /** property accessors removed for brevity **/
    }When no parameter is passed, id is zero, MyObjectForm.jsp fields are empty with the "add" button enabled and the "update" and "delete" buttons disabled.
    Completing the form and clicking the "add" button calls the add() method in MyObjectBean.java which inserts a record in the database. A navigation rule takes us to ViewAllMyObjects.jsp to view a list of all objects. Selecting an item from the ViewAllMyObjects.jsp list, adds the selected id to the request as a paramter and a navigation rule returns us to MyObjectForm.jsp, populated as expected. The "add" button is now disabled and the "update" and "delete" buttons are enabled (id is no longer equal to zero).
    Action methods not getting called
    This is the problem I come to the forum with: the action methods of commandButtons "update" and "delete" are not getting called.
    I added an extra commandButton "delete2" to the form with no "disabled" element set and onclick its action method is called as expected:-
    commandButton "delete2" (no disabled element) - works
    <h:commandButton id="delete2"
    value="Delete (no disabled element)"
    action="#{myObjectBean.delete}"/>Why would "delete2" work but "delete", not?
    commandButton "delete" (disabled when id is zero) - doesn't work
    <h:commandButton id="delete"
    value="Delete" disabled="#{myObjectBean.id==0}"
    action="#{myObjectBean.delete}"/>The obvious difference is the "disabled" element present in one but not the other but neither render a disabled element in the generated html.
    Am I missing something in my understanding of the JSF lifecycle? I really want to understand why this doesn't work.
    Thanks in advance.
    Edited by: petecknight on Jan 2, 2009 1:18 AM

    Ah, I see (I think). Is the request-scoped MyObjectBean instantiated in the Update Models phase? If so then the id property will not be populated at the Apply Request Values phase which happens before this, making the commandButton's disabled attribute evaluate to true.
    Confusingly for me, during the Render Response phase, the id property is+ set, so the expression is false (not disabled) giving the impression that the "enabled" buttons would work.
    So, is this an flaw in my parameter passing and processing code or do you see a work around?

  • Setter method not getitng called in the custom tag

    Hi,
    I have written a custom tag and I have declared an attribute in the tld file and have specified the setter method for the same in the java tag file but that setter method is not getting called...for rest of the attributes, the methods are getting called and not just for one!! any idea what could be the problem....
    Regards
    Deepak Saini

    Do you have a getter method to match that property?
    Post some example code - what does your tld define for this property, and what get/set methods have you defined for it?

  • Drag and Drop Problem, Drag Enter not getting called - Need Help

    While doing drag and drop on the nodes of JTRee dragGestureRecognized method is getting called,
    but after that no method is getting called, not even dragEnter.
    I am using TreePath as the Transferrable Object.
    public void dragGestureRecognized(DragGestureEvent gestureEvent)
               Point point=gestureEvent.getDragOrigin();
              TreePath path=sourceTree.getPathForLocation((int)point.getX(),(int)point.getY());
               transferable = new TransferableTreePath( path );
              source.startDrag(gestureEvent,DragSource.DefaultMoveNoDrop, transferable, this);
              System.out.println("Drag Gesture Recognized method over");
         }

    you're most welcome, Jon, and it's this board, which 'animates' me to do it that way and this way, and find out the differences..
    but, indeed: the 'settings' of a photo should be 'accessible' in both ways..
    ' cause, in MY workflow in iMHD6 or FCE, I FIRST import the video, and more important: the audio-track, which I 'spice up' with additional footage, as stills...
    .. but I've never done that in iM08, which is for my projects still in 'experimental use'...- (I LOVE those picture settings, de-saturating clips etc....), I get used to the many audio-layers in FCE ...
    ... and: lately, tought some iMovie-beginners (a photographer and a print-designer), with zil background knowledge of any iMovie version, the first steps with iM08... they want to use it to 'glue' some impressions together, they shoot while doing their photo-jobs.. and they were very impressed and excited!... +sooooo easy+ ... yepp, the User Experience IS breathtaking, awesome, groundbraking

  • GetGroupMembersInternal method never been called

    Hello,
    Regard to my custom realm, I notice that my getGroupMembersInternal method
    has never been called although I set weblogic.security.groupCacheTTL=1.
    I'm sure I implemented my group by subclassing from FlatGroup and implement
    necessary methods for it and it works fine for authentication and
    authorization. But it can't use group member refresh feature 'cos
    getGroupMembersInternal method never been called.
    Could you tell me what I've done wrong ?
    I uses WLS 5.1 with service pack 3 on Win2K. Do I need the new patch ??
    Thanks in advance,
    Siros

    "Benny" <[email protected]> wrote:
    I have resolved my problem , It was a spelling mistake for the method name !!!!
    Now the method is getting called and all the group members are loading , I use
    secure way as my ldap security store .
    Benny
    >
    Hi ,
    I have similar problem , I am using weblogic server6.0sp1
    , wrote a customRealm as per documentation provided in weblogic site
    , I can see
    users and groups in the console , because
    getGroupmembersInternal never been executed group members are not loading
    with
    the group name , could any one post an explanation
    Thanks
    Benny
    "Siros Supavita" <[email protected]> wrote:
    Hello,
    Regard to my custom realm, I notice that my getGroupMembersInternalmethod
    has never been called although I set weblogic.security.groupCacheTTL=1.
    I'm sure I implemented my group by subclassing from FlatGroup and implement
    necessary methods for it and it works fine for authentication and
    authorization. But it can't use group member refresh feature 'cos
    getGroupMembersInternal method never been called.
    Could you tell me what I've done wrong ?
    I uses WLS 5.1 with service pack 3 on Win2K. Do I need the new patch
    Thanks in advance,
    Siros

  • Why doGet() method wil be called default in servlet

    hi
    my first question is
    1.why doGet() method wil be called up first instead of doPost() method in servlet. .
    2. How to identify the browser disables the cookies.
    please help me to this questions.
    Thank u in advance.

    hi
    my first question is
    why doGet() method wil be called up first instead of
    doPost() method in servlet.This is not correct. doGet or doPost getting called depending on the request method of the HTTP request. If the request method is GET then doGet will get called, if the request method is POST then doPost will get called.
    By the way there are other request methods. If a request arrives with one of those request methods the corresponding doXXX method wil get called.
    2. How to identify the browser disables the
    cookies. There is no direct method. What you can do is set a cookie and then see if it is sent back with the next request from the same browser session.

  • Value Change event is not working. Html Panel Grid get method is not called

    Hi,
    I'm creating components dynamically.
    I have a dropdown. Based on the selection of dropdown, the panel grid is getting called.
    First time the panel grid getmethod is getting called. But when i change the value of drop down, panel grid get method is not getting called and its not rendering.
    This is the code:
    JSF:
    <h:panelGroup>
    <t:selectOneMenu id="selectProjectTypes" onchange="sbmitform();" immediate="true" valueChangeListener="#{ProjectController.projectTypeChanged}" value="#{ProjectController.project.selectProjectTypes}">
    <f:selectItem itemLabel="--------------------" itemValue="-1"/>               
    <f:selectItems value="#{ProjectController.projectTypesList}"/>                         
    </t:selectOneMenu>
    </h:panelGroup>
    <h:panelGrid columns="2" rendered="#{ProjectController.projects}" id="test" binding="#{ProjectController.defaultValues}" columnClasses="hunderadfifty"                                         cellpadding="5" />     
    Controller:
    public void projectTypeChanged(ValueChangeEvent event) throws AbortProcessingException,Exception {
              String nodeTypeId = null;
         String selectedValue = (String)event.getNewValue();
         getSessionCache().addValue("test", 0, "1");
         if(selectedValue.equalsIgnoreCase(nodeTypeId)){
         try
         // this.getDefaultValues().setRendered(true);
         // defaultValues=this.getDefaultValues();
         } catch (Exception e)
         e.printStackTrace();
         FacesContext.getCurrentInstance().renderResponse();
    Panel Grid Method
    public HtmlPanelGrid getDefaultValues() throws Exception {
         String devlues = (String)getSessionCache().getValue("test");
         Application app = FacesContext.getCurrentInstance().getApplication();
              labelList = nodeTypeFieldsService.getFixedFields(this.getRpUserData(), this.getAuthUser());
              HtmlPanelGrid panelGrid = (HtmlPanelGrid)app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
              for(int i = 0; i<labelList.size(); i++)
              HtmlOutputText heading = (HtmlOutputText)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
              HtmlPanelGroup panelGroup = (HtmlPanelGroup)app.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
              HtmlInputText inputText = (HtmlInputText)app.createComponent(HtmlInputText.COMPONENT_TYPE);               
              String fieldHeading =((ProjectField)labelList.get(i)).getFieldHeading();
              int fieldLength = ((ProjectField)labelList.get(i)).getFieldLength();
              String fieldDescription = ((ProjectField)labelList.get(i)).getFieldDescription();
              String fieldType = ((ProjectField)labelList.get(i)).getFieldType();     
              inputText.setValueBinding("value", (ValueBinding) app.createValueBinding("#{ProjectController.newProj}"));
              if(fieldType.equalsIgnoreCase("3"))
                   heading.setValue(fieldHeading);
                   heading.setTitle(fieldDescription);
                   inputText.setMaxlength(fieldLength);
                   inputText.setSize(fieldLength);     
                   UIRDDialog dialog = (UIRDDialog)app.createComponent(UIRDDialog.COMPONENT_TYPE);
                   dialog.setTitle("Object Type Dialog");
                   dialog.setHeight("370");
                   dialog.setWidth("350");
                   dialog.setUrl("searchObjectTypeDialog.jsf");                              
                   UIRDIconButton iconButton = (UIRDIconButton)app.createComponent(UIRDIconButton.COMPONENT_TYPE);
                   iconButton.setType("button");
                   iconButton.setTitle("Search for Object Types");
                   iconButton.setIcon("/image/icon/portalicon_search.gif");
                   iconButton.setActivateDialog("searchObjectTypeDialog");               
                   panelGroup.getChildren().add(inputText);          
                   panelGroup.getChildren().add(iconButton);
                   panelGroup.getChildren().add(dialog);
                   panelGrid.getChildren().add(panelGroup);
              }else
                   panelGroup.getChildren().add(inputText);
                   heading.setValue(fieldHeading);
                   inputText.setMaxlength(fieldLength);
                   inputText.setSize(fieldLength);
                   heading.setTitle(fieldDescription);
                   panelGrid.getChildren().add(panelGroup);
              panelGrid.getChildren().add(heading);          
              panelGrid.getChildren().add(panelGroup);
              HtmlCommandButton createButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
              createButton.setId("create");
              createButton.setTitle("Create");
              createButton.setValue("Skapa");          
              createButton.setAction(app.createMethodBinding("#{ProjectController.saveProject}", null));
              HtmlCommandButton backButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
              backButton.setId("back");
              backButton.setTitle("Cancel");
              backButton.setValue("Avbryt");
              backButton.setAction(app.createMethodBinding("#{ProjectController.cancel}", null));     
              panelGrid.getChildren().add(createButton);
              panelGrid.getChildren().add(backButton);
              return panelGrid;
         /* } else {
              return null;
    }

    Hi,
    I'm having the exact same problem, and it's freaking me out!!! The setGridPanel method is always called but not the getGridPanel. This one is only called the first time the page is rendered, and when I change a drodpdownlist it never gets the gridPanel again! I'm using an HtmlPanelGrid. Anyone can help please?
    Thanks in advance,
    Raquel

Maybe you are looking for

  • Powermac G4 1,5ghz will not boot after OS update or software install

    I have a very strange problem. A book is fallen on Powermac G4 12" 1,5 ghz from the bookshell when the laptop was open. It landed neer the space bar. Since then, my powerbook works most of the time if I clean install the OS (tried with 10.3, 10.4 and

  • Purchase Requisition Disable Account Assignment

    Dear Experts, I would like to disable the Account Assignment Item Detail Tab on the Purchase Requisition.  I know that it is linked to the Plant and in turn is linked to the Company Code.  May I ask how can I do the configuration to disable the Accou

  • WhileCopying from an existing document to change parameter value settings

    Hello, is there any option in sap while creating a purhase requisition by copying from an existing Prequisition and change the value?.

  • Be very wary of downloading cc 2014 apps

    Foolishly I thought this would be no problem - download new versions but keep the old versions and check they're working first. Photoshop, fine apart from loss of interface colour and customised KB shortcuts, illustrator, fine. After Effects, fails o

  • Is my BB capped ?

    Hi there Firstly I have one of those telephone green boxes literally by my house door step, and the exchange is down the road and to the left (maybe 500-800m away).  I ran the test for my phone number and I got:- Your DSL Connection Rate :19388 Kbps(