How to populate Navigation List
Hi
I need to populate a navigation list with values obtained from an RFC.
Can I do this in the same way as populating DDBK?
The DDBK is linked to a Context Value Attribute, but the Navigation List is linked to a Context Node. The context value attribute linked to the DDBK is "addBusUnit". The context node linked to the Navigation List is "TeamList" with value attribute "Member". How would I change the following code(from the DDBK) so that it will work with the Navigation List?
IWDAttributeInfo attinfoBus = wdContext.getNodeInfo().getAttribute("addBusUnit");
ISimpleTypeModifiable modinfoBus = attinfoBus.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet = modinfoBus.getSVServices().getModifiableSimpleValueSet();
try
wdContext.currentZhr_360_Teamviewer_InputElement().modelObject().execute();
for (int i = 0; i < wdContext.nodeZteamviewers().size(); i++)
valueSet.put(wdContext.nodeZteamviewers().getZteamviewersElementAt(i).getZzpaycode(),
wdContext.nodeZteamviewers().getZteamviewersElementAt(i).getZzfullname());
catch (WDDynamicRFCExecuteException d)
manager.reportException(d.getMessage(), false);
thanks in advance
Anton
To populate a NavigationList, bind the "itemSource" property to a context node and bind the other "item*" attributes to attributes inside that node. The item source may be a recursive node.
Say the item source node is named "NavItems" with attributes "FullName" and "PayCode". Then you may use code like
try
wdContext.currentZhr_360_Teamviewer_InputElement().modelObject().execute();
wdContext.nodeNavItems().invalidate();
for (int i = 0; i < wdContext.nodeZteamviewers().size(); i++)
IZteamviewersElement e = wdContext.nodeZteamviewers().getZteamviewersElementAt(i);
INavItemsElement navItem = wdContext.nodeNavItems().createNavItemsElement();
wdContext.nodeNavItems().addElement(navItem);
navItem.setPayCode(e.getZzpaycode());
navItem.setFullName(e.getZzfullname());
catch (WDDynamicRFCExecuteException d)
manager.reportException(d.getMessage(), false);
Bind NavigationList.itemText property to "FullName" to get the full name displayed as item text.
Armin
Similar Messages
-
How to populate a list box linked to selection in combo box?
Hi All,
I am a beginner in Xcelsius. I am having problem on how to populate a list box based on the selection on my combo box.
I have a combo box and a list box. The combo box value consist of Countries. Values are:
Singapore
Indonesia
Thailand
When I select, for i.e. Indonesia, I want to populate the list box with all the Postal Code of Indonesia. When I select Thailand, i want to do the same.
Can anyone shed some lights on how to achieve this?
My spreadsheet data is as follow
Country Postal Code
Singapore 680123
Singapore 680124
Singapore 680125
Indonesia 155123
Indonesia 155124
Indonesia 155125
Indonesia 155126
Thailand 333123
Many Thanks,
HariantoHi,
I am detailing the complete steps below:
In the combobox select the entire range of Country while seeing the records from the Combobox, Xcelsius will automatically show the unique values in the selection.
After that in the "Data Insertion" section for Combobox select the "Insertion Type" as "Filtered Rows" (please click on the question mark beside this option and it will show how the selection works).
In the source select the postal code, in the destination select the range which will be used as a data source for the list box.
This will resolve the concern. Please remember to select the question mark beside the "Insertion Type" option, it explains the working in specific details.
Best of luck.
Regards,
Gourav -
How to Populate a List item with LOV'S
How to Populate a list of items with Lov's
and then how to dynamically change the Values of one LIST Item
Based on the Value of anothe List item976798 wrote:
--Hello..I want to ask that How to bind a list item with table values? this below code does not populate items from database to list item.Pls any body give me solution.
declare
group_id RecordGroup;
list_id Item:=Find_Item('LST_CLASS');
status number;
begin
group_id:=Create_Group_From_Query('Answer_List','select CLASS_ID,CLASS_NM from CLASS_MSTR');
status:=Populate_Group('Answer_List');
message(to_char(status));
Populate_List(list_id,group_id);
end;Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
Check this link: How to Dynamically Populate a Pop List ?
Hope this helps
Hamid
If someone's response is helpful or correct, please mark it accordingly. -
How to populate a list item...
Hi Guys,
i have created one of the field on my form as List Item. Now i want to populate this Item with some values in a table.
I have a base table with
Country_ID and Country_Name fields.
I want to populate my List Item on the form in such a style that it just display Country_name in the list, while Country_ID is saved in the database.
The datatype of the field on my form is NUMBER.
How can i populate my list item with a values selected from a database table, description is displyed while code is to be save?
Pliz help,
Imran Baig>
Hi Guys,
i have created one of the field on my form as List
Item. Now i want to populate this Item with some
values in a table.
I have a base table with
Country_ID and Country_Name fields.
I want to populate my List Item on the form in such a
style that it just display Country_name in the list,
while Country_ID is saved in the database.
The datatype of the field on my form is NUMBER.
How can i populate my list item with a values
selected from a database table, description is
displyed while code is to be save?
Pliz help,
Imran Baighi
my question is how is the county id value assigned hidden field to be saved to the database.
secondly the reply states populate list(lstitem,grp_county) my question is which field are you populating here - the display value the country name or the county id to be saved in the database.
most of the notes says you have to create a value twice. one for label and one for value, how is this applicable to be above case.
i have a record group -
SELECT site_abbrev,TO_CHAR(site_code)
FROM sgr_site_list with 2 fields x_site not displayed but receives the site code and save to the database, the other x_site_abbrev displayed and receives site_abbrev but not saved to the database. this is the trigger i have written
declare
site_grp recordgroup := find_group('site_grp');
i_list_item item := find_item('control.x_site_abbrev');
status varchar2(80);
begin
status := populate_group(site_grp);
CLEAR_LIST(i_list_item);
POPULATE_LIST(i_list_item,site_grp);
but i get the form error 40176 cannot create list ...
can someone help please, the whole concepr is a bit confusing
thanks -
How to populate multiple list items dynamically?
Dear members,
I have a form there are 3 list items i want to populate these from a record group by dynamically.
but i can be able to populate only one list item. the others give errors.
frm-41337 cannot populate the list from record group.
following is the program unit:
PROCEDURE POPULATE_LIST_WITH_QUERY
(p_list_item in varchar2,
p_query in varchar2)
IS
cst_rg_name constant varchar2(30) :=
GET_ITEM_PROPERTY(p_list_item,item_name);
v_rg_id RECORDGROUP;
BEGIN
v_rg_id := FIND_GROUP(cst_rg_name);
if id_null(v_rg_id) then
v_rg_id := create_group_from_query(cst_rg_name, p_query);
end if;
if populate_group(v_rg_id) =0 then
populate_list(p_list_item, v_rg_id);
copy(get_list_element_value(p_list_item,1),p_list_item);
end if;
END;
i call this in the when-create-record
populate_list_with_query('gl_users.location_id',
'select location_name, to_char(location_id) from gl_locations');
populate_list_with_query('gl_users.company_id',
'select company_name, to_char(company_id) from gl_company');
populate_list_with_query('gl_users.group_id',
'select group_name, to_char(group_id) from gl_user_groups');
only one is populated others give errors.
what is wrong?
thanks
Muhammad Nadeem
Oracle Programmer
CHIMERA
Lahore
0092-0301-8334434Hi again,
Did the popup work ?
For the list item , use the built-in add_list_element in a loop. Example : in the pre-form or when-new-form-instance trigger ,
clear_list('block_name.list_item_name');
for rec in (select column1,column2 from t_table order by 1 desc) loop
ADD_LIST_ELEMENT('block_name.list_item_name', 1, rec.column1, rec.column2);
end loop;
See you -
How to populate a list dynamically
Being new b I am tasked on one project and I think I am making some progress on it. Currently I need to display some values in a list dynamically. The layout of the list is as follows:
Here is your class schedule for week 05/13/2006:
. Saturday
. Sunday
. Monday
a. Econimics-101
b. Maths-101
. Tuesday
. Wednesday
. Thursday
a. Arts-200
. Friday
Days are constant and only thing that will change is the course number. Any ideas or samples to do this? I have the code that pulls this information but don't know how to display it in a list form as shown above. ThanksYou have not provided enough information.
All I can say from what you have provided is:
Iterate over the list. Print each day's name. If that day contains schedule data, print that as well. -
How-To populate SELECT LIST default value from SQL Query
OK, I've done my homework, and did not find my answer in the Forum, so here it is.
I have a Page that displays fields from a SQL Query. The Page also has below that radiogroups, checkboxes, and Select Lists to allow the user to change values in the fields that are displayed at the top of the Region. I am able to pre-populate the radiogroups and checkboxes by performing a SELECT in the 'Source value or expression' of the Source area of the Page Item.
However, I am unable to do the same for the Select List fields. Their default value ends up being the first value in the LOV ('-- None --' for NULL values). Source Used: Only when current value in session state is null. Source Type: SQL Query. Also, when I first go into the Page when running it, and check the Session State values, they are all null, so I don't understand why the field is not populated by the SQL Query statement as the radiogroups and checkboxes are.
Any suggestions??? I've tried all sorts of combinations.Thank you for the suggestion.
I had considered that, but cannot do so, because we are using Oracle Application Express more for development than for data containment.
We have all our data in an Oracle 10.g DB which is separate from the OAEX server, and the OAEX app will reference that data via VIEWs and DB LINKs. We are doing so primarily as an added data security layer, where the data is housed separate from the app, in case the Web site is ever compromised. The data that can be viewed is restricted to a subset of the actual data that is available.
Since the data is on a separate server, (I assume) we will not be able to set the source type to Database column, because (I asume) that is dependent upon the data being housed by the OAEX server.
That still leaves me with having to populate the field with a SELECT statement from the Oracle DB. This unfortuneately is almost a show-stopper for me because of down-stream processing data requirements. Have not been able to come up with contingencies yet. -
How to populate the List for second LOV using bean
hi how can i pass selected value of LOV to second LOV using bean,so can have cascading lov,my lov are as followss,am in jdeveloper 11.1.1.6.0
<td width="50%" height="22"><af:selectOneChoice
label="#{bindings.LutOrganisationtypesView1.label}"
required="true"
shortDesc="#{bindings.LutOrganisationtypesView1.hints.tooltip}"
id="soc2" simple="true"
autoSubmit="true"
immediate="true"
binding="#{pageFlowScope.orgDetailsBean.orgCat}"
value="#{pageFlowScope.orgDetailsBean.orgCat}"
attributeChangeListener="#{pageFlowScope.orgDetailsBean.listener}"
rendered="true" valuePassThru="true">
<af:forEach items="#{bindings.LutOrganisationtypesView1.iteratorBinding.allRowsInRange}"
var="row">
<af:selectItem id="tiltco2" label="#{row.description}"
value="#{row.organisationtypecode}"/>
</af:forEach>
</af:selectOneChoice>
</td>
</tr><tr>
<td width="50%" height="22">
<af:outputLabel value="Type" id="ol5" showRequired="true"/>
</td>
<td width="50%" height="22"><af:selectOneChoice
label="#{bindings.LutOrgsubtypesView1.label}"
required="true"
shortDesc="#{bindings.LutOrgsubtypesView1.hints.tooltip}"
id="soc1" simple="true"
autoSubmit="false"
partialTriggers="soc2"
immediate="false"
binding="#{pageFlowScope.orgDetailsBean.orgSubtype}"
value="#{pageFlowScope.orgDetailsBean.orgSubtype}"
rendered="true">
<af:forEach items="#{bindings.LutOrgsubtypesView1.iteratorBinding.allRowsInRange}"
var="row">
<af:selectItem id="tiltcos2" label="#{row.orgsubtypename}"
value="#{row.orgsubtypecode}"/>
</af:forEach>
</af:selectOneChoice>
</td>when i select my list i only get one list in second lov it does not show the other selection
Edited by: adf0994 on 2012/11/08 12:49 PM
Edited by: adf0994 on 2012/11/08 12:55 PMi have this value change listner but still no luck
private String orgSubtype;
public void setOrgSubtype(String orgSubtype) {
this.orgSubtype = orgSubtype;
public String getOrgSubtype() {
return orgSubtype;
public void GetOrg(ValueChangeEvent valueChangeEvent) {
orgSubtype = valueChangeEvent.getNewValue().toString();
refereshpage();
public void refereshpage(){
FacesContext facesContext = FacesContext.getCurrentInstance();
String Refreshpage = facesContext.getViewRoot().getViewId();
ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
UIViewRoot viewroot = viewHandler.createView(facesContext, Refreshpage);
viewroot.setViewId(Refreshpage);
facesContext.setViewRoot(viewroot);
}i get this error
Caused By: java.lang.IllegalArgumentException: Cannot convert PRIV of type class java.lang.String to class javax.faces.component.UIComponent
at com.sun.el.lang.ELSupport.coerceToType(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:250)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:513)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:782)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
at oracle.adfinternal.view.faces.unified.taglib.input.UnifiedSelectOneChoiceTag.doStartTag(UnifiedSelectOneChoiceTag.java:51)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.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 weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
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.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)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = srd-ws23042 TXID = CONTEXTID = f43e1d034e2e3af8:-7fc86077:13ae01cb0a4:-8000-0000000000000056 TIMESTAMP = 1352380663628
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
my LOV IS
<af:selectOneChoice
label="#{bindings.LutOrganisationtypesView1.label}"
required="true"
shortDesc="#{bindings.LutOrganisationtypesView1.hints.tooltip}"
id="soc2" simple="true"
autoSubmit="true"
immediate="true"
binding="#{pageFlowScope.orgDetailsBean.orgCat}"
value="#{pageFlowScope.orgDetailsBean.orgCat}"
rendered="true"
valueChangeListener="#{pageFlowScope.orgDetailsBean.GetOrg}">
<af:forEach items="#{bindings.LutOrganisationtypesView1.iteratorBinding.allRowsInRange}"
var="row">
<af:selectItem id="tiltco2" label="#{row.description}"
value="#{row.organisationtypecode}"/>
</af:forEach>
</af:selectOneChoice>Edited by: adf0994 on 2012/11/08 1:34 PM
Edited by: adf0994 on 2012/11/08 4:15 PM
Edited by: adf0994 on 2012/11/08 4:49 PM -
How to populate 'Select List' based on Radiogroup selection?
Hi,
I've a Radiogroup and on the selection of any of its item, I've to populate a 'Select List' from DB, what is the best way to do this?
I'm on APEX 2.1.0.00.39, and the Radiogroup & Select List are part of a Form Region.
To be honest, I don't even know whether to use Radiogroup with submit or redirect :-)
Thanks for the help,
-HozyHi,
I have never worked on ver 2 of APEX so i dont know wheter these functionality will work or not..
Option 1)
1) Make the Radiogroup as Radiogroup(with submit)
2) Create a select list with query something similar to
select display_value d , return_value r from myTable where someColumn = :P1_MY_RADIO_BUTTON;
Option 2) Use AJAX.. htmldb_Get()
Regards,
Shijesh -
How to populate List Item from the table in a form builder
I want to know how to populate the List Item (pop up menu and combo box) from a table.
Supposing I have a table Customer(cust_id,cust_name)
and now I want to populate it in such a manner that I can update the data back to the database and also access the list on the form.This is the method i am using to populate a list.
1- First of all you need to create a non-database list item for customer_name.
2-create this procedure
PROCEDURE populate_list_with_query
--Populates the given list item with the specified query.
(p_list_item in VARCHAR2
,p_query in VARCHAR2)
IS
/* Name the record group after the list item (no
block prefix). */
cst_rg_name constant VARCHAR2(30) :=
GET_ITEM_PROPERTY(p_list_item,item_name);
v_rg_id RECORDGROUP;
BEGIN
v_rg_id := FIND_GROUP(cst_rg_name);
IF ID_NULL(v_rg_id) THEN
v_rg_id := CREATE_GROUP_FROM_QUERY(cst_rg_name,p_query);
END IF;
IF POPULATE_GROUP(v_rg_id) = 0 THEN
POPULATE_LIST(p_list_item,v_rg_id);
/* Force display of first list element label
in the list item. */
COPY(GET_LIST_ELEMENT_VALUE(p_list_item,1),p_list_item);
END IF;
END populate_list_with_query;
3- Create When-Create-Record on the block level and write this code
BEGIN
POPULATE_LIST_WITH_QUERY('bk1.customer_name',
'SELECT customer_name, to_char(customer_id) FROM customer');
END;
In this example, the customer name is the (visible) list label and the customer ID is the (actual) list value
i hope this will solve your problem ... -
How to populate Java Beans List from the DB ?
Hi,
I have three tables called State,District and College.
Assume, State table has fields statid,statename,statedescr
District table has fields districtId,districtname,districtdescr and stateid
College table has fields collegeid,collegename,collegedescr and districtid
and all ids for the respective tables are primary keys .. and District and College tables have foriegn keys as expected...
I want to send the whole information to the front end... I had designed three beans StateBean,DistrictBean and CollegeBean.. where all the three beans will have the related fiields and respective getter and setter methods like below
StateBean -- stateid,stateName,stateDesc and DistrictBeanList
DistrictBean -- districtid,districtName,districtDesc and CollegeBeanList
CollegeBean -- collegeid,collegeName,collegeDesc
I would like to have the JDBC code (any driver,any DB) so that I need to build one StateBeanList (collection of all the statebeans information) ... (like how to write the query to get the whole information from the DB and populate the same into one list..(Query or queries + resultset operation)
I hope you understand my problem ...
Please let me know if I have to be more clear...
Thanks in Advance,
Vidhya...Thanks Sachin,
Atleast you understand something of my requirement..
But Actually I want the logic like
if the query is like
select * from State
while(rs.next) {
StateBean object = new StateBean(); // StateBean
object.yourcorrespondingsetter(rs.getString(1));
object.yourcorrespondingsetter(rs.getString(2));
object.yourcorrespondingsetter(rs.getString(3));
object.setDistrictBeanList(districtbeanlistalreadypopulated); // how to populate the list of districtBeans list before ....
listobject.add(object ); // object internally has to have districtBean list, so the district bean list has to be loaded with all the distrct Beans in which every DistrictBean will be loaded with list of CollegeBeans ... Which district belongs to which state and which college belongs which district is all there in the table information ...
Now I want the query or queries to do that .... Can someone help me ?
Please let me know if I have to be more clear...
} -
How to populate list in tree view dynamically
Hi,
I am new to Indesign Plugin creation.
I want to create list in tree view dynamically.
I tried wlistboxcomposite sdk sample in indesign cs4.
I have some doubts in this.
1. Can i write my own method in WLBCmpTreeViewAdapter class because it's implements ListTreeViewAdapter
If it's possible how can i call this method.
2. In this example they populating static string in constructor like this
WLBCmpTreeViewAdapter::WLBCmpTreeViewAdapter(IPMUnknown* boss):ListTreeViewAdapter(boss){
K2Vector<PMString> lists;
for (int32 i = 0; i< 12; i++){PMString name(kWLBCmpItemBaseKey);name.AppendNumber(i+1);name.Translate();lists.push_back(name);}
InterfacePtr<IStringListData> iListData(this, IID_ISTRINGLISTDATA);}
and this list is populating on loading time but my requirement is i have one button "get list" after clicking this button i have to populate the list, how can
i achieve this.
Pls do needful.
Thanks
ArunThe TreeViewAdaptor is responsible for mapping your custom data to the tree view itself. I almost always start by making it return some fixed number of objects with names "item 1" etc. That way you get the tree view working first.
Then, after you get it laid out and displaying properly, you can worry about using real data. At that point, you have your adaptor return the actual number of items in your list and each individual item. Then you can populate your list when you push your button and then invalidate the IControlView of the tree view widget to cause it to redraw. At that point your adaptor will get called and your data should appear.
Jon
"Expert for hire" -
How to populate values in List Box in Adobe form
Hi,
How to populate values in List box in adobe forms?
Thanks
RBif you want to display a fixed values in the dropdown you can use list box ui and can specify values there
or if u want to display values from the context node of the webdynpro
1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
with regards
shanto aloor -
How to populate list component via xml file?
There is a TextArea component that should show the name and
the description of the item selected in the list component. But I
dont know how to populate list with external XML and what should be
the coding in flash as well as what should be written in the XML.
Please help.Here's an xml file listing a couple of brother comedy teams:
<?xml version="1.0" encoding="UTF-8"?>
<team>
<brothers>
<Marx>
<name>Groucho</name>
<name>Chico</name>
<name>Harpo</name>
<name>Zeppo</name>
<name>Gummo</name>
</Marx>
<Howard>
<name>Moe</name>
<name>Curly</name>
<name>Shemp</name>
</Howard>
</brothers>
</team>
Open a new .fla and save it in the same folder as the .xml
file. Place a List Component on the Stage and name it (in this
case, "comicTeams_list"). In the first frame write the following
ActionScript:
//create XML object and load external xml file
var broList:XML = new XML();
broList.ignoreWhite = true;
broList.onLoad = processList; // this is a function that will
be written below
broList.load("populateList.xml");
function processList(success:Boolean):Void{
if(success){
loadList();
}else{
trace("Load failure");
function loadList():Void{
var broName:String;
var listEntries =
broList.firstChild.childNodes[0].childNodes[0].childNodes.length;
for(var i:Number = 0;i<listEntries;i++){
broName =
broList.firstChild.childNodes[0].childNodes[0].childNodes
.childNodes[0].nodeValue;
trace(broName);
comicTeams_list.addItem(broName);
//to make something happen when you click on a name in the
List, create a Listener and function
var broListListener:Object = new Object();
broListListener.change = someAction; //"someAction" is a
function to be written shortly
//add the Listener to the List
comicTeams_list.addEventListener("change", broListListener);
function someAction(evtObj:Object):Void{
var pickedBrother:String = evtObj.target.selectedItem.label;
//write actions here, referencing pickedBrother variable
The names of the Marx Brothers will appear in the box.
This is written in AS2. When you post a question, it's a good
idea include which version of ActionScript you're using. -
How to populate list box in module pool program
How to populate list box in module pool program.
Please give me reply as soon as posible
regards,
Venu.hi,
go thrugh the folling code .
TABLES sdyn_conn.
DATA ok_code TYPE sy-ucomm.
Global data
TYPES: BEGIN OF type_carrid,
carrid type spfli-carrid,
carrname type scarr-carrname,
END OF type_carrid.
DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
*& Processing Blocks called by the Runtime Environment *
Event Block START-OF-SELECTION
START-OF-SELECTION.
CALL SCREEN 100.
Dialog Module PBO
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
Dialog Modules PAI
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
Dialog Module POV
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
the following code should be included in flow logic of screen
process on value-request.
field scarr-carrname module create_dropdown_box.
in module pool select list box.
hope it is useful.
regards,
sreelakshmi.
Maybe you are looking for
-
HT2731 How can I restore my old itunes account on my new computer?
Our old computer crashed and we now have a new one. Am I able to find all of my itunes songs and get them on this computer if I never backed them up?
-
Oracle application display manager
Hi all, Can any one provide me material for OADM.I am new to oracle application display manager. Thanks in advance Thanks Elias
-
Creating Groups for Mass Text Messages and emails
I have been searching but haven't been able to find out how to create groups to send bulk text messages or emails from my iphone. Can anybody help?
-
Hi, Please tell how to get totals of a field in classical report. please help with sample code. thanks in advance.
-
Scripe error ? option grayed out
I I When I go to edit my page an alert pops up ... an error has occured in the scripe on this page . What does this mean and what is it doing to the program or preventing me from doing ? I have a lot of options grayed out and not able to use when edi