Handling resize event ...
I have a class that extends Panel. I add some buttons
(Min/Restore/Max/Close ... top right corner,etc) to the chrome
using rawChildren.addChild. I'd like to restrict the window to
never be allowed to get to a height less than the height of the
buttons or a width less than the combined width of the buttons
(this is a generalization, I've included logic to account for
borders, etc). Nevertheless, I've tried countless approaches ...
then I tried listening for a resize event ...
//in constructor
this.addEventListener("resize", myResizeHandler);
//handler
private function myResizeHandler(event:ResizeEvent):void{
width = Math.max(someMinimumCalculatedWidth(), width);
height = Math.max(someMinimumCalculatedHeight(), height);
As shown ... within the event handler, I set width/height
properties of the panel. In the case where they are different than
current width/height, it expected it would trigger yet another
resize event .... and I expected to get into some kind of nutty
event loop (as you can see ... I'm in that ** I'll try anything
...** mode). Surprisingly ... it worked properly. There doesn't
seem to be a resize event triggered when I set the width/height to
values different than they were before entering the handler? I've
perused the Panel/UIComponent source and everything I see leads me
to believe another resize event would be triggered.
So ... as strange as it sounds, I'd like to understand why
this works :-) I can't bring myself to just move on without knowing
why another resize event isn't dispatched and why I don't end right
back up in myResizeHandler ...
"AJC5327" <[email protected]> wrote in
message
news:[email protected]...
>I have a class that extends Panel. I add some buttons
>(Min/Restore/Max/Close
> ... top right corner,etc) to the chrome using
rawChildren.addChild. I'd
> like to
> restrict the window to never be allowed to get to a
height less than the
> height
> of the buttons or a width less than the combined width
of the buttons
> (this is
> a generalization, I've included logic to account for
borders, etc).
> Nevertheless, I've tried countless approaches ... then I
tried listening
> for a
> resize event ...
>
> //in constructor
> this.addEventListener("resize", myResizeHandler);
>
> //handler
> private function
myResizeHandler(event:ResizeEvent):void{
> width = Math.max(someMinimumCalculatedWidth(), width);
> height = Math.max(someMinimumCalculatedHeight(),
height);
> }
>
> As shown ... within the event handler, I set
width/height properties of
> the
> panel. In the case where they are different than current
width/height, it
> expected it would trigger yet another resize event ....
and I expected to
> get
> into some kind of nutty event loop (as you can see ...
I'm in that ** I'll
> try
> anything ...** mode). Surprisingly ... it worked
properly. There doesn't
> seem
> to be a resize event triggered when I set the
width/height to values
> different
> than they were before entering the handler? I've perused
the
> Panel/UIComponent
> source and everything I see leads me to believe another
resize event would
> be
> triggered.
>
> So ... as strange as it sounds, I'd like to understand
why this works :-)
> I
> can't bring myself to just move on without knowing why
another resize
> event
> isn't dispatched and why I don't end right back up in
myResizeHandler ...
A lot of times I find I have to go several classes up the
inheritence chain
to find where something lives. A shortcut to this is to find
the public
class extends statement and click whatever it extends. Press
F3.
HTH;
Amy
Similar Messages
-
How to handle resize events of JSplitPane?
Hi all,
I have been looking up and down for how to be notified when a split pane is resized (or moved). That is, the bar is moved by the user. I tried adding a component listener, property change listener and action listener. None seem to get called on every movement of it. Anyone know what listener I need to add to the JSplitPane for this to work?
Thanks.Just to make sure the code is available in a search of java.sun forums
import javax.swing.*;
* split.java
* Created on September 5, 2002, 2:01 AM
* @author Symplox
public class split extends javax.swing.JFrame {
/** Creates new form split */
public split() {
initComponents();
private void initComponents() {
split = new JSplitPane();
jPanel1 = new JPanel();
jPanel2 = new JPanel();
jPanel3 = new JPanel();
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setTitle("Split");
setBackground(new java.awt.Color(204, 204, 255));
setName("Split");
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
JLabel l = new JLabel("Divider Location");
text = new JTextField("175", 5);
split.setBackground(new java.awt.Color(51, 255, 0));
split.setDividerLocation(175);
split.setForeground(new java.awt.Color(255, 51, 51));
split.setContinuousLayout(true);
split.setPreferredSize(new java.awt.Dimension(350, 200));
split.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
/** This Listener is something I think you can use
* The PropertyChangeEvent seems to only monitor the divider
* location
split.addPropertyChangeListener("lastDividerLocation", new java.beans.PropertyChangeListener() {
public void propertyChange(java.beans.PropertyChangeEvent evt) {
text.setText(evt.getNewValue().toString());
jPanel1.setBackground(new java.awt.Color(255, 255, 0));
split.setLeftComponent(jPanel1);
jPanel2.setBackground(new java.awt.Color(0, 204, 0));
split.setRightComponent(jPanel2);
jPanel3.setPreferredSize(new java.awt.Dimension(350, 20));
jPanel3.add(l);
jPanel3.add(text);
getContentPane().add(split, java.awt.BorderLayout.CENTER);
getContentPane().add(jPanel3, java.awt.BorderLayout.NORTH);
pack();
/** Exit the Application */
private void exitForm(java.awt.event.WindowEvent evt) {
System.exit(0);
* @param args the command line arguments
public static void main(String args[]) {
new split().show();
private JPanel jPanel1, jPanel2, jPanel3;
private JSplitPane split;
private JTextField text;
} -
Handle stage RESIZE.Event
I've a flash site 100x100% in browser window.
When I open new tab in browser window Event.RESIZE doesn't
dispatched.
Have any idea how to handle this event except EnterFrame or
Timer listeners?stage.scaleMode = StageScaleMode.NO_SCALE;
var count = 0;
stage.addEventListener(Event.RESIZE, resizeHandler);
function resizeHandler(evt:Event):void {
_txt.text = count++;
use this code -
How to handle component's resize event
Hi All,
Can someone tell whether you can in any way to capture component's resize event, e.g. panelGroupLayout?
Thanks!Hi,
its an event raised on the render kit, the component will not pass this on to the server.
I did not try JavaScript but there is a registerResizeNotifyComponent(Object component) on the AdfPAGE object that you may be able to register a custom proxy object to. Then when the proxy receives the resize event you would call a custom event to the srever (serverListener)
http://docs.oracle.com/cd/E23549_01/apirefs.1111/e12046/oracle/adf/view/js/base/AdfPage.html
Frank
Ps.: As said - haven't tried this -
Node Container that does not resize with Window Resize Event
Hello,
I'm not new to Java but I am new to JavaFX.
I plan to have a container/Canvas with multiple shapes (Lines, Text, Rectangle etc) in it. This Container can be X times in the Szene with different Text Shapes. I need to Zoom and Pan (maybe rotation) the whole Szene and the Containers/Canvas.
So I was playing around with that but I have two issues.
1) all Canvas classes that I found (like Pane for example) do resize with the main window resize event. The content of the canvas isn't centered any more.
2) I added a couple of Rectangles to the canvas and both the rectangles and the canvas have a mouse listener which will rotate the item/canvas. Problem is, that even if I click the rectangle also the underlaying canvas is rotated...I think I need some kind of Z-Info to find out what was clicked.
Here is the little example program, it makes no produktiv sense but it demonstrates my problem.
Does anybody has a tip what canvas class would fit and does not resize with the main window and how to figure out what was clicked?
public class Test extends Application
Scene mainScene;
Group root;
public static void main(String[] args)
launch(args);
@Override
public void init()
root = new Group();
int x = 0;
int y = -100;
for(int i = 0; i < 5; i++)
x = 0;
y = y + 100;
for (int j = 0; j < 5; j++)
final Rectangle rect = new Rectangle(x, y, 30 , 30);
final RotateTransition rotateTransition = RotateTransitionBuilder.create()
.node(rect)
.duration(Duration.seconds(4))
.fromAngle(0)
.toAngle(720)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(true)
.build();
rect.setOnMouseClicked(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
rotateTransition.setToAngle(0);
rotateTransition.stop();
rect.setFill(Color.BLACK);
rect.setScaleX(1.0);
rect.setScaleY(1.0);
else
rect.setFill(Color.AQUAMARINE);
rect.setScaleX(2.0);
rect.setScaleY(2.0);
rotateTransition.play();
root.getChildren().add(rect);
x = x + 100;
public void start(Stage primaryStage)
final Pane pane = new Pane();
pane.setStyle("-fx-background-color: #CCFF99");
pane.setOnScroll(new EventHandler<ScrollEvent>()
@Override
public void handle(ScrollEvent se)
if(se.getDeltaY() > 0)
pane.setScaleX(pane.getScaleX() + 0.01);
pane.setScaleY(pane.getScaleY() + 0.01);
else
pane.setScaleX(pane.getScaleX() - 0.01);
pane.setScaleY(pane.getScaleY() - 0.01);
pane.getChildren().addAll(root);
pane.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent event)
System.out.println(event.getButton());
if(event.getButton().equals(MouseButton.PRIMARY))
System.out.println("primary button");
final RotateTransition rotateTransition2 = RotateTransitionBuilder.create()
.node(pane)
.duration(Duration.seconds(10))
.fromAngle(0)
.toAngle(360)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(false)
.build();
rotateTransition2.play();
mainScene = new Scene(pane, 400, 400);
primaryStage.setScene(mainScene);
primaryStage.show();
}Edited by: 953596 on 19.08.2012 12:03To answer my own Question, it depends how you add childs.
It seems that the "master Container", the one added to the Scene will allways resize with the window. To avoid that you can add a container to the "master Container" and tell it to be
pane.setPrefSize(<child>.getWidth(), <child>.getHeight());
pane.setMaxSize(<child>.getWidth(), <child>.getHeight());
root.getChildren().add(pane);and it will stay the size even if the window is resized.
Here is the modified code. Zooming and panning is working, zomming to window size is not right now. I'll work on that.
import javafx.animation.Animation;
import javafx.animation.ParallelTransition;
import javafx.animation.ParallelTransitionBuilder;
import javafx.animation.RotateTransition;
import javafx.animation.RotateTransitionBuilder;
import javafx.animation.ScaleTransitionBuilder;
import javafx.animation.Timeline;
import javafx.animation.TranslateTransitionBuilder;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.geometry.Point2D;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.input.MouseButton;
import javafx.scene.input.MouseEvent;
import javafx.scene.input.ScrollEvent;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.stage.Stage;
import javafx.util.Duration;
public class Test extends Application
Stage primStage;
Scene mainScene;
Group root;
Pane masterPane;
Point2D dragAnchor;
double initX;
double initY;
public static void main(String[] args)
launch(args);
@Override
public void init()
root = new Group();
final Pane pane = new Pane();
pane.setStyle("-fx-background-color: #CCFF99");
pane.setOnScroll(new EventHandler<ScrollEvent>()
@Override
public void handle(ScrollEvent se)
if(se.getDeltaY() > 0)
pane.setScaleX(pane.getScaleX() + pane.getScaleX()/15);
pane.setScaleY(pane.getScaleY() + pane.getScaleY()/15);
System.out.println(pane.getScaleX() + " " + pane.getScaleY());
else
pane.setScaleX(pane.getScaleX() - pane.getScaleX()/15);
pane.setScaleY(pane.getScaleY() - pane.getScaleY()/15);
System.out.println(pane.getScaleX() + " " + pane.getScaleY());
pane.setOnMousePressed(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
initX = pane.getTranslateX();
initY = pane.getTranslateY();
dragAnchor = new Point2D(me.getSceneX(), me.getSceneY());
pane.setOnMouseDragged(new EventHandler<MouseEvent>()
public void handle(MouseEvent me) {
double dragX = me.getSceneX() - dragAnchor.getX();
double dragY = me.getSceneY() - dragAnchor.getY();
//calculate new position of the pane
double newXPosition = initX + dragX;
double newYPosition = initY + dragY;
//if new position do not exceeds borders of the rectangle, translate to this position
pane.setTranslateX(newXPosition);
pane.setTranslateY(newYPosition);
int x = 0;
int y = -100;
for(int i = 0; i < 5; i++)
x = 0;
y = y + 100;
for (int j = 0; j < 5; j++)
final Rectangle rect = new Rectangle(x, y, 30 , 30);
final RotateTransition rotateTransition = RotateTransitionBuilder.create()
.node(rect)
.duration(Duration.seconds(4))
.fromAngle(0)
.toAngle(720)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(true)
.build();
rect.setOnMouseClicked(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
if(rotateTransition.getStatus().equals(Animation.Status.RUNNING))
rotateTransition.setToAngle(0);
rotateTransition.stop();
rect.setFill(Color.BLACK);
rect.setScaleX(1.0);
rect.setScaleY(1.0);
else
rect.setFill(Color.AQUAMARINE);
rect.setScaleX(2.0);
rect.setScaleY(2.0);
rotateTransition.play();
pane.getChildren().add(rect);
x = x + 100;
pane.autosize();
pane.setPrefSize(pane.getWidth(), pane.getHeight());
pane.setMaxSize(pane.getWidth(), pane.getHeight());
root.getChildren().add(pane);
masterPane = new Pane();
masterPane.getChildren().add(root);
masterPane.setStyle("-fx-background-color: #AABBCC");
masterPane.setOnMousePressed(new EventHandler<MouseEvent>()
public void handle(MouseEvent me)
System.out.println(me.getButton());
if((MouseButton.MIDDLE).equals(me.getButton()))
double screenWidth = masterPane.getWidth();
double screenHeight = masterPane.getHeight();
System.out.println("screenWidth " + screenWidth);
System.out.println("screenHeight " + screenHeight);
System.out.println(screenHeight);
double scaleXIs = pane.getScaleX();
double scaleYIs = pane.getScaleY();
double paneWidth = pane.getWidth() * scaleXIs;
double paneHeight = pane.getHeight() * scaleYIs;
double screenCalc = screenWidth > screenHeight ? screenHeight : screenWidth;
double scaleOperator = screenCalc / paneWidth;
double moveToX = (screenWidth/2) - (paneWidth/2);
double moveToY = (screenHeight/2) - (paneHeight/2);
System.out.println("movetoX :" + moveToX);
System.out.println("movetoY :" + moveToY);
//double scaleYTo = screenHeight / paneHeight;
ParallelTransition parallelTransition = ParallelTransitionBuilder.create()
.node(pane)
.children(
TranslateTransitionBuilder.create()
.duration(Duration.seconds(2))
.toX(moveToX)
.toY(moveToY)
.build()
ScaleTransitionBuilder.create()
.duration(Duration.seconds(2))
.toX(scaleOperator)
.toY(scaleOperator)
.build()
.build();
parallelTransition.play();
public void start(Stage primaryStage)
primStage = primaryStage;
mainScene = new Scene(masterPane, 430, 430);
primaryStage.setScene(mainScene);
primaryStage.show();
} -
I'm having a bit of hassle with a panel resize event.
For reasons best known to me, I have some parallel loops monitoring certain UI behaviour and reacting appropriately.
I have noticved that when a loop which is monitoring the "Panel Resize" event stops, (No dynamic registration) the next panel resize will freeze the VI. It's as if the Event case is not releasing the handle to the "Panel resize" event.
If I handle the "Panel Resize" event via a dynamic registration and subsequent release, everything works fine.
This is in LV 8.2.1.
Shane.
Say hello to my little friend.
RFC 2323 FHE-Compliant
Attachments:
Freezes.vi 22 KB
Doesnt freeze.vi 24 KBtst wrote:
I think this has to do with LabVIEW locking the FP (as configured) even when the event structure should not execute any more. I actually created a simple example of it recently, but saved it in one my projects instead of where I would see it, so I forgot about it. I now dug it up and back saved it to 8.0. You can also simplify this example by removing the value change event and making the key down event lock the UI.
Message Edited by tst on 11-10-2008 02:14 PM
Sorry Yair,
but this is not a bug!, it is explainable behaviour and expected behaviour.
What happens, the front panel is locked on the second edit. (use exectuion high-lighting) The event structure is always listening for events where it is registered for, even if the event case will never execute, on the first edit (key down) the event is triggered and the VI is locked and unlocked. The second edit the event is triggered again and the FP is locked. Because the event structure can't execute the FP stays locked.
Shane's behaviour is truly a bug.
The same behaviour is seen with the 'Pane:size' event. (in 8.6)
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Newbie question - sorry. How do I capture the browser window
resize event?
I've tried variations on this code:-
<mx:Script>
<![CDATA[
import flash.events.Event;
function mylisten():void { trace('mylisten');
this.stage.addEventListener(Event.RESIZE,resizefn);
function resizefn():void {
trace('resize!');
]]>
</mx:Script>Hi brutfood,
you can add a handler to the resize event of the application
as an attribute of the Application tag.
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" resize="resizeHandler()">
Then add the handler ("t" is TextArea):
private function resizeHandler():void {
t.text = stage.width + " - " + stage.height;
t.text += "\n" + stage.stageWidth + " - " +
stage.stageHeight;
Note the difference between the width/height and
stageWidth/stageHeight properties: the first couple returns the
actual stage dimension while the second returns the visible area of
the stage.
regards,
Christophe -
Event handler : handleEvent(Event event)
Good day,
The deprecated event handler "handleEvent(Event event)" has been replaced by "processEvent(AWTEvent event)" as per the docs.
With some research, I came up with this little conversion chart :
item handleEvent processEvent
====== ============ ============
x event.x event.getX()
y event.y event.getY()
id event.id event.getID()
target event.target ???
====== ============ =============
I'm just trying to compile a list of conversion for deprecated APIs with some extra information to "ease" the transition process.
Is the above information right or am I still missing the boat ?
Please apply necessary corrections wherever applicable.
Best regards.Good day,
The deprecated event handler "handleEvent(Event event)" has been replaced by "processEvent(AWTEvent event)" as per the docs.
With some research, I came up with this little conversion chart :
item handleEvent processEvent
====== ============ ============
x event.x event.getX()
y event.y event.getY()
id event.id event.getID()
target event.target ???
====== ============ =============
I'm just trying to compile a list of conversion for deprecated APIs with some extra information to "ease" the transition process.
Is the above information right or am I still missing the boat ?
Please apply necessary corrections wherever applicable.
Best regards. -
Issue with TextArea resize event
Hi,
In the following
sample there
is a button and a textarea in a VDivideBox. If you move the
divider, the Textarea is resized and in its resize event I change
the fonts size. It works very well except in one case: If the
Textarea is given the focus and then you try to resize it by moving
the divider, then all the text goes blank ! I've debugged it and
everything looks fine, so I can't figure out what's going on...
I'm using Flex 3. To see the code, right click and View
Source.
Thanks for helping.Hello,
You say:
"The event trace shows that INPUTFINISHED got triggered. The technical workflow log also shows a record of the terminating event - but still the task does not get finished - the task still remains INPROCESS and does not get COMPLETED."
I would concentrate on fixing this. If an event is being created wth the proper key (check that) then the workflow should pick it up. You say you can even see it in the workflow log? Are you using a wait step, or have you set the event as a terminating event for the whole workflow? Try generating the event manually (with SWUE) to figure out what the problem is. This should work. Check the workflow log for errors.
regards
Rick Bakker
Hanabi Technology -
Is it possible to handle multiple events using Jscript for a button in Apex
Hi,
I've application wherein in one of the pages for a button, I need to trigger 2 events as: 1. redirect to a new page upon 'click' of the button
2. display a set of values on 'mouse over' that button.
I'm able to handle both separately, but not in one button. I would like to know if there is any limitation in Apex that we cant handle multiple events? Currently I've put a text item near the button, and called the Jscript for mouse over event in that as a temporary workaround. Can someone let me know if this is feasible? If not any other alternative to handle this?
Thanks in advance,
gsachidhHi Gsachidh,
well interesting problem you're facinng. Indeed, it can't be specified using the 'Button Attributes' So we have to come up with an workaround.
A quick en dirty solution would be to specify it with the 'Optional URL Redirect options'. In a normal button, with processing on same page, this would be 'no target'. but in case of additional things to be done this can be used, using an target URL. I used this many times, in example with popUp windows for refreshing the caller object when changes are made. In your case we have to add next to the href an onmouseover event. this can be done with;
Target set to => URL
URL - target => javascript:doSubmit('<button_name>');" onMouseOver="javascript:showTooltip('tooltip');"
Here the " is the key, letting ApEx know the target (href) is doSubmit('<button_name>'), just like when no target would be specified and adding a new javascript event; onMouseOver.
Although this is a dirty solution in my opinion, it is the best i could come up with. I have another idea in how to do this, that is by adding this event dynamically with javascript with an addEvent. But i don't have an example at the moment for this scenario.
Simon
Message was edited by:
S1M0N -
Reg : Cross browser issue while handling LOV event on KeyFlexFeild
Hi OA Gurus,
We are encountering issues on R12.0.6, JDev 120Rup6.
We have the following test case and code changes.
Requirement:
We have OA page where we have one KeyFlexFeild item and a normal LOV. Page items are part of one AM and LOV is in another AM.
The requirement was to make LOV dependent on keyFlexfeild. Test case is mentioned as per following flow.
1. User changes cost center segment of Accounting Flex(Key flex) using Cost center LOV.
2. Another LOV in the same page should be dependent on new value of cost center as modified in step 1.
Solution Implemented:
Describing in the 3 steps
1) Here the KeyFlexFeild is expense account. Whenever User changes any segment, we handle
‘lovValidate’ and ‘lovUpdate’ events on KeyFlexFeild in processFormRequest of controller.
2) Retrieve the value of cost center segment using getSegmentsQualifiedBy(), Update corresponding VO attribute of the LOV query parameter.
3) Forward the request to current page so that LOV will have modified value with updated query.
4) Forwarding to current page is must because LOV is built with another AM and will loaded only when page is built.
Issue:
This works fine on internet explorer. When trying to run the same in Mozilla we have following issue
1) User modifies one of the segments of expense account and make a tab – out
2) Now the page refresh happens
3) Now in the same page no other LOV or no other button works. He can’t click on any button for submit or cancel.
LOVs will not open even after clicking on it.
Code changes:
//Step1 – Handle LOV events
String source = pageContext.getParameter(SOURCE_PARAM);
String eventType = pageContext.getParameter(EVENT_PARAM);
if(source !=null && eventType != null) {
if(source.startsWith("Acct") && eventType.equals("lovUpdate") || eventType.equals("lovValidate") ) {
KeyFlexfield flex = (KeyFlexfield)lkff.getAttributeValue(OAWebBeanConstants.FLEXFIELD_REFERENCE);
// Step -2 Updating the corresponding VO attribute for LOV to get the modified the value
Segment[ ] segmentL = flex.getSegmentsQualifiedBy(FA_COST_CTR");
CostCenterValue = segmentL[0].getValue().getValue();
if(CostCenterValue != null ){
sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",CostCenterValue);
OAFormValueBean formValueBean = (OAFormValueBean)webBean.findIndexedChildRecursive("ToCostCenter");
if(formValueBean != null)
formValueBean.setValue(pageContext, CostCenterValue);
OAMessageLovInputBean formValueBean1 = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("ReceivingApprover");
if(formValueBean1 != null)
formValueBean1.setValue(pageContext, null);
else
sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",null);
//Step 3 – Forward the request Current Page again
pageContext.setForwardURLToCurrentPage(null, true, ADD_BREAD_CRUMB_YES, (byte)0);
We have following questions.
a) Solution implemented by us is correct ? or we have to implement it in another way ?
b) Is OA version mentioned above supported on Mozilla browser version 3.x ? This issue is not occurring on Mozilla 1.x while running from JDev.
Please let us know if any additional details required.
Thanks for help in advance.
Edited by: user774130 on Dec 15, 2009 2:27 AMHi,
It seems that you have not noticed that this forum is not for posting product-related questions/problems....
So , this might be the correct forum....
Java Server Pages (JSP)
Sim -
hi all,
The softkeys varies form device to device.so kidly say some genric way to handle softkey events.
Thanks in advance
BadriThe only "generic" way to handle softkeys is to use Commands.
shmoove -
I'm doing a little edge project (now in beta version) for my girlfriend (she hates the code), with examples of the animate() method and other functions like setInteval(), but when I run I get the following error in Chrome console:
Javascript error in event handler! Event Type = element [edge.2.0.0.min.js:162]
But this library is global for all projects, how is possible that trigger an error?
Example here:
https://app.box.com/s/m7nof4al6597gfn47jlu
Thanks.you dont need to import java ease !!
it's already included in edge animate, remove that yepnope completely your problem will gone
Zaxist -
How to handle key events in the Console?
Plz give sample code for it.
Thanks in advance.Don't have any experience with it personally, but I think curses does this type of thing http://sourceforge.net/projects/javacurses/
-
Hi all,
i am using a 'When-Validate-item' trigger in this i am doing a validation,
when user try to enter amount greater than the given amount(This is needed validation)
and also i am regenerating new lines(Creating new records when button pressed)
when i am regenerating i should not validate.
How to handle button event
Thnx
RajHi...
The WHEN-VALIDATE-ITEM Trigger fires once you updated a field. Be sure you raise
form_trigger_failure when amount is invalid. So, the cursor stays in field amount. You cant
leave this field until the amount is not valid.
Maybe you are looking for
-
Calendar app icon is stuck on date of upgrade
Since upgrading on Saturday to Yosemite, the calendar app icon is stuck on Saturdays date (8 NOV), but if I open the calendar the correct date is highlighted (Nov 11). I have tried quitting and restarting calendar but that doesn't do anything Oh
-
Songs disappeared - iPod not recognized in Windows or iTunes
Hi, I have had a 5th generation iPod for 8 months now and have a big problem: After I charged it in a wall plug, all the songs disappeared from my iPod. It has happened to me once in the past but the songs then reappeared... don't know how that happe
-
Itunes on Windows plays one song from library and stops
I am a new ipod owner and new to itunes. Loaded many CD's, videos and audiobooks without difficulty into itunes 6.0.4.2. Library of songs is extensive but trying to play songs from library results in itunes playing ONLY one selected song. I must re-s
-
Where to down load old version of itune
where to down load old version of itune
-
HT4623 how do i restore my texts messages?
how do i restore my texts messages?