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

Similar Messages

  • 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();
    }

  • 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?

  • Partial Submit type something for InputDate Component?

    Hi,
    I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I have an ADF table inside my page fragement. One of the column inside table is of InputDate type. Whenever I am clicking input date my complete page fragment gets initialised or refreshed. I don,t want that because I have a method which is getting executed because of it again and again which is giving problem to me. Is their any Partial Submit type anything for Input Date component to resolve this.
    Regards,
    Vik

    As a tree stamps it's children (nodes) and each node can be different, a tree as such don't partial submit. The node content however can issue a partial submit.
    You can also add an other component as partial trigger target in the node selection listener using
    // PPR refresh a jsf component
    AdfFacesContext.getCurrentInstance().addPartialTarget(UIComponent);Timo

  • Is it possible to create Thread for Swing Components or for JApplet?

    Can i create a Thread by extending Thread class or implementing Runnable interface for Swing Components?
    Can i create a Thread by extending Thread class or implementing Runnable interface with JApplet?
    thanks

    Does your website live on a Windows server? The above link you posted will require a Windows server for that to work but if you do, then you should be able to just follow the links instructions.
    If your site is not on a Windows server (maybe it's on Linux?) then you would most likely need a PHP solution - something like this: http://www.w3schools.com/php/php_mail.asp. Depending on your host, they might actually have a ready-built form script for you to use so it might be best to ask them first.
    You might also want some kind of validation to ensure you receive the correct information so something like jQuery Validate could work.

  • Logging same NC code for multiple components

    Hi,
    When logging NC codes in SAP ME 6.0 it is possible to log the same NC Code (defect) against many ref-des for
    multiple components.
    However when logging a secondary code (Action) for the previous primary NC Code all the choosen ref-des and components
    don't get copied..
    Is this how it is supposed to work or is there a setting somewhere so that all ref-des and components gets copied?
    Best Regards,
    Johan Nordebrink

    Hi Johan,
    The matter of your question is related to Ref Des List re-desinged for 6.0.
    Overall situation looks like a design gap because:
    - no explicit statement in the documentation describing the case of copying multiple Ref Des'es;
    - the case of 1-to-1 relation between Component and Ref Des is mentioned in the context of auto-population of these feilds on tabbing out if one of the field is populated;
    - the case of single Ref Des is widely referenced in the context of VTR that is a new feature in 6.0.
    So, if you need this to be reviewed by Product Mgmt (maybe they agreed to identify this as a bug), as usually you should either ask your SAP ME Consulting representative or submit a support ticket (depending on whom you pefer to talk with ).
    Regards,
    Sergiy

  • Partial Submit problem with file download listener

    Hi All,
    I am exporting a table to PDF in my jspx page. For this i have written below code:-
    <af:commandImageLink id="cil6" icon="pdf.png"
    partialSubmit="true"
    >
    <af:fileDownloadActionListener contentType="application/pdf"
    filename="SumData"
    method="#{Sum.exportToPDF}"/>
    </af:commandImageLink>
    It is saving the pdf at a desired location. But as i have made my COMMAND LINK is not executing partial submit behaviour inspite that i have made it partialSubmit="true" .
    After downloading pdf when i click anyother button i get an alert saying...DO YOU WANT TO RESEND THE INFORMATION TO SERVER?
    I don't want this behaviour but i am unable to debug this. Please help.

    Hi,
    afaik.. fileDownloadActionListener does a post to server..even if you do partialSubmit to command component
    After downloading pdf when i click anyother button i get an alert saying...DO YOU WANT TO RESEND THE INFORMATION TO SERVER?I guess you might not have enabled partialSubmit on the other button..
    Try these options, in your web.xml set following in context initialization parameters section
    org.apache.myfaces.trinidad.PPR_OPTIMIZATION                  on
    oracle.adf.view.rich.pprNavigation.OPTIONS                          onRegards.

  • 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

  • Partial submit question, only partial refresh...

    I all,
    I use a partial submit on a page on a CommandLink.
    I have also a PartialTrigger for the part I want to refresh.
    It seems that when I click, the link, the entire page is submited and only the PartialTriggered part is refreshed.
    Is it possible to avoid the entire page to submit on have only the partialRefresh because, the only data which has changed is changed with a setActionListener enclaused in the CommandLink.
    Thanks.
    Michael

    Hi,
    no, PPR does not refresh independent of a submit
    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

  • 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

  • Prevent creation of reservation for selected components on Production order

    Hello all,
    I am aware that the production order reservation creation is dependant on the order type, but is it possible to avoid the reservation creation for few components on the order ? Any techincal way? We want to issue our components to a different batch than the one reserved during the production order creation.
    Any help will be greatly apprciated.
    Thanks,
    Swetha

    Your material is get reserved for Production order as per the Order start date & Order release. What you can do is make the start date of the Production order & release it. If any other production order are already there & you can re set the ATP of that production order.
    Say there is one production order starting 2 days after & your all raw material is blocked for this production order. And the other production is having date after this now you want to give ATP from 1st order to 2nd order. For this 1st make the start date of 2nd prod order before 1st. Then Go to COMAC select both Prod Ord & GO ATP with check reset ATP. You see that ATP is passed from 1st Prd order tp 2nd.
    Regards
    Abhijit Gautam

  • Partial goods receipt for PO with multiple line items

    Hello All,
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Regards,
    RJS

    Hi
    While doing MIGO, for a PO with multiple line items, if one line item is having error, will we be able to go ahead with goods receipt? Or entire material document is blocked for doing MIGO?
    No. You cannot post the MIGO, if even one of the PO line item is having problem or giving error.
    We will be doing a development - in case if there is problem in goods receipt (checking of any parameter, and if it is missing - we will be posting error message)...is it possible to ahead with next line item and still post the material document?
    If you skip a line irem and do GR with next line item, how will you match quantity & value with the vendor Invoice at LIV ?
    If partial goods receipt if possible for PO with multiple line items, how do we do it?
    Partial goods receipt is possible for PO line items. That means, if PO has 100 qty for line item 1 then you can do GR for 50 now and 50 later depending on the vendors delivery.
    Hope this is what you mean by "Partial Goods Receipt".
    Edited by: Arun R on May 10, 2010 2:03 PM

  • Partial Goods Receipt for Inbound Delivery

    Hello Frends,
    We have a requirement to generate partial goods receipt against Inbound delivery created in Intercompany scenarios, however when we analzed there two alternative ways possible -
    1.  Goods Receipt in Inbound Delivery - Transaction VL32N : In this transaction,ssytem allows goods receipt for complete quantity but not for partial quantity
    2.  Goods Receipt reference to Inbound Delivery - Transaction MIGO : In thsi transaction, there is a provision to generate partial goods receipt however system not updating the status in inbound delivery document.
    In this regard, requesting your support on what is possibility to fulfill our requirement, is there any standard SAP approach for this.
    Appreciate your support.  Thanks
    Best Regards,
    Goutham

    Hi,
    Thanks for your quick reply..
    I have a outbound delivery with 100 EA, now system automaticallly generates a Inbound delivery for 100EA using output message.  Now we need to generate partial goods receipt for the inbound delivery, mean first 20, then 40 and the remaing.
    What are the best practices available since when I check from the Inbound delivery,we cannot make partial goods receipt.
    Best Regards,
    Goutham

  • Parse method is not possible for this type

    I have a file upload component and one button in a view.
    I have created a binary type context element and mapped it with fileupload component.while clicking the submit button I am getting " Parse method is not possible for this type" exception.
    help me out.
    Thanks In advance

    Hi,
    Thanks for your response. I have written the following code in wddoinit():     
    IWDAttributeInfo attributeinfo = wdContext.getNodeInfo().getAttribute(IPrivateSubstanceDocView.IFileUpload02Element.DATA);
        attributeinfo.getModifiableSimpleType();
    fileUpload02 is my context.
    but I am getting a null pointer exception over here.
    can ypu please help it.
    Actually the case is this is a window, which is opening on click of a hyperlink on another View.
    With the action method I am calling this View.
    Thus on click of a hyperlink just I am opening a new  View then here I am a browse button etc...
    PLease help if you can

Maybe you are looking for