Attribute substitution not working in templates for dynamic lists
Hi all,
dynamic lists were introduced in APEX 4.1 and they can be used for drop-down menus. I am trying to use attribute substitution #A01#...#A10# in the templates without success.
Here is a sample select statement
<pre>
SELECT level,
short_title label,
'f?p=myapp:1:0::::MYAPP_ID:'||id target,
'NO' is_current,
NULL image,
'm'||TO_CHAR(id) attribute1
FROM mytable
START WITH parent_id = :MYAPP_ROOT_ID
CONNECT BY PRIOR id = parent_id
ORDER SIBLINGS BY seq_in_parent
</pre>
and here a snippet from the template
List Template Noncurrent
<li class="dhtmlMenuItem"><a id="#A01#" href="#LINK#">#TEXT#</a></li>
The substitution is not being made. It looks like a bug but maybe I'm missing something.
Any help would be greatly appreciated.
Regards Garry
Hi Garry,
When the list query is parsed, it's not the column alias that deciphers which parameters you're trying to set, it's the positioning of the parameter in the query itself. So, for example, if a user wishes to set the #A01# attribute, like in your case, then the value returned by the 8th parameter in the query will be used. In your original query, you only supplied 6 parameters i.e. up to the image attribute setting. If you're not setting anything for the image attributes, then you simply set those values to null. The syntax for the query should be similar to the following:
select level,
labelValue label,
[targetValue] target,
[is_current] is_current_list_entry,
[imageValue] image,
[imageAttributeValue] image_attribute,
[imageAltValue] image_alt_attribute,
[attribute1] attribute1,
[attribute2] attribute2,
[attribute3] attribute3,
[attribute4] attribute4,
[attribute5] attribute5,
[attribute6] attribute6,
[attribute7] attribute7,
[attribute8] attribute8,
[attribute9] attribute9,
[attribute10] attribute10
from ...
where ...
order by ...Regards,
Hilary
Similar Messages
-
Can LC Designer produce a flat PDF, not form, as a template for dynamic content?
Can LiveCycle Designer produce a flat PDF, not form, as a template for dynamic content?
Yes that means LiveCycle Designer .....the XDP is an XML file that describes the template that you want. It is turned into a PDF by the Designer as well as the LC Server I mentioned. The Designer creates interactive content (not what you asked for), the server can do the same as well as flat PDFs. I mentioned the batch mode because that is how people generally use it or they use it for real time creation of the reports but it tends to be high volume (it is a server product so it will bepriced that way). You can create an XDP that has text and "floating fields" on it. Floating Fields are special in that you can merge data with the template and once the data is put into the field it is turned into text (non-interactive). This woudl be useful for testing (requires a hands on approach) but if there is any kind of volume that you are looking for this will not be useful. The server side can be automated so that no human intervention is required.
Paul -
Ok. so I am getting pretty frustrated. I take the time to learn how to use CSS and to create a template page for a Contractor Site (www.ContractorInsurance.net). The idea is to create a page that I can use for different classes of Contractors...right?
Then I get all happy about being able to insert ToolTip onto pages to help the user. Great!
LIfe to turn to Sorrow after nearly five hours of searching for a "eeking" answer.
So what good does it do to have an Editable region to update if we cannot have the flexibility to insert a tool tip on child pages? Ok so the fast solution is to what... Have a question mark image, insert another apDiv, name it toolTip_Not and provide it with a show=hide behavior?
RRRRRrrr...
This really sucks not being able to find a solution within a reasonable amount of time.I have tried thank you. However...it is still not working.
www.ContractorInsurance.net/course_of_construction.php
The error message is "Making this change would require code that is locked by a template translator"
Re: Spry tool tip does not work in template or child pages within an editable region. Why not?
created by altruistic gramps in Spry Framework for Ajax - View the full discussion
If you have a look at the following simple document with a tooltipTooltip trigger goes here.
Tooltip content goes here.
you will notice that a couple of lines have been placed in the HEAD section of the document. When using DW templates, the HEAD section is usually not editable, hence the error mesaage. By default, your template should have an editable region in it just before the closing tag. It looks like this: <!-- TemplateBeginEditable name="head" > <! TemplateEndEditable --> Dreamweaver should be able to find that editable region and insert the
<script> tag there automatically. Because you don't have an editable region like that in the <head>, open the master template, and paste the code above just before the closing </head>
tag. Gramps
Edited to remove personal data -
RFC Sender error could not create function template for...
Hi,
I am trying to send an async RFC to XI. Since I use IN BACKGROUND TASK and COMMIT WORK I got following error in the SM58 of the back end system
Server repository could not create function
template for 'XYZ'
In the XI, I see nothing (no message, no error)
How can I fix this problem?
Thanks
ThomasHi Thomas,
You may need to have logical destinatio types for sender RFC. (and in the refernce entry you need to provide the actual destination)
may be some other errors also, Check this link and see if you have followed all the steps.
http://help.sap.com/saphelp_nw04/helpdata/en/25/76cd3bae738826e10000000a11402f/frameset.htm
Hope this fixes your issue.
Regards
Vishnu -
Date picker is not working in IE9 for sharepoint 2010 appliation pages
Hi,
Date picker not working in IE9 for sharepoint 2010 appliation pages. We have enabled custom master page.
Thanks in advance.
ShameejHi,
For this issue, you can add the following line of code into the pickerdialog.master which lays in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
<meta http-equiv=”x-ua-compatible” content=”IE=8”>
Or we can use the JavaScript code provided in this blog which would also do the trick:
http://williamwmy.wordpress.com/2013/06/03/problem-with-sharepoint-peoplepicker/
A thread with the same issue for your reference:
http://sharepoint.stackexchange.com/questions/27251/hotfix-for-problem-with-sharepoint-peopleeditor-in-ie-9
Best regards
Patrick Liang
TechNet Community Support -
How To Activate Work flow Templates for Campaign Automation
Hi friends,
i created all settings for campaign Automation.when i click start process the system showing message like campaign has not started.i am not sure about weather work flows should activate for starting campaign automation.
can u please let me know how to activate work flows and what is the path to activate work flow templates for campaign automation
Thanks®ards
kishor kumarPls forward to me as well, facing the same problem unable to start Campaign Automation.
-
YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.You will find that using the YouTube app will provide a better viewing experience for YouTube videos.
-
Not working my setting for my icloud
not working my setting for my icloud
In what way is it not working? Please give us more info.
-
I have downloaded the latest Adobe Flash on my laptop and it is not working on safari for youtube.I have uninstalled and installed it multiply times and it still wont show me youtube videos
Enable Plug-ins
Safari > Preferences > Security
Internet Plug-ins > "Allow plug-ins"
Enable it.
Press " Manage Website Settings" button for more options. -
Java it not working on pogo for me
i dont know whats going on, me and my husband both need java to get our internet games to work. well it works on his, but it will not work on pogo for me. first it was saying that the java was messed up or not right i mean up to date but i have takin it out and put it back in over and over and it still wouldnt work. and now it is saying that the pogo is messed up so i took that out and put it back in. needless to say it still wont work so if someone could give me some thing else to do or try i would appreciate it or knows why its doing thisand has some kind of info for me. thats all ty lisa.
What's a "pogo"?
-
Server repository could not create function template for 'ZBAPI_EXPORT_SO
Hi all,
When i try to post a BAPI from R3 to XI i am getting this error.
Server repository could not create function template for 'ZBAPI_EXPORT_SO
This message was appeared in SM58.
Can anyone no the root cause of this ?Hi Christoph,
Per the resolution of the CSS Ticket:
Parameters that are not mentioned in the SDN guide were needed in your particular situation.
The necessary parameters for configuring the MII side of the IDoc Listener are explained in the MII Help Documentation in the Client Properties section:
http://help.sap.com/saphelp_xmii120/helpdata/en/45/a705b23c14532ae10000000a1553f7/content.htm
All others are described in the Message Listeners section here:
http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a86ac88130dece10000000a11466f/content.htm
Can you please update this post to reflect your particular situation so the SDN community can benefit from your experience?
Kind Regards,
Diana Hoppe
Edited by: Diana Hoppe on Dec 9, 2008 9:06 AM -
Siri does not work when used for calling a contact function
Siri does not work when used for calling a contact function
Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
If it continues try to restore it. -
Mosip app not work in wifi for i phone6 but it work mobile data
mosip app not work in wifi for i phone6 but it work mobile data
I don't know, you'll have to talk to MoSIP about it...
See MagicJack and Google Hangouts for more up-to-date apps regarding iPhone VoIP. -
My mini with IOS 7.0.6 is not showing an option for wish list in the options. What is happening?
The three Rs to IOS, try them in order until the issue is resolved;
Restart - Press and hold the Power button until the red Power Off stripe appears. Swipe to power off. Press and hold the Power button to turn the device back on.
Reset - Press & hold the Power and Home buttons simultaneously, ignoring the red power off slider, until the Apple logo appears. Then release both buttons.
Restore - Connect the device to the Mac or PC with which it is usualy synced and use the iTunes app to restore the device to the factory settings. You can then restore the device with a previously made backup or set it up as new. -
Visible attribute does not work for af:showDetailItem using EL
I cannot get the visible attribute to work using EL and ppr.
Here is a simple test. I have a jspx with a button (cb1) that toggles a boolean (tab1visible) in a Backing Bean. The af:panelTabbed and af:showDetailItem have partialTriggers="cb1".
The af:showDetailItem has visible="#{TabTestBk.tab1visible}" and the EL is also set in the title so that I can see how it's set.
When I press the button (cb1) the visibility of the tab does not change but the title does.
Any help would be greatly appreciated!
Here is the code:
------------------------- JSPX -----------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document>
<af:form>
<af:spacer height="10"/>
<af:commandButton text="Toggle Tab 1 - visible = #{TabTestBk.tab1visible}" binding="#{TabTestBk.cb1}"
id="cb1"
actionListener="#{TabTestBk.toggleTab1AL}"/>
<af:spacer height="20"/>
<af:panelTabbed id="detailNavPane" partialTriggers="cb1">
<af:showDetailItem id="tab1" visible="#{TabTestBk.tab1visible}" text="Tab 1 visible = #{TabTestBk.tab1visible}" partialTriggers="cb1">
<af:outputText value="Tab 1 Content"/>
</af:showDetailItem>
<af:showDetailItem id="tab2" text="Tab 2">
<af:outputText value="Tab 2 Content"/>
</af:showDetailItem>
<af:showDetailItem id="tab3" text="Tab 3">
<af:outputText value="Tab 3 Content"/>
</af:showDetailItem>
</af:panelTabbed>
</af:form>
</af:document>
</f:view>
</jsp:root>
------------------------- BACKING BEAN -----------------------------------------------------
package com.riscs.ui.backing.jsp.claim;
import javax.faces.event.ActionEvent;
import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
public class TabTestBk {
private RichCommandButton cb1;
private boolean tab1visible = true;
public void toggleTab1AL(ActionEvent event) {
setTab1visible(!tab1visible);
public void setTab1visible(boolean tab1visible) {
this.tab1visible = tab1visible;
public boolean isTab1visible() {
return tab1visible;
public void setCb1(RichCommandButton cb1) {
this.cb1 = cb1;
public RichCommandButton getCb1() {
return cb1;
Thanks!
Matt
Edited by: Matt Cannon IBI on Apr 3, 2010 2:45 PM
Edited by: Matt Cannon IBI on Apr 5, 2010 12:20 AMHi Frank,
Thanks for the reply! When providing the simple example I left partialSubmit="true" off by mistake... I put it on and still does not work...
Thanks,
Matt
Maybe you are looking for
-
How to resolve "network host busy; will retry" message?
There was a thread on this question about a year ago but it didn't look like it was clearly resolved and I am running into the situation... Prior to yesterday, my configuration was as follows: an iMac and a Windows laptop connected to a wireless netw
-
Missed due date for quiz due to vacation
Hi, I was on a two weeks vacation (8-22 June) and now I'm seeing that I already missed the due date for lesson 2 quiz. What should I do? Thanks and regards Thomas
-
Hello, we have the following problem We have our application in a server. We want to exeecute flash printer from aspnet page passing parametters "ourfile.pdf" -o "ourfile.swf" If we execute flashprinter from console it works perfectly, but from our a
-
How do I a SMC reset and PRAM zap?
Hi, My MBP will go to a blue/grey screen ahortly after I try to open a browser (Safari and Firefox). I have to hold down the power button to reboot it. I'd like to do a SMC reset and PRAM zap to see if that will help solve the problem, but have forgo
-
Bridge CS6 not connecting to InDesign or Photoshop
Indesign and Photoshop can no longer connect to Bridge. It states that Bridge not on the system but it is there and working? From within InDesign i click on the Bridge button and it tells me i have to install Bridge!!! and from within Bridge you cann