SSO to a jspx af:inputText ?

Hi people,
The admin of our collaborative portal doesn't know if it is possible to make a link to our ADF 11.1.1.2.0 application using the internal SSO, knowing that the login page is a jspx with af:inputText.
So I'm asking here, if anyone wants to share some knowledge.
Regards
Fred

Hi Frank,
my application does not use neither the authentification nor the authorisation of ADF. I crafted a custom login module. Nevertheless, there's classic form to login ; and since the process of loggin-in takes some time, we even made a glasspane with a waiting gif.
I asked our admin, and the information he provided are we use the SSO 10.1.4.3
I'm more looking for experience here, like a masters go-no-go on this.
Regards
Fred

Similar Messages

  • Cannot display the actual value of ClobDomain variable in jspx

    I have a custom table and three of its fields/columns are of type Clob and they contain xml data. To populate this table I used ADF Business Component and in my application these fields are defined as ClobDomain. Inserting records to this table works fine. When testing my application module or business component, actual data is displaying. However, when retrieving these data in my page, it is being displayed as wrapped object like weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB instead on the actual value.
    I tried to use the converter in my jspx and created ClobConverter class which implements Converter with the following code;
    public String getAsString(FacesContext context, UIComponent component, Object value) throws ConverterException {
    Reader clobReader = newClob.getCharacterStream();
    char[] buffer = new char[1000];
    StringBuffer sb = new StringBuffer();
    int nchars = 0;
    try {
    while( (nchars = clobReader.read(buffer)) != -1 )
    // Read characters from Clob into buffer
    sb.append(buffer, 0, nchars);
    // Transfer character to StringBuffer from buffer
    System.out.println("sb.toString(): "+sb.toString());
    clobReader.close();
    strClob = sb.toString();
    } catch (Exception e) {               
    System.out.println("Error Encountered."+e);
    return strClob;
    But even this doesn't help resolve the issue.
    Below are the details of my system:
    - Oracle DB Version = 10.2.0.4
    - Weblogic Server Version = 10.3.0.0
    - OSB Version = 10.3.1.0
    Please advise how to fix these problem.

    The output that I saw in the converter during runtime is a wrapped object which is weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB.
    In UI its data type is of ClobDomain since that is how it was defined in my ADF Business component entity and view object. But in the actual db table its data type is only clob. See below sample code taken from my jspx
    <af:inputText value="#{bindings.ErroreventView1Failedmessage.inputValue}"
    required="#{bindings.ErroreventView1Failedmessage.mandatory}"
    columns="120"
    binding="#{backing_edit.failedMess}"
    id="failedMess" readOnly="true" disabled="true"
    rendered = "false"
    wrap="hard" rows="10" converter="#{backing_edit.myClob}">
    <af:validator binding="#{bindings.ErroreventView1Failedmessage.validator}"/>
    </af:inputText>

  • After use af:inputtext disbled poperty text color is not showing in IE 8...

    Hi All,
    I am using  JDeveloper 11.1.1.4.
    My Scenario is I have one jspx with multiple <af:inputtext> it will show different colors in texts.
    But after  add the disabled property in <af:inputtext> it's not showing any content colors in IE 8.(working fine Chrome&Firefox) .
    My Jspx :
      <af:inputText  value="Check the Style"  disabled="true" label="Colors"  id="it1"></af:inputText>
    My CSS:
    af|inputText::content
    text-align: right;
    color: red ;
    Is this is bug in IE 8 ? or bug in ADF ?
    Thanks
    David ...

    Hi,
    This does not work as we can not change the disable text colour using css in Internet explorer.
    https://forums.oracle.com/thread/1001999
    Thanks

  • HOW to define a style class apply to the specified component?

    Java(TM)     1.6.0_24
    Oracle IDE     11.1.2.1.38.60.81
    In my skin file, I defined the style that I want use it apply to the af:inputText read-only content.But it's not work.
    Can anyone give me some advice for this case?
    /* Style class definition in skin file. */
    .MyReadOnly af|inputText:read-only::content {
    display: block;
    margin: 1px;
    padding-left: 3px;
    padding-right: 2px;
    padding-bottom: 1px;
    padding-top: 1px;
    border: red 1px solid;
    font-size: 13px;
    font-weight: normal;
    height: 13px;
    /* Snippet of jspx */
    <af:inputText label="Label 2" id="it2" columns="1" contentStyle="width:35px;" readOnly="true" styleClass="MyReadOnly"/>
    Edited by: MKevin_OTN on Nov 13, 2012 11:21 PM

    That line is an ADF CSS selector.
    <font color="red">af|inputText</font>: with this selector you are accessing to any <af:inputText> component (this is not the final html <input/>, is a div/table/tr that contains the final <input/>)
    <font color="red">af|inputText:read-only</font>: access only to <af:inputText> components that have readOnly="true".
    <font color="red">af|inputText:read-only.MyReadOnly</font>: access only to <af:inputText> components that have readOnly="true" and styleClass="MyReadOnly".
    <font color="red">af|inputText:read-only.MyReadOnly::content</font>: access to the content (the final <input/>) of <af:inputText> components that have readOnly="true" and styleClass="MyReadOnly".
    AP

  • Reading/writing attributes in encode/decode

    In tipical scenario with two JSF pages, both working with a simple bean (user), and with navigation from page1 to page2:
    Page1.jspx:
    <h:inputText value="#{user.name}"/>Page2.jspx:
    <h:outputText value="#{user.name}"/>I suppose that in the encodeBegin method of the InputTextRenderer class, to read the value of ‘value’ attribute there should be a sentence like this:
    getAttributes().get("value");But, what kind of code is needed in the decode method of InputTextRenderer class, to receive the value from the request, and update the ‘name’ property of user bean, in order to display it correctly in outputText tag of page2 ??
    Thanks!

    [Edit] nevermind.
    Edited by: BalusC on 30-apr-2009 20:37

  • Issue using JS to change the value of an output text component dynamically

    I am developing an application and I need to change the output text component value at run time when the mouse moves over a field. I am using javascript and then using UIComponent.setproperty to change the value.
    I am not able to do this and am getting nothing.
    Kindly let me know what am I doing wrong
    I am using ADF 11g (10th November release).
    Regards,
    Deepak

    Hi i'm doing the same thing with an input text
    here is my code
    jspx:
    <af:inputText value="#{bindings.MiddleName.inputValue}"
    label="#{bindings.MiddleName.hints.label}"
    required="#{bindings.MiddleName.hints.mandatory}"
    columns="#{bindings.MiddleName.hints.displayWidth}"
    maximumLength="#{bindings.MiddleName.hints.precision}"
    shortDesc="#{bindings.MiddleName.hints.tooltip}"
    id="it4" autoSubmit="true">
    <f:validator binding="#{bindings.MiddleName.validator}"/>
    <af:clientListener type="valueChange" method="mo_UpperCase"/>
    </af:inputText>
    js:
    function mo_UpperCase(event){
    var inputField = event.getSource();
    if (event.getNewValue().toUpperCase()!=event.getNewValue())
    inputField.setValue(event.getNewValue().toUpperCase());
    In my case i change the input text to upercase when the value is changing
    I hope it works with output text also,
    change my examples clientlistener type from valueChange to mouseOver
    If you have more than one component and you need to pass parameters check this thread also:
    bug at af:clientAttribute 11.1.1.2.0
    Tilemahos

  • How to keep pageDef bound inputs?

    Hi all
    Its me again ;-) Now i have a very trivial problem. I have two jspx-pages (page A and page B). On page A i have an inputText, bound to an attributeValue, which is bound to a variable in the pageDef of this page. When i click the submit-button, i do something with the input of this inputText, before i went to page B. Now i went back to page A and the inputText is empty.
    Is it possible, to keep the previous input? I can build a Bean stored in the session context to bind this inputText, but i think its a bit oversized for a simple String.
    PageDef of page A
    <executables>
      <variableIterator>
        <variable Type="java.lang.String"
                  Name="relationshipsVar"
                  IsQueriable="false"/>
      </variableIterator>
    </executables>
    <bindings>
      <attributeValues id="relationships" IterBinding="variables">
        <AttrNames>
          <Item Value="relationshipsVar"/>
        </AttrNames>
      </attributeValues>
    </bindings>pageA.jspx
    <af:inputText value="#{bindings.relationships.inputValue}"
                  required="#{bindings.relationships.mandatory}"
                  columns="#{bindings.relationships.displayWidth}"
                  id="inputText2" inlineStyle="width:500px;">
      <af:validator binding="#{bindings.relationships.validator}"/>
    </af:inputText>Thanks and regards
    Majo

    Majo,
    As per my understanding, when you come back to PageA(some page) all bindings and iterators will be initialized, at that time the value in variable iterator will be reset. Attributes pointing to some view object iterator holds the data becasue that data will be stored in view object when navigated to some other page or request is submitted and when we come back to same page again it gets back the data from the view object and show it in the page but it is not the case with variable iterator(which just stores the data in pagedefinition and loose the value when we refresh the page).
    Sireesha

  • Anyone have a sample app to test authorization?

    A sample system-jazn-data , a jspx setting example would help. I have hit a road block.
    I set up an app to test this out. This just has two jspxs. You click the link from one page to go to the second page which has two input fields. If the role is a "technician" I want the field to be non-editable based on PageDef settings. I confirmed that the role returned was indeed "technician."
    I have set the pagedef to "read" for PositionNbr. However, when I go to that page after signing in as a technician, I can edit the field. When I hardcode the readOnly properties on the SearchInfoPos.jspx to "true," I get a readonly field. The field is not honoring the property
    readOnly="#{!bindings.SimpleTestPositionNbr.updateable}"
    This seems to confirm that authorization via pageDef is not working and I am missing something. This is a simple app with no other attachments. What is wrong? Anyone else have a scenario like this?
    Authentication via DBtableOraDataSourceLoginModule still works as before. It authenticates and returns the roles "technician" for "DFAVIET" from APPLICATION_ROLES table on my Oracle Express schema.
    here are the releveant settings for reference.
    bd_SearchPosInfo.jspx
    <af:inputText value="#{bindings.SimpleTestPositionNbr.inputValue}"
    label="#{bindings.SimpleTestPositionNbr.label}"
    required="#{bindings.SimpleTestPositionNbr.mandatory}"
    columns="#{bindings.SimpleTestPositionNbr.displayWidth}"
    binding="#{backing_bd_SearchPosInfo.inputText1}"
    id="inputText1"
    readOnly="#{!bindings.SimpleTestPositionNbr.updateable}"
    >
    navigation rule faces-config
    MainMenu.jspx -----> SearchPosInfo.jspx (has two inputtext fields (PositionNbr, PrimeOrg)
    system-jazn-data.xml
    <grant>
    <grantee>
    <principals>
    <principal>
    <realm-name>secure-web-app</realm-name>
    <type>role</type> <class>oracle.security.jazn.login.module.db.principals.DBRolePrincipal</class>
    <name>technician</name>
    </principal>
    </principals>
    </grantee>
    <permissions>
    <permission> <class>oracle.adf.share.security.authorization.RegionPermission</class>
    <name>view.pageDefs.bd_SearchPosInfoPageDef</name>
    <actions>grant,view</actions>
    </permission>
    <permission>
    <class>oracle.adf.share.security.authorization.AttributePermission</class> <name>BudAppModuleDataControl.SimpleTest.PositionNbr</name>
    <actions>read</actions>
    </permission>
    </permissions>
    </grant>
    <grant>
    <grantee>
    <principals>
    <principal>
    <realm-name>secure-web-app</realm-name>
    <type>role</type>
    <class>oracle.security.jazn.login.module.db.principals.DBRolePrincipal</class> <name>technician</name>
    </principal>
    </principals>
    </grantee>
    <permissions>
    <permission>
    <class>oracle.adf.share.security.authorization.AttributePermission</class>
    <name>BudAppModuleDataControl.SimpleTest.PositionNbr</name>
    <actions>read</actions>
    </permission>
    </permissions>
    </grant>

    Currently there isn't a book on Oracle9i Forms yet. (Except the regular documentation).
    I believe that someone who will learn from the books on 6i and then will read the new features papers about Oracle9i Forms and the online help can become efficient developer.
    Also if you prefer there are Oracle University courses on Forms 6i and Oracle9i Forms - These are usually the best way to learn Forms.

  • Open a new window while clicking on the command button

    Hi,
    Can I open a pdf report in a new window when adf command button is clicked?
    I am using jdev11g
    Thanks

    Hi John,
    I found the goButton's destination expression do not read value from any controls e.g.: Input Text.
    Is there anyway to read some value, that input by user not in the db, on the screen?
    e.g.: I have a Input Text for user to input a date to print the report. I've tried to binding the control in backingBean, but I get a null value from the goButton's destination function.
    the jspx:
    <af:inputText label="Search" id="it1"
                            value="#{backingBeanScope.backing_goUrl.it1Value}" autoSubmit="true"/>
    <af:goButton text="goButton 1" id="gb1" targetFrame="_blank"
                           destination="#{backingBeanScope.backing_goUrl.searchURL}"/>in the backing bean:
    public class GoUrl {
      private String it1Value;
      public String getIt1Value() {
        return it1Value;
      public void setIt1Value(String it1Value) {
        this.it1Value = it1Value;
      public String getSearchURL() {
        String s = getIt1Value();
        return "http://www.google.com/search?hl=zh-tw&q="+s; // the result of s is always null.
      }Cheers,
    Samson Fu
    Edited by: Samson Fu on Aug 31, 2010 1:46 PM

  • MaximumLength on LOV coponents when dragged from Data Control

    Hello,
    I have the following problem:
    I drag an attribute from Data Controls and put it in the jspx. af:inputText component is created, with property maximumLength set to maximumLength="#{bindings.AttrName.hints.precision}" e.g.:
        <af:inputText value="#{bindings.AttrName.inputValue}"
                      label="#{bindings.AttrName.hints.label}"
                      required="#{bindings.AttrName.hints.mandatory}"
                      columns="#{bindings.AttrName.hints.displayWidth}"
                      maximumLength="#{bindings.AttrName.hints.precision}"
                      shortDesc="#{bindings.Ime.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.Ime.validator}"/>
    </af:inputText>But when i drag another attribute which is configured to be a LOV it is created without the maximumLength property being set:
      <af:inputListOfValues id="id2"
            popupTitle=" #{bindings.AtrtName2.hints.label}"
            value="#{bindings.AtrtName2.inputValue}"
            label="#{bindings.AtrtName2.hints.label}"
            model="#{bindings.AtrtName2.listOfValuesModel}"
            required="#{bindings.AtrtName2.hints.mandatory}"
            columns="#{bindings.AtrtName2.hints.displayWidth}"
            shortDesc="#{bindings.AtrtName2.hints.tooltip}">
         <f:validator binding="#{bindings.AtrtName2.validator}"/>
      </af:inputListOfValues>We have to add the property for every single lov, because the client wants the input to be limited.
    Is there a way to modify this default behaviour?
    Edited by: Valhery on 2010-3-10 1:26

    Shay,
    Thank you for the advice. I was using jsp pages. But I also tried jspx and had the same problem. I wonder if it is a problem with the tag library or with the JDeveloper software. When I create a new jsp page, at the step where the available tag libraries can be shuttled from left to the right, sometimes on the right side there is only JSF HTML but hot JSF Core, but JSF core is not on the left side either. Yet if you click finish and check the source tab you would see both directives for the two libraries are in the page.
    When building the pages, all the tags are created by JDeveloper. I do not have the freedom to edit the code because I do not know the tags. If I knew how to directly edit the tags, I can forget about the Design tab. But at least for now I am dependent on the Design tab.
    There are many questions on my mind such as the difference between <form> and <h:form>? Is it OK to mix all these tags from the different tag libraries in one page? What is the difference between the JSF HTML CommandButton and the ADF FACES Core CommandButton, and which one should I used in what context? And many many other questions. Are there any Oracle documents that cover these topics and systematically explain and teach the use of these tags? I just found documents for 11g, one of which, by its title at least, looks like a book for such purpose. But it is for 11g.
    Many thanks for your guidance!
    Newman

  • How to Add Dynamic af:inputText or UI comp fields in JSPX pages?

    i want to add one <af:inputText> Field in my jspx page.
    it is based on MaxQuantity (af:inputText field). Say if value of MaxQuantity >3 it should add one UI component next to MaxQuantity field.
    How to achieve this ? will that be produced in Backing Bean or should be Partial rendering ?
    need URGENT REPLY
    Thanks

    Problem still exists. with almost similiar results.
    with config --> #{bindings.CreateNewEquip_AccMaxQty==6} it gives
    javax.faces.el.EvaluationException: com.sun.faces.el.impl.ElException: Attempt to coerce a value of type "oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding" to type "java.lang.Long"
    with Config --->#{bindings.CreateNewEquip_AccMaxQty=='6'} it produces similar action as before i.e. no rendering for EquipName component

  • Issue with broken navigation when implementing a SSO filter

    Hello
    I'm facing an issue when integrating the Jasig CAS SSO with Siebel Self-Service (which is an Oracle ADF application). When applying the CAS Authentication Filters, the navigation rules and page flows in the Self-Service application cease to work.
    The Siebel Self-Service application is using adfFaces filter, adfBindings filter and the SelfServiceFilter as controllers for the pages.
    For the integration with the Jasig CAS, a client lib is installed in the Self-Service OC4J. This CAS Client provides an "Authentication Filter" that is defined in the web.xml. The pages in Self-Service that are to be protected by this authentication filter (the pages that needs user authentication in order to be accessed) are also mapped in the web.xml. This authentication filter checks the user against the CAS Server and sends back a ticket parameter with the URL if the user is logged in. This parameter is used to validate the login attempt, and on successful validation, the CAS server provides the username of the user to a bean called by the SelfServiceFilter in the Self-Service app.
    My problem is that any JSF navigation on a page (navigation rules and page flows) cease to work as soon as a page is protected by the Authentication filter. One example would be during the check out process (which consists of several steps - several jspx pages). When you click “Next” on the first check out step, you are not redirected to step no 2, but to the same check out page as you started on.
    Since the Authentication Filter protects all the pages involved, it will intercept any request to these pages, fetch the request URL, redirect to the CAS server for user authentication, and on successful authentication it will redirect the user back to the URL that was fetched by the Authentication Filter in the first place.
    I have been looking into this, and I think that the JSF navigation rules etc, cease to work because the JSF page flows are being interrupted. When clicking “next” the page would normally post information to the life cycle of the requested page (which in some cases in this app, is also a postback to the same page). This information is then used when going through the life cycle of the new page. But when the CAS Authentication Filter intercepts the request, send the user to the CAS server and then redirect back to the page, this page life cycle is interrupted, or the necessary data is not attached in this “new” request.
    Does anyone have an idea for how I can solve this issue?
    Thanks!
    Jonte

    Hi,
    JSF pages use a postback navigation model. The filter works as expected but performs a redirect to the request page, which in the case of postback is the current page you see. To change this, you need to change the navigation cases to perform "redirect" navigation itself. Its ot an ADF Faces problem but default JSF behavior
    Frank

  • How to create inputtext cascanding LOV

    hi how can one refresh cascanding lov my use case is i have <af:selectOneChoice which list the name of provience and i have <af:inputText which list city using <af:autoSuggestBehavior base on the provience i selected and i have subub in <af:inputText listing surbub using <af:autoSuggestBehavior it list based on the city i have select ,at the moment when i select provience and go to city it list only one value in the list but if i type 2 letters of exisisting cityit list, even if there is more than one values in database,the subub also list the same values ,and another thing is if i change the selection of provience and go and select another province and what to select another city and anothe subub it list the previous city name and previous suburb name it does not change according to new provience selection.the first city i choose when the page load its the only one displaying all the time,even if i restart the application,my problem is my <af:inputText does not list more than one values it always list one value if is city it only list one city if its subub it only list one subub,how can i refresh two inputtext so it can display values according to currently provience selected lov and display all values not only the first one selected .am in jdeveloper 11.1.1.6.0
    Here's the scenario
    1. i have 3 views witch are ProvienceVO,CityVo,SububVo they where created from theire entity
    2. ProvienceVO it list the provience name
    3. CityVo it list cityname and citycode,it got view criteria which got cityname and provience they all use operator start with,i did not use parameter in the query,i only use parameter in my view criteria
    4. i got sububVO it list subub name it releate to cityvo using citycode,i also have view criteria which pass parameter subub and use operator startwith
    5.in my application module i got two method which list the two views cityvo,subub based on the provience selected
    6 in my bean class i got a method which listen which city,subub is selected it also pass the currently selected provience to city
    7. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
    for example where it does not work
    1 select provience in the list,but when i go to my inputtext it does not list values according to first lov selection.
    2 select provience in the first list, but when i what to make selection in second lov i only get one values even if there is more values from database,this happen in city lov
    3. select provience in the first list,select city,but when i come to select subub inputtext it only list one values it does not change even if i try to search other surbub it always return same surbubname value
    4.if i type n in the inputtext it does not list available name Which start with n e.g for new york it only find new york if i type new than it will display new york ,after i type atleast 3 letters
    Here's the code snippet of jspx:
    <td width="53%" height="26">
                          <af:selectOneChoice
                                              label="#{bindings.ProvinceViewVO1.label}"
                                              required="#{bindings.ProvinceViewVO1.hints.mandatory}"
                                              shortDesc="#{bindings.ProvinceViewVO1.hints.tooltip}"
                                              id="soc4" simple="true"
                                              value="#{pageFlowScope.orgDetailsBean.addressBean.province}"
                                              autoSubmit="true">
                                            <af:forEach items="#{bindings.ProvinceViewVO1.iteratorBinding.allRowsInRange}"
                                      var="row">
                            <af:selectItem id="tipltco2" label="#{row.provincename}"
                                           value="#{row.provincecode}"/>
                          </af:forEach>
                          </af:selectOneChoice>
                        </td>
                      </tr><tr>
                        <td width="47%" height="19">
                          <af:outputLabel value="City" id="ol11"
                                          showRequired="true"/>
                        </td>
                        <td width="53%" height="19">
                            <af:inputText label="#{bindings.Cityname.hints.label}" columns="20"
                                            maximumLength="#{bindings.Cityname.hints.precision}"
                                            shortDesc="#{bindings.Cityname.hints.tooltip}"
                                            id="itc4" simple="true"
                                          value="#{pageFlowScope.orgDetailsBean.addressBean.city}"
                                          partialTriggers="soc4"
                                          valueChangeListener="#{pageFlowScope.addressbean.subValue}"
                                          autoSubmit="true">
                                <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.addressbean.getSuggestedCities}"/>
                          </af:inputText>
                        </td>
                      </tr><tr>
                        <td width="47%">
                          <af:outputLabel value="Suburb" id="ol14"
                                          showRequired="true"/>
                        </td>
                        <td width="53%">
                           <af:inputText label="#{bindings.Suburb.hints.label}" columns="20"
                                            maximumLength="#{bindings.Suburb.hints.precision}"
                                            shortDesc="#{bindings.Suburb.hints.tooltip}"
                                            id="itcs4" simple="true"
                                         value="#{pageFlowScope.orgDetailsBean.addressBean.suburb}"
                                         valueChangeListener="#{pageFlowScope.addressbean.sububValue}"
                                         partialTriggers="itc4" autoSubmit="true">
                                <af:autoSuggestBehavior suggestedItems="#{pageFlowScope.addressbean.getSuggestedsbub}"/>
                              </af:inputText>
                        </td>I hope I have explained this well. If it's not clear please let me know.
    Has anyone come across this scenario or know how to resolve this
    Edited by: adf0994 on 2013/01/17 2:56 PM
    Edited by: adf0994 on 2013/01/17 3:12 PM
    Edited by: adf0994 on 2013/01/17 3:20 PM
    Edited by: adf0994 on 2013/01/17 3:38 PM
    Edited by: adf0994 on 2013/01/17 3:48 PM

    ok now i can list my provience but when i select the value it return provicecode not provience name it does list provicename but but when i select it show provincecode in inputtext .but when i select city list am geting this error
    Caused by: java.lang.NullPointerException
         atoncitySuggest(AddressBean.java:363)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    which is on line
    for (JUCtrlValueBindingRef displayData : displayDataList){
    and i also see this in my log error
    DCBindingContainer> <cacheException> [2708] * * * BindingContainer caching EXCEPTION:oracle.jbo.JboException
    <DCBindingContainer> <cacheException> [2709] groovy.lang.MissingMethodException: No signature of method: AppModuleImpl.getCurrentProvienceId() is applicable for argument types: () values: []
         at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
         at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:48)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
         at bc4j.provience.gs.run(bc4j.provience.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1380)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1448)
         at oracle.jbo.ExprEval.evaluate(ExprEval.java:1191)
         at oracle.jbo.ExprEval.evaluate(ExprEval.java:1168)
         at oracle.jbo.common.VariableImpl.evaluateTransientExpression(VariableImpl.java:1687)
         at oracle.jbo.common.VariableValueManagerImpl.accessValue(VariableValueManagerImpl.java:152)
         at oracle.jbo.common.VariableManagerImpl.getValueRaw(VariableManagerImpl.java:508)
         at oracle.jbo.common.VariableValueManagerImpl.getVariableValueRaw(VariableValueManagerImpl.java:254)
         at oracle.jbo.server.ViewRowSetImpl.getWhereClauseParamsFromVars(ViewRowSetImpl.java:4699)
         at oracle.jbo.server.ViewRowSetImpl.getParameters(ViewRowSetImpl.java:6375)
         at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:629)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1111)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1060)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2810)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2787)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRangeInternal(ViewRowSetIteratorImpl.java:2173)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getAllRowsInRange(ViewRowSetIteratorImpl.java:2220)
         at oracle.jbo.server.ViewRowSetImpl.getAllRowsInRange(ViewRowSetImpl.java:3062)
         at oracle.jbo.server.ViewObjectImpl.getAllRowsInRange(ViewObjectImpl.java:11202)
         at oracle.adf.model.binding.DCIteratorBinding.getAllRowsInRange(DCIteratorBinding.java:2345)
         at oracle.adf.model.binding.DCControlBinding.getAllRowsInRange(DCControlBinding.java:446)
         at oracle.jbo.uicli.binding.JUCtrlRangeBinding.getRangeSet(JUCtrlRangeBinding.java:300)
         at uam.cadastre.gov.za.AddressBean.oncitySuggest(AddressBean.java:361)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at oracle.adfinternal.view.faces.el.InternalELObject.autoSuggest(InternalELObject.java:173)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at oracle.adf.view.rich.event.ClientListenerSet.invokeCustomEventListeners(ClientListenerSet.java:176)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$DeliverClientEvent.invokeContextCallback(LifecycleImpl.java:1621)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:194)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:147)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:582)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:456)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         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)
    but i have added <Method
          Name="getCurrentcitycode">
          <Return
            Type="java.lang.String"/>
        </Method> in my client interface
    <Method
          Name="getCurrentProvienceCode">
          <Return
            Type="java.lang.String"/>
        </Method>
    and this is my added view in AM
    <ViewUsage
        Name="CityViewLOV1"
        ViewObjectName="model.lov.views.CityViewLOV">
        <ViewCriteriaUsage
          Name="CityViewLOVCriteria"
          FullName="lov.views.CityViewLOV.CityViewLOVCriteria"/>
        <ParameterMap>
          <PIMap Variable="provience">
            <TransientExpression><![CDATA[adf.object.applicationModule.getCurrentProvienceId()]]></TransientExpression>
          </PIMap>
        </ParameterMap>
      </ViewUsage>Edited by: adf009 on 2013/01/21 2:20 PM
    Edited by: adf009 on 2013/01/21 2:21 PM

  • Af:inputText is not shown when its corresponding value in the view Object i

    Hello all,
    I'm new to ADF and I need some help on this issue.
    I've a dropdown field and series of text fields in my form. All these fields represents the corresponding ViewObject attributes. The values of text fields are dependent on the dropdown selection.
    I've written a valueChangeListener which works fine.
    The problem is, if the viewobject values (database values) for the corresponding text fields are null then the inputText disappears. But I wanted to show the inputText with emplty string. Any help on this issue pls.
    Regards,

    code in my jspx:
    <af:selectOneChoice value="#{bindings.BannerTextView1PagegroupName.inputValue}"
    label="#{bindings.BannerTextView1PagegroupName.label}"
    binding="#{backing_BannerTextDorpDownUpdate.selectOneChoice1}"
    id="selectOneChoice1" autoSubmit="false"
    valuePassThru="true"
    onchange="this.form.submit()" valueChangeListener="#{backing_BannerTextDorpDownUpdate.newItemCodeChanged}">
    <f:selectItems value="#{bindings.BannerTextView1PagegroupName.items}"
    binding="#{backing_BannerTextDorpDownUpdate.selectItems1}"
    id="selectItems1"/>
    </af:selectOneChoice>
    <af:inputText value="#{bindings.BannerTextView1BottomHeadingLarge.inputValue}"
    simple="true"
    required="#{bindings.BannerTextView1BottomHeadingLarge.mandatory}"
    columns="#{bindings.BannerTextView1BottomHeadingLarge.displayWidth}"
    binding="#{backing_BannerTextDorpDownUpdate.inputText1}"
    id="inputText1">
    <af:validator binding="#{bindings.BannerTextView1BottomHeadingLarge.validator}"/>
    </af:inputText>
    valueChangeListner in my backing bean:
    public void newItemCodeChanged(ValueChangeEvent valueChangeEvent) {
    List vObject = (List)project1.backing.JSFUtils.resolveExpression(FacesContext.getCurrentInstance(),"#{bindings.BannerTextView1PagegroupName.items}");
    System.out.println("JSFUtil test......"+vObject);
    SelectItem vItem = (SelectItem)vObject.get(Integer.valueOf((String)valueChangeEvent.getNewValue()));
    ..... my business logic code
    I've created association and view link for changing the values on dropdown selection. Its just the association of primary keys of the 2 tables which I use for the fields in the form.

  • Events in a JSPX page

    Hi,
    I have this problem now.. I don't know if its a very simple one, but I couldn't find a way through it yet.
    I have a text box (af:inputText) inside a .JSPX page.. I want to capture the "onKeyPress" or "onKeyUp" event from this text box. For example, when I'm typing a letter inside the text box, I want the onKeyPress event to be captured and handled. How can I do it?
    I have a backing bean for the JSPX page. How can i tell the JSPX page to call a specific function when the event is thrown?
    Thanks in advance
    Pravin

    Hi Frank,
    Thanks for the reply.. When i dropped a text box into the JSPX page and checked its properties, it had onKeyUp, onKeyPress, etc.. So i thought i could possibly use them.. I'll do it the Servlet way then. Thank you.. :)
    Pravin

Maybe you are looking for