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
Similar Messages
-
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();
} -
all softwares latest version january 2013.
I see in itunes many strange crazy iphoto events that in iphoto do not exist.
These vents are named as data and contains just few photos.
each event can be sync with IOS devices, but that event is not in iphoto !
It looks like miniatures... no way to solve this issue making all possible maintenance in iphoto library.
THis issue is very old, very terrible, people start to have doubts about iphoto as a reliable software.
Need a fix asap.
Apple please help!
I were with 2 hours at genius bar but nothing.
Genius told me apple have been informed and they are working on a solution..... this 4 months ago !!!
Need solution asap
THanks
FabioApple aren't here. As you're the only person with this problem that I've seen on here, I would suspect that its more a local problem on your machine than something Apple need to fix.
Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
Look there for the iPod Photo Cache.
Trash it. Start iPhoto and try sync again.
Regards
TD -
Permissions issue with image resize
Ok I'm hoping someone may be able to help with this because it is really frustrating.
I realise this issue has already been posted in these forums however there was no solution offered that has rectified it for me. I am getting an error when trying to display thumbnails "Error converting image (create thumbnail). The "" folder has no write permissions". And this error when trying to upload and resize images "Image upload error. Error resizing image: Error converting image (image resize). The "" folder has no write permissions. (IMG_RESIZE)". All folders on server have full read, write and execute permissions, so I am really confused why this happenning. I have removed and updated the includes folder on the server with no joy. I altered the tNG_custom.class.php, tNG_insert.class.php, tNG_update.class.php files to remove the tNG_fields line to just tNG as this was throwing errors with PHP5.3. I also changed everything else per http://forums.adobe.com/message/2357443#2357443.
This is the tNG execution trace (why the tNGUNKNOWN??):-
tNGUNKNOWN.executeTransaction
STARTER.Trigger_Default_Starter
tNGUNKNOWN.doTransaction
BEFORE.Trigger_Default_FormValidation
BEFORE.Trigger_CheckForbiddenWords
tNG_insert.prepareSQL
tNGUNKNOWN.executeTransaction - execute sql
tNG_insert.postExecuteSql
AFTER.Trigger_ImageUploadtNGUNKNOWN.afterUpdateField - DefaultPic, P8280176.JPG*
ERROR.Trigger_LinkTransactionstNGUNKNOWN.doTransaction
tNGUNKNOWN.executeTransaction
tNGUNKNOWN.getRecordset
tNGUNKNOWN.getFakeRsArr
tNG_insert.getLocalRecordset
tNGUNKNOWN.getFakeRecordset
tNGUNKNOWN.getFakeRecordset
tNGUNKNOWN.getRecordset
tNGUNKNOWN.getFakeRsArr
tNG_insert.getLocalRecordset
tNGUNKNOWN.getFakeRecordset
tNGUNKNOWN.getFakeRecordset
And is causing the following php warnings when executed:-
Warning: Parameter 2 to Trigger_Default_FormValidation() expected to be a reference, value given /testing/includes/tng/tNG.class.php on line 228 Warning: preg_split(): No ending matching delimiter ']' found in /testing/includes/common/lib/image/KT_Image.class.php on line 2034 Warning: array_pop() expects parameter 1 to be array, boolean given in /testing/includes/common/lib/image/KT_Image.class.php on line 2035 Warning: implode(): Invalid arguments passed in /testing/includes/common/lib/image/KT_Image.class.php on line 203
Is it the preg_split() that is causing the issues here??
Any Ideas?Hello BoarderLineLtd
I have noticed that on some servers when you upload the first image to the images folder using the ADDT image upload function the thumbnail directory that gets written to the images directory is written but the permissions are not set.
If you use an FTP program such as CuteFTP or WSFTP to login to your web site you can manually set the permissions for the thumbnail directory.
This should eliminate the permissions error.
Stan Forrest
Senior Web Developer
Digital Magic Show -
Workflow issue with BUS2001 and event CREATED
Hi friends,
could anyone of you give me a piece of advise on the following topic ?
I need to use the event CREATED of BOR BUS2001 (project definition) as a starting event of a workflow.
I activated linkage (transaction SWETYPV,
switched on Switch Event Trace (transaction SWELS).
I succesfully tried to create this event using transaction SWUE, receiver was started,
I created project definition by transaction CJ20N, then project definition was succesfully saved, without any error, but no event appeared in Display Event Trace (transaction SWEL). I use another events (material, document, purchase, ...) as starting events of workflows without any problem. System: R/3 4.7, WAS 620.
Can you tell me where I have made a mistake or what I have neglected ?
Many thanks in advance.
BR
JanJan,
I was trying to post this same issue which I faced recently with SAP 4.6C and found your question. Unfortunately no body had answered so far.
Did you try raising an OSS message?
Suresh R -
ALV: Issue with double click event after sorting the ALV
Hello Experts,
I have an internal table that populates an ALV grid. When the user doubleclicks a row, my method HANDLE_DOUBLE_CLICK returns the e_row-index value from the ALV Grid. I use this index value to read the internal table, then retrieve additional data.
My problem is the user may sort the ALV grid before double clicking on a line. If this happens my internal table is not sorted to match the ALV grid, so reading the internal table with the e_row-index value returns the wrong information.
When the double click event occurs, is it possible to capture the value in column 1 instead of a value for e_row-index?
There is one more paramter in HANDLE_DOUBLE_CLICK for row id. It is coming blank in debugging . what is the purpose of this parameter and how i can make use of it ?
Regards
VivekHi,
I am Posting The Code Which Uses Double Click Event.
And This Code will provide the total information to you.
REPORT ZALVGRID_PG.
TABLES: SSCRFIELDS.
DATA: V_BELNR TYPE RBKP-BELNR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: IRNO FOR V_BELNR.
PARAMETERS: P_GJAHR TYPE RBKP-GJAHR.
SELECTION-SCREEN END OF BLOCK B1.
DATA: WA TYPE ZALVGRID_DISPLAY,
ITAB TYPE STANDARD TABLE OF ZALVGRID_DISPLAY.
DATA: IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: L_IDENTITY TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: L_TREE TYPE REF TO CL_GUI_ALV_TREE_SIMPLE.
TYPE-POOLS: SLIS,SDYDO.
DATA: L_LOGO TYPE SDYDO_VALUE,
L_LIST TYPE SLIS_T_LISTHEADER.
END-OF-SELECTION.
CLASS CL_LC DEFINITION.
PUBLIC SECTION.
METHODS: DC FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID IMPORTING E_ROW E_COLUMN.
ENDCLASS.
CLASS CL_LC IMPLEMENTATION.
METHOD DC.
DATA: WA1 TYPE ZALVGRID_DISPLAY.
READ TABLE ITAB INTO WA1 INDEX E_ROW-INDEX.
BREAK-POINT.
SET PARAMETER ID 'BLN' FIELD WA1-BELNR.
CALL TRANSACTION 'FB02'.
ENDMETHOD. "DC
ENDCLASS.
DATA: OBJ_CL TYPE REF TO CL_LC.
START-OF-SELECTION.
PERFORM SELECT_DATA.
IF SY-SUBRC = 0.
CALL SCREEN 100.
ELSE.
MESSAGE E000(0) WITH 'DATA NOT FOUND'.
ENDIF.
INCLUDE ZALVGRID_PG_STATUS_0100O01.
INCLUDE ZALVGRID_PG_LOGOSUBF01.
INCLUDE ZALVGRID_PG_SELECT_DATAF01.
INCLUDE ZALVGRID_PG_USER_COMMAND_01I01.
***INCLUDE ZALVGRID_PG_STATUS_0100O01 .
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'AB'.
* SET TITLEBAR 'xxx'.
IF IDENTITY IS INITIAL.
CREATE OBJECT IDENTITY
EXPORTING
CONTAINER_NAME = 'ALVCONTROL'.
CREATE OBJECT GRID
EXPORTING
I_PARENT = IDENTITY.
CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZALVGRID_DISPLAY'
CHANGING
IT_OUTTAB = ITAB.
CREATE OBJECT OBJ_CL.
SET HANDLER OBJ_CL->DC FOR GRID.
ENDIF.
IF L_IDENTITY IS INITIAL.
CREATE OBJECT L_IDENTITY
EXPORTING
CONTAINER_NAME = 'LOGO'.
CREATE OBJECT L_TREE
EXPORTING
I_PARENT = L_IDENTITY.
PERFORM LOGOSUB USING L_LOGO.
CALL METHOD L_TREE->CREATE_REPORT_HEADER
EXPORTING
IT_LIST_COMMENTARY = L_LIST
I_LOGO = L_LOGO.
ENDIF .
ENDMODULE. " STATUS_0100 OUTPUT
***INCLUDE ZALVGRID_PG_LOGOSUBF01 .
FORM LOGOSUB USING P_L_LOGO.
P_L_LOGO = 'ERPLOGO'.
ENDFORM. " LOGOSUB
***INCLUDE ZALVGRID_PG_SELECT_DATAF01 .
FORM SELECT_DATA .
SELECT RBKP~BELNR
RBKP~BLDAT
RSEG~BUZEI
RSEG~MATNR
INTO TABLE ITAB
FROM RBKP INNER JOIN RSEG
ON RBKP~BELNR = RSEG~BELNR
WHERE RBKP~BELNR IN IRNO
AND RBKP~GJAHR = P_GJAHR.
ENDFORM. " SELECT_DATA
***INCLUDE ZALVGRID_PG_USER_COMMAND_01I01 .
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
EXIT.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Warm Regards,
PavanKumar.G
Edited by: pavankumar.g on Jan 19, 2012 5:30 AM -
There is a issue while copying events in Outlook mapped SharePoint 2010 Calendar.
This issue only seems to happen when user copies an event from his Outlook calendar to the SharePoint 2010 calendar.
He is able to create a new event in the SharePoint calendar from Outlook.
He tried below steps, but still no success
1.
Open your Outlook calendar.
2. Open the event you want to copy.
3. From the File menu, select Info.
4. Click the Move to Folder button.
5. In the Copy Items To dialog box, scroll down to the SharePoint Lists item and select the SharePoint calendar to which you want to copy the event.
6. Click the OK button.
7. Click the Yes button when prompted to continue.
Please let me know if there is any possible solution for it.Hi,
I have done a test as your steps. I am able to copy an event from my Outlook calendar to the SharePoint 2010 calendar.
1. I suggest you test in another compute, perhaps your Outlook results to that issue.
2. Please create a new site collection, then test again, compare the result.
3. Maybe it will take some time before the copied event displays in the SharePoint 2010 calendar. So, wait a minute, compare the result.
Best Regards,
Wendy Li
TechNet Community Support -
Issues with vector resizing & rotation! (CS5)
I need some help and cannot seem to find the solution anywhere!
All of my questions come from this basic task: Dragging files from Illustrator into Photoshop
PROBLEM #1
In CS3, when I dragged vector Illustrator files over into Photoshop, it used to automatically resize the vector image to fit the canvas I was working on. It doesn't do that anymore with CS5. Now when I drag files over from Illustrator, it places it at full size, so I waste a lot of time having to zoom out, make it smaller, and zoom back into my project. I DO have "Resize Image During Place" selected in Photoshop, but it still doesn't resize it! I went back to CS3 and it automatically fit the vector image I was trying to drag over into my project so it fit!
PROBLEM #2
In CS3, when I rotated a vector image (usually that I dragged over from Illustrator), it would maintain the bounding box, but now in CS5 it doesn't! For instance, I would normally drag an Illustrator file into Photoshop, then want to rotate the image as desired. Then later in the day if I wanted to rotate the image a little more or less, all I had to do was select the vector image and it would keep that rotated box around it, and would tell me that the image was currently rotated 41 degrees. However, in CS5, when I rotate a vector image and then want to re-rotate it, or re-size it, later in the day it doesn't do it. When I select the vector image, the bounding box is always a box or rectangle, with all flat sides, and it tells me that the image is rotated 0 degrees (even though earlier I may have rotated it, say, 70 degrees). I'm not explaining this very well, but basically, I can't resize or rotate it more than once because it acts like it rasterizes the image, if that makes any sense.
Bottom line, these are HUGE annoyances for what I do!
PLEASE HELP!
wyzz7Ok, here are the three screenshots. Sorry if they're hard to see. Adobe puts a cap on size...
In the first screenshot, you can see I dragged a vector image of a sweatshirt from Illustrator into Photoshop, and it didn't resize it. In this instance, my Photoshop size was 1500x1500. Most of the time, I'm working on small images (under 300px). So when I drag an image over, it's massive compared to my canvas size. It's a huge annoyance and time waster.
In the second screenshot, I rotated the images as I wanted. However I want it to maintain that rotated bounding box (and it would keep it in CS3), but it doesn't now.
In the final screenshot, you can see how it displays the vector image after I rotated it, then wanted to re-rotate it or resize it. It defaults back to a square bounding box. Therefore, if I wanted to compress the image vertically (make the sweatshirt shorter), it will skew/distort the image.
Did that make things more clear? -
Issues with Post Process Event Handler in oim11g
Hi I am trying to trigger a post process event handler to set middle name but couldn't succeed.
can you please point out the mistakes if there are any?
This is the Java code.
package oim.eventhandler;
import java.io.Serializable;
import java.util.HashMap;
import oim.util.FROLogger;
import oracle.iam.identity.usermgmt.vo.User;
import oracle.iam.platform.context.ContextAware;
import oracle.iam.platform.kernel.spi.PostProcessHandler;
import oracle.iam.platform.kernel.vo.AbstractGenericOrchestration;
import oracle.iam.platform.kernel.vo.BulkEventResult;
import oracle.iam.platform.kernel.vo.BulkOrchestration;
import oracle.iam.platform.kernel.vo.EventResult;
import oracle.iam.platform.kernel.vo.Orchestration;
public class setmiddlename implements PostProcessHandler {
public void initialize(HashMap<String, String> arg0) {
// TODO Auto-generated method stub
public boolean cancel(long arg0, long arg1,
AbstractGenericOrchestration arg2) {
// TODO Auto-generated method stub
return false;
public void compensate(long arg0, long arg1,
AbstractGenericOrchestration arg2) {
// TODO Auto-generated method stub
* public EventResult execute(long arg0, long arg1, Orchestration arg2) { //
* TODO Auto-generated method stub return null; }
public BulkEventResult execute(long arg0, long arg1, BulkOrchestration arg2) {
// TODO Auto-generated method stub
return null;
public EventResult execute(long processId, long eventId,
Orchestration orchestration) {
HashMap<String, Serializable> parameters = orchestration.getParameters();
// If the middle name is empty set the first letter of the first name as the middle initial
String middleName = getParamaterValue(parameters, "Middle Name");
if (middleName.trim().length()>0) {
String firstName = getParamaterValue(parameters, "First Name");
middleName = firstName.substring(0,1);
orchestration.addParameter("Middle Name", middleName);
return new EventResult();
private String getParamaterValue(HashMap<String, Serializable> parameters, String key) {
String value = (parameters.get(key) instanceof ContextAware)
? (String) ((ContextAware) parameters.get(key)).getObjectValue()
: (String) parameters.get(key);
return value;
################ PostProcessEventHandlers.XML#############
<eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
<!-- Custom validation event handlers -->
<!-- Custom preprocess event handlers -->
<action-handler
class="oim.eventhandler.setmiddlename"
entity-type="User"
operation="CREATE"
name="setmiddlename"
stage="postprocess"
order="1000"
sync="TRUE"/>
</eventhandlers>
################ plugin.xml##############
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins>
<plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
<plugin pluginclass="oim.eventhandler.setmiddlename" version="1.0" name="setmiddlename"/>
</plugins>
</oimplugins>
################ weblogic.properties##############
wls_servername=oim_server1
application_name=OIMMetadata
metadata_from_loc=/data1/oim_install/Oracle/Middleware/Oracle_IDM1/server/temp/import/metadata/custom/PostProcess
metadata_files=/metadata/custom/PostProcess/PostProcessEventHandlers.xml
application_version=11.1.1.3.0
And the PostProcessEventHandlers.zip contains lib\PostProcess.jar
both PostProcessEventHandlers.zip and PostProcessEventHandlers.xml are placed in the "metadata_from_loc"
The registration was successful and I could see the entries in the PLUGINS table
ID: oim.eventhandler.setmiddlename
TYPE: oracle.iam.platform.kernel.spi.EventHandler
VERSION: 1.0
NAME: setmiddlename
ZIPID: 23
and PLUGIN_METADATA does not contain any values
PLUGIN_ZIP contains ZIPID as 23 and ZIP as (BLOB)
Did I miss anything?
what is the mistake that I am doing?
Edited by: 883725 on Sep 9, 2011 2:30 AM
Edited by: 883725 on Sep 9, 2011 2:31 AMI am getting this error when running weblogicDeleteMetadata.sh.
I have set the OIM Home and Weblogic home. Though Import and export works absolutely fine.
Any other way where I can connect directly to DB and delete the contents?
+Please enter your username [weblogic] :weblogic+
+Please enter your password [welcome1] :+
+Please enter your server URL [t3://localhost:7001] :t3://localhost:10070+
Connecting to t3://localhost:10070 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDM_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Problem invoking WLST - Traceback (innermost last):
File "/data1/oim_install/Oracle/Middleware/Oracle_IDM1/server/bin/weblogicDeleteMetadata.py", line 21, in ?
File "/data1/oim_install/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 109, in deleteMetadata
File "/data1/oim_install/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 574, in executeAppRuntimeMBeanOperation
File "/data1/oim_install/Oracle/Middleware/oracle_common/common/wlst/mdsWLSTCommands.py", line 713, in saveStackAndRaiseException
WLSTException: MDS-00001: exception in Metadata Services layerMDS-91009: Operation "deleteMetadata" failure. Use dumpStack() to view the full stacktrace. -
My Google Calendar syncs with my iPhone and it seems that since the last IOS upgrade, weekend events are showing up incorrectly. For instance, an event that should be Sunday 7pm until Monday 7:30am shows up on the calendar view from Sunday 7:30am until 7:00pm. When I click on the event to edit it, it says that it is Sunday 7p-Monday 7:30a (which is correct); it's just displaying in the wrong timeslots on the calendar view. My Time Zone is set correctly, and this is only happening to events on the weekend. Other events that are identical show up correctly on weekdays (Monday - Friday).
So, don't use youtube.
http://www.the-top-tens.com/lists/best-alternatives-youtube.asp
http://www.youtubealternative.com/ -
Issue with All Day events - post Australian Daylight Savings change.
Hi all,
I have had a weird problem occur since daylight savings has changed for Australia.
I sync my Microsoft Outlook 2003 on my PC and calender on my iPhone. This works great and I have never had a problem until now. Since Sunday, 'all day' events created on Outlook are going into the previous day on the iPhone, and any 'all day' events created on the iPhone are spread across two days on Outlook.
All the timezones and clocks are correct on both devices and any specifc time appointments are correct on both devices. This only applies to All Day Events.
The other strange thing is that it only occurs for days between now and the last weekend in October. Interestingly enough this was the old date of daylight savings changeover before it was brought forward in 2007.
I think what is happening is that the iPhone's timezone doesn't know that it is daylights savings yet, even though the cell network is updating the clocks and making it appear correct.
This is also happening to my colleague.
Not sure how to fix this. Surely this is happening to others.
Any help would be great...
Trenti noticed with a client and outlook, when syncing with m.me i had a similar problem where i made an all day event and vs 1 day it was two.. the problem was tracked down to how outlook makes the event; it made a '24 hr event' not an 'untimed' event.
I unchecked the 'all day even't and it showed the event going from midnight to midnight (which for no good reason it called that the next day which it is not).. I shortened up the duration to a few hours mid-day and then checked the 'all day' check and it made it one day again.
post if it works. -
JDEV 10.1.3: Issue with Inherited public event handler methods in beans
I have a bean validator method which it inherits from another base class.
I am able to pick this method using the property inspector and it works fine.
But in the jspx source view, i see a red wiggly line under the expression. Is this a bug or some bizzare way of enforcing some best practice (if using inherited event handler methods in beans is NOT a best practice)?
The same is true for value change listeners.I started from scratch and the problem remains. Only one commandButton can fire an event which sets a variable that controls a af:switcher. The effect is similar to what the "blocking" attribute does but it is set to false on my components. Any ideas, time has already run out.
-
Issue with Event.EXITING in AIR 2.5
I am facing an issue with the Exiting event in AIR when creating my application using Flash builder. The exiting event does not function on windows shutdown... howevere if I click the 'X' button to exit the app it works perfectly fine....is there a bug in the exiting event...
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="init()"
styleName="plain" width="100%" height="100%">
<fx:Script>
<![CDATA[
import flash.events.Event;
import mx.controls.Alert;
protected function init():void
trace("handle exit");
NativeApplication.nativeApplication.addEventListener(Event.EXITING,handleExiting);
public function handleExiting(e:Event):void
Alert.show("Exit!");
trace("Handle Exit!!");
var f:File = File.desktopDirectory;
f = f.resolvePath("air-exit-test.txt");
var stream:FileStream = new FileStream();
stream.open(f,FileMode.WRITE);
stream.writeUTFBytes(ta.text);
stream.close();
]]>
</fx:Script>
<s:Panel width="100%" height="100%" title="Exit Event on Shutdown">
<s:HGroup width="95%" left="10" top="10">
<s:Label text="Enter text to save upon shutdown:"/>
<s:TextArea id="ta" height="200"/>
<s:Label width="95%" verticalAlign="justify" color="#323232" horizontalCenter="0" bottom="20"
text="The Exiting event can now be handled upon the user shutting down the OS giving you a chance to handle any unsaved data in your application upon shutdown. If you run this code in an AIR application and shutdown your OS, it will still save the data that you have entered in Text Area to air-exit-test.txt in your Desktop directory."/>
</s:HGroup>
</s:Panel>
</s:WindowedApplication>This bug has not been fixed as of AIR 2.7, I don't have a date/version I can give you when this will be addressed.
However, I would recommend adding a new bug to bugbase.adobe.com and include the sample project and a reference to our internal bug number. The public bug will then be linked to our internal bug and you'll be able to see updates as the state and status are changed. If you post back with the public bug URL, others effected can cast their votes and add notes as well.
Thanks,
Chris -
Hi,
In the beta version of safari released for windows, when we try run our web application we faced an issue with textarea. In safari browser the textarea is having an option to drag or resize, which makes other components in the page mis aligned. *Is there any way to disable the option of textarea resizing.*
Thanks,
arun d.Safari supports the max-width & max-height css properties. You can use those to limit the width.
-
RadAjaxManager issues with sharepoint 2010
I have two asp panels with ID's Panelcombo and PanelGrid .Panelcombo contains 6 comboxes and Panel Grid contains 1 radgrid. After filling all comboboxes I am showing Radgrid.I have RadAjaxManger with the following setting
<telerik:RadAjaxManager
ID="ajman"
runat="server">
<AjaxSettings>
<telerik:AjaxSetting
AjaxControlID="Panelcombo">
<UpdatedControls>
<telerik:AjaxUpdatedControl
ControlID="Panelcombo"/>
<telerik:AjaxUpdatedControl
ControlID="PanelGrid"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Radgrid contains RadNumerictextbox which has Client event as follows
<ClientEvents
OnValueChanged="ValueChanged"
/>
which is not firing.
When I remove the RadAjaxManager event fires perfectly.After debugging using firebug it gives error on console
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace
is enabled"
I have tested my code(with RadAjaxManager) in visual studio it works perfectly.But it gives error in sharepoint 2010 environment .
For your reference http://www.telerik.com/forums/radajaxmanager-issues-with-client-side-event-of-radgridHi,
I would suggest you do as follows:
1. Test your code in a ASP.NET Web Application project to see if the same error still exists;
2. Please apply other OOTB master pages to your site for a test;
3. As the limited resource we may have, it would be better to get a sample solution which can work in SharePoint 2010 environment from its official website, then deploy it to
your environment to see if it is an issue of your master page.
Feel free to reply with the test result or if there any progress.
Best regards,
Patrick
Patrick Liang
TechNet Community Support
Maybe you are looking for
-
Can i transfer credit from one account to another?
Or can I gift someone an app he loves?
-
After opening certain websites, pogo, firefox 4.0.1 closes with no error message. When I restore the session I get: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened we
-
How to create a workbook in BI 7.0 with more than 15 Sheets?
Hi Experts, i would like to know how to create a workbook with more than 15 Sheets. One Workbook should be based on one query and the other on differents queries. How should be the authorization? If you have any documents please just send it to me.
-
Standard or Suggestions for Engineer-to-Order Production Order Paperwork?
Hello all, I am a business user in charge of production scheduling for a engineer-to-order / make-to-order manufacturer. We print paper production orders and use these to drive manufacturing in the factory. Can anyone point me to information about b
-
I have problem starting OPS Center services. Ops Center is not coming online as scn/repordb is in the maintenance state. svcadm clear scn/reportdb too doesnt work. Did stop / start of agentadm, proxyadm and satadm server times, but no use. OCDoctor.s