Passing Click event to component below it
I've got a label over another component and i want the click
event to apply to the component below it rather than the label
itself. Is this possible?
Sussed it.
My problem was i had a comboBox with the text set to white
because i had a black background. When I changed to full screen
mode the text went back to its default value of grey. The only way
i could overcome this was to place a label exactly above it, this
remained white whatever screen mode, the only problem being that it
masked the comboBox from being clicked. The solution turns out to
be very simple: on the label I added click="myComboBox.open()"
Cheers
Mike
Similar Messages
-
Tabbar tab mouseover or click events..newbie
I am trying to create a tab menu bar that opens a submenu
with a mouseover event over each tab. I can't seem to get the
tabbar children events to do anything. I can get click events to do
things by reading the index property with a script and import
mx.events.ItemClickEvent, but not with the code below. And I don't
understand why the only click event that works below is the one in
the mx:TextArea tags. Any guidance is appreciated.
l version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" height="600" width="753"
backgroundColor="#FFFFFF">
<mx:ViewStack x="543" y="381" id="viewstack1" width="200"
height="200" click="textarea1.text='viewstack'">
<mx:Canvas label="Home" width="100%" height="100%">
</mx:Canvas>
<mx:Canvas label="Locations" width="100%" height="100%"
click="textarea1.text='bbb'" id="mxLocations"
rollOver="textarea1.text='ccb'">
</mx:Canvas>
<mx:VBox label="View 1" width="100%" height="100%"
horizontalAlign="center" click="textarea1.text='bww'"
mouseOver="textarea1.text='bbb'"
rollOver="textarea1.text='bbbx'">
<mx:Label text="View 122" fontSize="36"
mouseOver="textarea1.text='bww'"
rollOver="textarea1.text='bww'"/>
</mx:VBox>
</mx:ViewStack>
<mx:TextArea x="124" y="528" text="xxx" id="textarea1"
click="textarea1.text='bbb'"/>
<mx:TabBar x="10" y="70" width="653"
dataProvider="viewstack1" click="textarea1.text='tabbar'">
</mx:TabBar>
</mx:Application>
TextThank you Mike, I had itemClick wrong for sure, and I can
look at event.index and see which tab was clicked and that is
great. But what I can't do is see which tab had a mouseover or
rollover event, since event.index does not change with mouseover. I
am concluding that tabbar has focus and therefore the Canvas items
do not and that is why the Canvas mouseover events do not fire. Am
I getting close?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" height="600" width="753"
backgroundColor="#FFFFFF">
<mx:ViewStack x="543" y="381" id="viewstack1" width="200"
height="200" click="textarea1.text='viewstack'">
<mx:Canvas label="Home" width="100%" height="100%">
</mx:Canvas>
<mx:Canvas label="Locations" width="100%" height="100%"
click="textarea1.text='bbb'" id="mxLocations"
rollOver="textarea1.text='ccb'">
</mx:Canvas>
<mx:VBox label="View 1" width="100%" height="100%"
horizontalAlign="center" click="textarea1.text='bww'"
mouseOver="textarea1.text='bbc'"
rollOver="textarea1.text='bbbx'">
<mx:Label text="View 122" fontSize="36"
mouseOver="textarea1.text='bwa'"
rollOver="textarea1.text='bwz'"/>
</mx:VBox>
</mx:ViewStack>
<mx:TextArea x="124" y="528" text="xxx" id="textarea1"
click="textarea1.text='bbb'"/>
<mx:TabBar x="10" y="70" width="653"
dataProvider="viewstack1" itemClick="textarea1.text='tabbar'" >
</mx:TabBar>
</mx:Application> -
Click event on a item renderer stops data being passed
Hi
I'm trying to create a item renderer based on a Canvas, this renderer is then used in a List component. I'm trying to get a click event fired when the user clicks on one of the items in the List. I'm also formatting the data being passed into the item renderer to do this I'm overriding the set data property like this:
override public function set data(value:Object):void
title.text = value.marketName;
sellPrice.text = value.sellPrice;
buyPrice.text = value.buyPrice;
change.text = value.percentageChangeOnDay;
var i:String = "-";
if(String(value.percentageChangeOnDay).indexOf(i))
change.styleName = "PositiveChange";
else
change.styleName = "NegativeChange";
When I add a click event to my item renderer like this,
<view:DisplayItem click="itemClickedEvent( event )" />
I get a null reference error in my set data function. If I remove the click event the data is passed correctly, I've also found that if I use a rollOut event like this,
<view:DisplayItem rollOut="rolledOverEvent( event )"/>
the data is passed fine and the event works too, it seems that click events cause the data not to be passed.
Why does having a click event cause this problem? How can I have a click event on the item renderer and still format my data?
Cheers
StephenFound out that I can use the itemClick event of the List component I'm using my item renderer in, so really my item renderer does not need a click event.
-
Find out which component on the UI is listening and changing to the click event?
Hello Forum,
Is there a way in flex to know which component is taking the click event which is being bubbled to the topLevelApplication. I'm clicking it and some container in the parent hierarchy is invalidating/refreshing the screen on click, so the child ficker's on click.You need to put traces or alerts for each container till topLevelApplication, in order to know which is flickering the click...
Hope you got my point!!!
If this post answers your question or helps, please kindly mark it as such. -
How do I pass an event up the component hierarchy?
I have a child component which has a mouse listener and a parent component with a mouse listener. However the child component consumes all the mouse events so the parent doesn't get them.
Is there a way for a child component to receive mouse events, then decided to pass them back up the component hierarchy so the parent can still receive them too?
I've spent the last two hours on Google and can't seem to find anything relevant.
Cheers, EricUnfortunately, you cannot
override this method since it ispackage-private.
That was wrong of mine. Package-private members are
visible to subclasses too (the package access is a
complete superset of protected access). So you CAN
override dispatchEventImpl and do your stuff there.
When I try that the compiler gives me the following warning
The method SheetElementPlacementComponent.dispatchEventImpl(AWTEvent) does not override the inherited method from Container since it is private to a different package.
It lets me define the method, but does not let me override it.
I just wonder why they made dispatchEvent() final,
when it just calls dispatchEventImpl(), and it is
not final...
Another useful method is Component.enableEvents()
and disableEvents() (which are both protected). You
can use them to modify the so called event mask of a
component, which is used to signify which events a
Component is interested in. Disabled events (= not
on the event mask) are not delivered to the
component and the dispatcher skips it, looking for
parent components which have enabled the event. For
example, if you have a JButton in a scroll pane and
you scroll the mouse wheel on the button, the event
is dispatched to the scroll pane, even though it
occurs over the surface of the button. That's
because a button is not interested in mouse wheel
events.
You can use that hack the following way: In the
mouse listener for your child component, after you
have done your work, disable mouse events for the
component and then post the event again (invoke
dispatchEvent(theEvent)). That way, the event should
be delivered to the closest parent that is
interested in mouse events. This is done
synchronously, so after all listeners for the parent
components have finished, the dispatchEvent() method
returns in your listener for the child component.
Then you re-enable mouse events on the child
component in order to receive the next mouse event.
I don't know if this works or if it has any side
effects, but it's worth a try...I can't call dispatchEvent() because it creates an infinite loop resulting in a stack overflow. It tried calling((JComponent) getParent()).dispatchEvent(e); but this does not help either, the parent never gets the event.
Hope this helps you more :).
Greets,
MikeSorry, I still can't find a way around it other than to redesign my UI.
FYI I created a bug report and Sun have assigned it Bug Id: 6571453. Everyone please vote on this if you think it's a cool feature request.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6571453
Cheers, Eric -
Capturing Mouse Click Event Outside a Canvas/Component
Hello Guys
I have a canvas based component and i want to capture a mouse click event outside that component.
How is it possible?
Thanks a lotThanks a lot Morphic
I solved it using focusout method from my component;s textinput but your method is also good and will help me in later stages. -
Pass Mouse click events from JavaScript to Falsh Movie
Hi,
I have an interesting problem here.
i am trying to create a web page which has my
flash-presentation movie. i need to disable mouse click &
keyboard click navigation of the flash movie. The only way by which
i can navigate my slide in the flash movie should be using 2
buttons say Next & Prev that are i my web page.
when i click the Next button i should be able to go to the
next slid or the animation in the same slide like how i do in the
power Point.
Is there any way by which i can send these mouse click
events from my javascript to my flash movie or is there any other
means by which i can achieve this.
~BlackperilHi Mathias,
What i understood is that you want to triger a server side event (simulate onClick event of button)from a client side event (javascript confirm popup), based on the choice of user..
You can also try this one...
Check = confirm("Do you really want to proceed?");
if (Check == true)
document.getElementById('do_proceed').click();
else
document.getElementById('do_cancel').click();
Regards,
Anubhav -
Not able pass the data from component to other component.
Hello All
I am not able pass the data from component to other component.
I have done like this.
1 Main Component (Parent component ) having below two child components.Embeded as used components.
2) Search Component and Details Component
3) In the Search Component having buttons, Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
4) When I am clicking above button u201CXu201D raising the event to call the parent business logic method, there I am getting Structure with values and binded this structure to the node and Mapped this node to the Details component interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
5) In the Details component node data is not coming mean empty.
Thanks in Advance.
Br-
CW
Edited by: CarlinWilliams on Jul 4, 2011 9:21 AMHi,
When you use input Ext. check that the parent component should not be used as used component in child component.
Only in the parent component the child components should be used as used components and the usage has to be created for the
Child Components and the binding of the Node should be done from comp. controller of parent component to child node
by which you will be able to see double arrow against the node.This should work
Thanks,
Shailaja Ainala. -
Hi All,
I have created an alv report using alv class. I have handled the double click event in that i am calling transaction using row currenlty selected. But after doing subtotalling the list and then i double click a line it is passing wrong data.
Points are awarded,
Regards,
Bharat Mistry
Message was edited by: Bharat MistryHi Bharat,
Read the internal table contents in double click event with e_row-index , then you will get the data of that particular row.
check below code :
local class to handle semantic checks
CLASS lcl_event_receiver DEFINITION DEFERRED.
DATA: g_event_receiver TYPE REF TO lcl_event_receiver.
LOCAL CLASS Definition
*§4.Define and implement event handler to handle event DATA_CHANGED.
CLASS lcl_event_receiver DEFINITION.
public section.
METHODS:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column.
ENDCLASS.
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_double_click.
read table gt_outtab index e_row-index into
Regards
Appana
*Reward Points for helpful answers
Message was edited by: L Appana -
JLabel click event to change picture
Hi All,
I am new to GUI programming and need some help.
I am trying to get a picture of a match to change to a different picture of a match when i click on it.
Below is how I'm currently trying to do it.
import javax.swing.UIManager;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Application2 {
boolean packFrame = false;
//Construct the application
public Application2() {
Frame2 frame = new Frame2();
//Validate frames that have preset sizes
//Pack frames that have useful preferred size info, e.g. from their layout
if (packFrame) {
frame.pack();
else {
frame.validate();
//Center the window
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = frame.getSize();
if (frameSize.height > screenSize.height) {
frameSize.height = screenSize.height;
if (frameSize.width > screenSize.width) {
frameSize.width = screenSize.width;
frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
frame.setVisible(true);
//Main method
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception e) {
e.printStackTrace();
new Application2();
public class Frame2 extends JFrame {
JPanel contentPane;
BorderLayout borderLayout1 = new BorderLayout();
JPanel jPanel1 = new JPanel();
ImageIcon match = new ImageIcon("match.JPG");
ImageIcon match2 = new ImageIcon("match2.JPG");
JLabel jLabel1 = new JLabel(match);
JLabel jLabel2 = new JLabel(match2);
//Construct the frame
public Frame2() {
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
//Component initialization
private void jbInit() throws Exception {
contentPane = (JPanel) this.getContentPane();
contentPane.setLayout(borderLayout1);
this.setSize(new Dimension(400, 300));
this.setTitle("Frame Title");
jLabel1.addMouseListener(new Frame2_jLabel1_mouseAdapter(this));
contentPane.add(jPanel1, BorderLayout.CENTER);
jPanel1.add(jLabel1, null);
// jPanel1.add(jLabel2, null);
//Overridden so we can exit when window is closed
protected void processWindowEvent(WindowEvent e) {
super.processWindowEvent(e);
if (e.getID() == WindowEvent.WINDOW_CLOSING) {
System.exit(0);
void jLabel1_mouseClicked(MouseEvent e) {
// DOESN'T seam to work
jLabel1 = new JLabel(match2);
// jPanel1.remove(jLabel1);
// jPanel1.add(jLabel1);
jPanel1.repaint();
repaint();
class Frame2_jLabel1_mouseAdapter extends java.awt.event.MouseAdapter {
Frame2 adaptee;
Frame2_jLabel1_mouseAdapter(Frame2 adaptee) {
this.adaptee = adaptee;
public void mouseClicked(MouseEvent e) {
adaptee.jLabel1_mouseClicked(e);
}import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Frame2Rx extends JFrame {
JPanel contentPane;
BorderLayout borderLayout1 = new BorderLayout();
JPanel jPanel1 = new JPanel();
ImageIcon match = new ImageIcon("images/bclynx.jpg");
ImageIcon match2 = new ImageIcon("images/greathornedowl.jpg");
ImageIcon[] icons;
int iconCount;
JLabel jLabel1 = new JLabel(match);
JLabel jLabel2 = new JLabel(match2);
//Construct the frame
public Frame2Rx() {
icons = new ImageIcon[] { match, match2 };
iconCount = 0;
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
//Component initialization
private void jbInit() throws Exception {
contentPane = (JPanel) this.getContentPane();
contentPane.setLayout(borderLayout1);
this.setSize(new Dimension(400, 300));
this.setTitle("Frame Title");
jLabel1.addMouseListener(new Frame2_jLabel1_mouseAdapter(this));
contentPane.add(jPanel1, BorderLayout.CENTER);
jPanel1.add(jLabel1, null);
// jPanel1.add(jLabel2, null);
//Overridden so we can exit when window is closed
protected void processWindowEvent(WindowEvent e) {
super.processWindowEvent(e);
if (e.getID() == WindowEvent.WINDOW_CLOSING) {
System.exit(0);
void jLabel1_mouseClicked(MouseEvent e) {
jLabel1.setIcon(icons[++iconCount % icons.length]);
jLabel1.revalidate(); // esp if image sizes not equal
jLabel1.repaint();
public static void main(String[] args)
Frame2Rx f = new Frame2Rx();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setVisible(true);
class Frame2_jLabel1_mouseAdapter extends java.awt.event.MouseAdapter {
Frame2Rx adaptee;
Frame2_jLabel1_mouseAdapter(Frame2Rx adaptee) {
this.adaptee = adaptee;
public void mouseClicked(MouseEvent e) {
adaptee.jLabel1_mouseClicked(e);
} -
Handling the LOV Click event in ProcessFormRequest
Hi ,
We have a requirement to display certain messageStyledText values in the header region based on the value selected in LOV.
I am trying to handle the LOV click event in ProcessFormRequest method by checking if the event is lovUpdate or lovValidate and then obtain the value selected in the LOV field.
if("lovUpdate".equals(event) || "lovValidate".equals(event)){
OAMessageLovInputBean lovbean = (OAMessageLovInputBean) webBean.findIndexedChildRecursive("SearchMetricName");//id of lov field
Val = (String)lovbean.getValue(pageContext);
System.out.println("Value selected in the LOV field is " + Val);
Val displays the value selected in LOV appropriately
I further pass this value to a method in AM where the query for fetching the values of the message Styled text fields should get executed. But , I get a NullPointer exception message when the controller reaches the AM method invoked.
Serializable[] param = { Val };
Serializable outParameters[] = (Serializable[])am.invokeMethod("displayValues",param);
Can anyone please tell me if I have missed out anything here .I am badly stuck here.
Thanks,
ChandrikaHi Prasanna and Reetesh ,
Thanks for your quick responses.
The definition of method displayValues is
public Serializable displayValues(String ParentMetric) {
System.out.println("Value of parent Metrics passed from CO is "+ParentMetric);
Xxg2cSubMetricHdrVOImpl hdrVo = getXxg2cSubMetricHdrVO1();
hdrVo.setWhereClauseParams(null);
hdrVo.setWhereClauseParam(0,ParentMetric);
hdrVo.executeQuery();
Row row = hdrVo.first();
String NoOfSubmetrics = null;
String setupStatus = null;
String startDate = null;
String endDate = null;
String payoutType = null;
if(row != null)
NoOfSubmetrics = row.getAttribute("NoOfGroupmetrics").toString();
setupStatus = row.getAttribute("MetricSetupStatus").toString();
startDate = row.getAttribute("EffectiveStartDate").toString();
endDate = row.getAttribute("EffectiveEndDate").toString();
payoutType = row.getAttribute("PayoutType").toString();
System.out.println("Values are : "+NoOfSubmetrics+" , "+setupStatus+" , "+startDate+ " , "+ endDate + " , " + payoutType);
System.out.println("Execution of displayValues query after being invoked from process request:"+ hdrVo.getQuery());
Serializable[] serializable = {NoOfSubmetrics,setupStatus,startDate,endDate,payoutType};
return serializable;
Complete ErrorStack is pasted below -
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.lang.NullPointerException
at cisco.oracle.apps.xxg2c.mbo.server.Xxg2cSubMetricAMImpl.displayValues(Xxg2cSubMetricAMImpl.java:54)
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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at cisco.oracle.apps.xxg2c.mbo.server.Xxg2cSubMetricAMImpl.displayValues(Xxg2cSubMetricAMImpl.java:54)
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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:75)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Thanks,
Chandrika -
Click event on mx button in custom class
creating a class called ComplexSearch and have decided to use
the button component.
as far as I can see my code is fine, but I don't get my trace
on the click event.
if I put the trace on the compontent on(click) {} it works
fine,
if I use the addEventListner method as below, but outside my
class on the time line it works fine...
any suggestions??
have attached the relevent codefor the record, after hours of frustration I have found the
answer.
Basically, it was because I had the mc on the stage, and
attached the class to it in the linkage dialogue.
This ment that instead of the constructor, I needed an onLoad
statement saee below -
HierarchyViewer mouse click event on expansion icon
Hi,
I'm using HierarchyViewer in an application. Could you please suggest if I can catch the mouse click event on the expansion icon ["+" sign appearing right below the node]?
Thank you,
NimaDear Akash,
Are you sure about Disclose Listener of the HierarchyViewer??
I'm using Jdeveloper 11g (11.1.1.5) and HV component doesn't have such listener! -
Passing control across portal component
Hi Gurus,
I have a portal componenet A , on clicking a button of the jsp of the compoenent A,
I open a new window in a javascript function of jsp of A .
window.open();
in this window I open a jspdynpage portal component B.
On click of a button in the jsp of B , I want
i) To invoke a function in the controller of component B (easily done)
ii) Close the window (I can close the window through window.close , but the issue is I want to close teh window after i) happend and i) happens through a server side event , which is fired after teh client side event)
iii) pass the control to component A , such that PBO is fired once to show the updated content.the only solution is to use POM.
See PRT Guide for a very short explanation of this.
Unfortenately POM was never released public, so you have to find out yourself how it works.
BR, Oliver -
Altering button click event programmatically
Hi all. I would like to pass in the click event action through my result.
For example, I have an array that creates buttons through a repeater.
Array = [{ label: 'Flex", action: "navigateToURL(new URLRequest('http://www.adobe.com/flex', '_blank'));"},
{ label: "Flash", action: "Alert.show('I like Flash too!');" }
And then my repeater makes buttons like this
<mx:Button label="{repeater.currentItem.label}"
click="Alert.show(event.currentTarget.getRepeaterItem().action);"/>
Now the above button works, but what I would like the button to do is the action itself, like this example below:
<mx:Button label="{repeater.currentItem.label}"
click="event.currentTarget.getRepeaterItem().action;"/>
However, it does nothing.
Any suggestions? I have to be close...
Thanks in advance!Hi mattcom,
I don't think you can directly do that way..but you can try something like this..
Use another property in your Array as shown below...
Array = [{ label: "Flex", data: "http://www.adobe.com/flex:" action:"navigateToURL"http://www.adobe.com/flexhttp://www.adobe.com/flex},
{ label: "Flash", data:"I like Flash too!" action: "Alert" }
<mx:Button label="{repeater.currentItem.label}"
click="doAction(event.currentTarget.getRepeaterItem());"/>
private function doAction(repeaterItem:Object):void
switch(repeaterItem.action)
case "navigateToURL"
navigateToURL(new URLRequest(repeaterItem.data, '_blank'));
break;
case "Alert"
Alert.show(repeaterItem.data);
break;
If you still want to go with your approach then you need to make use of javascript call using ExternalInterface and send the expression in event.currentTarget.getRepeaterItem().action to the javascript function and then using the javascript Eval function you need to execute the statement.
Thanks,
Bhasker
Maybe you are looking for
-
HT1420 my itunes stops working before I can get into it
I cannot access itunes on computer because it keeps crashing and saying itunes stopped working
-
Katrina S. I need your expertise :-)
katrina, i need your ipod expertise on a thread. let me know if you can help in this situation http://discussions.apple.com/thread.jspa?messageID=1410355#1410355
-
H1 footage & premiere deinterlace encoder questions.
Hi all, I recorded some footage on a H1 in 60i HD (HDV). Used Premiere CS3 preset HDV 1080i 30 (60i) to capture it. Capture question... 1. Should i buy cineform aspect or prospect HD to convert it before editing in premiere CS3? Adobe media encoder q
-
Have ipad Mini and the connection to server failed. How do I reconnect?
Have a iPad Mini. connection to the server failed. How do I reconnect to server?
-
Validation for an item is not working
Hi All, I have a validation for name field in my application to resist the names repeating while creating new USER i tried Function returning error text. declare l_count number:=0; begin if :p102_username is not null and :REQUEST ='CREATE' then selec