How to implement custom socket option.
In our application we use DatagramSocket. We are able to set the standard socket options that are implemented in SocketOption interface by using the setter methods available in DatagramSocket. We need to set a custom (non-standard) socket option in the DatagramSocket created.
Any help on how to do this?
Hi,
this document in addition
http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
has a list of LoginModules, one that authenticates against physical database users
Frank
Similar Messages
-
How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?
Hi,
I have created custom action for Share functionality in document library.
On Share action i'm showing Model pop up with Share form with addition functionality.
I am developing custom share functionality because there is some addition functionality related to this.
How to Implement custom share functionality in SharePoint 2013 document Lib pro-grammatically?
Regards,
- SiddhehswarHi Siddhehswar:
I would suggest that you use the
Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
We customize <Edit> Ribbon. As shown below.
When user click <Edit Item>, the system will
render customized pop up window.
Will -
How to implement Custom Authentication and Authorization in Oracle SOA 11g
Can anyone please tell me, how to implement Custom Authentication in Oracle SOA 11g ?
Because in Oracle SOA 10.1.3.4 , i have implemented this custom authentication and authorization by implementing BPMAuthenticationService, BPMAuthorizationService, BPMIdentityService to verify againt my database systems.
implementation classes like the mentioned below
1).
public class SampleAuthenticationService extends SampleServiceBase implements BPMAuthenticationService {
2).
public class SampleAuthorizationService extends SampleServiceBase implements BPMAuthorizationService {
3).
public class SampleIdentityService extends SampleServiceBase implements BPMIdentityService {
Please help me to implement the authentication and authorization in Oracle SOA 11g .
thanks in advanceTo start with please go through following document
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_jms.htm
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm
Regards
Arpit -
How to add custom menu options in myaccounts module?
Hi experts,
To implement this, I have found myaccount.xml file in UI of myaccounts module. In this file, I found only menu headings but not menu options. Can anyone explain where data of menu options were populated from and how can I add my custom menu options? I also have tried to delete the menu heading but there was no effect. Please help!! I'm on WEC 1.0.
Regards,
DaroHi Daro,
the path to the billing module is "sap.com/wec/ecom/mc/billing". But nevertheless
1. you need only to enhance in your current modul the metadata.xml file with the link to your own myaccount.xml which you can create.
2. and then you can define within the new file the menu options you need.
3. the last step is to update your shop configuration with the new menu options.
Best regards,
Nico -
How to implement custom Model Class in Oracle ADF?
I am using Oracle ADF for one of my project and i am using Query component of ADF. For given tables the query component creates view objects and maps the relations. ADF uses its own custom model class for this component and it should understand the DB tables. But for my project i have no access to database. All i can do is pass a string or object/query to the existing (custom) Java class/object, and this model class formulates query and queries the database and returns the value to my Java class. I have to display these results using ADF to the front end. Is There a way to achieve this? Can i replace/override the existing Model class of ADF. If so how?
Thanks in advance for your help.Hi, there:
Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
You can also see all the framework JS files and CSS files that way as well.
We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
Thanks,
Joe Huang -
How to implement custom logging using log4j in Webcenter Portal Application
I need to implement custom logging and export it to a new log file in Oracle 11.1.1.5 (Webcenter portal application). Please tell me the steps to implement this functionality.
Please post questions for WebCenter Portal in it's own forum:
WebCenter Portal -
How to implement custom skin in JavaFX 2.0?
To implement custom skin, I extend TextFieldSkin (in com.sun.javafx.scene.control.skin.*) class, but I don't know which methods to overwrite, anyone can provide some sample codes? Thanks!
Hi,
You can implement Skin interface or extend SkinBase class. I made some controls on my blog http://jojorabbitjavafxblog.wordpress.com/ but i still have not updated code to build 40. In my opinion the easiest way is to make first skin for Button class for example add text and Rectangle. -
How to add custom start options in VS package
I need to add custom start options in VS package.
Example:
Instead of showing "start", need to provide options like "Start in Firefox", "Start in Chrome" and handle their events on our own.
Any references would be helpful
Thanks in advanceHi Daro,
the path to the billing module is "sap.com/wec/ecom/mc/billing". But nevertheless
1. you need only to enhance in your current modul the metadata.xml file with the link to your own myaccount.xml which you can create.
2. and then you can define within the new file the menu options you need.
3. the last step is to update your shop configuration with the new menu options.
Best regards,
Nico -
How to implement custom methods on form submit
I'm a newbie to ADF environment, coming from pl/sql world. I have already tried default drag and drop functionality for forms. But, with new requirements, I need to write some custom code to create and update form. I read about managed beans, but didn't quite understand it. Any pointers to examples are appreciated.
Regards,
Surya
Edited by: sgodavar on Sep 29, 2010 1:13 PMSuganth,
Sometimes, the default form to create and edit built (drag and drop) on top of BCs may not be enough to code all the business logic. In that case, I'm looking for the basic steps involved to implement such custom logic. For example, I may need to call a managed bean or some stored procedure from ADF faces. Since, I'm totally new to ADF, I don't know how to go about it and right way to do it in ADF environment. Any pointers to such examples are appreciated.
Regards,
Surya -
How to implement custom field renderer?
I'm trying to create a custom field renderer that will render certain database fields as checkboxes in HTML. I'm using the Data Web Beans/JSP approach. In my view object I have added a "Boolean" property to the attributes that represent boolean type fields (e.g., field Warranty to indicate if an asset is under warranty). I have created a CheckBoxField() class similar to the TextField() class, and call it if the attribute is a boolean, but I can't figure out how to set the custom field renderer. When the program runs, it still uses the TextField renderer. The JDeveloper online documentation doesn't say anything about it. Is there a sample program or some other documentation that implements a custom field renderer?
Hi,
this document in addition
http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
has a list of LoginModules, one that authenticates against physical database users
Frank -
10.6.6 - How to set custom view options for specific folders
How is it that Windows has had the ability to ability to set custom folder view options forever and OSX can't. What is the big deal? Just do it. Whenever I set the folder view options it changes the view for all the folders. I can do folder specific changes as long as the finder window is open then I close it and open it again every folder is the same again. It's just an annoyance and it's something so rudimentary it's embarrassing.
Try the following:
I want to have, say, one folder in list view
Open that folder, set it to list view, type command-J, and in the view-options window that opens, check the box at the top for "Always open in list view".
then the subfolder of that folder I want to have in cover flow view. permanently.
Open that folder, change it to cover-flow view, and in the view-options window check the box at the top for "Always open in cover-flow."
Those two folders should "remember" the custom views that were set for them.
There's additional discussion about the meaning of the"Use as defaults" button in this thread
http://discussions.apple.com/thread.jspa?messageID=13063792
My own take is that folders that have not been customized by checking the "Always open in xxx view" box will by default open in the same view (icon vs list vs column, etc) that was in effect for the previously opened folder. *Within each view*, you can set the default parameters (text size, etc) for a new folder by setting up a folder the way you like and then checking the view options box for "Use as defaults" at the bottom. -
How to implement custom db login module .
Hi Frank.
I was going thru your document on implementing the custom db login module in my application. I am not able to configure this same at my end. when i issue a command to add the dbloginmodule on the j2ee home directory it ask me for the ABSTRACTLOGINMODULE username , pls tell what is to be provided here because i tried it for admin user as specified in your document but it gave me an error user admin not found in the system. Pls tell what to do in this case?
can any one ...list down the steps to do same...for my applicationHi,
if I had to list all the steos then I would end up writing the same steps that come with the LoginModules
Note that if you add the configurations on the command line of JAZN then the ABSTRACTLOGINMODULE most likely is "oc4jadmin", which is the default administartor account
Frank -
How to implement custom view of certain elements in a JTextPane?
Hi. I'm writing an application with a JTextPane in which I want to allow a style or attribute to be added to an (arbitrary) span of text, which will then result in a rectangle being drawn around that span of text. But I'm not sure how to do this.
I figure it will be necessary to extend one of the subclasses of View, but I'm not sure how to work that into my Document. Will I have to create a custom ViewFactory, or a custom EditorKit? Not sure I'd know how to do that.
Any pointers would be much appreciated.
Cheers,
GregoryHere's the version I came up with. For some reason the width and height parameter of the two methods have a slightly different meaning which through me off for a while. Seems silly to me. Anyway it appears to work now:
import java.awt.*;
import javax.swing.*;
import javax.swing.text.*;
public class RectangleHighlighter extends DefaultHighlighter.DefaultHighlightPainter
public RectangleHighlighter(Color color)
super( color );
public Shape paintLayer(Graphics g, int offs0, int offs1,
Shape bounds, JTextComponent c, View view)
Color color = getColor();
if (color == null)
g.setColor(c.getSelectionColor());
else
g.setColor(color);
if (offs0 == view.getStartOffset() && offs1 == view.getEndOffset())
// Contained in view, can just use bounds.
Rectangle alloc;
if (bounds instanceof Rectangle)
alloc = (Rectangle)bounds;
else
alloc = bounds.getBounds();
// g.fillRect(alloc.x, alloc.y, alloc.width, alloc.height);
g.drawRect(alloc.x, alloc.y, alloc.width - 1, alloc.height - 1);
return alloc;
else
// Should only render part of View.
try
// --- determine locations ---
Shape shape = view.modelToView(
offs0, Position.Bias.Forward, offs1,Position.Bias.Backward, bounds);
Rectangle r = (shape instanceof Rectangle)
? (Rectangle)shape : shape.getBounds();
// g.fillRect(r.x, r.y, r.width, r.height);
g.drawRect(r.x, r.y, r.width - 1, r.height - 1);
return r;
catch (BadLocationException e)
// can't render
// Only if exception
return null;
public static void main(String[] args)
JTextPane textPane = new JTextPane();
textPane.setText( "one\ntwo\nthree\nfour\nfive\nsix\nseven\neight\n" );
JScrollPane scrollPane = new JScrollPane( textPane );
// Highlight some text
RectangleHighlighter cyan = new RectangleHighlighter( Color.CYAN );
RectangleHighlighter red = new RectangleHighlighter( Color.RED );
try
textPane.getHighlighter().addHighlight( 8, 14, cyan );
textPane.getHighlighter().addHighlight( 19, 24, red );
catch(BadLocationException ble) {}
JFrame frame = new JFrame();
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.getContentPane().add( scrollPane );
frame.setSize(300, 200);
frame.setVisible(true);
} -
How to implement custome PIM fields
Hi Experts,
I have some problem in my application development. My requirement is I have Input field for partner name. In that if I type character s means, it should display the names from database starts with s character. Similar example in blackberry message, contact, to do list. In those application if u type any name in to address in mail, it will display match names from PIM.
Like mail application i need to do my mobile application.
Is it possible to do this, If yes how.
Please help me............
Thanks,
SunilHi,
Please see the note:730068.1 - How To Invoke a DFF from a custom form
Thanks,
Ajikumar G -
How to implement custom lov button without the standard template.fmb?
hello,
i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
1. when the text item get focus, lov button display.
2. when the text item lost focus, lov button disappear.
3. when scrollbar scrolls, the position of lov button adjust accordingly.
4. there is only one lov button in one form and the lov button was created dynamicly.
i found it's so complex to do this.
anyone can help?Try to change the following setting to true
app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat
Maybe you are looking for
-
After years of owning all things Mac, I am finally trying to use iChat, and can't get it to work. I am using gmail, and I see my buddy (no camera icon next to her name), but all I can do is send a message--the video and audio chat icons are gray, as
-
My device only displays the Diagnostic Mode screen. Don't metter what I do. I've tryed to update itunes and reestore with latest software a few times, but it always comes back on the Diagnostic Mode screen. What's wrong?
-
This is the most frustrating site and instructions. I got locked out of my iTouch and had to do a system restore. I followed the directions for having never synced with itunes directions, as I inheireted this itouch from my dad and when I tryed to
-
Oracle database 11g certification for Java developer
Hello, I'm Java developer, OCPJP 6 ( Oracle Certified Professional, Java Programmer +6+ ) and I decided to pass exams: 1Z0-051 and 1Z0-052 to get OCA ( Oracle Database +11g+ Administrator Certified Associate ) certificate, but I need some advice, may
-
CS 5.5 Photoshop 12.1 and touch capabilities of new notebook.
Hello Everybody, It.s Diego. Some years ago I bought creative suite production edu 5.5. I'd like to know if Photoshop of CS 5.5 works with touch capabilities like graphic pen pad with products like this: http://www.dell.com/us/business/p/precision-m3