How to keep order of required validation messages while displaying.
Hi,
I need to keep required validation messages as in the order of components in the page. Now it not showing properly.
please let me know , if anybody have the solution.
Vipin
hi user,
am not sure this ah best way.
but you may try this.
way organiszed in vo query and attributes in vo. rasinig those errors i think so.
so you may change the way of an organiszed vo. based on your need.
and am sure some one post or suggest better comments about this.
Similar Messages
-
I keep getting this pop up message while in ITunes -- MobileDeviceHelper has stopped working -- How can I get it to stop?
See Troubleshooting issues with iTunes for Windows updates.
tt2 -
How to keep Industry sector and Material Type in Display for Tcode MM01
How to keep Industry sector and Material Type in Display for Tcode MM01( create material Initial screen)
Thanks,Hi
Yes, your requirement is possible using screen variant
1. use tcode SHD0
2. give transaction as MM01
3. goto screen variant tab - assign some name - enter program name and screen name
(from mm01 - F1 help)
4. goto transaction variant tab - assign some name - assign already defined screen variant name
5. goto standad variant tab - transaction variant name already fetched automatically - click on active button (it was placed after transaction variant name
Raju -
I keep getting the following error message while sharing my iMovie to iDVD. "Unable to prepare project for publishing" error (-2125). I'm running iMovie 09 v. 8.0.6 on a iMac with OSX v 10.6.8, 2Ghz core duo, 1GB 667 Mhz DDR2 SDRAM. Any ideas why?
That particular error comes up for a number of reasons, sometimes it's the size of the movie you're trying to export. Bengt Wärleby a longtime contributor to the iMovie Discussion Group has advised a number of people on this error code, so I am going to link to his latest advice he's given to anyone trying to export to DVD from iMovie: Bengt's tips for great DVDs.
Specifically, try bypassing Share to iDVD by using Share to Media Browser instead.
In the Share to Media Browser dialog box choose the Large Size.
When(If?) it gets through that process, quit iMovie altogehter then go to iDVD.
Create a new project and click on the Media button near the lower right hand side of the Project Window.
Then click the Movies button in the Browser window just above that.
Under the iMovie star icon you should see the name of the project you shared out from iMovie.
Drag that into the project and burn the DVD.
If it's still to large or you get the same -2125 error code trying to Share using the Medium size instead. But again if you really get stuck consult Bengt Warleby's User tips:
Bengt's tips for great DVDs -
HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input
Hi,
HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input?
Thanks for your help
XNRight click and select Open front panel >> Convert.
Change the vi as you need. then you can save it as a normal sub-vi.
If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6 -
How to keep a back up of messages from the JMS queues?
Hi,
I need to keep a back up of messages which are coming in the JMS queue before they get consumed. This is for recovery purpose.
I checked file store option but it doesnt have any time stamp on messages so dont know how to trace back messges if needed from file store.
Please let me know if you guys have any idea to handle this.
Thanks in advance
BipsNo. Not with Time Machine at least.
If you tell Time Machine to backup the external then you will have it.
Or you can manually copy it to another disk for storage outside of Time Capsule/TimeMachine.
Allan -
Message while displaying the form preview
hi everybody
when i tried to view the print preview of my form the following system message is displaying after cliking the print preview button
<b>form z_cust language EN is not active and has no errors</b>
and i am not able to see the preview
can someone tell me what is the error and how i should correct it
regards
hridhayanjiliHi,
As per the error status mentioned, there is no problem in the form side(SE71), the things u need to check is when you are calling the function modules like OPEN_FORM, WRITE_FORM, CLOSE_FORM,..., You need to pass the values like the script name, language, user name, Text Element name to the respective function modules in Capital Letter and also check whether in between single codes('') in the export or import parameters have you left any blank spaces.
Regards:-
<b>Santosh</b> -
How to keep waiting time between processed messages !!
Hi Folks,
I have got one scenario required waiting time between processed messages. The problem as follows !!
File --> Proxy scenario. I receive 15 messages from sender side (same messages structure) so working with one interfaces. File picking and transforming this message and split into 2 messages. messages are receiving to receiver. I am using BPM with 7,8 steps like receiving step, block , message transformation step , internal block 1 for sender 1, internal block 2 for sender 2.
All things are working fine, messages are going to receiver properly. But customer requirement is , wait step required between processed messages before sender1. I have put wait step still, PI picks all messages in one shot processing and waiting for 2 minutes, after 2 minutes sending all messages at the same time, this process is not working.
I have tried with wait step in mapping (Sarvesh) given excellent idea, still PI works the same way.
Can someone please explain a bit why the messages or not waiting message by message. I am using EOIO with Queue name and file process mode "BY NAME" and I have tried "BY TIME" as well. I have given priority to this Queue. On BPM Queue assignment : One Queue.
Please I am expecting positive answer !!
Many Thanks in Advance
SanHi Rudolf Yaskorski ,
Not sure about your PI release and BPM model, do you create separate process instance for each file, or do you process files collecting them in one single instance? Are you using parallelization within your ccBPM ?
I am using serialization, I don't think bpm can do Parallization until PI 7.0, but PI 7.11 has got has queue assignment. But I am using one queue. This must be serialization.
To me it looks like your issue is not in ccBPM but rather more in polling files (as per your post file CC polls all 15 files in one shot). So if you wish to poll the files not at the same time some workaround is required. Possible options you could check out:
A. Either implement "wait" in your mapping based on file name or other criteria (e.g. directory name). Check out if respective BPM instances are really created at different times.
I have used wait step in mapping. These 15 messages has to go through one interface. So I am using one interface. But I have checked mapping process time in all messages on receiver system. Shows same timing, even though I put 40000 ms waiting time in mapping.
B. Try polling different files (or use different directories) with different channels and coordinate starting / stopping of your channels by scheduling availability for each CC in RWB. E.g. you poll file 1 with CC 1. You start 2 minutes later CC 2 and poll file 2. And so on.
I am not clear about this . On BPM waiting step is working and it keeps wait all messages, which are coming through one interface. Then it releases all messages at the same time.
I don't know how to resolve this. I have tried with Transport acknowledgment, but all messages are going to reciver system waiting at receiver system in priority queue and processing in EOIO, but taking so long. Rather all messages go and sits in queue, I want to stop messages by message with 2 minutes time gap. How please?
Kind Regards
San -
Simply question: how can I change color of validation message ?
After validation user has got for example text: "Wrong data" in black color. How can I change this color on red ?
You can enclose your validation error message within a span tag as follows
<span style="color:red;">error message</span>Varad -
How to get order's detail error message
Now, when I check order with t-code: crmd_order.
I can see error in GUI :Item 10 Pricing error: Mandatory condition missing.
But how can I get the message with FM or other code?Hi Ping su,
Check the function group 'CRM_MESSAGES' you will get bunch of function modules which deals with messages. In my scenario I had to look for a message in order lineitem and if that error message is present in the order I had to take further action. Here is what I did :
DATA:ls_bal_s_msgidno TYPE bal_s_idno,
lt_bal_r_msgidno1 TYPE bal_r_idno,
lt_bal_r_msgidno2 TYPE bal_r_idno,
lt_msg_handle TYPE bal_t_msgh.
ls_bal_s_msgidno-sign = 'I'.
ls_bal_s_msgidno-option = 'EQ'.
ls_bal_s_msgidno-low-msgid = 'ZMESSAGES'.
ls_bal_s_msgidno-low-msgno = 002.
APPEND ls_bal_s_msgidno TO lt_bal_r_msgidno2.
LOOP AT lt_orderadm_i INTO ls_orderadm_i.
* Check if the message is available in the log.
REFRESH: lt_msg_handle.
CALL FUNCTION 'CRM_MESSAGES_SEARCH'
EXPORTING
it_r_msgidno = lt_bal_r_msgidno1
iv_ref_object = ls_orderadm_i-guid
IMPORTING
et_msg_handle = lt_msg_handle.
IF lt_msg_handle IS NOT INITIAL.
lv_flag = 'X'.
EXIT.
ENDIF.
ENDLOOP.
Hope this will give you some idea to handle your scenario.
Thanks,
Vikash. -
We are developing an agent listening for the submit or endOfData event from the Exchange Server. Due to various reasons we need to convert the Exchange Mail
internally to RFC822 format.
So our MessageProcessor internally converts the message stream (usually TNEF) into RFC822 format. This means when written our modified content back to ‘e.MailItem’
we write the converted content back.
It seems that this conversion causes a loss of some MAPI properties of the message.
When out-of-office-mails are enabled for an account the Exchange Server generates both messages the OOF message for internal recipients and the OOF message external
recipients.
When sending an internal message using voting buttons the message arrives without that voting information.
void Agent_OnSubmittedMessage(SubmittedMessageEventSource source, QueuedMessageEventArgs e)
MessageProcessor proc = new MessageProcessor();
Stream messageContent = e.MailItem.GetMimeReadStream();
Stream processedMail = proc.ProcessExchangeMessage(messageContent); // internally converts the message to RFC822
Stream writeStream = e.MailItem.GetMimeWriteStream();
processedMail.CopyToStream(writeStream);
We also tried a dirty „hack“ using the Exchange Server internal method for converting the message from TNEF to RFC822 “ConvertAnyMimeToMime” from “Microsoft.Exchange.Data.Storage.OutboundConversionOptions”,
but using that method causes the same issue.
Now my idea was cloning all MAPI properties not related to the content of a message and reapply them after writing the RFC822 content back to into e.MailItem.
Any idea how we can overcome our problems?
Best regards,
Harald Binkle
Exchange Server Toolbox |
SmartPOP2Exchange |
SpamAssassin
JAM Software GmbH
Max-Planck-Str.22 * 54296 Trier * Germany
http://www.jam-software.comHello Scott,
after posting this question I implemented a dirty workaround.
Now I'd like to ged rid of that workaround. Are you still not allowed to discuss this?
Best regards,
Harald Binkle
Exchange Server Toolbox |
SmartPOP2Exchange |
SpamAssassin
JAM Software GmbH
Am Wissenschaftspark.26 * 54296 Trier * Germany
http://www.jam-software.com -
Validation messages and displaying
I am using JDeveloper 3.0 and not having an easy time with getting my validation error messages to show up. My Oracle contact is not a programmer and tends to give me an answer she doesn't understand herself.
Anyway, I have tried creating a validator and per the oracle person, a domain. Either method does validate the field entry and prevent the data from being stored; however, both methods do not display the useful error message I threw back. I throw a jboexception that I want displayed and instead I get messages about how the validation failed or how it was unable to create, depending on whether the exception occurs in a validator or a domain.
I am not familiar with the code and was hoping the documentation would give me a step by step of how to override whatever it is that I need to override or do whatever it is that I need to do. I want to use the functionality of the wizards by being able to set the validation or set the type of attribute to a domain. I think I could code this in the entity object java file, but I really want to make this sort of thing easy for another developer to choose my validation routine or domain while running the wizard.
The example in Oracle's samples walks you through a simple edit on salary (salary > 1200). The validation catches all salaries below 1200 and throws back some ugly message about how the validation failed. What does one need to do to show their personal error message like "Salary must be greater than 1200"? Why is this simple concept so HARD?
Please help me as I am ready to throw out JDeveloper and go with another product.
LisaIn the setter method for an attribute on which you've installed a validator, (say for "Salary" attribute, in setSalary method), you could trap JboException and if the exception's error-code is 27011 (the one thrown from the compare validator as per your example), you could throw another JboException. Here's a sample code-snippet:
public void setSalary (Number n)
try
setAttributeInternal(COMM, value);
catch (JboException e)
if (e.getErrorCode().equals("27011"))
throw new oracle.jbo.JboException ("MY ERROR MESSAGE");
// add logic for other exceptions
throw e;
Also, in the JDeveloper docs you could find more on how to customize exceptions. I've pasted some snippet from one of the docs.
Programming with Exceptions
Use exceptions to indicate serious or unexpected error conditions, conditions from which the program cannot easily recover. This topic presents the following
information:
About Java exceptions
About exception classes
Creating custom exception classes
Localizing exception messages
Marshaling exceptions
About Java Exceptions
Java exceptions fall into two categories: either they extend java.lang.RuntimeException (these are called implicit exceptions) or they do not (these are called
explicit exceptions). When a method uses an explicit exception to indicate an error, a Java program requires:
A throws clause in the method signature that declares the type of exception the method will throw when an error occurs.
A throw statement in the method body that creates and throws an exception of the type specified in the signature.
The following code shows a method getCustName that declares and throws a ValidationException.
public String getCustName(Customer cust) throws ValidationException {
String name = cust.mName;
if (name == null) {
throw new ValidationException();
return name;
When you write code that calls a method that throws an exception, enclose the call in a try...catch block. For example, the following code calls getCustName, a
method defined to throw a ValidationException. The try keyword indicates that you are about to call one or more methods that throw exceptions. The catch
keyword marks the beginning of a code block that executes only when an exception is thrown.
public printName(Customer cust) {
try {
// Call the method(s) here.
getCustName(cust);
catch (ValidationException dae) {
// Handle the error here.
System.out.println(dae.getMessage());
Java programs are more lenient about implicit exceptions: they do not have to be declared or caught. You can write a method that throws a RuntimeException (or a
subclass of RuntimeException) without declaring it in the method signature (although you can do so, if you prefer).
About Exception Classes
The Business Components framework provides many exception classes (for example, ValidationException and NameClashException). These classes extend
oracle.jbo.JboException, which extends java.lang.RuntimeException. Therefore, a Business Component method can throw a Business Component
exception without a throws clause in the signature.
Business Component exceptions have an attribute that stores an error message, and they support NLS translation and message formatting. JboException uses
java.util.ListResourceBundle to format its messages. A resource bundle class defines constants and strings to use as error messages. The default format is
{productCode}-{errorCode}: {messageBody}
For example,
ORA-10234: You cannot do that.
Business Component exception messages are derived from the following generalized set of parameters:
Parameter
Example
Product code
"OBCJ"
Error code
"03101"
ResourceBundle
"oracle.jbo.CSMessageBundle"
an optional set of parameters
"Vendor", "Oracle"
details
Any exception thrown in low-level code that is transformed
into a Business Component exception
Messages may need to include information known only when the exception is thrown, so error message strings can include placeholders that refer to values in an array
of Objects passed to the exception when it's thrown. When the message is formatted for display, these parameters are placed into slots in the message (the first slot is 0)
using the standard formatting capabilities provided by java.text.MessageFormat. Following is a an entry from CSMessageBundle.java.
public static final String EXC_VAL_ATTR_SET_FAILED = "03101";
// Description: Generic Attribute validation failure.
// set<Attribute> method failed to set the value.
// Parameter 0: Ignored.
// Parameter 1: Entity Object/View Object name.
// Parameter 2: Attribute name.
// Parameter 3: New value
{EXC_VAL_ATTR_SET_FAILED, "Attribute set with value {3} for {2} in {1} failed."},
The JboException class provides the following methods for working with exceptions.
Method
Description
JboException(String message,
String errorCode,
Object[] params)
Create a Formattable Exception Object.
JboException(Class resBundleClass,
String errorCode,
Object[] params)
Create a Translatable Exception Object.
String getProductCode()
Return the Product code for the Message.
String getErrorCode()
Return the Error code.
String getLocalizedMessage(Locale loc)
Return the Message in the specific Locale.
Object[] getDetails()
Details are usually used to accommodate
lower-level exceptions. For example, if a
SQLException is thrown in some low-level code, the Business Component
framework can catch it and represent it as
one of the Business Component exceptions.
The original SQLException becomes
the first entry in the detail.
String getResourceName()
Return the name of the ResourceBundle used to
resolve messages.
Object[] getErrorParameters()
Return the Parameters to the Error.
Creating Custom Exception Classes
You can use Business Component exception classes in your own code to indicate errors, and you can create custom exception classes. For example, you can extend
JboException and override the getProductCode method, making it return values appropriate for your exception.
You can throw a JboException by using a statement like this:
throw new JboException("Don't do that.", "101", null );
The drawback to this approach is that the hard-coded error message is not easy to localize.
Localizing Exception Messages
To make an exception localizable into different national languages, use the NLS framework. First, create a resource bundle for your error messages. The following code
example defines a bundle named MyMsgBundle that stores three error messages.
import oracle.jbo.common.util.CheckedListResourceBundle;
public class MyMsgBundle extends CheckedListResourceBundle
// String Constants
public static final String BAD_EMPNO = "101";
public static final String DEPT_NOT_FOUND = "102";
public static final String NOT_IN_DEPT = "103";
* Private 2-D array of key-value pairs
private static final Object[][] sMessageStrings = {
{ BAD_EMPNO, "Invalid employee number." },
{ DEPT_NOT_FOUND, "Department {0} does not exist." }
{ NOT_IN_DEPT, "Employee {0} not found in Department {1}." }
Then you can use the resource bundle class to define a value to pass to the constructor for your exception class or JboException.
throw new JboException(MyMsgBundle.class /* Class of Bundle */,
MyMsgBundle.DEPT_NOT_FOUND /* String Constant */,
new Object[1] { localVar1 } /* Arguments to message */
JboException provides a getLocalizedMessage method which returns the message formatted for the specified locale.
The framework translates the message text when the client calls getLocalizedMessage rather than at creation time because the client may need to present the
message in a number of different languages. This mechanism provides a single point for localizing and formatting messages.
Using JboExceptionHandler
JboExceptionHandler is user-installable exception handler for three-tier applications. When exceptions are br ought over through the piggyback mechanism, the
normal Java language throw does not quite work, because (among other things) the piggyback may have carried back more than one exceptions. Thus, instead of
throwing the exception, a method on the JboExceptionHandler interface is invoked with each exception unloaded from the piggyback.
JboExceptionHandler defines:
void handleException(Exception ex, boolean lastEntryInPiggyback);
Where ex is the exception unloaded from the piggyback and lastEntryInPiggyback is a flag indicating whether the exception was the last entry on the piggyback.
(Note that for two-tier execution there is no piggyback.)
If you do not install your own handler, the default handler is used. The default handler is implemented by the Application Module. (At the interface level,
ApplicationModule implements JboExceptionHandler.) For jbo.client.remote, this implementation ignores the exception if lastEntryInPiggyback is
false. If lastEntryInPiggyback is true, the exception is thrown.
To install your own handler, call the following method on the Application Module interface:
void setExceptionHandler(JboExceptionHandler hndlr);
and pass in your own implementation of the JboExceptionHandler interface.
Marshaling Exceptions
JboException can marshal itself across a network. It handles NLS issues for the middle tier, enabling one instance of a middle-tier component to serve (for example)
French users and English users at the same time.
If your exception contains member data that need to be marshalled, extend JboException and override readObject and writeObject. The Java serialization
mechanism uses these methods to serialize/deserialize an object. For example, suppose you have the class MyException (shown below), and you want to carry
memberA and memberB across tiers.
public class MyException extends JboException
int memberA;
String memberB;
Write code like the following in MyException:
private void writeObject(ObjectOutputStream out) throws IOException {
out.writeInt(memberA);
out.writeUTF(mEntityRowHandle);
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
memberA = in.readInt();
memberB = in.readUTF();
null -
My opening screen in Thunderbird (v 31.2.0) is normally set to show folders list in left column, Google calendar alerts in right column, received messages in the top half of the center column with the first few lines of the messages displayed in the lower half of the center column. While typing in the dark this morning, I evidently didn't type "CTRL+N" to bring up new message because immediately the lower display no longer showed. I don't see any options to change in the menus. I tried typing a few combinations to no avail and can find no how-to-fix-this articles with a few different searches. I know this has to be something simple to fix. I appreciate help in figuring out where I went wrong. Thanks.
Sorry, Airmail. This didn't address the issue of not showing the first few lines of the highlighted message that disappeared. F8 DOES toggle the list of messages in the top half from longer to half pane but it doesn't show list of messages in top and the first few lines of the message highlighted in the top down on the bottom of the pane. The View menu in, v 31.2.0 anyway, doesn't offer a layout of message option. I went through menu options again and didn't find anything else that would offer this option.
Oddly enough, the page displays normally in the Sent, Saved & Draft mail so evidently this only affected the Inbox. The search continues.... -
I keep getting the message "error 8003", while trying to download a pre-purshased TV show from iTunes. What does it mean? What should I do?
Help!Have you tried exiting iTunes and restarting? The times I've seen this error this has worked. After restarting iTunes the program asks me to sign into my account and then the downloads begin.
-
How to keep the screen in sleep mode while using the Apple Remote?
i use the imac to play soft music for me to fell at sleep, but sometime i just want to turn the volume down/mute/stop. but the screen keep come back on and brighten up my room.
would this be possible? is there any program that could adjust this option?
any cmd that i could run to fix this?
thanksI appreciate the help A Brody, but this does not solve what I am asking. I like being able to focus on something like a YouTube video without having to worry about losing my "spot" if I want to move the cursor to pause the movie. I want to do this on demand and not have to worry about clicking a bunch of different stuff or opening a screenshot in Preview.
If my iMac can do it, then how can my MacBook do it?
Maybe you are looking for
-
How to configure a pop up message when creating an appraisal?
Hi All, I have a question. When the supervisor creates an appraisal for an employee, the supervisor is obligated to create Objectives for the employee but creating Competencies are only optional for executives (people group). When the supervisor has
-
How much phases power supply does the 875P Neo FIS2R got ??
How much phases power supply does the 875P Neo FIS2R got ?( And will it be enough for the Prescott ?(
-
I stupidly didn't read reviews of iOS 6 before upgrading, now I would like to go back to iOS 5. Maps is so *****. How do I do this?
-
Hi, I am using the latest PC Suite for Nokia 6230i. I am using the DKU-2 cable on windows xp sp2. I can upload all the contact details using Outlook 2003 onto the phone. However I cannot synchronise any updates without having to make a new connection
-
Do you guys know how to restore my ipadmini
do you guys know how to restore my ipadmini i forgot my password and my ipad s disabled