Mandatory attributes
In toystore demo the code below is used to display "*" if an attribute is mandatory. How do I do that using ADF? Since I am not using: <jbo:Row datasource="ToyStore.Accounts" action="current" id="row">
I don't have a reference to the row.
<%
StructureDef def = row.getStructureDef();
%>
<%if(def.lookupAttributeDef("Firstname").isMandatory()){%>
<bean:message key="dataentryform.mandatory"/>
<%}%>
The binding has a property "mandatory" that you can refer to using EL.
Similar Messages
-
Custom tag SetProperty: Mandatory attribute property missing
Ok, first some code. Here's the contents of my displayCollection.tag:
<%@ tag body-content="scriptless" import="com.serco.inquire.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ attribute name="mgr" required="true" %>
<jsp:useBean id="irc" scope="session" class="com.serco.inquire.irCollection">
<jsp:setProperty name="mgrid" value="${mgr}" />
</jsp:useBean>
${irc.mgrid}Here's the JSP I'm calling it from (myq.jsp):
<%@page language="java" import="java.util.*,com.serco.inquire.*" %>
<%@ taglib prefix="inq" tagdir="/WEB-INF/tags" %>
<inq:displayCollection mgr="Chris Novish" />Here's the java class for irCollection (used in the tag file):
package com.serco.inquire;
import java.sql.*;
import java.util.*;
public class irCollection {
public String mgrid;
public irCollection() {
super();
public void setMgrid(String datum) {
this.mgrid = datum;
public String getMgrid() {
return this.mgrid;
}And finally, here's the error I get when i try to run myq.jsp:
org.apache.jasper.JasperException: /WEB-INF/tags/displayCollection.tag(7,2) SetProperty: Mandatory attribute property missing org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:174)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:595)
org.apache.jasper.compiler.Node$SetProperty.accept(Node.java:1150)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:647)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1182)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1789)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:231)
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:577)
org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:48)
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:642)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1539)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)
org.apache.jasper.compiler.Node$Root.accept(Node.java:475)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:660)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:228)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)>
as far as I can tell, the attribute mgr is set in myq.jsp when it invokes displayCollection.tag, and displayCOllection.tag's only attribute (required) is mgr. so uhm... what do I misunderstand?Nick,
Thanks for your help.
But I also face another problem that is
"unable to load class com.jguru.FormBean" when I tried to call another jsp.
Here are my code :
package com.jguru;
public class FormBean {
private String LName;
private String FName;
private String Passwd;
private String Tel;
private String Title;
private String Dept;
private String Email;
private String Accesstype;
public FormBean() {
LName="";
FName="";
Passwd="";
Tel="";
Title="";
Dept="";
Email="";
Accesstype="";
public String getLName() {
return LName;
public String getFName() {
return FName;
public String getPasswd() {
return Passwd;
public String getTel() {
return Tel;
public String getTitle() {
return Title;
public String getDept() {
return Dept;
public String getEmail() {
return Email;
public String getAccesstype() {
return Accesstype;
public void setLName(String x) {
LName = x;
public void setFName(String x) {
FName = x;
public void setPasswd(String x) {
Passwd = x;
public void setTel(String x) {
Tel = x;
public void setTitle(String x) {
Title = x;
public void setDept(String x) {
Dept = x;
public void setEmail(String x) {
Email = x;
public void setAccesstype(String x) {
Accesstype = x;
Thanks. -
Getting mandatory attribute validation error when the value is defaulted through customization
Hi
I am getting Mandatory attribute validation error when we default the value through customization.
In the UI we have attribute called Last Name which is mandatory at EO level. Customer wanted to default Last name to some value, through page composer it is defaulted to some text and saved.
When ever we open the page the the same value is defaulted as Last Name and appearing in the UI. But when we submit the page, EO level validation is failing. hence we are getting last name is missing.
When i debug the code last name attribute value for EO is blank.
In the UI the attribute last name is associated with bindings --> #{bindings.lastname.inputvalue}
The validation is failing if we remove the default binding associated with inputtext box.
Can some body help what can be reason and is there any solution?
Thanks,
Praveenversion 12.1.2
I am struggling with same situation, I can't set the default value at business component because, the default value comes from a REST service at run time. In page A, I have a field F1 that contains value from REST service. Page B has a database bound field F2, whose default value should come from F1 in Page A when a user navigates from Page A to Page B. If I set the value of F2 to be the value of F1, then it displays the value in the UI, but nothing gets submitted to EO and fails at commit.
To make things difficult, here is my situation: Page A lives in bounded taskflow TF1, and Page B lives in bounded taskflow TF2. So I have created an input parameter P1 in TF 2, which carries over the value of F1 in Page A to Page B. When I am in Page B, I can successfully see the value of the taskflow input parameter P1. So, how do I programmatically set the value of field F2 with the value of input parameter P1?
I tried setting the F2.inputValue in a method call M1 in taskflow TF2 prior to Page B, but I get null pointer exception as it can't see field F2 yet.
It seems like a simple thing to do, but I have spent a lot of time trying to make it work without any success.
I would greatly appreciate any guidance. -
Mandatory attribute property missing problem
Hi All,
I tried to do the simple display output, but it can't work.
My code is as below;
<HTML>
<BODY bgColor="#c8d8f8>
<form action="webapps\ROOT\form.jsp" method=POST>
<center>
<table cellpadding=4 cellspacing=2 border=0>
<th bgco;or="#CCCCFF" colspan=2>
<font size=5>User Registration</font>
</th>
<tr>
<td valign=top>
<b>First Name</b>
<br>
<input type="text" name="LName" size=15"></td>
<td valign=top>
<b>Full Name</b>
<br>
<input type="text" name="FName" size=15"></td>
</tr>
<tr>
<td valign=top>
<b>Password</b>
<br>
<input type="text" name="Passwd" size=15"></td>
<td valign=top>
<b>Telephone</b>
<br>
<input type="text" name="Tel" size=15"></td>
</tr>
<tr>
<td valign=top>
<b>Password</b>
<br>
<input type="text" name="Passwd" size=15"></td>
<td valign=top>
<b>Telephone</b>
<br>
<input type="text" name="Tel" size=15"></td>
</tr>
<tr>
<td valign=top>
<b>Titile</b>
<br>
<input type="text" name="Title" size=15"></td>
<td valign=top>
<b>Department</b>
<br>
<input type="text" name="Dept" size=15"></td>
</tr>
<tr>
<td valign=top>
<b>Email</b>
<br>
<input type="text" name="Email" size=15"></td>
<td valign=top>
<b>Access</b>
<br>
<input type="text" name="Accesstype" size=15"></td>
</tr>
<%-- Create the bean only when the form is posted --%>
<%
if (request.getMethod().equals("POST")) {
%>
<jsp:useBean id="formHandler" class="com.jguru.FormBean">
<jsp:setProperty name="formHandler" property="*"/>
</jsp:useBean>
<p>
<hr>
<font color=red>
You submitted : <p>
<b>Login Name:</b><br>
<jsp:getProperty name="formHandler" pripoerty="LName"/><br>
<b>Full Name:</b><br>
<jsp:getProperty name="formHandler" property="FName"/><br>
<b>Password:</b><br>
<jsp:getProperty name="formHandler" property="Passwd">/><br>
<b>Telephone:</b><br>
<jsp:getProperty name="formHandler" property="Tel">/><br>
<b>Title:</b><br>
<jsp:getProperty name="formHandler" property="Title">/><br>
<b>Department:</b><br>
<jsp:getProperty name="formHandler" property="Dept">/><br>
<b>Email:</b><br>
<jsp:getProperty name="formHandler" property="Email">/><br>
<b>Access:</b><br>
<jsp:getProperty name="formHandler" property="Accesstype">/><br>
<%
%>
</font>
</body>
</html>
The error message is
Internal Servlet error
org.apache.jasper.compiler.ParseException: getProperty:Mandatory attribute property missing
Thanks in advance for any assistance.Nick,
Thanks for your help.
But I also face another problem that is
"unable to load class com.jguru.FormBean" when I tried to call another jsp.
Here are my code :
package com.jguru;
public class FormBean {
private String LName;
private String FName;
private String Passwd;
private String Tel;
private String Title;
private String Dept;
private String Email;
private String Accesstype;
public FormBean() {
LName="";
FName="";
Passwd="";
Tel="";
Title="";
Dept="";
Email="";
Accesstype="";
public String getLName() {
return LName;
public String getFName() {
return FName;
public String getPasswd() {
return Passwd;
public String getTel() {
return Tel;
public String getTitle() {
return Title;
public String getDept() {
return Dept;
public String getEmail() {
return Email;
public String getAccesstype() {
return Accesstype;
public void setLName(String x) {
LName = x;
public void setFName(String x) {
FName = x;
public void setPasswd(String x) {
Passwd = x;
public void setTel(String x) {
Tel = x;
public void setTitle(String x) {
Title = x;
public void setDept(String x) {
Dept = x;
public void setEmail(String x) {
Email = x;
public void setAccesstype(String x) {
Accesstype = x;
Thanks. -
Change mandatory attribute in Entity Service
I have an Entity Service E with attributes A and B as mandatory attributes. I changed attribute B and made it non-mandatory and deployed. But the backend table in the database doesn't change and it still has B as NOT NULL attribute. Any attempt to create a new value results in an error from database saying cannot assign NULL to NOT NULL attribute.
Don't want to change the database manually. Is there any way to make the change in the database without dropping the column or the table?Hi Vivek,
1st Take a Value_Node(say CustomerDetails) in the WebDynpro context with the attributes(Say CustNumber, CustNameand CustType) that your Caf_Entity_Service Say Customer with attributes CustNo,CustName and CustType) have .Then Bind the Value_Node into the View(By using Apply Template =>Table=>Choose the Value_Node then Next Choose Input Field Editor).
Now Inside the Action of the NewLine Button put use This.
wdThis.wdGet<Name Of Your Component>Controller().createCustomerDetails();
Now Take an button say SAVE and inside the action of SAVE button use this Code.
wdContext.nodeACustomer().invalidate();
for(int i = 0;i<wdContext.nodeCustomerDetails().size();i++)
String cnum = wdContext.nodeCustomerDetails().getCustomerDetailsElementAt(i).getCustNumber();
String cname = wdContext.nodeCustomerDetails().getCustomerDetailsElementAt(i).getCustName();
String ctype = wdContext.nodeCustomerDetails().getCustomerDetailsElementAt(i).getCustType();
try
ACustomer custM = CustomerServiceProxy.create(); //create a new dummy record in caf model with local guid
custM.setCustNo(cnum);
custM.setCustName(cname);
custM.setCustType(ctype);
custM.getAspect().sendChanges();//populate the dummy record with custom fields and with valid system fields also.
IServiceFacade serviceFacadeProdConf = CAFServiceFactory.getServiceFacade(<Your Caf Model Name>Definition.class)
serviceFacadeProdConf.save();
catch(Exception e)
wdComponentAPI.getMessageManager().reportException("CAN'T CREATE NEW RECORD WITH CUSTOMER ID : "+cnum ,false);
}// end of for loop
Regards,
Mithu -
How to save only mandatory attributes
Hi all,
I am trying to include download link on summery screen which will gives a pdf file of his interview session. but i want only mandatory attributes in it.
I have used document generator for it.But it shows all the attributes.
please help.
Edited by: 903436 on Dec 20, 2011 8:21 AMIf you define a BI Publisher report template with only your mandatory attributes in it, you will only get the mandatory attribute values.
How are you generating the document at the moment? -
HL7 Outbound runtime error: "Mandatory attribute missing: Standard"?
I am trying to develop an outbound HL7 v2 solution. I have a composite that picks up an XML message, transforms it to a HL7 v2 XML, popuates b2b. properties and hads the payload over to teh B2B. The partners and partnerships are, seemingly, OK. Yet, I get a runtime error "Mandatory attribute missing: Standard". What am I missing?
The error (one of them anyway) looks like that below.
Thanks in advance for any pointers that anyone may be able to offer.
Regards
Michael
[2010-06-25T09:13:34.437+10:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@157bfbf] [userId: <anonymous>] [ecid: 0000I_gFDdOESOYjLpyGOA1C8Mno0005_G,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 3df7286553d16a99:75be56fb:129629445e0:-7fd3-000000000000004e] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enqueue the exception message:[[
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>C0A8A4811296C3CD78A000001FFF4A70</correlationId>
<b2bMessageId>34373438353435383437393236303338</b2bMessageId>
<errorCode>B2B-51507</errorCode>
<errorText>
<![CDATA[
Error Brief :
XEngine error.
]]>
</errorText>
<errorDescription>
<![CDATA[
Error :
Mandatory attribute missing: Standard.
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="b2b.messageId" value="34373438353435383437393236303338"/>
<parameter name="b2b.documentTypeName" value="ADT_A01"/>
<parameter name="b2b.documentProtocolVersion" value="2.3.1"/>
<parameter name="b2b.documentDefinitionName" value="ADT_A01_DocDef"/>
<parameter name="b2b.documentProtocolName" value="HL7"/>
<parameter name="b2b.messageType" value="1"/>
<parameter name="b2b.fromTradingPartnerId" value="LocalHL7Receiver"/>
<parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
<parameter name="b2b.toTradingPartnerId" value="127.0.0.1"/>
<parameter name="b2b.toTradingPartnerIdType" value="MLLP ID"/>
</errorDetails>
</Exception>
[2010-06-25T09:13:34.437+10:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@157bfbf] [userId: <anonymous>] [ecid: 0000I_gFDdOESOYjLpyGOA1C8Mno0005_G,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [dcid: 3df7286553d16a99:75be56fb:129629445e0:-7fd3-000000000000004e] [SRC_METHOD: synchedLog_J] Notification: deliverException: Send message to endpoint IP_IN_QUEUEAnswering my own question - I needed to populate the Standard attribute of the outbound message with teh string HL7. I populated Version attribute with 2,3,1 just for a good measure. Things now work.
-
hai
We have installed solution manager and CBTA for test automation. For SUT , We have created Technical RFC for development client and quality client
as TST_BID_CLNT220 and TST_BID_CLNT_909 respectively. Similarly SMBID_CLNT_220 and SMBIQ_CLNT_909 are the business RFC destination to connect SUT.
Now I have created test System data container which have both target system (Quality and development) . I have also created Test profile
for both . In the Test Profile I have mentioned Techinical RFC name , Test profile name, business user and password.
I have record va01 tcode in development client. The same script is used for quality also .
I am able to execute the script in development . But when I execute for quality it is giving following error
Error CL_TAO_GUI_SESSION_SM->Create: Mandatory Attribute missing for Technical RFC destination TST_BIQ_CLNT909
Can any one help me . Pls tell me whether I followed the steps correctly
Regards
JayaHi,
It will be very difficult to solve without being on the customer site and having all information.
Right now, the error code is network error...
Kind regards,
Yann -
Mandatory Attributes in Create User Form
Hi All
i want to make the mandatory fields in create user form (ie Organization name) as optional.
For this i edited the FormMetada.xml file by making optional as true. (in the attribute reference for Organization field in User management section), as mentioned in the docs.
Now when i try creating user, it shows me 'You do not have permissions to perform this operation' error.
while when i give some value in the organization field, then it creates the user.
please provide some pointers in this regard.
Thanks.You MUST provide an organizatation name. There is a system entity adapter on the Users data object. You cannot avoid populating this.
-Kevin -
What are (NIO 2) BasicFileAttributes mandatory attributes?
java.nio.file.attribute.BasicFileAttributes interface
The API description has:
Basic file attributes are attributes that are common to many file systems and consist of mandatory and optional file attributes as defined by this interface.
Question:
What are the mandatory file attributes?The ones whose description does not start with 'If the file system implementation does not support' are mandatory.
-
Overriding mandatory attribute voilation error message text
Hi,
during validation of mandatory item, in order to replace system generated text with a custom one,
where do i look at?
is it af:messages? (if so, usage samples are welcome)
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_messages.html
styling af|message
Edited by: grodno on Dec 20, 2011 9:43 PMHi,
Did you try with clientSideValidators message
See
http://jjzheng.blogspot.com/2010/10/create-custom-validators-in-adf.html
http://docs.oracle.com/cd/E15523_01/web.1111/b31973/af_lifecycle.htm
http://docs.oracle.com/cd/E15523_01/web.1111/b31973/af_validate.htm#CIAJCIFG -
How to make Transient Attribute Mandatory in View Object?
Hi ,
I have a Transient Attribute 'TransientFromCode' which is based on LOV .On UI ,I am showing this 'TransientFromCode' as 'SelectOneChoice' .
So on selection of this i am populating other mandatory attributes.
My requirement is to show this as 'Required' on UI but in View Object i am not able to find mandatory property for this attribute.
I dont want to use required='true' . So can you plesae tell me is there any way to make Transient attibute as mandatory on UI .
Thanks940637 - Your Use Case is a little vague\confusing.
If you are just trying to get the standard "Required" architecture, it probably isn't working because you have incorrect syntax. It is #{bindings.MyViewObj.MyAttr.hints.mandatory}
Yours: "#{bindings.UnitOfMeasureIntraClassConversion.hints.TransientItemDesc.mandatory}"
It will "dynamically" pick this up at Runtime from the ViewObject Attributes "Mandatory" property (Attributes\Details tab), BUT the EL will always evaluate to "true" so this is the same functionally as just hard coding the UI component's Required property to "true" (although doing so is against Best Practices)
If you are just wanting to SHOW the field as required without the standard Validation logic (because you are coding your own), you could:
1) JUST set the UI component's "ShowRequired" property = true. This displays the * next to the Label (regardless of actual View Object Attr setting) but fires no validation.
2) If you want to not show * but some custom standard, you could just create ANOTHER transient Attribute in the View Object and call it "TransientItemDescRequired" and set it to a Literal "y" or leave it blank and programmatically set it later... You can code your own validator\method\whatever against it, etc
Edited by: donhoyt on Jul 5, 2012 7:58 AM -
Check Mandatory Fields when state is bound with context attribute
Hello All,
Currently i am facing problem in my SAP SRM 7.0 standard component.
Actually, i have to remove mandatory(State = Required) for one of my inputfileds for this I have written below code, but it has been remove only Red mark * infront of Inputfield, after that, i am trying to save other data, still it is asking me enter the required value.
here my input field bound with Context attribute, it is standard attribute.
data:lo_input1 type ref to cl_wd_input_field.
lo_input1 ?= VIEW->get_element( 'NAME_FIRST' ).
lo_input1->set_state( '00' ).
I am trying to delete state = required property from below component and view
Component Name : /SAPSRM/WDC_MOFC_PERSON
View : V_PERSON
Can you help me on this?
Thanks
Sandeep.Hi Baskaran ,
Thanks for ur reply ..
Eveen in that component they have not used cl_wd_dynamic_tool class for mandatory attributes
I want to share another thing with u that is
I am trying it in another way
with the following code which i have done in post exit is
let me explain u what i did
__first of all i got the child node of rootuielementcontaine
later
i get the childnode of container_left and assigned it to another class of ref cl_wd_uielemnent
now where i have struked is
*CALL METHOD LR_CHILD2->GET_CHILD
EXPORTING
ID = 'FORM_OF_ADDRESS_DROPDOWN'
INDEX =
RECEIVING
THE_CHILD = LR_C1.
what the error i am getting is
OBJECTS_OBJREF_NOT_ASSIGNED
Please correct me if there is any wrong inn the code ...
FORM_OF_ADDRESS_DROPDOWN--->ui element dropdown
r__ DATA lr_container TYPE REF TO cl_wd_uielement_container.
DATA lt_children TYPE cl_wd_uielement=>tt_uielement.
DATA lr_view TYPE REF TO if_wd_view.
DATA lr_child TYPE REF TO cl_wd_uielement.
DATA lr_child1 TYPE REF TO cl_wd_uielement.
DATA lr_child2 TYPE REF TO cl_wd_uielement.
data : LR_CON1 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
data : LR_CON2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
SANDEEP
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lt_children = lr_container->get_children( ).
CALL METHOD lr_container->get_child
EXPORTING
id = 'DATACONTAINER'
index = 1
RECEIVING
the_child = lr_CHILD.
LR_CON1 ?= LR_CHILD.
CALL METHOD LR_CON1->GET_CHILD
EXPORTING
ID = 'CONTAINER_LEFT'
INDEX = 1
RECEIVING
THE_CHILD = LR_CHILD1 .
DATA : LR_CHILD2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
LR_CHILD2 ?= LR_CHILD1 .
*DATA : LR_C1 TYPE REF TO CL_WD_UIELEMENT.
*CALL METHOD LR_CHILD2->GET_CHILD
EXPORTING
ID = 'FORM_OF_ADDRESS_DROPDOWN'
INDEX =
RECEIVING
THE_CHILD = LR_C1.
*DATA : LR_DD TYPE REF TO CL_WD_DROPDOWN_BY_KEY .
*LR_DD ?= LR_C1 .
*CALL METHOD LR_DD->SET_STATE
EXPORTING
VALUE = '00'
sandeep -
Hi ,
How to make the taxonomy attributes mandatory apart from writing validations ? I have a requirement wherein not all the attributes for a class are mandatory .
Regards
YogeshHello Yogesh
If we told about Data Manager(DM).
Unfortunately, you can't make attributes mandatory by another way.
In DM you see all attributes linked to selected taxonomy item.
You can't hide part of them, according you multistage business process.
But you can create validation for part of them as you need.
That will be combination from workflow, validation and assignment.
Use additional field where you will save current stage before
Validation will work depend of combination mandatory attributes and that field value.
Validation should have type "Error"
Assignment will launch(from WF) by the end of current stage and change old stage value to new.
Regards
Kanstantsin Chernichenka -
Is there a special reason why NotSupported and Required are the only two supported transaction attributes? I understand that MDBs cannot have a client-initiated transaction, but there are other transaction attributes that indicate the same thing.
If an MDB wants to indicate that it should not execute in a transaction, why can't it indicate Never or Supports in addition to NotSupported? In the case of no client-initiated transaction, all three result in the annotated method occuring under no transaction.
If an MDB wants to indicate that it should execute in a transaction, why can't it indicate RequiresNew in addition to Required? Again, in the case of no client-initiated transaction, both result in the annotated method occuring under a transaction.
The Mandatory attribute throws an exception if there is no client-initiated transaction, so clearly that is never appropriate for MDBs. But I am confused as to why the other transaction attributes cannot be used as indicated above.
Please clarify why the specification indicates this about MDB transaction attributes...
Thanks.When ejb webservice endpoints were introduced in J2EE 1.4 there was no support for
propagation of transaction context over a webservice invocation. Both the JSR 109
spec and the EJB 2.1 spec prohibited the use of MANDATORY on an ejb web
service endpoint since using it was likely a developer error.
In Java EE 5 the restriction against MANDATORY for ejb web service endpoints was removed in the
EJB 3.0 spec. There's still no requirement that transactions be able to flow with web service
invocations but there are some products that support it so the ejb container is no longer
required to throw an exception in that case.
--ken
Maybe you are looking for
-
Problem with Dynamic Table Name
Hello all, I am having trouble using a dynamic table name. I have the following code..... declare l_cur sys_refcursor; l_ID int; l_tableName varchar(30); BEGIN open l_cur for select hkc.ColumnID, mapping from &HKAPPDB_Schema_Name..doctablemapping ddm
-
My iBook Author program is crashing every time I open it.
Everytime I open the iBook Author program, it automatically closes. The report generated is given below. I am not a computer expert,and have no clue what to make of this. Can anybody tell me what this means, and what I can do to fix this, please? Pro
-
JTable 's tableChanged() works differently in jdk1.2.2 and jdk1.3
While updating the contents of the jtable I am using the following table.tableChanged(new TableModelEvent(model)); table.repaint(); In jdk1.2.2, this updates the contents and repaints the table without clearing the row selection But the same in jdk1.
-
Adding a custom cursor to a panel
HI, I am making a game where i want clicking a radio button to change the cursor image. I have figured out how to create a custom cursor, and even change the current cursor to it. The problem im having is i want to change it while the program is runn
-
Custom Load Balancing Question.
Can anyone give me any pointers on creating a custom load balancing algorithm / cluster proxy.. Basically i want to have something similar to HttpClusterServlet but that you can customise the load balancing on... for example in a cluster of