Can we write getView method in rules
If yes then how we can write....please give me an idea to write......
thanks
If you read the manual 'IDM Workflows,Forms and Views' provided by Sun, you will know.
Similar Messages
-
Can we write more than one routing rule in a RS?
Can we write more than one routing rule in a RS?
You can specify multiple routing rules for a single operation of a routing service. If no filter is applied, they are all executed. For routing rules with filters, only the target operations for which the filter condition holds are invoked. Priority is based on the order in which they appear in the routing rules window.
Ronald -
How can i write code in Inbound ABAP proxy method
Hi,
All
Iam doing server proxy ascenario
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
i have done
steps:
1:I have done inbound proxy interface in xi
2:i have created a inbound abap proxy in my SAP WEB AS6.4 using SPROXY.
3:I need to write code in Z11_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS method
if i double click on that method it is not opening how can I write code.Hi,
You have to goto the class
<b>ZCL</b>_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS not
<b>Z11</b>_EMPDETAILS_IN~EXEXUTE_ASYNCHRONOUS
Check on the third step.
Regards
Vijaya -
How can i write code inside methods.
Hi,
I am new to wbdynpro. How can i write code in Webdynpro?
I have created one layout in that two textboxes are there. After entering the details when i click on the button the datas should be saved into the database table. How can i write code in this.
please help me.
ShyjaHi,
First in context create node for 2 input field. Then disign layout for input filds and do data binding. Then create button and assign ON action event to it. In action method use wizard to read the values from the node.
DATA: Node type REF TO IF_WD_CONTEXT_NODE,
elem_node1 TYPE REF TO if_wd_context_element,
stru_node1 type ZEMP.
Node = wd_Context->get_Child_Node( Name = `S_NODE2` ).
get element via lead selection
elem_node1 = node->get_element( ).
get all declared attributes
elem_node1->get_static_attributes(
IMPORTING
static_attributes = stru_node1 ).
INSERT ZEMP FROM stru_node1.
If helpful reward points.
Regards,
Karthick S -
Error: Can't find a method to write property
Hi, I'm very new to JAVA and I'm not sure if I should be posting this question here or in the JAVA forum but since it is the JSP page that is giving me the error I figure I will start here. I am receiving the error:
org.apache.jasper.JasperException: Can't find a method to write property 'dayOfWeek' of type 'int' in a bean of type 'calendar.NewCalendar'
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:368)
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:307)
org.apache.jsp.calendar.index_jsp._jspService(index_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)There isn't much to my JSP.
<html>
<body>
This is a page
<jsp:useBean id="calendar" scope="page" class="calendar.NewCalendar" />
<br>
Today is: <jsp:getProperty name="calendar" property="day" />
<br>
<jsp:setProperty name="calendar" property="dayOfWeek" value="7" />
Tommorow is: <jsp:getProperty name="calendar" property="day" />
</font>
</body>
</html>I know the problem comes from the setPropery tag but I can't figure out what is wrong with my set method.
public void setDayOfWeek(int x) {
cal.set(Calendar.DAY_OF_WEEK, x);
public String getDay() {
int x = getDayOfWeek();
if (x > 7){
return "Unknown to Man";
return days[x - 1];
public void setDayOfWeek(int x) {
cal.set(Calendar.DAY_OF_WEEK, x);
}Help! Thanks in advance.
PS. If you need the full class info let me know. Mostly I copied it from Tomcat's exaple of dates.
Edited by: Millisa on Apr 23, 2008 2:09 PMYou have declared two funtions called "setDayOfWeek" in your example code which would be a compile error.
Apart from the it works fine for me.
Note however that your check for dates "Not known to man" is probably unnecessary. The Calendar is handling that for you.
So if you set the day to be 9, it will happily wrap it around to day 2 for you, as long as it is set in Lenient mode.
Cheers,
evnafets -
Can i write Html code inside JSP method???
hi i am newbie to jsp and servlets. i am working on a project where i have to use same html code for two conditions in jsp. my question is can i write that html code inside any method in jsp?? and then can i call that method within that if and else scope. can anyone help me with this??
I don't think that does what you think it does.
<%!
void renderStateSelect(String default) { %>Creates a method with that signature and an open brace...
<select name="state"> puts:
out.println("<select name=\"state\">");
into the _jspService method
<%!
// logic to loop thru states
%>Puts the loop logic after the brace opening up the method renderStateSelect
</select>puts
out.println("</select>");
in the _jspService method
<%!
%>Closes the renderStateSelect method.
So if I do this:
<html>
<body>
<%!
void renderStateSelect(String def) { %>
<select name="state">
<%!
// logic to loop thru states
%>
</select>
<%!
%>
Hello<br/>
<% renderStateSelect("none"); %>
Everybody
</body>
</html>The html output is:
<html>
<body>
<select name="state">
</select>
Hello<br/>
Everybody
</body>
</html> The 'renderStateSelect method does not render the state select. The _jspService method does, in place where the HTML is written in the JSP file. As another look, the translated servlet looks like this:
package org.apache.jsp;
public final class IsThisOk_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
void renderStateSelect(String def) {
// logic to loop thru states
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
try {
out.write("<html>\r\n<body>\r\n");
out.write("<select name=\"state\">\r\n");
out.write("</select>\r\n");
out.write(" \r\nHello<br/>\r\n");
renderStateSelect("none");
out.write("\r\nEverybody\r\n</body>\r\n</html>\r\n ");
}See. Any plain HTML code you put outside of the <%! %> tags is converted to out.printlns inside the _jspService method (in place where they occured in the JSP, not where the method you want to do the rendering is called...)
So unless I completely misunderstood your intent here, this apprach does not work. -
Mavericks 10.9.3. MacBook. Can I write a Rule in the Mail app to return an email to Sender? I have tried many, many times but no luck so far. Is it even possible, or am I wasting my time?
There is no specific option to do that, although you can redirect a message if it meets certain criteria. I believe if you wanted to bounce it back to the sender, then you would need an AppleScript to run. If you do some Google or MacUpdate searching you may find an existing script for this purpose.
-
Hi,
I am trying to get a read only copy of the view using the "getView" method in
"com.waveset.object.ViewMaster" class.
Following the EXPRESS code:
<block>
<set name='vm'>
<new class='com.waveset.object.ViewMaster'>
<ref>:display.session</ref>
</new>
</set>
<set name='usr'>
<invoke name='getView'>
<ref>vm</ref>
<s>User:EmployeeTwo</s>
<null/>
</invoke>
</set>
P.S.: "EmployeeTwo" is an existing User ID
When I execute the rule it throws following exception:
XPRESS <invoke> exception:
com.waveset.util.WavesetException: Can't call method getView on class com.waveset.object.ViewMaster
==> java.lang.NullPointerException:
at com.waveset.util.Reflection.invoke(Reflection.java:818)
at com.waveset.util.Reflection.invoke(Reflection.java:756)
at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:169)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExNode.evalToObject(ExNode.java:496)
at com.waveset.expression.ExSet.evalInternal(ExSet.java:164)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
at com.waveset.expression.ExNode.evalToObject(ExNode.java:496)
at com.waveset.object.Rule.eval(Rule.java:918)
at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:269)
at com.waveset.ui.editor.rule.ExpressionEvaluator$Executor.run(ExpressionEvaluator.java:698)
Wrapped exception:
java.lang.NullPointerException
at com.waveset.view.UserViewer.assembleView(UserViewer.java:840)
at com.waveset.view.UserViewer.getView(UserViewer.java:763)
at com.waveset.object.ViewMaster.getView(ViewMaster.java:517)
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:585)
at com.waveset.util.Reflection.invoke(Reflection.java:795)
at com.waveset.util.Reflection.invoke(Reflection.java:756)
at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:169)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExNode.evalToObject(ExNode.java:496)
at com.waveset.expression.ExSet.evalInternal(ExSet.java:164)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
at com.waveset.expression.ExNode.eval(ExNode.java:77)
at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
at com.waveset.expression.ExNode.evalToObject(ExNode.java:496)
at com.waveset.object.Rule.eval(Rule.java:918)
at com.waveset.ui.editor.rule.RuleTester.execute(RuleTester.java:269)
at com.waveset.ui.editor.rule.ExpressionEvaluator$Executor.run(ExpressionEvaluator.java:698)
Any help?
Thanks
Gunjanhello,
try
hrs=FC adddb xxxx
hrs=2 hrs-xxxx
something like this.
regards
stefan -
how do i get the light on my apple tv to stop blinking? have tried all the recommended methods, including holding down "menu" on remote, plugging and unplugging etc. when i try to restore via itunes it downloads then when it's done says it can't write to disc.
Hi lostinmedford,
Welcome to the Apple Support Communities!
I understand that the light is quickly flashing on your Apple TV and you are unable to restore it. According to the attached article, you are working through the correct steps by trying to reset and restore the Apple TV. In this situation, if the restore did not resolve the issue, it may be necessary to have the Apple TV evaluated for service by using the link in the attached article.
Apple TV: About the status light - Apple Support
Flashes quickly
Having issues. Try restarting or waking your Apple TV. If your Apple TV does not start up properly, you might need to reset the Apple TV or restore it to factory settings. See Apple TV (2nd and 3rd generation): Restoring your Apple TV. If this does not resolve the issue, refer to the Service FAQ for additional assistance.
Best regards,
Joe -
How can I delete a fixed profile rule in a Linksys ATA?
I have a Linksys SPA2100 ATA that I used with a previous VoIP provider. I did a factory reset but their profile rule is still listed in the first Profile Rule section under the Provisioning tab. Profile Rule B, C and D are blank and I can enter a profile rule in there but I can't delete the main profile rule because it is fixed. I can't highlight it and delete it for some reason. There must be another way to delete this profile. This is what is listed there minus the name of the provider. I attached a screen shot too. Thanks.
Profile Rule: https://spa.act.voip.xxxxxx.com/$PN/stub.binHi billcanada,
Take a look at your SPA2102's Voice tab > Info tab > Product Information > Customization:
It should contain "Open"
If not, you've got what is known as an "RC-unit" which is what we sell to many service providers allowing them to customize and lock the unit down. Given that you've got admin access, try the following [but don't be disappointed if it doesn't work]:
1. Enable debug on the SPA2102
2. Write a simple config file called spa2102.cfg whose contents include:
Yes
/spa$PSN.cfg
3. Save the spa2012.cfg file in the root of your TFTP server
4. Start the TFTP server
5. Start Wireshark on the subnet to which the ATA is connected
6. Power-cycle the ATA
7. Once it's booted, try and force a resync of your ATA using your browser: htttp://ataIPaddress/admin/resync?tftp://ipAddrOfTftpServer/spa2102.cfg
8. Verify with Wireshark that the ATA requested and received the /spa2102 file
9. Use a browser to determine if your config file overwrote the grayed-out Profile_Rule in the web-UI
Regards,
Patrick---- -
How can i write the DOM tree to the XML File?
Asslamo ala mn etb3a Alhoda.
My problem priefly is that i can't write the DOM tree to XML file.
I write following code to give the user the ability to input the name of data base which he want to create.
If i wrote DB name,its atrributes and its values succefully to XML file ,then i'll read it succefully to RAM.
It'll be simple DBMS.
***My code***
import javax.swing.*;
import javax.xml.parsers.*;
import org.w3c.dom.Document;
import org.w3c.dom.DOMException;
import org.w3c.dom.Element;
public class Main {
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
String DBname;
DBname=JOptionPane.showInputDialog("Enter Your Data Base Name");
OPerations O=new OPerations();
O.creatDB(DBname);
class OPerations {
public void creatDB(String name){
//get an empty Document
DocumentBuilderFactory f; f=DocumentBuilderFactory.newInstance();
try {
builder = f.newDocumentBuilder();
Document doc= builder.newDocument();
//Build tree DOM With the root Node
Element root=doc.createElement(name);
//add the root element to thevdocument
doc.appendChild(root);
catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}Do an identity transformation to output it:TransformerFactory tf = TransformerFactory.newInstance();
Transformer tr = tf.newTransformer();
tr.transform(new DOMSource(doc), new StreamResult(new FileOutputStream(new File(filename))));(typed without syntax check) -
Can XSQL write to a file?
Can XSQL write an XML fragment to a file?
I've got this notion of writing an HTML form that posts to an XSQL Page, but in the event the database is down, I'd like to be able to save the state, to the user doesn't have to enter all the information again.
nullCustom action handler can certainly write to a file. You can use the getPostedDocument() method on the XSQLRequest that you have access to from within your action handler to get the posted XML document.
-
ORA-32162: Read/Write SQL method not registered-for OTT
I am trying this--
env = Environment::createEnvironment (Environment::OBJECT);
RegisterClasses(env);
conn = env->createConnection (user, passwd, db);
RegisterClasses is my mapping function; But still I am getting this error at--
stmt->registerOutParam( 2,OCCIPOBJECT);
I am trying to make a stored procedure call here...
Can anyone tell me what is that I am missing?Hi,
I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
// Creating the stateless connection pool.
StatelessConnectionPool* scp;
scp = env->createStatelessConnectionPool("naveen",
"naveen",
"//10.105.153.11:1521/pls",
10,
5,
2,
StatelessConnectionPool::HOMOGENEOUS);
// Fetch a connection from the stateless connection pool
conn = scp->getConnection();
// After this, I create my Statement and call the registerOutParam() which
// causes ORA-32162 exception.
Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
// After this, I create my Statement and call the registerOutParam() which
// does not give problem now and my application runs pefectly fine.
Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
Any help will be greatly appreciated.
Thanks and Regards,
Naveen -
List v = new Vector() how can i write this ?
List v = new Vector() how can i write this ?
vector does not 'extends' List rather it 'implements' only ......so how can write this way ? ( polymorphism applies only for 'extends' ).my question in a simple way is :
List some_list extends Vector
No, List is an interface; Vector is a concrete class. Read the javadocs.
Vector implements List
>
AND
List some_list implements Vector
are these two same in behaviour
our apart from theoretical differences ?thanks
Interfaces don't have any implementation; they're pure method signatures. When a concrete class implements an interface, it makes a promise that says "I will provide implementations for exactly these methods. Any client can call a method from the interface and I will do something 'sensible' if I'm written correctly."
From the point of view of static and dynamic types, there's no difference between interfaces and classes.
C++ has interfaces, too - they're classes with all pure virtual methods. If you understand how C++ works, the concept shouldn't be hard.
ArrayList is preferred precisely because it isn't synchronized by default. (You can always make it so using java.util.Collections if you wish later on.) If you don't need synchronization, why pay the performance penalty? -
ORA-32162: Read/Write SQL method not registered
Hi,
I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
// Creating the stateless connection pool.
StatelessConnectionPool* scp;
scp = env->createStatelessConnectionPool("naveen",
"naveen",
"//10.105.153.11:1521/pls",
10,
5,
2,
StatelessConnectionPool::HOMOGENEOUS);
// Fetch a connection from the stateless connection pool
conn = scp->getConnection();
// After this, I create my Statement and call the registerOutParam() which
// causes ORA-32162 exception.
Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
Environment* env;
env = Environment::createEnvironment(Environment::OBJECT);
MessageTOMapping(env); // Calling the mapping function here.
conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
// After this, I create my Statement and call the registerOutParam() which
// does not give problem now and my application runs pefectly fine.
Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
Any help will be greatly appreciated.
Thanks and Regards,
NaveenHi,
I found one workaround (not solution) to the problem.
I used an IN OUT parameter instead of an OUT parameter in the stored procedure (though my requirement was only of an OUT parameter actually). This resulted in using the setObject() function instead of the registerOutParam() function which was throwing the ORA-32162 exception at runtime.
I think there should be better ways in which we can pass an object as OUT parameter while also using stateless connection pooling for managing connections. Please let me know the same in case anyone knows that.
Kind Regards,
Naveen
Maybe you are looking for
-
i am running vista home premium on desktop and vista basic on laptop. have placed my itunes music with .itl and .xml files onto external drive connected to another desktop running vista and can no longer access music on first two mentioned comps only
-
Hello, I've just transitioned to Arch linux for over a month now. Previously I've used Arch based Manjaro Linux, and other Gentoo based distros, etc. I've had the same problem everywhere, and that is I've been unable to find a way to get my discrete
-
CC pauses while audio still plays on
I'm seeing this behavior in CP6: 1) In 5.5 if you have a slide with narration, and CC and a pause object (button, clickbox), the playbar would pause at the set pause point, but the slide audio and CC would continue to play and display in a sync'
-
Acrobat 9.1.1 pro, Excel 2007, pagination problems
I have just upgraded from CS3 to CS4 Design Standard. I have been accustomed to producing PDFs from Excel 07 with Acrobat 8 pro, normally selecting a number of sheets from the same Excel workbook to creat a single PDF. I normally use the "page # of
-
Parent_Child relationship.
Oracle version :: 10G Express edition on windows Xp Let Z specifies Zone; Let D specifies Dept; Let E specifies Emp; Relation will be :: Zone can have many dept Dept can have many emp; CREATE TABLE z ( Z1 number primary key ) ; CREATE TABLE d ( D1 nu