Rich Form Label Style
How would I set the style of the label in the cfselect tag
below (ex. if I wanted to change the font color of "Test Label" to
bold, purple)?
<cfformgroup type="VBox" height="130"
style="cornerRadius:8; borderThickness:1;">
<cfformgroup type="vertical" height="80"
style="labelColor:##FE7E00;">
<cfselect name="meetinglabel" label="Test Label:"
multiple="no" width="200" >
<option></option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</cfselect>
</cfformgroup>
</cfformgroup>
I have also trying to find a way to change how the label
displays, and so far haven't been able to. Help??
Similar Messages
-
How to create a report in Form line Style and can display Image field?
Hi,
In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
But in Paper Layout, my report can not display Image field.
I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
How to create a report in Form line Style and can display Image field?
I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
Thanks & regards,
BACH
Message was edited by:
bachnpHere you go..Just follow these steps blindly and you are done.
1) Create a year prompt with presentation variable as pv_year
2) Create a report say Mid report with year column selected 3 times
- Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
- Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
- Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
3) Create your main report with criteria as Year and Measure col
- Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
- Now put a filter on year column with Filter based on results of another request and select these:
Relationship = greater than or equal to any
Saved Request = Browse Mid Report
Use values in Column = YEAR-1
- Again,put a filter on year column with Filter based on results of another request and select these:
Relationship = less than or equal to any
Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
Use values in Column = YEAR+1
This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
This will 100% work...
http://i56.tinypic.com/wqosgw.jpg
Cheers -
PHP Form Labels Don't align with checkbox
Help!
I can't seem to get my labels in my sign-up form to align with the checkboxes towards the bottom. This form is live at www.thectkgroup.com/signup
Thank you!I like to use ordered lists for my form labels. It's good for web accessibility and it adds some extra hooks for your CSS to grab onto.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 form</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<style>
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
.formpart {
width: 800px; /**adjust as required**/
overflow: hidden;/*for float containment*/
/**wrap form lables and fields inside ordered lists for better web accessibility**/
.formpart ol {
list-style: none;
margin: 0;
padding: 0
.formpart li {
clear: left;
padding: 16px 0;
.formpart label {
float: left;
line-height: 28px; /**lines up labels with fields**/
font-size: 18px;
.formpart input[type=checkbox] {
width: 2.5em;
height: 1.5em;
/**put boxes first**/
float: left;
.formpart span {
color: #999;
font-style: oblique
</style>
</head>
<body>
<div class="formpart">
<p>Please select the class(es) you would like to attend</p>
<ol>
<li>
<label for="contact_classes1">October 28 - 30, 2013: <span>Lee County Sheriff's Office -Fort Madison</span>
<input id="contact_classes1" name="contact_classes1" type="checkbox">
</label>
</li>
<li>
<label for="contact_classes2">November 4 - 6, 2013: <span>Waterloo PD & Hawkeye CC</span>
<input id="contact_classes2" name="contact_classes2" type="checkbox">
</label>
</li>
<li>
<label for="contact_classes3">March 4 - 6, 2014:<span>Cedar Rapids PD</span>
<input id="contact_classes3" name="contact_classes3" type="checkbox">
</label>
</li>
<li>
<label for="contact_classes4">April 2014: <span>Des Moines PD</span>
<input id="contact_classes4" name="contact_classes4" type="checkbox">
</label>
</li>
</ol>
</div>
</body>
</html>
Nancy O. -
How to show more than one record at a form-like style report?
Hi All,
I developed a form-like style report
I want it to show more than one record at once (At the same page)
I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
but when I close the property palete and open it agian the value is returned to 1 !!!
how to show more than one record at the same page?????
Thank uHi,
there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
Regards
Rainer -
How can I get a long form label to word wrap instead of being on one long line?
How can I get a long form label to word wrap instead of being on one long line?
-
Is there any point in using form labels for the field names?
It is generally useful to use form field names that match the database field names, but I think there are more reasons for the labels and field names to be independent of each other than for them to be the same. For instance, some labels may be quite long, such as: "Describe your previous experience with form labels:"
Also, say you have a multi-language form. You may want the form labels to be in whatever language has been chosen, so they are elements in an array like so: <?php echo $label[11] ?>. In this example the variable $label would determine the language.
On the other hand, wherever possible you want your labels and the form field names to be easily identified with each other, or you can go nuts as you manage complex forms. In the previous example, there is no easy way to know that $label[11] refers to "city" and $label[12] refers to "state". -
Label Styles: Section-relative Figure Numbering
Is it possible? All I see is generic numbering and chapter-relative when I Edit Label Styles. Any workarounds besides manually typing (even that doesn't maintain formatting)?
Add a Figure to your document.
Double click the bolded figure caption.
Choose Edit Label Styles from the Label pop-up in the Layout section of teh Widget Inspector
Open the Label Format pop-up.
The only options are standard (manual) Figure numbering, and chapter-relative numbering. What I'm trying to do potentially is start each section with the number one. So if I had five sections...
Section one would have Figure 1.1, Section 2 Figure 2.1 and so on. Otherwise I'm going to end up with some chapters that have figures numbered into the high double or low triple digits. -
Rich forms stop loading half way through
Hi, I have already posted this in the getting started forum
but it didn't get any response, thought I might try here too to see
if anyone here can help.
I am having a few problems with my testing server (CF 7.02
developer version) that I am hoping someone can shed some light on
for me. I am having two issues which may be related, one
(Administrator) is not really a problem for me, but as they may be
related I thought I'd mention both. I'm sure when I get them sorted
out the solution will be obvious, but right now I just seem to have
a mental block on where I should be looking to resolve it.
The machine is running Apache on Windows Xp, the webroot is
localhost/public/
Basic cf pages are running fine (all images etc appear as
expected), but when I go to view administrator using the link under
programs (Start button) it looks for it at
localhost/CFIDE/administrator/index.cfm and gives a "file not
found" error. If I add /public/ to the address administrator opens
but all images are broken (the images are being looked for at
localhost/CFIDE/administrator instead of
localhost/public/CFIDE/administrator). As I said, this isn't really
a big deal, but may be a symptom of the problem that is causing my
other issue.
I am starting to play with Rich forms, and while the files I
have created work on the production server at our host, I had not
been able to get them working on my testing server (just gave me a
blank space instead of the form). I managed to improve the
situation this morning by changing CFAdministrators 'Default CFFORM
ScriptSrc Directory' setting from /CFIDE/scripts/ to
/public/CFIDE/scripts/. Unfortunately, that wasn't the whole
problem though as now my rich forms start to load but never seem to
complete that process. The timer icon remains on the cursor
indefinately and some parts of the form (stuff within cfitem tags,
as well as any data in datagrids coming from queries) does not
appear. Actual form fields/buttons etc do appear though. The fact
that the timer stays there and the progress of loading the flash
form seems to stop suggests to me that it is looking for something
that it can't find, and therefore may be related to the path
problems I seem to have.
So it seems when I installed CF I didn't tell it where to
look for web files correctly. As I said, I'm sure I should know
this, but can't for the life of me think of where I should be able
to tell cf where the web root is. I am hoping when I do all of my
rich form problems will dissapear (as well as allowing me to see
the CF Adminstrator pages in all their glory with images instead of
boxes with broken icons).
Any help or advice would be appreciated.
Peter.Please see the reply in your
Getting
Started thread -
Form Translation - Style not reflecting
Hi experts,
I have maintained a separate style for printing the page no and date (right aligned) to print from the right corner. I have translated my smartform to Spanish. When I am printing the form, the style (right alignment) is not reflected in Spanish print. What could be the reason for this? Can anyone provide a solution for this?Hi Shrividhya ,
If you are doing translation in SE63, specify the same style for the parameter in SE63 also and save the translation.
Thanks
Shanly -
I was wondering if anyone can help me out. I am trying to
change a style of a label dynamically. The problem is I get an
error "Call Attempted on an object that is not a function" if I try
to define the var as an object and it doesn't work correctly as a
string (even with [] since they killed the eval function).
This works fine:
lblHome.setStyle("color", "#FFFFFF")
When I try to do it dynamically is when I get the error:
private function itemOver(event:MouseEvent) : void
var itemID:Object = event.currentTarget.id;
itemID.setStyle("color", "#FFFFFF") --- When I debug itemID
is defined as lblHome
When I try to eval a string it changes style for all labels
for some reason:
private function itemOver(event:MouseEvent) : void
var itemID:String = event.currentTarget.id;
[itemID]setStyle("color", "#FFFFFF") --- When I debug itemID
is defined as lblHome
Can someone please help me... I am new to flex and trying to
redo a ColdFusion flash forms app.
Thankssloan2b wrote:
> I think I read somewhere else, but is there a problem w/
> getting the hand cursor to display? I set
useHandCursor="true" and I dont get
> the hand cursor over the label? Will this be fixed in
the next version?
useHandCursor is not supported for Label (it's a
documentation bug that they
are listed there). But you can use <mx:LinkButton>
instead (and you can
change its styles, as desired, to make it look more like a
Label if you want to.)
By the way, on those controls that *do* support
useHandCursor, don't forget to
also set buttonMode="true".
Mike Morearty
Developer, Flex Builder team
http://www.morearty.com/blog -
XML Form Fieldset Style Formatting - how?
I'd like to use the <cfformgroup type="fieldset"
label="xxxx"> tags in some of my forms but I have had zero luck
figuring out which part of the .css for the skin I chose is for the
label attribute of the fieldset.
I know it's changable because there is a difference if I pick
basic over red but even comparing the two side by side and
modifying various styles like:
- label, .cfLabelTitle, .cfHeaderTitle and even trying to
create a .cffieldset I've had no luck.
Any help?Hello everyone,
Aksiti, as Chetna Verma said, all you have to do is go to System Administration>Portal Display>Theme Editor-->Links. And then select colours for visited and unvisited links..
But, anybody can tell me where are stored the XSL files associated to a portal XML form under NW2004s?
I only find the XML files in KM, under /etc/xmlforms... Actually I'm using NW2004s, but when I used NW2004 the last year I found XML and XSL under /etc/xmlforms...
Do the XSL files have another location now on NW2004s????
Thanks
Carlos
Edited by: Carlos Breva Dominguez on Oct 23, 2008 9:11 AM -
hi,
I am working with jdeveloper 11.1.1.4 and gmaps4jsf-1.1.4
This page JSF don't work:
?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
xmlns:gmaps4jsf="http://code.google.com/p/gmaps4jsf/">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:decorativeBox id="db1">
<f:facet name="center">
<gmaps4jsf:map id="m1" latitude="36.717954" longitude="-4.421386"
partiallyTriggered="true" width="400px"
height="400px" jsVariable="map" zoom="14"
type="G_NORMAL_MAP"/>
</f:facet>
<f:facet name="top">
<af:outputLabel value="Pruebas GMAPS4JSF" id="ol1"/>
</f:facet>
</af:decorativeBox>
</af:form>
<f:facet name="metaContainer">
<trh:script source="http://maps.google.com/maps?
file=api&v=2&sensor=false&key=ABQIAAAAfWaHRSVm60PthsQlilBjFBRi
_j0U6kJrkFvY4-OX2XYmEAa76BQI1WTKk4FfNHLB_4TC2EnUuZOQpg"
id="scriptKeyGoogle"></trh:script>
</f:facet>
</af:document>
</f:view>
</jsp:root>
----------- the error is:
java.lang.RuntimeException: cannot find a standard parent form for gmaps4jsf component
at com.googlecode.gmaps4jsf.util.ComponentUtils.findParentForm(ComponentUtils.java:311)
at com.googlecode.gmaps4jsf.component.map.MapRenderer.convertToJavascriptObject
(MapRenderer.java:119)
at com.googlecode.gmaps4jsf.component.map.MapRenderer.startEncodingMapWorld(MapRenderer.java:182)
....more
the problem is
<af:form id="f1">
</af:form>
when I replace it with this other
<h:form id="f1">
</h:form>
the code works and the map shows, but this form (h:form) don't allow stretch their children
Is possible that maps work fine with af:form? is a bug?
How Streching with h:form ?
The class java which reporte the error is com.googlecode.gmaps4jsf.util.ComponetUtils.java (in gmaps4jsf-1.1.4.jar):
* Traverses the component tree beginning from the given component instance, stops when finds the
enclosing form
* @param context
* @param component
public static UIComponent findParentForm(FacesContext context, UIComponent component) {
UIComponent parent = component;
while(parent != null && (!(parent instanceof UIForm))) {
parent = parent.getParent();
if (parent == null) {
throw new RuntimeException("cannot find a standard parent form for gmaps4jsf component");
return parent;
I think the error is
(!(parent instanceof UIForm)))
because af:form (oracle.adf.view.rich.component.rich.RichForm) extend to
org.apache.myfaces.trinidad.component.UIXForm (not UIForm)
As i can use gmaps4jsf components with Form ADFaces component (af:Form) ???????
Thanks in advancehas this been resolved? I still have the same issue migrating to 11.1.1.4 as suggested above... All works fine in 10.1.3.5
If this is not resolved, we can not chose Jdeveloper as the IDE at the company :(
V. -
Hello everyone. I was wondering if there was a way to make a label viewable in normal mode for a PDF text field form. I am making my PDF a form with a fillable text box in it. Well, I'd like the box name to show up when someone opens the PDF, not just if they only go into the edit form view. I hope I'm making sense. So far, the only thing I can think of is making a Button with the label above the fillable text box or make the text box a combo box. However, with a combo box, I can't edit how the text will look when it's typed in. Right now, though, when a person opens the PDF normally, the highlighted fillable text boxes show up but not the labels with them even though I have names entered in on Name and Tooltip.
Any suggestions?Oh my gosh... I feel like such a dork!! I took a fresh look at it this morning, and the ONLY mistake I had was that I put the ending quotations in the wrong spot! I forgot to include (Optional) inside the quotations for the label!
I had this: if (!event.value) event.value = "Company Information" (Optional);
Instead of this: if (!event.value) event.value = "Company Information (Optional)";
Oi!! That was it! lol! I'm sorry about that. And yes, without those quotations, my text form fields don't work. I hadn't seen your message before (until now) asking for me to clarify that. I'm sorry! That's the only spot I needed quotations. If I don't have them, Adobe tells me that I'm missing characters.
THANK YOU SO MUCH!!! I wish there was a way to give brownie points or something on here either than "Right Answer". You have helped me so much and deserve a lot of brownie points! Thank you!!
If Adobe is reading this, please give George Johnson a reward or something, please! He was very helpful and patient with me. -
Multi Lingual Form Label Change
Hello All,
We have single oracle application custom form fmb which supports several languages, now i got a label change for spanish language so how can i change the label for spanish. While checking only one fmb they are maintaining for several languages and while opening the fmb its always opening in english. help on this is highly appreciated.
Thanks,
Devaraj.KPl post details of OS, database and EBS versions.
You need to create a separate fmb file for each language using the seeded TEMPLATE.fmb file for each language. If you want to use only one fmb file for all languages, then all your boilerplate objects will have to be in one language (typically English)
http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458261.htm
HTH
Srini -
I have followed all the directions for "How to Create New Web Forms" everything worked perfectly up until Section 5: Changing and Translating Labels for Web Content.
I imported the Example Project with note 817876 - but am getting the following errors:
The import com.sapportals.wcm cannot be resolved
CrtClassLoaderRegistry cannot be resolved
How do I add this to my project? The steps in this document and in the SAP Library don't cover getting errors so I am turning to you for help!TA,
You need to add bc.crt_api.jar to your java build path in order to resolve this error. This JAR contains the implementation of CrtClassLoaderRegistry class.
Maybe you are looking for
-
HT2589 How can I set up an apple I'd with no credit card on an ipad mini?
I have set up an apple I'd but I can't put any free apps on my ipad mini as it won't let me choose the none option when I get to card details as I don't have a credit card and can't use a bank card. How can I do it without a card plz can someone help
-
How to display Hierarchy tree in F4 help ?
Hello All Sorry , this time i have a pure ABAP question .I have requirement where i have to extract the cube data into a flat file as per user's selection selection screen.On selection screen , there are various characteristics of cube such as COmpan
-
How do I Increase a table by a percentage.
I have a table with currency values in them B2-F41 now I have another spot which has a percentage (A1). What I need is an easy way for me to have A1's value increase or decrease the numbers that are in my table fro B2-F41 without having to go to each
-
LaserJet P2015dn Washed Out Print
The cartridege and printer is brand spanking new. Word, Excel documents print superbly. However, if I print something from a website it is barely readable, same for my email messages. I use Gadwin Print Screen software and that results also in printi
-
Aironet 1400 Point to Multipoint Bridging
Hello Everybody I`m already desinging a Wireless Point to Multipoint Bridging with Aironet 1400. I was Wondering if on the Central point the 1400 should has a external omnidireccional anntena to support all the others bridges... that is: this AP will