Will trinidad components partial triggered on partial submit

Hi All,
I have a quick question
is there any issue with with partial submit vs trinidad components?
i experienced that my components under trinidad layout are not partialtriggred on partial submit
i am using jdev 11.1.1.5

Thanks Frank,
we have pojo datacontrols in my application,database transation is hanlded hibernate and open JPA.
i have two pages each page has jsff and two diffrent pjojo datacontrols on each jsff.
now when i update the data from the firstpage, and navigate to the second page(jsff which used the other pojo datacontrol) is refreshing (getting comited records from db) only on when the page is first accssed,supose i navigate back to first page and update some records now i navigate to second page,updated records are not disaplying,if i reopen the url in new browser window then db changes are coming.
I noticed that pojo datacontrol is refresd only on first access.
i tried iterator refresh property in pagedef file,but no luck
can you kindly tell me what needs to be done?

Similar Messages

  • Is partial submit possible for trinidad components

    Hi,
    I am designing a mobile browser application. I have to use partial page refresh. Requirement is that Clicking on an image link on the page should display data in the table corresponding to the selected image. I am able to achieve that using ADF components. But not able to achieve the same using trinidad components. As far as i know mobile browser doesnt support ADF components and supports only trinidad components. Is there any trinidad component similar to Image Link in ADF which can be submitted partially?
    Thanks
    Neha

    Hi,
    I was actually using <af:commandLink>. After changing it to <tr:commandLink>, actionListener (managed bean method) is getting called now. Following is the code i have written in managed bean method
    public void setEmployeeId(ActionEvent actionEvent) {
    System.out.println("Inside seemp");
    // Add event code here...
    employeeId = actionEvent.getComponent().getId();
    System.out.println(actionEvent.getComponent().getValueExpression(employeeId));
    DCBindingContainer m_bindingContainerObj = (DCBindingContainer)ADFContext.getCurrent().getExpressionEvaluator().evaluate("#{bindings}");
    DCDataControl dataControlObj = m_bindingContainerObj.findDataControl("TweetAppModuleDataControl");
    TweetAppModuleImpl am = (TweetAppModuleImpl) dataControlObj.getDataProvider();
    Collection<HashMap> employee = am.setEmployee(employeeId);
    empModel = new SortableModel(employee);
    //AdfFacesContext.getCurrentInstance().addPartialTarget(getSetEmployeeTable());
    AdfFacesContext.getCurrentInstance().addPartialTarget(getMobileEmpTable());
    //call the app module impl funtion which will set the where clause value
    This method is avaialble inAppModule
    public Collection<HashMap> setEmployee(String employeeId) {
    ViewObjectImpl tweetVO;
    tweetVO = getTweetsView1();
    System.out.println("TweetViewImpl = " + tweetVO);
    tweetVO.setWhereClause("employee = :emp");
    tweetVO.defineNamedWhereClauseParam("emp", null, null);
    tweetVO.setNamedWhereClauseParam("emp", "Duncan Angove");
    System.out.println(tweetVO.getQuery());
    tweetVO.executeQuery();
    Collection<HashMap> employee = new ArrayList<HashMap>();
    while (tweetVO.hasNext()) {
    HashMap emp = new HashMap();
    Row searchRow = tweetVO.getRowSetIterator().next();
    emp.put("Eventtype", searchRow.getAttribute(2).toString());
    System.out.println(searchRow.getAttribute(2).toString());
    employee.add(emp);
    return employee;
    JSF Code
    <tr:commandLink id="cl1" partialSubmit="true"
    actionListener="#{Tweets.setEmployeeId}">
    <tr:image source="/john.gif" id="i1"/>
    </tr:commandLink>
    <tr:table value="#{Tweets.empModel}" var="row"
    rows="#{Tweets.empModel.rowCount}"
    emptyText="#{bindings.TweetsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
    id="t1" binding="#{Tweets.mobileEmpTable}">
    <tr:column sortProperty="Eventtype" sortable="false"
    headerText="#{bindings.TweetsView1.hints.Eventtype.label}"
    id="c1">
    <tr:inputText value="#{row.bindings.Eventtype.inputValue}"
    simple="true"
    required="#{bindings.TweetsView1.hints.Eventtype.mandatory}"
    columns="#{bindings.TweetsView1.hints.Eventtype.displayWidth}"
    maximumLength="#{bindings.TweetsView1.hints.Eventtype.precision}"
    id="it1">
    <f:validator binding="#{row.bindings.Eventtype.validator}"/>
    </tr:inputText>
    </tr:column>
    </tr:table>
    But i am getting below mentioned error . Also on the browser it is showing Error 403
    <PanelPartialRootRenderer><encodeAll> Error during partial-page rendering
    javax.el.PropertyNotFoundException: Target Unreachable, 'bindings' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:244)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.renderAsElement(FormElementRenderer.java:217)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:103)
         at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:446)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:119)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ColumnRenderer.renderKids(ColumnRenderer.java:151)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ColumnRenderer._renderKids(ColumnRenderer.java:168)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ColumnRenderer._renderTD(ColumnRenderer.java:350)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ColumnRenderer._renderDataMode(ColumnRenderer.java:241)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ColumnRenderer.encodeAll(ColumnRenderer.java:96)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:998)
         at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:111)
         at org.apache.myfaces.trinidadinternal.renderkit.core.desktop.DesktopTableRenderer$1.processRowImpl(DesktopTableRenderer.java:861)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.table.TableUtils$RowLoop.processRow(TableUtils.java:117)
    Cant we use AppModule for mobile supported app? Or there are some extra setting required? FYI, following code for bean and app module is working fiine with normal adf compoennts. So i have tested that code for with simple jsf page. What i dont know if the same code will be supported by trinidad components or not
    Thanks
    Neha

  • Partial triggers not Fired on partial submit when invalidate component

    Can somebody tell me why Partial triggers are not Fired on partial submit when invalidate component in the validator. Neither error message next to the component is displayed.
    Does somebody has an idea how can i solve this?
    Thank you very much in advance

    Hi, that is a test case which i have promised you:
    The .jspx page contains two fields , one of which has autosubmit = true; You will see, that when invalidate test field 2 partial triigers on field 1 are not fired neither faces message next
    to the field 2 appears.
    If you add programatically Field 1 and Field 2 partial trigerrs this solve the problem.
    I'm waiting for your response.
    Regards,
    Krasi
    <?xml version='1.0' encoding='windows-1251'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1251"/>
    <f:view>
    <afh:html>
    <afh:head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1251"/>
    <title>pprTest</title>
    </afh:head>
    <afh:body>
    <af:form>
    <af:panelLabelAndMessage label="Test Field 1">
    <af:outputText binding="#{testBean.testField1Comp}"
    partialTriggers="testField2"/>
    </af:panelLabelAndMessage>
    <af:inputText label="Test Field 2"
    id="testField2"
    autoSubmit="true"
    binding="#{testBean.testField2Comp}"
    partialTriggers="testField2"
    validator="#{testBean.testField2_validator}" />
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import oracle.adf.view.faces.component.UIXInput;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.output.CoreOutputText;
    import javax.faces.application.FacesMessage.Severity;
    public class TestBean {
    private CoreOutputText testField1Comp;
    private CoreInputText testField2Comp;
    public TestBean() {
    public void testField2_validator(FacesContext facesContext,
    UIComponent uiComponent, Object value) {
    // If input equals "invalidate" set value of the
    // testField1Comp on "Component is invalid"
    // Invalidate input and add an error message
    if (((String)value).equals("invalidate")) {
    testField1Comp.setValue("Component is invalid");
    invalidateInput( (UIXInput)uiComponent,"TestField2","Test Field 2 is invalid!");
    // If input not equals "invalidate" set value of the
    // the testField1Comp on "Component is valid"
    else{
    testField1Comp.setValue("Component is valid");
    //Dynamic adding of the partial targets , solves the problem
    // with losing of partial triggers
    //AdfFacesContext.getCurrentInstance().addPartialTarget(testField1Comp);
    //AdfFacesContext.getCurrentInstance().addPartialTarget(uiComponent);
    public void setTestField1Comp(CoreOutputText testField1Comp) {
    this.testField1Comp = testField1Comp;
    public CoreOutputText getTestField1Comp() {
    return testField1Comp;
    public void setTestField2Comp(CoreInputText testField2Comp) {
    this.testField2Comp = testField2Comp;
    public CoreInputText getTestField2Comp() {
    return testField2Comp;
    public static void invalidateInput(UIComponent uiComp,String compName, String message) {
    showErrorMessage(uiComp , message);
    if (uiComp instanceof UIXInput){
    ((UIXInput) uiComp).setValid(false);
    public static void showErrorMessage(UIComponent component, String message) {
    showMessage(component, message, FacesMessage.SEVERITY_ERROR);
    private static void showMessage(UIComponent component, String message, Severity severity) {
    String compId = component.getId();
    FacesContext ctx = JSFUtils.getFacesContext();
    FacesMessage facesMessage = new FacesMessage(
    severity, component.getId() , message);
    ctx.addMessage(compId,facesMessage );
    }

  • ChangeEventPolicy vs partial triggers - are they mutely exclusive?

    Under section 24.4.3 of the 11.1.2 Fusion Guide, the guide has the following to say about the changeEventPolicy property:
    "When you create a form, setting up PPR to work for all the components in the form can be time consuming and error prone. To alleviate this, you can set the changeEventPolicy attribute to ppr on value bindings. Doing so means that anytime the associated component’s value changes as a result of backend business logic, the component will be automatically rerendered. You can also set an iterator binding’s changeEventPolicy to ppr. When you do this, any action or value binding associated with the iterator will act as though its changeEventPolicy is set to PPR. This allows entire forms to use PPR without your having to configure each component separately."
    Fair enough, this property can save us setting up our own partial triggers.
    What isn't clear to me, is are they mutely exclusive? If changeEventPolicy is set to PPR, can we/should we still use partial triggers on the same page? I ask because I know it's easy to accidentally setup a circular partial triggers scenario which causes the application to break, so presumably with a combination of changeEventPolicy=PPR and partial triggers the same problem can occur.
    Does anyone have any opinions or advice to share please?
    Thanks,
    CM.

    changeEventPolicy=ppr affects only fields that are databound to binding attributes associated with this certain ppr'ed iterator.
    If you have other UI components that are dependant on some databound fields but do not bind to such, they will not be notified of changes unless they point to them using partial triggers. This usecase still requires partial triggers.
    One will also need to use them and change changeEventPolicy to none if he or she has some advanced field dependency where some fields have require update only after certain field is changed or in a specific order.
    Change event policy also alters other behaviours significantly. I am not sure if this is what should happen, bet if you have a form for a record including some af:selectOneChoice components bound to required attributes, ADF will warn user about them after EACH edit of any field that binds to a PPR'ed iterator. Let's say you have 4 af:inputText's and 4 selectOneChoice's. User gets 4 messages 4 times - after each inputText loses focus. And each of the messages will warn about 4 fields (soc'es) that "must have a value". This is certainly annoying to users.
    There are many more cases where changing changeEventPolicy to none solves mysterious problems - dependant LOV's, showPrintablePage or other "operation" behaviours.
    And yes, ppr'ing everything imposes notable impact on performance. Though I can't prove it easily, but it really feels different on weblogic instances running in slow machines (say 4 years old laptop).

  • Dynamic PPR and Partial Triggers

    Hi,
    I would like to know whether adding a UIComponent for dynamic re-rendering via ADFFacesContext.addPartialTarget() also triggers re-rendering of components having it as a partialTtigger. Currently, I am seeing that such somponents are not dynamically re-rendered. For example:
    <af:inputText id="testInputText" value="#{testBean.inputTextValue}" binding="#{testBean.inputText}" autoSubmit="true" clientComponent="true"/>
    <af:outputText value="#{testBean.inputTextValue}" partialTriggers="testInputText" clientComponent="true"/>While autosubmission triggers the partial update of the outputText, if I dynamically partial update the inputText via some other action, the outputText does not get re-rendered. Is this a bug or is this the intended working? How do I partially update some other component which already listens on the other component for partial updates without manually specifying it everywhere in the code. I ask this because it feels wrong to have to declare the listening in XHTML and then keep on re-declaring it everywhere in the java code.
    Thank you.
    Vikram

    Hi,
    1. you can do this from Java easily. So instead of using the declarative efresh you can use
    AdffacesContext.getCurrentInstance().addPartialTarget(outputText);
    then to notify dependent listeners on the output text you use
    AdffacesContext.getCurrentInstance().partialUpdateNotify(outputText);
    Note that the risk of the framework parsing and refreshing all dependencies implicitly would likely cause loops of refreshes that your page never gets out of. So best is to keep this under the control of the developer.
    2. To do the same declaratively: If you want to have dependent components declaratively refreshed (e.g. the output text component when the input text component is PPRed, then instead of refreshing the input text component in response to a PPR event, refresh the surrounding container e.g. panelFormLayout or panelGroup.
    Frank

  • ADF 11g Partial Triggers Row Column Update By Column in the Same Row

    Hi.
    I have a situation whereby I have a checkbox in a table row, which has an eventchangelistener, which upon activation, trys to update another column in the same row. I can not get this to work through partial triggers, even though I have set up my ids up correctly. The row though can be updated by a command button outside of the table using the same coding techniques, but I need it updated via the checkbox.
    Is there a limitation in updating a column within a row, from another row column's event change listener.
    Thanks.

    Updating the other rows from the checkbox works fine for me. Here is what I did.
    I DnD Emp table with a new column that says if the emp is new hire. If the checkbox is checked, I set Firstname and Lastname for that row as NewHire. I have partial triggers on Firstname and Lastname columns to update whenever checkbox is checked/unchecked and autosubmit on checkbox to true. Hope this helps.
    Try adding column selection property to single and see if it helps.
    Edited by: asatyana on Jan 16, 2012 12:48 AM
    Edited by: asatyana on Jan 16, 2012 12:49 AM

  • Partial triggers between two different jsff

    hi is it possible to obtain the information from the table in one jsff page in another jsff page thro partial triggers..........
    (i.e) we have the read only table in one jsff page and we need to obtain the information of the row into another jsff page which has a form....
    Both the fsff pages are in the same jspx page with different task flows

    Hi,
    this seems to be a duplicate of displaying content from table in one jsff to form in another jsff page
    Frank

  • Partial triggers doesnt work with Geo maps

    Hi All,
    Partial triggers are not working with Geo Maps.In dvt:map, PartialTriggers , when i select a table/command button from edit option,Field shows Red Mark, throws "Reference not found".
    What could be the reason ??
    Please help
    Thanks
    Sandeep.G

    Hi Priya ,
    See selectoneradio
    "The rule is that you cannot set at the same level the properties render and partialTriggers."
    Remove the partialTrigger from the inputText field, surround it by a component, f.ex. a panelHorizontal where you put the partialTrigger.
    It should then work.
    Regards,
    Didier.

  • Issues in ADF mobile application using Trinidad components

    I am facing the following issues when developing a mobile application using trinidad components :
    Jdev version : 11.1.1.6
    1) I dont see a date component using trinidad components? The dev guide http://docs.oracle.com/cd/E23943_01/web.1111/e10140/sup_comp.htm says that tr:inputDate is supported but when i try to drag a data field to jsf page i don't see an option for Trinidad date component. so i went ahead and created an af:inputDate in the page. But the date selection dialog doesnt open up.
    2) i tried using 'Rendered' for conditional rendering of a component but it does not work or refresh immediately, the same problem is solved in my adf application using visible property but looks like there is no 'Visible' property for Trinidad components. any work around?
    3) i wanted to have a 'create insert' call in my task flow before launching the page. Since Task flows are not supported in ADF mobile application, i have added 'ADF Faces' also into my project and created task flow and jsff page as i do for a adf web application the only diff being the usage of trinidad components in my jsff page. is this fine? Also can we mix trinidad components and adf components into the same page?
    4) I have a tr:inputText on a clob input text field which i am updating in ADF page using a clob converter class. Same thing i cannot do for trinidad text as it is resulting in null pointer exception. any solution to update clob fields into database which uses tr:inputText compents.
    Help to solve any one of the above issues (by quoting serial no) would be highly appreciated. Thanks.

    >
    4) I have a tr:inputText on a clob input text field which i am updating in ADF page using a clob converter class. Same thing i cannot do for trinidad text as it is resulting in null pointer exception. any solution to update clob fields into database which uses tr:inputText compents.
    wht is the stack trace.. when is it giving null pointer exception.. explain
    >
    Below is the code for an inputText component based on a CLOB Field.
    <tr:inputText value="#{bindings.ObsComments.inputValue}"
                        label="#{bindings.ObsComments.hints.label}"
                        required="#{bindings.ObsComments.hints.mandatory}"
                        columns="#{bindings.ObsComments.hints.displayWidth}"
                        maximumLength="#{bindings.ObsComments.hints.precision}"
                        id="it4" rows="4" binding="#{ObsMobileBean.obsComments}"
                        showRequired="#{bindings.WoNeeded.attributeValue eq 'Y'}"
                        partialTriggers="sbc1" converter="ClobConverter">
            <f:validator binding="#{bindings.ObsComments.validator}"/>
          </tr:inputText>When i try to render the page it self i face this error initially.
    >
    java.lang.NullPointerException
         at sfi.apps.sso.mobileUi.util.ClobConverter.getAsString(ClobConverter.java:41)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:63)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.getConvertedString(EditableValueRenderer.java:163)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer.renderContent(SimpleInputTextRenderer.java:364)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputTextRenderer.encodeAllAsElement(SimpleInputTextRenderer.java:121)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:109)
         at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:435)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:146)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:492)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:359)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:124)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:911)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:48)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1419)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1338)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:312)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:137)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:133)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:300)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:69)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:142)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:151)
         at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:78)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Now if i remove the tag converter="ClobConverter" then the page renders fine but when i try to submit the values back into the database, then i got the error
    >
    Cannot convert <entered text> of type class java.lang.String to class oracle.jbo.domain.ClobDomain
    >
    My clob converter class is registered in faces-config.xml file and the code for it is also pasted below for reference:
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    public class ClobConverter implements Converter {
        public ClobConverter() {
        public Object getAsObject(FacesContext context, UIComponent component,
                                  String value) {
            if (context == null || component == null) {
                throw new NullPointerException("FacesContext and UIComponent can not be null");
            if (value == null) {
                return null;
            try {
                return new ClobDomain(value);
            } catch (Exception ex) {
                final String message =
                    String.format("Unable to convert boolean value \"%s\" into a oracle.jbo.domain.Number",
                                  value);
                throw new ConverterException(message, ex);
        public String getAsString(FacesContext context, UIComponent component,
                                  Object value) {
            if (context == null || component == null) {
                throw new NullPointerException("FacesContext and UIComponent can not be null");
            return value.toString();
    }

  • ADF Components vs Trinidad Components licence

    Hi,
    Can I use ADF Components instead of Trinidad Components to deploy an application in Tomcat without to pay a licence?
    Thanks.

    Hi,
    - Why is a preview release ? when we can get a production release ?
    Its not only ADF Faces but the full Fusion stack that makes the release train. The ADF Faces RC components may be in a better shape than some other components, but this doesn't make them earlier to ship. There is no date for the production release and until then we release technlogy previews. Hoe that production isn't too long away anyway
    - Oracle would give us technical support ?
    No. You can work with your local Oracle organization to see if - depending on the project - they will step in and help you with advice and hints, but there is no official support for the technology preview
    - How much the product and support cost ?
    If you use Oracle Application Server then the product licence is covered. Support is a separate contract and I suggest you get in touch with your local Oracle sales force to get the pricing for your case
    - There is a Oracle commercial plan for the future.
    There is no statement of directions available yet.
    - And how about Apache RFC Proposal ? when they will start ...
    As soon as possible. Its accepted and incubation can start when the sources are ready. Still, we have to go by the rules of the Apache community. I don't expect the open source community to have a first release before next year (with ADF Faces it took us almost 1 1/2 to get out of incubation)
    Frank

  • Missing Trinidad components in ADF RC???

    Hi ADF/JDev team!
    I notice that several Trinidad components (like panelButtonBar, panelSideBar, processChoiceBar and many more) are not included (or cloned) in ADF RC.
    As Frank stated, the mixing of Trinidad and ADF RC components is nor "encouraged" as there are problems in PPR.
    So, my question is: will all the Trinidad components be included in ADF RC? If not, why not? And what is the ADF RC strategy on expandability of offered components?
    Thanks,
    PaKo
    P.S. I sincerely wish ADF/ JDev team successful presentations on next JavaOne!

    Frank,
    thank you for reply.
    I would appreciate more details on interoperability of Trinidad and ADF RC components, in order to understand which components are safe for mixed usage and what are limitations/problems that we may encounter (and how to avoid / solve them). I realize that this is (maybe) not a best time for detailed elaboration on this subject, but I would like to ask you to consider writing on this topic on your Blog or to suggest Oracle to dedicate a section in Dev Guide to this.
    Regards,
    Pavle

  • LOV+Master Detail hierarchy+trinidad components.Mobile App

    Hi
    I am developing iphone App(i.e I have to use trinidad components. ).In my Page i have LOV (select one component),and table.
    Depending on the selected value in the LOV the corresponding rows in table we have to show.
    in the table i have AD,Month,occ_cur,Occ_fc,occ_previous columns.
    in LOV,i will display distinct months in my table.
    Depending on the month selected in LOV i have to show rows in table for that month.
    For this i created two VO's.
    First VO: select distinct(mon) from table.
    second VO: select * from TAble
    i created the View Link between these two VO's through the MOnth attribute.
    In first VO i changed the Month attribute as LOV component.
    In my page i put the LOV component and the 2 nd VO as trinidad table .
    If i change the Month VAlue in LOV ,the rows for this selected month only should display.(i.e Dynamically my table rows should change depending on the LOV selected value.)
    How can i get this functionality.
    Please if anyone has doc's about this ,provide me.
    Or give me any guidelines to achive this.
    Sailaja.
    Edited by: sj0609 on Apr 21, 2009 9:25 AM

    Try to download this sample app - the main.jspx does exactly what you need. It is just one of several ways you can implement this.
    http://www.oracle.com/technology/tech/wireless/FODMobile4-22-09.zip
    Basically I used a bind variable on the order VO, and set the bind variable with the value picked in the drop down. This filters the rows displayed in the table. I think it's similar to what you want to do.
    Also, this sample app is skinned for iPhone, as well as a few other mobile devices. The iPhone skin is based on what Apple published in their guideline, so it should be consistent with iPhone standards.
    Hope this helps.
    Thanks,
    Joe Huang

  • Strange Trinidad components situation

    Hello,
    it's not the first time I ask about Trinidad.
    As all of us know, Oracle donated ADF Faces to Apache Software Foundation, and it's now a Trinidad project.
    It (is/was) a good news, but Oracle support for Trinidad seems slight.
    A lot of Oracle developers are listed at the Team page at ASF (http://myfaces.apache.org/trinidad/team-list.html). Nevertheless, it seems to me that there main task was renaiming - and even renaiming took great amount of time! Only a few new components appeared, no tutorials are written. The progress seems slight comparing to the progress achieved by the other projects, or by Oracle itself in ADF Faces development. In fact, no new ideas appeared at Trinidad! All I can hope is Oracle donating of the new components - and then fall behind other projects again! Sometimes i think that 1 fully engaged developer could do much more!.. With such a little progress - how can we believe in Trinidad? Formally, it belongs to Apache now, and at foums I often see "Ask Apache"...
    I understand, that Trinidad is a "good will" of Oracle, I am glad we have these components. But - I think - good software, that will be widely used, is not developed so! Where are the enthusiasts? And why not make Trinidad the leading component set - wouldn't it be pleasant for you?
    It's an Apache affair, I know, and something is done, I know it too, but who will care about the project if not it's creators?
    By the way, the links at this Orcale page are outdated for a long time - http://oss.oracle.com/trinidad-adf-faces.html - as if noone is interested about Trinidad... I think, it could be useful to have a separate Trinidad forum (why not?), provide tutorials and of course have a full support in JDeveloper 11g! And make Trinidad a dynamic project by debeloping it together with ADF Faces, not by Developing - Donating - Integrating - Waiting- Waiting - Waiting...
    I suggest we have an open discussion of Trinidad here. Please, those of you, who use Trinidad or look at it, appreciating the possibility to use, - tell your opinion!
    Thanks in advance!

    Hi,
    don't misjudge the community effort in Trinidad because many components you see in Trinidad have been build and/or enhanced by non-Oracle contributors to the project. It is the community's decision - and responsibility - to rename components and to re-package software to get out of conflicts with the Oracle owned namespaces after source code donation.
    Valerij,
    "I understand, that Trinidad is a "good will" of Oracle, I am glad we have these components. But - I think - good software, that will be widely used, is not developed so! Where are the enthusiasts? And why not make Trinidad the leading component set - wouldn't it be pleasant for you?"
    I take it that you are interested - as an enthusiast - to work on Trinidad. If so, let me know and I help you to get onto the Trinidad mailing lists. They are quite happy to get new developers on board.
    By the way, the links at this Orcale page are outdated for a long time - http://oss.oracle.com/trinidad-adf-faces.html - as if noone is interested about Trinidad... I think, it could be useful to have a separate Trinidad forum (why not?), provide tutorials and of course have a full support in JDeveloper 11g! And make Trinidad a dynamic project by debeloping it together with ADF Faces, not by Developing - Donating - Integrating - Waiting- Waiting - Waiting...
    Actually we discussed doing more work around the Trinidad anthem, especially with JDeveloper 11, which will consume Trinidad components and in which we don't have our own stack - ADF Faces HTML components - to maintain and explain.
    as I see (at Apache SVN repository), mainly bugs are corrected in the Trinidad project now (only a few components are added) - while everybody needs new components, first of all - templates (as in JDev 11)
    Not true. Have another more deeper look. There are new components added and some existing components re-architectured (see the table component that no longer needs a separate tableSelectOne or tableSelectMany component). Templating is a candidate for open sourcing as well, which might explain why there is no development in Trinidad going on. However, I am sure you recognized and appreciated the work the Trinidad community did on Facelets integration.
    ... why not develop new components right inside Trinidad project?
    But this is what is happening, isn't it ? ADF Faces RC is a separate product stack. The ADF Faces HTML UI component set is Trinidad from JDeveloper 11 on.
    Hmm... Am I the only one interested at Trinidad at the forum? Noone else wrote...
    No, basically I am all in and I did promise the guys that as soon as I have more time to spend on this, I'll contribute actively. And in fact I started a first project on this helping ADF Faces users to move more smoothly to Trinidad.
    Carlosan,
    but not all the time whe can use that kinda components, in fact, the clients are always pushing for more independence from app servers
    ADF Faces components don't have a Oracle Application Server dependency!
    and obviously less costs
    yes, this makes a difference. Trinidad does not have a licence cost
    .. so how we can fix the situation, our development team look at heavens giving thanks for the donation of Trinidad Components, but now, this is a embarrassment, the use of trinidad makes slow our projects in jdeveloper.
    One option for you is to also become a contributor to Trinidad supporting the idea of open source and free software. Oracle, as Ric mentions goes full throttle on this idea and contributes new developments as well as resources to move this project to success. However, for both Trinidad and ADF Faces RC, once it is put into Apache incubator, we need community. Note that a criterion in Apache for whether or not a project is ready for open source is community. This is not only the consuming community but the contributing community as well.
    Frank

  • Do you know any public sites exclusively built with Trinidad components?

    Hi,
    We're redeveloping our customer self-service site. We'd very much like to support a sizeable portion of our customers who still use IE6. To do so, we need to build our UI with Trinidad and not Rich Client components. I'm wary that we might lose the slicker appearance and more sophisticated functionality that Rich Client offers over Trinidad.
    If possible, I'd like to see some real, public web-sites that have only used Trinidad in the creation of their UI.
    If anyone has worked on such sites, or if anyone can confirm that a site is exclusively Trinidad, I'd love to hear from you so I can go take a look.
    One other quick question: if we go with Trinidad, we cannot use ADF Faces' templates for common screen sections that appear on multiple JPSs; we have to include JSP fragments using <jsp:include>, right?
    Thanks for the help, all.
    Regards,
    Ken.

    I truly think that starting a new site today with the IE6 limitation in mind is a mistake, given the fact that MS is going to desupport it soon, and the fact that the number of users out there that use it is rapidly decreasing.
    That said, here are several sites built with ADF 10.1.3 (which is the base for the Trinidad components):
    https://wwws.gen.lacapitale.com/ServicesEnLigne/faces/pages/sousSoumSommaire.jspx
    http://www.sparinvest.at/sparinvest/faces/portal/home/start.jsp
    http://www.epsebe.ca/
    http://www.forestportal.sk:8080/SIWeb

  • How to create a scrollable panel using trinidad components?

    Hi,
    I am developing ADF mobile browser application. Can anyone tell me using trinidad components, how to place multiple images in an horizontally scrollable panel? Each of the images should be clickable.
    I tried with tr:panelGroupLayout and setting its layout property to horizontal.. But its not working.
    Thanks
    Neha

    Hi Shay,
    This solution is making the entire screen scrollable. I dont want the screen to be scrollable. I just want to place images inside a component which can be scrolled so that i can have as many number of images i want without disturbing the screen layout. This is what is used.
    <tr:panelGroupLayout layout="horizontal" id="pgl1">
    <tr:forEach begin="1" end="20">
    <tr:image source="/neha.gif" id="i19"
    shortDesc="Neha"/>
    </tr:forEach>
    </tr:panelGroupLayout>
    Thanks
    Neha

Maybe you are looking for

  • How come iTunes won't open on my computer? Every time I go to open it a message pops up saying that it can't be run. How do I fix this?

    How come iTunes won't open on my computer? Every time I go to open it a message pops up saying that it can't be run. How do I fix this? Thanks If you can help me!

  • InDesign Crashes in MBAir

    Hi; I just installed CS 5.5 onto my new MBAir. I initially used Migration Assistant to transfer everything over but InD crashed on launch although PS ILL and AP seemed OK. Then I manually reinstalled CS 5.5 (using the ,dmg file). Same issue. Here is

  • Special charcter handling in Property key

    Hello, I want to load a property file with the usual way - using Properties - , but unfortunately the key names looks like this AA::Param_1. The :: causes problems for the getProperty method. I can not change the format of the parameter file. Is ther

  • Processing Back Dated Element

    Hi, I am applying Unpaid Leave absence for previous month in this current month. The element entry for this absence is getting created in previous month for which the payroll is already processed. How to process this element in current payroll period

  • Finder crashes when I try dragging files in Yosemite

    Upgraded to Yosemite (OS X 10.10) and am having trouble with Finder - when I try dragging files into new windows or documents the Finder window disappears and then reappears, sometimes in a previous window, authorities not. I searched and saw people