Good morning. I was able to get the error message displayed next to the required field. But I am not able to get the message in red color nor the "X" for required items symbol. My code on page 0 is as follows:
Can please tell me what I am doing wrong, at your convenience.
P.S: Thank you so much for sharing this apexlib with all.
you are welcome!
The ApexLib framework uses for inline error messages the same label template configuration as APEX is using when you define a validation for the page item.
You will see your used label templates in the "Shared Components" area of the page definition page. When you click on the link you will see the label template definition. The section "Error Display" is where you have to define how your label should be displayed when there is an error. If nothing is defined, a default of
<img width="16" height="16" border="0" alt="Error" src="#IMAGE_PREFIX#inline_error.gif">
is used. You can also check the HTML source for the used template the framework is sending to the browser part of the framework. You should see several lines of
Do you also see a /i/inline_error.gif ? Does it work when you paste it into your browser?
Thank you for replying. I am using theme 17 for testing. And Optional label with help.
In the label template, all I have is
I tried putting the img src next to <div> but I am getting an unterminated string error.
Thank you in advance,
Just remove the text from the "On Error Before Label" and "On Error After Label" and APEX and the ApexLib will use the default template as I have described above.
But don't ask me why the read (x) image is displayed above the label, or at least in my quick example I did.
I am having trouble getting the inline_error.gif displayed next to the label and change colour of label to red.
I am using theme 10 now and in the template of optional label with help I have:
<div class = "t10InlineError">
I tried to put hte img src in with div tag but of no avail. Can you please help me.
Hi Patrick ,
thank you for your response. please disregard my second post. I thought that my previous reply did not get posted properly. Thank you so much. Have a nice evening.
Log in to post a comment.