How to add property through managed-beans.xml
Hi,
I am trying to take a hard coded value property from managed-beans.xml file. I tried using :
<managed-property>
<property-name> filename </property-name>
<value> xx </value>
I called getProperty("filename"); from one of my bean classes and it did not recognise it.
I am not sure how to do this one. any help will be appreciated.
Thanks
I'm not sure what getProperty method you are referring to in your original posting. Is this a method on your managed bean class?
Managed beans are implemented as regular JavaBeans so you will need to add a setFilename(String) and getFilename() method to your backing bean class to get this to work correctly. The setter method will get called automatically when the bean is first instantiated, either by accessing it from a JSP value-binding expression as a result of calling context.getApplication().getVariableResolver().resolve(context, beanName) where context is an instance of FacesContext and beanName the name of the managed bean as specified in faces-config.xml. You can then use the getter method to access the property value from within your application code.
Alternatively, if you don't want to implement a JavaBean class, you can specify java.lang.HashMap as the managed bean class and use myBean.get("filename") to access the property instead.
Hope this helps.
-- Keith
Similar Messages
-
How to automate managed beans.xml update
I am using JSC 2.0 ea and am trying to add a "loginBean" based on the example in java studio creator field guide. The process explained in the book, ie right-click "source package" add java package, right-click newly created package and add "managed bean" - this does not exist in jsc 2.0, so when you add a class file the managed-beans.xml file is not updated - is their an automated process to add a managed bean in jsc 2.0?
Hi,
Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
https://feedbackprograms.sun.com/login.html
Thanks,
Creator Team -
Can you add a new managed bean when customizing taskflows?
Hi,
I see post on how to customize taskflows and most of the customization involves rendering changes such as showing/hiding parts of the page..
But I was thinking is it possible to create your own managed bean in Customization Role of JDeveloper?
I notice that when I right click some package, the New option is disabled by default? Does this mean that customization is limited to changing
only the UI/JSFF file? The documentation does not mention about this or it maybe that I could not find it.
What I would like is that, the new managed bean I define in my Customization Role will drive the UI.
Anybody has done customization at this level? Would like to know your thoughts please.
Is this possible or should I point my thinking in the other directions?
Thanks.
This is a Webcenter Portal Application by the way and I am looking into customizing an existing taskflow thru MDS means.
Webcenter 11G PS5You cannot add a new managed bean via customization. Instead, these may be deployed as ADF Library jars within a shared library or as part of the Portal war.
Once a managed bean has been added as above, then it can be referenced within a taskflow customization. For e.g. you can add a new button with the action set to a method in the managed bean. -
How to access all rows one by one of a ADF table through managed bean
Hi Experts,
Hi i am new in ADF.
Could someone help me for solving the below case?
Scenario - I have table called Test_T1 which have 4 columns C1,C2,C3,C4. Have created EO,VO and AM for test_t1.
At the time of ADF page creation i selected the option 'Automatically Exposed UI components in New managed bean' (mynewmanagedbean.java).
From Data control drag and drop Test_T1 table in the page as a ADF table.
Set the properties for C1,C2,C3 is read only and C4 is an input text.
Have add after the table and attathed button action on the managed bean mynewmanagedbean.java.
At the time of running the page Test_T1 populated with some no. of rows (like 9).
How can i access all the above rows through pressing the button without selection of any of them.
Actually i want to print all the table rows in log file at the time of pressing the button.
Thanks in advance.Hi Timo,
Thanks a lot for your reply.
I am using the JDeveloper 11.1.2.1.0.
As previously said I am totally new in this framework. So if you explain the solution given by you then it will be help full for me.
Don't know r you agree or not for this ?
When i put your resolution in the command button bean JDeveloper said TestDataRow type not found.
What will be the type and TestDataRow and what is missing in below code or how i will declare that in below code?
Also Could please mentioned the missing thing ?
package createrow.view.pagecreation.bean;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCIteratorBinding;
import org.apache.myfaces.trinidad.model.RowKeySet;
import oracle.adf.model.BindingContext;
import java.util.Iterator;
import java.util.List;
import oracle.adf.model.bean.DCDataRow;
import oracle.jbo.Key;
import oracle.jbo.Row;
import oracle.jbo.RowSet;
import oracle.jbo.RowSetIterator;
import oracle.jbo.ViewObject;
public class OrdCreationWithManagedBean {
public String cb1_action() {
// Add event code here...
DCBindingContainer bindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding dcIteratorBindings =
bindings.findIteratorBinding("TestOrderItemAllocationVO1Iterator");
// Get all the rows of a iterator
Row[] rows = dcIteratorBindings.getAllRowsInRange();
TestDataRow dataRow = null;
for (Row row : rows) {
dataRow = (TestDataRow)((DCDataRow)row).getDataProvider();
// work with the row...
return null;
My page bindings like below
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="11.1.2.60.81"
id="OrdCreationWithManagedBeanPageDef" Package="createrow.view.pageDefs">
<parameters/>
<executables>
<variableIterator id="variables"/>
<iterator Binds="TestOrderItemAllocationVO1" RangeSize="25" DataControl="MainAppModuleDataControl"
id="TestOrderItemAllocationVO1Iterator"/>
<iterator Binds="TestOrderItemsEOView1" RangeSize="25" DataControl="MainAppModuleDataControl"
id="TestOrderItemsEOView1Iterator"/>
</executables>
<bindings>
<tree IterBinding="TestOrderItemAllocationVO1Iterator" id="TestOrderItemAllocationVO1">
<nodeDefinition DefName="createrow.view.TestOrderItemAllocationVO" Name="TestOrderItemAllocationVO10">
<AttrNames>
<Item Value="AllocationId"/>
<Item Value="AlocationSequence"/>
<Item Value="ProductName"/>
<Item Value="AllocationPercentage"/>
</AttrNames>
</nodeDefinition>
</tree>
<tree IterBinding="TestOrderItemsEOView1Iterator" id="TestOrderItemsEOView1">
<nodeDefinition DefName="createrow.view.TestOrderItemsEOView" Name="TestOrderItemsEOView10">
<AttrNames>
<Item Value="OrderId"/>
<Item Value="AllocationId"/>
<Item Value="ProductName"/>
<Item Value="OrderItemsQty"/>
</AttrNames>
</nodeDefinition>
</tree>
</bindings>
</pageDefinition>
Thanks In Advance -
Query with bind variable, how can use it in managed bean ?
Hi
I create query with bind variable (BindControlTextValue), this query return description of value that i set in BindControlTextValue variable, how can i use this query in managed bean? I need to set this value in String parameter in managed bean.
ThanksPut the query in a VO and execute it the usual way.
If you need to, you can write a parameterized method in VOImpl that executes the VO query with the parameter and then call that method from the UI (as a methodAction binding) either through the managed bean or via a direct button click on the page. -
How do I use a managed bean in another managed bean
I have two managed beans. One is backing bean for a form and the other is used to access a database table.
1st bean
public class TestDBAO
@PersistenceContext
private EntityManager em;
public void addEntry(PersonObj person)
em.persist(person);
public class formdata
private String id;
private String fname;
private String lname;
getter functions
setter functions
public String submit()
in here i want to call addEntry function from TestDBAO
How can I achieve this or is there another way to do this?Do I understand correctly that you have definied TestDBAO as a session scoped managed bean? Why?
You don't need that. Just create and call TestDBAO in the backing bean. Or if you want only one instance of TestDBAO during the session, then create a singleton constructor and eventually make the methods static. -
How to add a digital signature in xml publisher report
The problem is: There is a existing pick slip report.This is a xml publisher report and the data source is RDF. We have to add digital signature there. Now this signature is stored in a table with type Long Raw and format BMP. XML Publisher do not support Long Raw and BMP format. It supports BLOB and jpg format.
Could you please guide how to add this signature in the existing RDF with datatype as BLOB and format as jpg.
Please provide the steps with example.Hi,
Have a look at this thread.
Implementing electronic signatures on an existing AP check run
Re: Implementing electronic signatures on an existing AP check run
Regards,
Hussein -
How to invoke popup from managed bean
Hi Can anyone give me idea for invoking a pop-up from method in the managed bean plz,
Here my coding,
<?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 id="d1" binding="#{backingBeanScope.backing_untitled5.d1}">
<af:form id="f1" binding="#{backingBeanScope.backing_untitled5.f1}">
<af:commandButton text="commandButton 2"
binding="#{backingBeanScope.backing_untitled5.cb2}"
id="cb2"
action="#{backingBeanScope.backing_untitled5.cb2_action}"/>
</af:form>
<af:popup binding="#{backingBeanScope.backing_untitled5.p1}" id="p1">
<af:panelWindow binding="#{backingBeanScope.backing_untitled5.pw1}"
id="pw1"/>
</af:popup>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled5-->
</jsp:root>
Managed bean coding,
import javax.faces.context.FacesContext;
import oracle.adf.view.rich.component.rich.RichDocument;
import oracle.adf.view.rich.component.rich.RichForm;
import oracle.adf.view.rich.component.rich.RichPanelWindow;
import oracle.adf.view.rich.component.rich.RichPopup;
import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;
import org.apache.myfaces.trinidad.util.Service;
public class Untitled5 {
private RichForm f1;
private RichDocument d1;
private RichPopup p1;
private RichPanelWindow pw1;
private RichCommandButton cb2;
public void setF1(RichForm f1) {
this.f1 = f1;
public RichForm getF1() {
return f1;
public void setD1(RichDocument d1) {
this.d1 = d1;
public RichDocument getD1() {
return d1;
public void setP1(RichPopup p1) {
this.p1 = p1;
public RichPopup getP1() {
return p1;
public void setPw1(RichPanelWindow pw1) {
this.pw1 = pw1;
public RichPanelWindow getPw1() {
return pw1;
public void setCb2(RichCommandButton cb2) {
this.cb2 = cb2;
public RichCommandButton getCb2() {
return cb2;
public String cb2_action() { .
FacesContext context = FacesContext.getCurrentInstance();
ExtendedRenderKitService extRenderKitSrvc =
Service.getRenderKitService(context, ExtendedRenderKitService.class);
extRenderKitSrvc.addScript(context,"AdfPage.PAGE.findComponent('" + p1 + "').show();");
return null;
looking for ur reply
Regards,
TomIf you are using JDev 11.1.1.3, then in a managed bean method use the following to show or hide the popup:
RichPopup.PopupHints hints = ...<set_the_hints>...;
p1.show(hints);
// or
p1.hide();If you are using an older JDev 11g, then use the following:
* Hides a popup.
* @param popup Popup to be hidden.
public static void hidePopup(RichPopup popup) {
FacesContext context = FacesContext.getCurrentInstance();
String popupId = popup.getClientId(context);
StringBuilder script = new StringBuilder();
script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ")
.append("if (popup.isPopupVisible()) { ")
.append("popup.hide();}");
ExtendedRenderKitService erks =
Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
erks.addScript(context, script.toString());
* Shows a popup.
* @param popup Popup to be shown
public static void showPopup(RichPopup popup) {
showPopup(popup, null);
* Shows a popup alligned to the start of specified UI component.
* @param popup Popup to be shown
* @param component UI component to allign to
public static void showPopup(RichPopup popup, UIComponent component) {
FacesContext context = FacesContext.getCurrentInstance();
String popupId = popup.getClientId(context);
String alignId = (component==null) ? null : component.getClientId(context);
StringBuilder script = new StringBuilder();
script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ")
.append("if (!popup.isPopupVisible()) { ")
.append("var hints = {}; ");
if (alignId!=null) {
script.append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ")
.append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_START; ");
script.append("popup.show(hints);}");
ExtendedRenderKitService erks =
Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
erks.addScript(context, script.toString());
}You can find these methods in the Steve Muench's utility class JSFUtils.
Dimitar
Edited by: Dimitar Dimitrov on Nov 15, 2010 2:59 PM -
How to Open PopUp from Managed Bean?
Hi,
Can you please let me know how can we open a pop up from managed bean.
Thanks & Regards,
Kiran KonjetiHi,
I got the answer for this question.
Write the following code in Managed Bean
==========================
private RichOutputText errorText;
private RichPopup PopUp;
Generate accessors(setters & getters) for these 2 variablesAnd place this method in your managed bean.
> private void showPopup(RichPopup popUp, UIComponent source) {
> FacesContext context = FacesContext.getCurrentInstance();
> String popupId = popUp.getClientId(context);
> String alignId = source.getClientId(context);
> StringBuilder script = new StringBuilder();
> script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ").append("if (!popup.isPopupVisible()) { ").append("var hints = {}; ").append("hints
[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ").append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_START; ").append("popup.show(hints);}");> ExtendedRenderKitService erks =
> Service.getService(context.getRenderKit(),
> ExtendedRenderKitService.class);
> erks.addScript(context, script.toString());
> }
Now, how to call this method from your managed bean ... depends upon situation.
public void sendEmailstoBorrowers(ActionEvent actionEvent) {
.....................some logic ...............> if(true){
> personHistoryStatus = defaultPreventionHelper.writeBorrowerHistory(borrowersList,getFormattedAction());
> this.errorText.setValue((borrowersList != null ? borrowersList.size() : "")+" E-mails have been sent successfully..!");
> }else{
> this.errorText.setValue("Unable to send emails. Please contact System Administrator..!");
> }
> showPopup(this.getPopUp(), actionEvent.getComponent());
}And ... what do we need to do on the UI??
Write the following code in UI -- Here is the button which calls sendEmail method
==================================================
><af:commandButton text="SEND" id="cb3"
>shortDesc="Click 'Send' to send emails."
>styleClass="defaultButton"
>blocking="true"
>disabled="#{pageFlowScope.DefaultPreventMB.disablePrintButton || bindings.DelinquentBorrowersList.estimatedRowCount == 0}"
>rendered="#{pageFlowScope.DefaultPreventMB.formattedAction eq 'E-mail'}"
>partialTriggers="t2:dlDelete"
>actionListener="#{pageFlowScope.DefaultPreventMB.sendEmailstoBorrowers}"/>
Once this button get clicked ... it calls sendEmailstoBorrowers, and based on the result(either true or false) the method sets the content for the pop up and opens the popup from managed bean.
And here is the code for which we have to keep inside the jsff and this gets invoked from managed bean.
><af:popup id="p1" binding="#{pageFlowScope.DefaultPreventMB.popUp}">
> <af:dialog id="d1" type="ok" title="E-mail Communication Status">
><af:outputText value="E-mails have been sent successfully..!"
> id="ot11"
>binding="#{pageFlowScope.DefaultPreventMB.errorText}"/>
></af:dialog>
></af:popup>
Let me know if you need more information about it.
Thanks & Regards,
Kiran Konjeti -
Rendered Property calling managed bean Multiple Times
Hi
We have a problem within a command button in a jspx, which includes a rendered tag which references a managed bean method via EL.
e.g.
rendered="#{PERUserInfo.trainee}"
When I debug the jspx, the PERUserInfo.trainee method is called 4 times instead of once.
We have noticed similar findings when using managed bean methods via the rendered property. i.e. calls getters multiple times.
Any idea why this is happening?
We are using JDeveloper v10.1.3, JHS v10.1.3 SU1.
All comments appreciated.
Cheers
DenisDenis,
There can be many reasons why your bean method is called multiple times; but I would consider this perfectly normal in any JSF application considering all the lifecycles and (possible) Partial Page Rendering that happens.
The question is, by the way, more appropriate on the JDeveloper forum since it is not directly related to JHeadstart itself.
Hope this helps,
Evert-Jan de Bruin -
How to add extra blank space in xml
I open the xml file in notepad I get this
<XXON_EXT_BANK_ACCOUNT_NAME>創名聯合會計師事務所 </XXON_EXT_BANK_ACCOUNT_NAME>
But when I open the xml file in html format the blank space is gone.
How can I add extra blank space in xml?Hi
Why do you need the extra space for?
This difference in display that you see between your browser and notepad/notepad++
will not affect your generated report.
Bogdan -
How to add domain account manager to executable?
Hi All,
LabVIEW 8.6.1 + DSC 8.6.1
I have created local domain and some test users by using domain account manager. I also set user access levels to frontpanel indicators and controls. After that I build an .exe from my application.
When I install or move this application to other computer how I can also transfer my domain configuration to that second computer. It is assumed that these computers cannot be in same network..Can I someway add domain account manager to executable or should I install manager manually that second computer. I can't install whole labview that second computer...
BR
Solved!
Go to Solution.You will be installing the LabVIEW runtime engine to work with the LabVIEW executable.
Message Edited by Adnan Z on 03-13-2009 12:13 PM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies -
How to add a textline to an xml structure using xslt
Hi,
I am having a requirement where i need to add a textline to an xml.
scenario: IDOC-File and output format is an xml.
Output should be like this:
&&##AOC0MB000#AD15543390#BOIFCO#Z
<?xml version="1.0" encoding="ISO-8859-1"?>
<messages>
<batch>0800062844</batch>
<message>
<type>VPR</type>
<action>A</action>
</body>
</message>
</messages>
The line that has been added to xml is the data that will be coming from IDOC. How can we append the textline to the xml using xslt.Will document() in xslt works for doing this?The required format in ur scenario is not an xml format, so u should not save the file in xml format. U may write an adapter module at receiver to achieve this.
How can we append the textline to the xml using xslt
This is not possible as the output of xsl transformation is an xml file.
Regards,
Prateek -
How to add styles to image in XML view ?
Is it possible to add styles to Images in XML view ?
<Image alt="alternate text " src = " " />
I tried adding sytle= "align : right " but its not working. I just want to align this element in the view to the right.Hi Micheal,
Pleas see the below code.
View:
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
controllerName="testing.imageXml" xmlns:html="http://www.w3.org/1999/xhtml">
<Page title="Image">
<content>
<Image id="img1" alt="alttextimage" src="images/img1.jpg" />
</content>
</Page>
</core:View>
Controller:
onBeforeRendering: function() {
this.getView().byId("img1").addStyleClass("myimage");
Index.html :
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m,sap.ui.commons"
data-sap-ui-theme="sap_bluecrystal">
</script>
<script>
sap.ui.localResources("testing");
var app = new sap.m.App({initialPage:"idhome1"});
var page = sap.ui.view({id:"idhome1", viewName:"testing.imageXml", type:sap.ui.core.mvc.ViewType.XML});
app.addPage(page);
app.placeAt("content");
</script>
<style>
.myimage{float:right !important; width:300px; height:200px;}
</style>
</head>
<body class="sapUiBody" role="application">
<div id="content"></div>
</body>
</html>
Output :
Regards,
KK -
How to add processing instruction to my XML view
Hi,
How do I add the processing instruction like <?xml version="1.0" encoding="iso-8859-1"?>.
in my XML view.The only way to do at the moment is as follows... And it's not very pretty. The SQL/XML standard is still finalizing the correct way of doing this...
set echo on
connect &1/&2@&3
create or replace view EMPLOYEES_WORKBOOK_XML of xmltype
xmlschema "excel.xsd" element "Workbook"
with object id
'EMPLOYEES_WORKBOOK_XML'
as
select
xmltype(
'<?xml version="1.0"?>' ||
xmlElement
"Workbook",
xmlAttributes
'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns",
'urn:schemas-microsoft-com:office:office' as "xmlns:o",
'urn:schemas-microsoft-com:office:excel' as "xmlns:x",
'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns:ss",
'http://www.w3.org/TR/REC-html40' as "xmlns:html",
'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi",
'excel.xsd' as "xsi:noNamespaceSchemaLocation"
xmlElement
"DocumentProperties",
xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
xmlForest
USER as "Author",
USER as "LastAuthor",
'2002-10-11T15:47:35Z' as "Created",
'Oracle Corporation' as "Company",
'10.350' as "Version"
xmlElement
"OfficeDocumentSettings",
xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
xmlElement("DownloadComponents"),
xmlElement
"LocationOfComponents",
xmlAttributes('file://' as "HRef")
xmlElement
"ExcelWorkbook",
xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
xmlForest
'8835' as "WindowHeight",
'14220' as "WindowWidth",
'480' as "WindowTopX",
'60' as "WindowTopY",
'False' as "ProtectStructure",
'False' as "ProtectWindows"
xmlElement
"Styles",
xmlElement
"Style",
xmlAttributes('Default' as "ss:ID",'Normal' as "ss:Name"),
xmlElement("Alignment",xmlAttributes('Bottom' as "ss:Vertical")),
xmlElement("Borders"),
xmlElement("Font"),
xmlElement("Interior"),
xmlElement("NumberFormat"),
xmlElement("Protection")
xmlElement
"Style",
xmlAttributes('s21' as "ss:ID"),
xmlElement("Font",xmlAttributes('Swiss' as "x:Family",'1' as "ss:Bold"))
xmlElement
"Worksheet",
xmlAttributes('EMP' as "ss:Name"),
xmlElement
"Table",
xmlAttributes('11' as "ss:ExpandedColumnCount",'108' as "ss:ExpandedRowCount",'1' as "x:FullColumns",'1' as "x:FullRows"),
xmlElement
"Row",
xmlAttributes('s21' as "ss:StyleID"),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Employee ID')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'First Name')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Last Name')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Email Address' )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Phone Number' )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Hire Date')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Job Title')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Salary')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Commission Rate')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Manager')),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Department'))
xmlagg
xmlElement
"Row",
xmlAttributes('Default' as "ss:StyleID"),
xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.EMPLOYEE_ID)),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.FIRST_NAME )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.LAST_NAME )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.EMAIL )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.PHONE_NUMBER )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('DateTime' as "ss:Type"), to_char(to_char(e.HIRE_DATE,'YYYY-MM-DD"T00:00:00.000"')))),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), JOB_TITLE)),
xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.SALARY )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.COMMISSION_PCT)),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), m.FIRST_NAME || ' ' || m.LAST_NAME )),
xmlElement("Cell", xmlElement("Data", xmlAttributes('String' as "ss:Type"), DEPARTMENT_NAME )) )
xmlElement
"WorksheetOptions",
xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
xmlElement
"Print",
xmlElement("ValidPrintInfo"),
xmlElement("HorizontalResolution",96),
xmlElement("VerticalResolution",96),
xmlElement("NumberOfCopies",0)
xmlElement("Selected"),
xmlElement
"Panes",
xmlElement
"Pane",
xmlElement("Number",3),
xmlElement("ActiveRow",6),
xmlElement("ActiveCol",1)
xmlElement("ProectedObjects",'False'),
xmlElement("ProectedSecenarios",'False')
).getClobVal())
from HR.EMPLOYEES e, HR.JOBS j, HR.DEPARTMENTS d, HR.EMPLOYEES m
where e.JOB_ID = j.JOB_ID
and e.DEPARTMENT_ID = d.DEPARTMENT_ID
and e.MANAGER_ID = m.EMPLOYEE_ID
pause
create or replace trigger IGNORE_IO_OPERATIONS
instead of INSERT or UPDATE or DELETE on EMPLOYEES_WORKBOOK_XML
begin
null;
end;
show errors
pause
quit
Maybe you are looking for
-
when i compile my program i get error message that says "myfile.java uses or overrides a deprecated API. Recompile with -deprecation for details." what does this mean and how do i fix it ? thanx trin
-
Making Open in New Tab the default?
We're using Safari 3.0.4, and while I'm happy with the Command-click or right-click-and-select options to make a link open in a new tab, my son wants to know if there's a way to make "open in new tab" the default action when simply clicking on ANY li
-
OBIA 7.9.5 "Financial Analytics" GL/AR Fact load fails "error code 36331"
Hi all , For Financial analytics7.9.5 below fact load getting failed "error code 36331". 'SIL_GLOtherFact_Full' has failed. 'SIL_GLCOGSFact_Full' has failed. 'SIL_GLRevenueFact_Full' has failed. 'SIL_ARTransactionFact_Full' has failed. Let us know ho
-
All of a sudden I am getting TONS of pop up ads. I am on a Macbook Pro running OSX 10.5.8. Anyone have any suggestions for fixing the problem?
-
Essbase client perl module does not contain any files or scripts
Hi Essbase Client in the following location is empty /Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseClient-32/perlmod Essbase Server has the following files under Oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer/perlmod > ls -