Setting Parameters to a Custom RichTextBox Control Hosted in a DataGridViewColumn
I have a custom control called RichTextBoxMasked which is similar to a MaskedTextBox but different. This control, when dropped on a form, allows me to "mask" the value in the RichTextBox. The enum values for the control are:
enum Mask { None, DateOnly, PhoneWithArea, IpAddress, SSN, Decimal, Digit, AllCaps, SpellCheck}
Either programmatically or via a dropdown in the property grid, I can restrict the value of the control to one of the above formatted types, or perform spellcheck.
So far, so good, but now I want to do the same thing in a DataGridView. That is, I want a DataGridViewRichTextBoxMaskedColumn that provides the same function for the content of the cells of the columns.
So I started with very good sample project that I found at
http://www.codeproject.com/Articles/31823/RichTextBox-Cell-in-a-DataGridView.
This code allows me to host a RichTextBox in the cells of a DataGridViewColumn easily enough by substituting "RichTextBoxMasked" for every occurrence of "RichTextBox", but I can't determine how to pass a Mask value from my enum
to the cell so that the editing control knows what to do with it.
I hesitate to post my code because there is a lot of it. I hope that viewing the Code Project sample will suffice. However, I have posted a bit of code below that shows the custom control being added to a panel on a form. I hope to
do something similar to a column in a DataGridView.
RichTextBoxMasked rtbx = new RichTextBoxMasked();
rtbx.Masked = Mask.SpellCheck;
pnlEquipmentDetails.Controls.Add(rtbx);
Will I have to resort to a custom DataGridViewRichTextBoxMaskedCell to replace the DataGridViewTextBoxCell class found in the sample? If not, then how should I modify the sample code? If so, then how would I go about doing that?
Rob E.
Shortly, we need to create an editing control class which inherits from your RichTextBoxMasked control.
If I understand you correctly, I have already done so when I substituted RichTextBoxMasked for RichTextBox in the editing control code:
public class DataGridViewRichTextBoxEditingControl :
RichTextBox, IDataGridViewEditingControl
becomes...
public class DataGridViewRichTextBoxEditingControl :
RichTextBoxMasked, IDataGridViewEditingControl
Is that what you meant? If so, it still doesn't give me a way to assign a value for the mask parameter for the RichTextBoxMasked control.
I am wondering if I shouldn't abandon this effort and instead modify the original code to DataGridViewRichTextBox so that the editing control has the same functionality as that found in my RichTextBoxControl. In other words, DataGridViewRichTextBox
would not be altered to inherit RichTextBoxMasked, and the editing control would contain mostly the same functionality code as that found in RichTextBoxMasked. I suppose then I could create a Mask property for the DataGridViewRichTextBox class
so that it could be used to create a cell template which would assign a property value to the DataGridViewRichTextBoxColumn. Do you think that would work?
Rob E.
Hello,
Yes, we need to change that code like the one you shared, to share you a example, I created a simple sample.
My RTB Class.
public class MyRichTextBox:RichTextBox
public string YourCustomProperty { get; set; }
DataGridViewRichTextBoxEditingControl.
public class DataGridViewRichTextBoxEditingControl : MyRichTextBox, IDataGridViewEditingControl
//the other code
DataGridViewRichTextBoxCell.
public class DataGridViewRichTextBoxCell : DataGridViewImageCell
public static readonly MyRichTextBox _editingControl = new MyRichTextBox();
public void PassYourParm(string strYourparmater)
_editingControl.YourCustomProperty = strYourparmater;
public override Type EditType
get
return typeof(DataGridViewRichTextBoxEditingControl);
public override Type ValueType
get
return typeof(string);
set
base.ValueType = value;
public override Type FormattedValueType
get
return typeof(string);
private static void SetRichTextBoxText(MyRichTextBox ctl, string text)
try
ctl.Rtf = text;
catch (ArgumentException)
ctl.Text = text;
private Image GetRtfImage(int rowIndex, object value, bool selected)
Size cellSize = GetSize(rowIndex);
if (cellSize.Width < 1 || cellSize.Height < 1)
return null;
MyRichTextBox ctl = null;
if (ctl == null)
ctl = _editingControl;
ctl.Size = GetSize(rowIndex);
SetRichTextBoxText(ctl, Convert.ToString(value));
if (ctl != null)
// Print the content of MyRichTextBox to an image.
Size imgSize = new Size(cellSize.Width - 1, cellSize.Height - 1);
Image rtfImg = null;
if (selected)
// Selected cell state
ctl.BackColor = DataGridView.DefaultCellStyle.SelectionBackColor;
ctl.ForeColor = DataGridView.DefaultCellStyle.SelectionForeColor;
// Print image
rtfImg = RichTextBoxPrinter.Print(ctl, imgSize.Width, imgSize.Height);
// Restore MyRichTextBox
ctl.BackColor = DataGridView.DefaultCellStyle.BackColor;
ctl.ForeColor = DataGridView.DefaultCellStyle.ForeColor;
else
rtfImg = RichTextBoxPrinter.Print(ctl, imgSize.Width, imgSize.Height);
return rtfImg;
return null;
DataGridViewRichTextBoxColumn.
public class DataGridViewRichTextBoxColumn : DataGridViewColumn
//the other code
public void ToPassYourParm(string strYourparmater)
(base.CellTemplate as DataGridViewRichTextBoxCell).PassYourParm(strYourparmater);
Form.
private void Form1_Load(object sender, EventArgs e)
DataGridViewRichTextBoxColumn rtbColumn = new DataGridViewRichTextBoxColumn();
rtbColumn.ToPassYourParm("YourParm");
this.dataGridView1.Columns.Add(rtbColumn);
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Windows Phone - Cannot bind custom user controll with listview item source property
It is Windows Phone 8.1 (runtime)
I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
I need to transfer binded data (string) to custom controll.
It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
Assume this:
XAML Test-Main page
<Grid Background="Black"> <ListView x:Name="TestList" Background="#FFEAEAEA"> <ListView.ItemTemplate> <DataTemplate> <Grid Background="#FF727272"> <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid>
XAML Test-Main page c#
public sealed partial class MainPage : Page { List<TTag> tags = new List<TTag>(); public MainPage() { this.InitializeComponent(); this.NavigationCacheMode = NavigationCacheMode.Required; } public class TTag { public string Tag { get; set; } } private void InitializeAppData() { TTag tag = new TTag() { Tag = "hello world" }; tags.Add(tag); tags.Add(tag); tags.Add(tag); TestList.ItemsSource = tags; } protected override void OnNavigatedTo(NavigationEventArgs e) { InitializeAppData(); } }
User Control XAML:
<UserControl x:Class="CustomControllTest.TextBoxS" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:CustomControllTest" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="#FF4F4F4F" > <RichTextBlock x:Name="MyTestBlock"> </RichTextBlock> </Grid></UserControl>
User Control c#
public TextBoxS() { this.InitializeComponent(); LayoutRoot.DataContext = this; } public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register( "BindingTextValue", typeof(string), typeof(TextBoxS), new PropertyMetadata(default(string))); public string BindingTextValue { get { return GetValue(BindingTextValueProperty) as string; } set { SetValue(BindingTextValueProperty, value); //This method adds some custom logic into RichTextBlock, pointed correctly SetupBox(value); } }
Thanks for helping ;)If you use a built-in control rather than your custom control, does binding work? You should verify that first.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Setting Application Set Parameters For Variable
Hi Guys,
When I've read the BPC help about "Setting application set parameters" and the statement likes this :
Allows you to define a custom email message that is sent when a work status code is changed. The message is applicable to all applications in the application set. You can customize the message using the following variables:
%USER% - name of user who changed the status
%ED% - Entity dimension
%EM% - Entity member
%CD% - Category dimension
%CM% - Category member
%TD% - Time dimension
%TM% - Time member
%STA% - Work status
%OWNER% - Entity owner
%TIME% - time of change
For example, you can enter "This is to inform you that %USER% has updated the work status for %EM%, %CM%, %TM% on %TIME%". The message can be up to 255 characters, and there is no need for quotes or brackets around parameters.
The Questions:
When I put the "%ED" into the textfield "APPROVALSTATUSMSG", after that I try to send email from BPF and the "%ED" still same into the email message. But it should describe the value of variable.
Could you help me how to view the value of variable ?
Thanks,If I look at the available parameters in the helpfile 2 things are strange in my opinion:
1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
I would like to know the results!
Joost -
Is there a way where we can set the headers from custom plugin
Using OAM 11.1.1.5 and webgate 11g. I am trying to custom cookie using a authentication plugin. So I created a custom authentication module with three steps. First identification then authentication both using Oracle's out of box plugins. Have set the identity store to OID. The third step is creating the cookie. In addition to this since we have integrated EBS with OAM, it is a requriement from Oracle and EBS that we pass two parameters in header, User name set to $user.userid and USR_ORCLGUID to $user.attr.orclguid. We are trying to set this paramters from authentication polices response settings, the $user.userid is being set properly however we are getting an exception in $user.attr.orclguid . Is there a way where we can set the headers from custom plugin or any other way. Thsi exception is only with custom authentication module. When we use LDAP Authentication module it works.
Exception below:-
Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Identity Provider Configuration not found for : NONE..>
<Apr 17, 2013 4:47:54 PM CDT> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...>
<Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14007> <Provider failed to retrieve value for policy: "null" in domain: "null". Response details: "RuntimeResponse name="USER_ORCLGUID", value="$user.attr.orclguid", type="HEADER"".>
<Apr 17, 2013 4:47:54 PM CDT> <Warning> <oracle.oam.engine.authz> <OAMSSA-14005> <Error thrown during response processing:
oracle.security.am.engines.authz.ResponseException: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:243)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Error initializing User/Role API : Identity Provider Configuration not found for : NONE...
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:180)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthz(ResponseProcessor.java:120)
at oracle.security.am.engines.authz.AuthorizationEngine.isAuthorized(AuthorizationEngine.java:122)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:570)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Caused By: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20005: Error initializing User/Role API : Identity Provider Configuration not found for : NONE..
at oracle.security.am.engines.common.identity.provider.util.ConfigUtil.getInitParams(ConfigUtil.java:146)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.<init>(IdentityProviderImpl.java:164)
at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderPool.getProvider(IdentityProviderPool.java:89)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProviderInternal(UserIdentityProviderFactory.java:116)
at oracle.security.am.engines.common.identity.provider.UserIdentityProviderFactory.getProvider(UserIdentityProviderFactory.java:97)
at oracle.security.am.engines.common.identity.util.OAMIdentity.getAttribute(OAMIdentity.java:539)
at oracle.security.am.engines.authz.IdentityValueProvider.getUserAttribute(IdentityValueProvider.java:241)
at oracle.security.am.engines.authz.IdentityValueProvider.getValue(IdentityValueProvider.java:138)
at oracle.security.am.engines.authz.ResponseProcessor.processOne(ResponseProcessor.java:310)
at oracle.security.am.engines.authz.ResponseProcessor.process(ResponseProcessor.java:153)
at oracle.security.am.engines.authz.ResponseProcessor.processAuthn(ResponseProcessor.java:90)
at oracle.security.am.engines.authz.AuthorizationEngine.fillAuthenticationResponses(AuthorizationEngine.java:225)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:127)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.populateAuthnResponses(ResponseHelper.java:267)
at oracle.security.am.engines.enginecontroller.util.ResponseHelper.handleAllPolicyResponses(ResponseHelper.java:178)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.authorize(AuthzEngineController.java:679)
at oracle.security.am.engines.enginecontroller.AuthzEngineController.processEvent(AuthzEngineController.java:168)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:418)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:586)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthorizationResponse(NGProvider.java:1617)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:264)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:215)
at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:824)
at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
at org.apache.mina.common.IoEvent.run(IoEvent.java:63)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:42)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.sso> <BEA-000000> <SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.sso.SsoUser getAppsUsers
SEVERE: SEVERE exception while finding AppsUser details for GUID $user.attr.orclguid -->
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <SEVERE SQL error==>
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
SEVERE: SEVERE SQL error==>
java.sql.SQLException: ORA-01465: invalid hex number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.apps.fnd.ext.jdbc.utils.QueryRunner.query(QueryRunner.java:85)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUsers(Unknown Source)
at oracle.apps.fnd.ext.sso.SsoUser.getAppsUser(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.common.server.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.ext.common.server.FndSsoFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Apr 17, 2013 4:47:55 PM CDT> <Error> <oracle.apps.fnd.ext.common.server> <BEA-000000> <ERROR found--redirecting to error.jsp>
Apr 17, 2013 4:47:55 PM oracle.apps.fnd.ext.common.server.FndSsoLoginProcess2 doGet
SEVERE: ERROR found--redirecting to error.jsp -
Hi,
I confess I'm a newbie. I've created my first table and a report based on that table. When I try to print the report, I get a dialogue box asking for the parameters for certain fields. How do I indicate "print all"? Can I save this setting, to
print all of this document, every time? Do I have to input the parameters for each field, each time I print the document?
I see the value of setting parameters, but don't need to filter this report.
Thanks so very much! Endless gratitude!That would explain it. Because the report no longer recognizes the references it contains to the div_cde column, it treats it as a parameter. Hence the prompt. You can change the report design so that every reference to div_cde becomes
one to div. This could be in a number of places such as the ControlSource property of a control in the form, or the name of a column (field) by which the report is grouped or ordered, so an easier solution might be to change the table design, renaming
the div column back to div_cde. The report should then work without amendment.
Ken Sheridan, Stafford, England -
Viewing documents stored using archivelink in firefox / custom html control
Hi All,
I've have set display settings to call internet browser in transaction OAG4 of archivelink.When any document is opened,it is shown in the internet explorer(default browser).I wish to view the document in firefox or any other browser .Also is it possible to view the document in custom html control programmed in abap.Could give any suggestions.
Regards
ramI think I figured it out.
The slashes in the image paths went the wrong direction. \ in stead of /
Apparently, this is no problem for IE, but chokes Firefox. Keep an eye out. -
How to create custom Data Control for Iterator?
Hi,
I have seen somewhere that is possible to customize set of data controls for all iterators in Data Controll Palette e.g. by adding custom data control (I remember JDev uses Velocity to display data controls). Is there any documentation or tutorial how to do it. Meybe any Oracle ACE will write some steps on his blog.
KubaI'm looking for any documentation or better some examples to customize files:
jdev/system/oracle.adfm.dt.faces.10.1.3.41.57/jsp_databinding_templates.xml
jdev/system/oracle.adfm.dt.faces.10.1.3.41.57/faces_creator_configuration.xml
This customization may be very useful while developing appliations
Kuba -
Issue in custom delegate control
hi
am creating a custom delegate control with controlid ="AdditionalPageHead" . i deployed and activated as a site collection feature.
but i am not sure how to see the activated control/ how to see this control in action.
below is my code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using Microsoft.SharePoint.Utilities;
using Microsoft.SharePoint.Diagnostics;
namespace OPUserDispName
public class EcmaScriptDelegateControl :WebControl
protected override void OnLoad(EventArgs e)
base.OnLoad(e);
string helloAlert = "alert('Hello, world!');";
this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "popup", helloAlert, true);
// if(!HttpContext.Current.User.Identity.IsAuthenticated)
// return;
// SPUser user = //SPContext.Current.Web.EnsureUser("i:0#.f|OPMembership|OPAdmin");
// user.Name = "OPAdmin";
// user.Update();
in my elements.xml file of my module :
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Control Id="AdditionalPageHead" ControlAssembly="OPUserDispName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=467af93481413beb" ControlClass="OPUserDispName.EcmaScriptDelegateControl"
></Control>
</Elements>
here i wanna see alert when the activated/or page load happened.
may i know, how to see this, in working. as per the current scenario, am unable to see any output even after feature activation.
do i need to do any settings in master page? do i need to perform any changes in web.config.
help is appreciated!This has complete solution.
http://www.codeproject.com/Articles/113704/SharePoint-Master-Page-Customizations-Through
can you try RegisterStartupScript instead
of RegisterClientScriptBlock?
Bala -
How do I reuse a custom java control in another project?
Relatively simple question, but I am having a lot of trouble with this. Documentation
alludes to this being possible and easy, but never says how (and the only tutorials
I can find describe creating a custom java control in the same project where they
are used):
"You can design a custom control for use in one project, or you can design a custom
control for easy reuse in multiple projects." (from WLS docs on Java Controls)
"When the control project builds, all of the controls and associated files are
compiled into a single jar file and pushed onto the classpath of the containing
application for immediate use and testing by other projects in the application.
This jar is self-contained and can be moved to any other application by adding
it to the application’s Library folder. Appropriately marked controls in the Library
it will automatically appear on the user’s palette, ready for incorporation into
an application." (from dev2dev article on controls, P. Hussey)
I have a Workshop application which contains a few projects. One project is a
component project, another is a web project. I created a custom java control in
the control project and built it (JAR appeared in the Libraries folder). Now I
open up the page flow in my web app project, and try to drag the java control
onto my page flow - but I get an eror that the control must reside in the same
project! It does not automatically appear on my palate, so if I go over to the
palate on the right, and try to "add control" I only get a list containing the
BEA controls - no custom controls are listed.
What am I doing wrong? How can I incorporate my custom control into a web project?
I don't want to move the control in the web project, since this contradicts the
concept of a separate shared library. I should be able to build a library of controls
and reuse them in our web projects right?
-BobPlease disregard... I got it to work. For some reason I had to close Workshop,
restart it, then I reloaded the application, rebuilt the control project, and
now my control appears in the list of controls and can be easliy added to the
palette.
"Bob" <[email protected]> wrote:
>
Relatively simple question, but I am having a lot of trouble with this.
Documentation
alludes to this being possible and easy, but never says how (and the
only tutorials
I can find describe creating a custom java control in the same project
where they
are used):
"You can design a custom control for use in one project, or you can design
a custom
control for easy reuse in multiple projects." (from WLS docs on Java
Controls)
"When the control project builds, all of the controls and associated
files are
compiled into a single jar file and pushed onto the classpath of the
containing
application for immediate use and testing by other projects in the application.
This jar is self-contained and can be moved to any other application
by adding
it to the application’s Library folder. Appropriately marked controls
in the Library
it will automatically appear on the user’s palette, ready for incorporation
into
an application." (from dev2dev article on controls, P. Hussey)
I have a Workshop application which contains a few projects. One project
is a
component project, another is a web project. I created a custom java
control in
the control project and built it (JAR appeared in the Libraries folder).
Now I
open up the page flow in my web app project, and try to drag the java
control
onto my page flow - but I get an eror that the control must reside in
the same
project! It does not automatically appear on my palate, so if I go over
to the
palate on the right, and try to "add control" I only get a list containing
the
BEA controls - no custom controls are listed.
What am I doing wrong? How can I incorporate my custom control into a
web project?
I don't want to move the control in the web project, since this contradicts
the
concept of a separate shared library. I should be able to build a library
of controls
and reuse them in our web projects right?
-Bob -
Is it possible to create a custom filter control in SSRS 2005?
Hello!
I need to make a custom filter control for my reports which will provide some options for date parameter:
- year and month selection
- Some RadioButtons: "Yesterday", "Today", "Tommorow", "Last week", "Next week"
- Date range
Please, give any suggestion which can help to solve this task.Vsevolod,
Unfortunately there is no built-in support for this customization in SSRS so far. You have to code to implement this feature in your custom application. For example, use a ReportViewer control in an ASP.NET application or a Win Form application.
Anyway I think that you promote a good suggestion to improve Microsoft product's feature. Could you please give your feedback to our product team here?
https://connect.microsoft.com/sql
Thank you.
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Custom Table Control in VA21/22/23 Tranaction Issue
Hi Friends,
Working on SAP R/3 Release 4.6C.
There is a custom Table Control in one of the screen of VA21 Transaction.
My requirement is to insert one more Field/Column to this table Control.
The following are the sequence of fields in Table Control.
Column1
Column2
Column3
Column4
After Inserting the Field in the middle of Column1 and Column2.
The Sequence of Table Control is getting Changed.
The Table Control has to show like this.
Column1
Column2 "New Field which is added
Column3
Column4
Column5
But I'm getting as below
Column5
Column3
Column2 "New Field which is added
Column1
Column4
When executing the Table Control Screen in SE51 with Screen Name and Screen Number,I am getting the perfect output.
When executing thro VA21/22/23, Iam getting sequence mismatch.
Anyone come across this scenario. Please guide to solve this.
Thanks.Solved.
Thanks. -
Disable Toolbar in custom TextEditor Control
Dear Gurus ,
I made a custom Texteditor control in my own screen. The problem is that i can't disable the toolbat above the control .
Please see my code ....
CREATE OBJECT G_EDITOR_3
EXPORTING
PARENT = G_EDITOR_CONTAINER_3
WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE
WORDWRAP_POSITION = 70
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
TITEL = G_REPID
TXT2 = SPACE
TXT1 = TEXT-001.
ENDIF.
Thanks a lot ....Hi,
Try this code to disable your custom designed texteditor.
CALL METHOD: editor_s->set_toolbar_mode
EXPORTING toolbar_mode = '0'.
pls don't forget to place your container name inplace of mine,i.e "editor_s".
do rply if it's workable.
Edited by: izullah on Feb 16, 2010 7:24 AM -
Need custom report on Host Availibility
Hi,
I want a custom report on Host Availibility can anyone suggest anything...
regards
sudipHi,
I want a custom report on Host Availibility can anyone suggest anything...
regards
sudip -
Setting classpath not working in java control panelr of jre1.5
-Dawt.toolkit=ttt.util.ProxyToolkit -cp ; ;C:\TTTHTML\TestingTool\tttruntime_v1.2.jar;
when I place above path in java control pannel as runtime parameters
browser is crashing in java 1.5 but in java 1.4 its working fine.
Another observation i have made is that runtime parameters your specifiying in java control panel if there not there in the specfied location
in java 1.4 version browser crashes but in java 1.5 it wont crash.
You can give garbage parameters browser wont crash in jre1.5 where as in jre1.4 browser will crashBlah. It seems absurd that it doesn't work, but I've spent several hours at it and have gotten no further.
For now I'm just resigned to the fact that I won't be able to have HTML in the JTextPane if I also want components.
No one has any ideas? -
How to implement a custom UI control
I need to display interactive maps on the Windows SAP GUI. The maps
are dynamically generated and fetched from an external map server using ABAP.
The interactive map should be scrollable and allow the user to select a single or multiple POIs (Point Of Interest) using the mouse and drag and drop them into
a table and/or tree. There should be an visual indication on the map
for selected POIs and a tooltip displaying additional information should
pop up if the cursor is placed above a POI. I've implemented all this using
SWT / Java already which was pretty straight forward.
I looked at the CL_GUI_PICTURE control but it seems that I would need more
events (such as OnMouseMove, OnLeft/RightButtonDown, OnLeft/RightButtonUp,
OnDrag) in order to implement this. I think that the CL_GUI_PICTURE has
just a few events in order to minimize client/server interactions.
What are my options to implement such an interactive map on SAP GUI?
I found this blog where a custom control is implemented using ActiveX:
/people/thomas.jung3/blog/2004/09/01/using-net-windows-controls-in-the-abap-control-framework
Is this the way to go? Is there an official developers guide for custom
UI controls from SAP?Hi Dominik,
Sorry but I don't have an answer - I have been trying to solve the same problem for a while now. I even contacted Thomas Jung directly, but was not able to solve the event sink\handler problem. Although I did manage to re-create his example and display a .NET VB Textbox within the SAP GUI...
If you do manage to get any further - please let me know how you managed to get the event handling to work...
Tx,
N
Maybe you are looking for
-
Hello, I was trying to purchase Whats app, when I try to enter my credit card info, it keep telling that my security number don´t match, but my credit card got charged, 3 time in a row. I can send a screen capture of the message telling that already
-
Problem with downloading photo from iCloud to iPhone's Photo Stream
Hi Apple Support, I have two apple device, one iPad and one iPhone. For iPad, I turned on 'My Photo Stream' and 'Shared Photo Streams' function before, but iPhone not, and I installed iCloud client at my Win7 PC, so any photos which created by iPad w
-
Ipod photo section doesn't show thumbnail images
Once I have downloaded my photos onto the ipod, only the first 7 images or so show up. The rest are there, and appear as blank boxes, even when I scroll through them. I am later able to see them on my computer once they've been downloaded but why can
-
Relative Paths in Java Program
Hi All, In one of the java programs i am trying to read a properties file using the Properties class Please find the code below private static final String magicPropFile = "config.prop"; Initial.magicProps = new Properties(); Initial.magicProps.load(
-
Hey everyone. I'm at wit ends here so I hope someone may be able to help me. I am essentially using getRuntime() to get freeMemory totalMemory and maxMemory for VM. I get the numbers back but they really don't make sense to me. Assuming that freeMemo