ADF Query questions
hi, Expert
I am using ADF BC and Jdev11g,
In my application, I have a query page, the Search panel is based on "ExecuteWithParams" and there are two buttons "Search" and "Reset", then the query results set will be display in the af:table. I set the "filterable" for each column in the table to be "true", my user fed back to me there are some confusion on query, the values entered in seach panel and filter can not be sync. Do I need to set "PartialTrigger" & "RefreshCondition" for each filterable column? Thanks!
Rgds!
Hi,
not sure what "there are some confusion on query, the values entered in seach panel and filter can not be sync." means. If it means that e.g. searching on deptId does not show the value of deptId in the departmentId filter field, then this is expected as the filter and the executeWithParams don't use the same view criteria.
Frank
Similar Messages
-
Bad translation of labels in ADF Query Panel
Hi,
When I use an ADF Query Panel, all labels and buttons are translated automatically to Danish (probably because I have Danish region settings or some such). The problem is that it is not a very good translation: In the "Match" radio group at the top of the panel, the two buttons that would have the names "All" and "Any" in English, are both translated to "Alle" (the Danish word for "all"). In other words, I have a radio group with two buttons that are both called "Alle". I'm fairly confident that a customer would never accept this.
My questions are:
1) Where should such an error be reported?
2) Is there any way to make the panel use English labels and buttons, even under non-English region settings?
3) Is there any way I can correct the translation error myself temporarily, until an "official" correction is made?
Regards,
AndreasHi Andreas,
I logged Bug 9861526 - ADF - BAD DANISH TRANSLATION OF LABELS IN ADF QUERY PANEL
available from My Oracle Support.
The "Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework"
Chapter 20 Customizing the Appearance Using Styles and Skins
20.3 Defining Skin Style Properties
explains how to translate texts that ADF Faces components render.
The following bundle class should do the trick for your case:
import java.util.ListResourceBundle;
public class SkinBundle extends ListResourceBundle {
@Override
public Object[][] getContents()
return _CONTENTS;
static private final Object[][] _CONTENTS =
{"af_query.LABEL_CONJUNCTION_OR", "Enhver"}
}Regards,
Didier -
Hi all,
i have a VO with query criteria, which i have added to the jsf page as adf query panel with table. On the query panel, there are two items on which the table content can be queried. (eg- its possible to query users either with their regNo,Client id or with both) . but it should not be possible to view users without not inputing values for both regNo,Client id. if user input value for either of those two, or both of those it should be possible to query. Is this possible with jdeveloper? How can it be done? pls advice.
Thnx,
NadNad,
If I understand your question properly, you want to prohibit the user from performing a search unless at least one of the search criteria is filled in?
I haven't tried this, but I think you can probably do this by specifying a [url http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e10684/oracle/adf/view/rich/event/QueryListener.html]Query Listener on the af:query component. In that listener, you could presumably check to see if either of the values is filled in, and if not, add a message to the faces context, otherwise pass on to the default... not a complete solution, but an idea.
John -
ADF Query Panel with Tree Table -- Add Fields
I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
1) Can I search fields in detail table? If yes, how can I do it?
2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
Thanks in advance.
Edited by: kxc on Nov 9, 2009 9:21 AM1) Can I search fields in detail table? If yes, how can I do it?
Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
I assume you have a view link from the master to detail VO.
To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO. -
Refreshing ADF Query Component after changing some property of a criteria
Hi All
Use Case : Refreshing ADF Query Component after changing some property of a criteria attribute.
I have a query panel with 2 query criteria i.e. FirstName and DepartmentId where in DepartmentId is a drop down. The scenario is like when change the value of DepartmentId to 'Finance' with code value of '100' then my criteria attribute 'Firstaname' should be invisibe(queriable=false).
Approach: Have overriden the queryOperationListener of adfquery as " queryOperationListener ="#{backingBeanScope.backing_queryLstener.processQueryOperation}" "
My backing bean method goes as below :
public void processQueryOperation(QueryOperationEvent queryOperationEvent) {
// Add event code here...
if( queryOperationEvent.getOperation().equals(queryOperationEvent.getOperation().CRITERION_UPDATE) ){
DCBindingContainer bindings = (DCBindingContainer)this.getBindings();
DCIteratorBinding iter =bindings.findIteratorBinding("EmployeeView1Iterator");
ViewObjectImpl voimpl = (ViewObjectImpl)iter.getViewObject();
ViewCriteria vc = voimpl.getViewCriteriaManager().getViewCriteria("EmployeeViewCriteriaDemo");
Row currRow = vc.first();
System.out.println("Department :"+currRow.getAttribute("DepartmentId"));
if( (Integer)currRow.getAttribute("DepartmentId") ==100 ){
AttributeDef[] attrs = voimpl.getAttributeDefs();
int attrIndex = voimpl.getAttributeIndexOf("FirstName");
ViewAttributeDefImpl attrDef = (ViewAttributeDefImpl) attrs[attrIndex];
attrDef.setQueriable(false);
// AdfFacesContext.getCurrentInstance().addPartialTarget(getQryId1()); //here i need to refresh the query component which is not happening
// refreshQueryComponent(getQryId1());
Everything is happening as expected but the query panel s not get refreshed.When i refresh the whole link/page then i can see the change.
Please suggest.
Thanks in adv.
-SanjeebHi,
can's say anything about the first part of the question as more insight to the implementation would be required. However, have a look at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/83-bidi-synchronization-tree-form-401841.pdf, which may be what you are looking for
To the second part: You can programmaticallly refresh the tree component from a managed bean. So instead of using the declarative PPR option (or ChangeEventPolicy set to PPR on the iterator binding) you can wire the submit button to the managed bean, perform your validation and if it fails don't refresh teh tree
The call is
AdfFacesContext.getCurrentInstance().addPartialTarget(the_tree_instance)
Frank -
Is it possible to change the number of rows to be displayed in adf query ?
Hello,
is it possible to change the number of rows that are displayed in an adf query similar to an adf form ?
I need to display approx 5 rows per column instead of displaying all the fields in a single column ? Thanks.Thanks , how do you add in the code ,is it something like follows :
<af:query id="qryId1" headerText="Search" disclosed="true"
value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}">
<af:inputText value="#{bindings.PrtDesc.inputValue}" label="Desc"
required="#{bindings.PrtDesc.hints.mandatory}"
columns="#{bindings.PrtDesc.hints.displayWidth}"
maximumLength="#{bindings.PrtDesc.hints.precision}"
shortDesc="#{bindings.PrtDesc.hints.tooltip}" id="it3">
<f:validator binding="#{bindings.PrtDesc.validator}"/>
</af:inputText>
<af:column>
<af:outputtext/>
<af:outputtext/>
</af:column>
</af:query> -
How to use ADF Query search with EJB 3.0
Hi,
In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
The steps to create query search with ADF Business Components says:
"+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
Thanks
BJFor EJBs you'll need to implement the query model on your own.
An example of how the model should look like is in the ADF Faces components demo.
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
Code here:
http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html -
View Criteria in ADF Query Panel with Table-Class Cast Exception
Hi,
I am getting Class Cast Exception when using view criteria for ADF Query Panel with Table. The version I am using is 11g Release 1(11.1.1.2.0)
Here is what I did:
1. created a view criteria on a view object
2. all are optional
3. all are Strings
3. Dragged the view criteria as a query component (ADF Query panel with Query table) on to the design layout
and the error when I clicked the Search button is:
javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1289)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
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:292)
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:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at sni.foundation.facesextensions.filters.FoundationFilter.doFilter(FoundationFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
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:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
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.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._clearFilterCriteriaRows(FacesCtrlSearchBinding.java:4549)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._addFilterCriteria(FacesCtrlSearchBinding.java:4603)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:423)
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(AstValue.java:157)
Thanks
VenkateshHi Frank.
I'm using JDev 11.1.1.3.0 as you suggest the error is no longer present in the latest version.
I can pick my query from the "Saved Search" pick list on the QueryPanel list of queries just fine, and it sets up the filter properly, but when I press the "Search" button, I get the same reported error...
<RegistrationConfigurator><handleError> Server Exception during PPR, #1
javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
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:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
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:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
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.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._clearFilterCriteriaRows(FacesCtrlSearchBinding.java:4588)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._addFilterCriteria(FacesCtrlSearchBinding.java:4642)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:424)
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(AstValue.java:157)
... 42 more -
ADF Query Panel with Tree Table
I am using JDev 11g to create ADF Query Panel withTree Table. Basically it's working on data part.
But on presentation part it looks awkward. The tree table's master row and child row share first row for column name
ColumnMaster1 ColumnMaster2 ColumnMaster3 ColumnChild1 ColumnChild2 ColumnChild3
So when tree closed, the master side filled. Child side empty. When tree opened, master side empty and child side filled.
Are there any way, to make it inline looking with it's own column name for child?
Thanks in advance.
Edited by: kxc on Oct 30, 2009 9:19 AMHi,
the bug got closed already as not a bug. Instead this is filed as a documentation bug now, saying that tree tables don't support wrapped columns. So the bottom line is that three tables can only have a single leading column. If you need to show multiple information in there then I guess you will concatenate this
Frank -
How to restrict data that is displayed in adf query
Hi all,
i have a VO with query criteria, which i have added to the jsf page as adf query panel with table. There may be particular queires that return large number of records. Suppose i want to restrict the number of records being displayed to 10,000. Is this possible with jdeveloper 11g? How can it be done? pls advice.
Thnx,
NadHi Nad
You can do this, open the VO Editor go to sql statement option add this code inside the where clause:
and rownum <= 10000 -- limit your query.
Good Luck -
Unable to view adf query panel in jsf page
hi i cannot view the Query > ADF Query Panel when i click the query button to load the page but i can see the page in design. i can only see the search with drop down arrow but cannot see other part of ADF Query Panel . i did this by 9.Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel.
Edited by: user603350 on 2011/12/08 12:04 PMthe query button am talking about is the button i click to navigate to the other page(jsf) the page does not display the Query > ADF Query Panel.
am doing this tutorial http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html am having problem in step 9 .Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel. i can view the ADF Query Panel in design but when i run the application and click the navigation button the page does not show the full ADF Query Panel it only show the search with drop down arrow
Edited by: user603350 on 2011/12/08 8:39 PM -
ADF Query Panel for Dynamic VO.
Hi All,
i am using jdev version 11.1.1.5.0.
In my use case i have created one dynamic VO because table and no of column decided run time. now i want to provide filter on that vo using Named view criteria as ADF query panel.
but column and table decided run time. So can i create dynamic query panel(View Criteria) run time?
or Is there any another way to achieve my requirement?
Thanks in Advance.Hi Manish,
not sure if this is what you are looking for, but you can have dynamic viewcriteria in a search region.
In the searchregion binding in the pageDefenition simply use an EL Expression to determine what criteria to use.
<searchRegion Criteria="#{pageFlowScope.startupMode eq 'mgr' ? 'CriteriaForManager' : 'CriteriaForEmployee'}"
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
Binds="EmployeesView1Iterator"
id="CriteriaForManagerQuery"/> I explained it on my weblog : http://lucbors.blogspot.nl/2011/10/in-my-current-project-use-lot-of-re.html
Good luck,
Luc -
Enabling disabling LOV in adf :query panel
I have a requirement where i have 3 drop downs which are dependent LOV's .These drop downs are binded as bind variable parameters for search through view criteria.
The first drop down needs to be enabled by default and rest will be enabled only when i select the first one, with values populating from the dependent LOV queries.
I am using adf:query panel to do the search.
Can someone please suggest me a way to fullfill this requirement.Hi all
Even i have the same requirement.
I have a view criteria with 3 attributes based on which am performing the search.
These attributes are actually LOV's and are dependent.
I have dropped the view critieria as a af:query panel componenet on my page.
The dependent LOV's are refreshing properly on the UI also.
However My requirement is that the dependent LOV's shud be disbaled until i select the parent LOV.
Is there a way to achive this functionality? -
BPM Payload bind to adf query panel with table
hi guys,
i have a requirement to process all result row in the table to my bpm process.
i have a bpm taskflow and already defined the payload xml.
in the taskflow UI, i hv a adf query panel with table from a criteria View object.
how can i bind the search result to the bpm payload ?
i tried to bind it directly, but it turns out error.
or do you hv a better approach to this requirement, so i can add/remove row in table dynamically ?
i use bpm 11.1.1.6
thanks before.Could you give some more details ?
Do you require that all the rows in the ADF based results table are passed on to the BPM payload ? -
Multiple queries happeing in adf query component using LOV
Hi,
I am using a programmatic view object in adf query component and have created List of values for one attribute by adding another programmatic ViewObject as ViewAccessor.
To populate the lov ViewObject, i have overwritten the method executeQueryForCollection in which i call the webservice to fetch the data. So lov is working fine inside QueryComponent.
I have overwritten queryListener attribute of query component in my backing bean. In the queryListener method, to populate the result grid, am populating the view object by using createRow and insertRow apis. While doing so, Whenever i do setAttibute for the lov field, the overwrittern method executeQueryForCollection getting invoked. Hence my webService getting invoked. So if i have 10 rows, the webservice is getting invoked 10 times.
I put sops in the executeQueryForCollection method for the queryMode and getName.
System.out.println("executeQueryForCollection::::"+this.getQueryMode()); i get as 7
System.out.println("executeQueryForCollection:::=" +this.getName()); i get as CurrencySummaryLOVVO_5708_findByVC_ The number 5708 varies for every row.
Please tell me How to avoid invoking the executeQueryForCollection everytime when i do setAttribute.
One workaround i have currently is to have one dummry attribute for the lov which can be used for display in grid and actual attribute will be used in Query Component for the lov to function.
Is there any other better workaround?
Thanks a lot in Advance.
Vivek
Edited by: Vivek Singh on Oct 22, 2009 9:16 PMWhen you set a value to LOV field it tries to validate it from the LOV data. thats why it execute query.
Try setting Row Level Bind Values = false for the accessor.
yet, i would suggest to find an other way to populate values of LOV since the executeQueryForCollection will be executed many times when you use that LOV:
[http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html]
Maybe you are looking for
-
Etre check shows a problem ? MacBook Pro 13" late2011
EtreCheck version: 1.9.15 (52) I HAVE A SYSTEM LAUNCH DAEMONS FAILURE CAN ANYONE ASSIT ME TO CORRECT THANK YO IN ADVANCE Report generated August 19, 2014 at 9:39:14 PM EDT Hardware Information: ? MacBook Pro (13-inch, Late 2011) (Verified
-
Does Lion work with Office for Mac?
Does Lion work ok with Office for Mac? I have the latest version of Office for Mac, but it is the cornerstone of my working life and I would hate to upgrade and find that it doesn't work.
-
Smart playlists not updating on touch
Since i upgraded from an ipod video to touch, my smartplaylists with "last played is not in the last X days" criteria are not live-updating on the ipod. I read on several posts that this is a known bug and apple chooses not to fix it. How is this pos
-
Need really big combobox for touch screen use-
I'm something of a Flash noob trying to convert an old Director project to Flash/AS3 for touch screen and web deployment. The project makes extensive use of comboboxes but the default style is entirely too small for use on a touch screen. I found (an
-
I have no idea how to solve this problem. Are there any suggestions?