Remove label Space in InputText
Hi Gurus,
I am new in adf and using 11.1.2.3. I have a input text on page and wants to occupy the whole space. I have set Style class to AFStretchWidth, but it does not cover the whole space. There is some kind of margin on left and right side that's looks like it is label space. Please advice me how can i fill the whole space and remove these labels space from input box.
Hi TimoHahn,
Here is the tag
<af:inputText id="it1" styleClass="AFStretchWidth" simple="true"/>
By setting simple="true" space on left side has been removed but still on right side.
Thanks,
Shahzad
Similar Messages
-
How to remove extra spaces from Data Matrix Label?
Hi All,
Kindly let me know how we can remove extra spaces from Data Matrix Label.
Suppose we have this following code in SO10.
^FO1380,1879^COY,78^BY4^BXR,6,200^FH^FD[)>_1E06_1DF01001T_1D6JUN&v_huf&&v_hul&_1DV&v_supnum1&_1D16K&v_del&_1D6D&v_flddat1&095_1D2L&v_unload&_1D
P&v_article&_1D4L&v_madein&_1D_1E_04^FS.
Variable have there own value. and the desired result will be shown like the attachment.
But in my code it splits into new line when CMIR value has 3 spaces.
If CMIR value is 1S0 820 355 A . then it creats a new line.
Kindly suggest me any possible solution.
Thanks,
ParthaHi Gaurav,
In print preview we can't see any space or new line. But when it scanned by TSB (barcode scanner) it will generate a new line when there is 3 space CMIR value.
So where should I write SHIFT CMIR LEFT DELETING LEADING space this code?
Because there is no space coming at the time of debugging or print preview.
And in SO10 the code written as
^FO1380,1879^BY4^BXR,6,200^FH^FD[)>
Here CMIR value is 1SO 820 303 A
and generated output is like this.
And desired output should be like this. -
Hi,
Is there anyway of using GREP (or some other magical wizardry) to create a paragraph style that automatically removes all spaces and forces words into lower case?
Strange request i know....I'm wanting to use it for datamerged email addresses.
Thanksso doing it through InDesign is a work around I'm exploring.
Excel has the 'LOWER' function and the ability to record macros for a quick find/replace on the spaces - so that's definitely a good option if it can't be solved purely in InDesign.
You can change case via scripting in InDesign. This AppleScript (OSX only) will set the case of the selected paragraph style to lower. It would be possible to add some code that would strip spaces as well:
tell application "Adobe InDesign CS6"
activate
set StyleList to name of every paragraph style of active document
set myDialog to make dialog with properties {name:"Document Paragraph Styles"}
tell myDialog
tell (make dialog column)
tell (make border panel)
tell (make dialog column)
make static text with properties {static label:"Choose a Style", min width:150}
end tell
tell (make dialog column)
set myPresetsDropdown to make dropdown with properties {string list:StyleList, selected index:0, min width:150}
end tell
end tell
end tell
end tell
set myResult to show myDialog
if myResult = true then
--+1 gets the correct name because list starts at 0
set myStyle to item ((selected index of myPresetsDropdown) + 1) of StyleList
else
return
end if
destroy myDialog
tell active document
set myStyle to paragraph style myStyle
repeat with j from 1 to (count stories)
repeat with i from 1 to (count paragraphs in story j)
if applied paragraph style of paragraph i of story j is myStyle then
--defines a variable to replace the generic this_text parameter in the handler
set SCText to the contents of paragraph i of story j
set contents of paragraph i of story j to my change_case_of(SCText)
end if
end repeat
end repeat
end tell
end tell
on change_case_of(this_text)
set the_comparison_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
set the_source_string to "abcdefghijklmnopqrstuvwxyz"
set the_new_text to ""
repeat with thisChar in this_text
set x to the offset of thisChar in the_comparison_string
if x is not 0 then
set the_new_text to (the_new_text & character x of the_source_string) as string
else
set the_new_text to (the_new_text & thisChar) as string
end if
end repeat
return the_new_text
end change_case_of -
Export to text removes trailing spaces in XI R2
I've found an article that talks about the problem of the export to text removing trailing spaces, but the article mentions that this is fixed in Crystal Reports XI with a newer version of u2ftext.dll to version 11.0.0.941.
[1218375 - Trailing spaces ignored when exporting to Text format|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373335%7D.do]
I'm using Crystal Reports XI R2 and my u2ftext.dll version is already 11.5.11.1470.
I'm I missing something or is there another solution to the issue in XI R2?
Thanks,
Jeff2 Years, multiple people are asking this question.......Does anyone in support have a response for keeping the trailing spaces intact during export?
-
How can we remove the space after changing look and feel to generic
Hi
I want to remove the space which left blank after changing look and feel to generic in formsweb.cfg file.
Can anybody help me to remove this blank space.Hi,
can you be more specific on teh space you mean?
Frank -
Removing extra spaces from a long document
Hello
I have seen a number of find/change and GREP formulas to do similar things. I have NO scripting or coding experience and have labored to understand GREP.
So I am a little afraid to use it as I don't know what all the modifiers refer to (I do have a printout of some neat GREP cheatsheets like Mike Witherell's that I can absorb until I obtain a good reference )
I need something I can copy and paste into either find/change or GREP dialog that will do the following in less than 12 steps (hopefully) without doing something catastrophic like removing all of my paragraph marks (which I almost did using someones GREP expression)
No spaces before any comma, period, exclamation mark, question mark, colon, semicolon
One space only after any of those
One Space before any opening parenthesis and one space after the closing parenthesis
No space after the opening parenthesis or before the closing parenthesis
Remove any double or extra spaces ( en, em etc.)
Remove any commas before parentheses
Remove any spaces after a paragraph mark
I think that's it
I did find this one recently (Maybe Jongware?)
[~m~>~f~|~S~s<~/~,~3~4%]{2
Which from my dim understanding addresses em, en, flush and hair space , nonbreaking space ,figure space,third space--not sure of the rest. Really this is way over my head.
I know this will be a piece of cake for you guys
Thanks
Peter is too modest, he's doing just great.
No space BEFORE-One Space after ---period,semicolon,colon, exclamation, question mark,CLOSING Parenth,Bracket,Brace, single & Dbl. quotation marks
Find (\s)([.,;:!\)\]\}~}~]])
Replace with $2
No space AFTER-One Space Before----OPENING bracket,brace,parenthesis,Dbl & single quotes
Find ([\[\{\(~{~[])(\s)
Replace with $1
These remove the space before/after but do not automatically add a space after/before.
In the first case, you could add a space right after the '$2' in the Replace With string, but it already may have a space, in which case you suddenly have two. One alternative is to optionally remove it with the Find string (add it as an optional match) and always add it with the Replace string, but remember that this string will only be found if there is a space preceding it. That way you'd only check the space after in cases where there was a bad space before.
So I propose you add another two find/changes to add the space, only when necessary.
One Space After: find
([.,;:!\)\]\}~}~]])(?!\s)
replace:
$0 [followed by one single space]
One Space Before: find
(?<!\s)([\[\{\(~{~[])
replace:
[one single space] $0
Color-coding with my WhatTheGrep might make it just a tad clearer what's going on in that jumble of codes:
(1 [ .,;:! \) \] \} ~} ~] ] 1) (?!! \s !)
and
(?<!<! \s <!) (1 [ \[ \{ \( ~{ ~[ ] 1)
(Orange is lookahead/lookbehind, blue is a regular escaped character, pink is an InDesign special character, green is normal grouping parentheses, and lavender is a character group.)
Peter is too modest, he's doing just great.
No space BEFORE-One Space after ---period,semicolon,colon, exclamation, question mark,CLOSING Parenth,Bracket,Brace, single & Dbl. quotation marks
Find (\s)([.,;:!\)\]\}~}~]])
Replace with $2
No space AFTER-One Space Before----OPENING bracket,brace,parenthesis,Dbl & single quotes
Find ([\[\{\(~{~[])(\s)
Replace with $1
These remove the space before/after but do not automatically add a space after/before.
In the first case, you could add a space right after the '$2' in the Replace With string, but it already may have a space, in which case you suddenly have two. One alternative is to optionally remove it with the Find string (add it as an optional match) and always add it with the Replace string, but remember that this string will only be found if there is a space preceding it. That way you'd only check the space after in cases where there was a bad space before.
So I propose you add another two find/changes to add the space, only when necessary.
One Space After: find
([.,;:!\)\]\}~}~]])(?!\s)
replace:
$0 [followed by one single space]
One Space Before: find
(?<!\s)([\[\{\(~{~[])
replace:
[one single space] $0
Color-coding with my WhatTheGrep might make it just a tad clearer what's going on in that jumble of codes:
(1 [ .,;:! \) \] \} ~} ~] ] 1) (?!! \s !)
and
(?<!<! \s <!) (1 [ \[ \{ \( ~{ ~[ ] 1)
(Orange is lookahead/lookbehind, blue is a regular escaped character, pink is an InDesign special character, green is normal grouping parentheses, and lavender is a character group.)
How to remove footer space in Table
I have created a table in main window. after creating main area section, the footer section is appearing as an empty at the bottom. I tried to remove this space by giving zero height to the footer height, but the value is not accepted by the system. How can I remove the space created by the footer?
rajan
Hi Rajan,
Can you please tell me how did you solve this problem ?
I am facing the same issue in smartforms.
Regards,
Nitin.
How do I remove a space before the first word in a sentence using find and replace or GREP?
Right, so I am laying out a document in inDesign from a word document and it has a space before every first word in a sentence. It is really annoying and I need a quick way to get rid of them. I wasn't too sure how to do it with find/change but I am sure there is a way in GREP if someone can help me. I have included an image so that people can see exactly what I mean.
The ^ location works for all paragraphs.
But a note to the OP, there is a sample script called FindChangeByList that removes leading and trailing spaces as well as extra spaces after punctuation, all in one go. But if you want to continue to use a GREP find/change to remove leading space, I'd modify Joel's suggestion to ^\s+ to get those cases where the user typed multiple spaces as well.
And don't forget there are actually legitimate places for leading tabs, which both the script and this GREP will find and remove, so be careful.
How to remove white spaces from XML content using Coldfusion?
Hi,
Can anybody help me in removing white spaces in between the tags from the below XML content using coldfusion?
XML content:
<?xml version="1.0" encoding="UTF-8"?> <chart showdates="true" today="08/12/2009"> <phases> <phase color="CCFFCC" name="Funded"/> <phase color="CDCD67" name="Concept"/> <phase color="99CCFF" name="Feasibility"/> <phase color="0099FF" name="Development"/> <phase color="0099FF" name="Development"/> <phase color="CC99FF" name="Close-out"/> <phase color="909090" name="Sustaining"/> </phases><program name=""> <project enddate=" 30/03/2007 " id="43250" startdate=" 28/02/2006 "> <version enddate=" 30/03/2007 " number=" 1" startdate=" 28/02/2006 "> <phase color="CCFFCC" currentdate="23/03/2006" name="Project Start" plandate="28/02/2006" type="phase"/> <phase color="99CCFF" currentdate="04/04/2006" name="Feasibility Closure" plandate="31/05/2006" type="phase"/> <phase color="0099FF" currentdate="29/03/2007" name="Commercialization" plandate="30/12/2006" type="phase"/> <phase color="CC99FF" currentdate="30/03/2007" name="Project Closed" plandate="30/03/2007" type="phase"/> <phase color="909090" currentdate="" name="Obsolescence" plandate="" type="phase"/> </version> </project> </program> </chart>
Output I am expecting is like below,
<?xml version="1.0" encoding="UTF-8"?><chart showdates="true" today="08/12/2009"><phases><phase color="CCFFCC" name="Funded"/><phase color="CDCD67" name="Concept"/><phase color="99CCFF" name="Feasibility"/><phase color="0099FF" name="Development"/><phase color="0099FF" name="Development"/><phase color="CC99FF" name="Close-out"/><phase color="909090" name="Sustaining"/></phases><program name=""><project enddate=" 30/03/2007 " id="43250" startdate=" 28/02/2006 "><version enddate=" 30/03/2007 " number=" 1" startdate=" 28/02/2006 "><phase color="CCFFCC" currentdate="23/03/2006" name="Project Start" plandate="28/02/2006" type="phase"/><phase color="99CCFF" currentdate="04/04/2006" name="Feasibility Closure" plandate="31/05/2006" type="phase"/><phase color="0099FF" currentdate="29/03/2007" name="Commercialization" plandate="30/12/2006" type="phase"/><phase color="CC99FF" currentdate="30/03/2007" name="Project Closed" plandate="30/03/2007" type="phase"/><phase color="909090" currentdate="" name="Obsolescence" plandate="" type="phase"/></version> </project></program></chart>
Thanks in advance,
Regards,
Manoz.
Daverms,
Thanks for the quick turn around..
I have applied the solution what you suggested above (<cfprocessingdrirective suppresswhitespaces="yes"), still whitespaces are existing in my output.
The output what I am getting is,
(blue color part is my output & red color indicates whitespaces)
<?xml version="1.0" encoding="UTF-8"?>
<chart showdates="true" today="09/12/2009">
<phases>
<phase color="CCFFCC" name="Funded"/>
<phase color="CDCD67" name="Concept"/>
<phase color="99CCFF" name="Feasibility"/>
<phase color="0099FF" name="Development"/>
<phase color="0099FF" name="Development"/>
<phase color="CC99FF" name="Close-out"/>
<phase color="909090" name="Sustaining"/>
</phases>
<program name="">
<project enddate=" 01/01/2010 " id="12059" startdate=" 20/06/2003 ">
<version enddate=" 01/01/2010 " number=" 1" startdate=" 20/06/2003 ">
<phase color="CCFFCC" currentdate="20/06/2003" name="Project Start" plandate="20/06/2003" type="phase"/>
<phase color="CDCD67" currentdate="" name="Concept Closure" plandate="" type="phase"/>
<phase color="99CCFF" currentdate="20/06/2003" name="Feasibility Closure" plandate="20/06/2003" type="phase"/>
<phase color="F0FF00" currentdate="" name="Alpha Test" plandate="" type="milestone"/>
<phase color="F0FF00" currentdate="26/07/2004" name="Beta Test" plandate="31/05/2004" type="milestone"/>
<phase color="0099FF" currentdate="29/06/2005" name="Commercialization" plandate="08/12/2004" type="phase"/>
<phase color="CC99FF" currentdate="24/02/2006" name="Project Closed" plandate="01/01/2010" type="phase"/>
</version>
<subproject enddate=" 16/10/2008 " id="11809" name="espWatcher Pricing Toolkit" startdate=" 01/08/2003 ">
<version enddate=" 16/10/2008 " number=" 1" startdate=" 01/08/2003 ">
<phase color="CCFFCC" currentdate="01/08/2003" name="Project Start" plandate="01/08/2003" type="phase"/>
<phase color="99CCFF" currentdate="" name="Feasibility Closure" plandate="" type="phase"/>
<phase color="0099FF" currentdate="15/06/2005" name="Commercialization" plandate="08/12/2004" type="phase"/>
<phase color="CC99FF" currentdate="16/10/2008" name="Project Closed" plandate="16/10/2008" type="phase"/>
</version>
</subproject>
<subproject enddate=" 31/12/2070 " id="35704" name="espWatcher version 2 (2005)" startdate=" 01/01/2005 ">
<version enddate=" 31/12/2070 " number=" 1" startdate=" 01/01/2005 ">
<phase color="CCFFCC" currentdate="01/01/2005" name="Project Start" plandate="01/01/2005" type="phase"/>
<phase color="99CCFF" currentdate="01/07/2005" name="Feasibility Closure" plandate="01/07/2005" type="phase"/>
<phase color="0099FF" currentdate="31/03/2006" name="Commercialization" plandate="31/03/2006" type="phase"/>
<phase color="CC99FF" currentdate="31/12/2070" name="Project Closed" plandate="31/12/2070" type="phase"/>
</version>
</subproject>
</project>
</program>
</chart>
However this solution removes most of the whitespaces, I want exact output as flash file is expecting so..
Where ever I am calling the CF functions, there I am getting the whitespaces. like below cases.
startdate="#getProjectStartDate(sProjectIdList)#" -> output I am getting for this statement is -> " 12/09/2009 "
Please assist me...
Regards,
Manoz.
How to change the color of label of af:inputText
Hi,
I want to change the color of label of <af:inputText> box . I used skinning for this , but this is not working.
what i m doing is
af|inputText::label{
color:red;
bt this is not working , please suggest me some way to do it...
bt if i do this
af|inputText::label{
background-color:red;
this is working.
Thnx..
Hi,
You didn't mention Jdev version,anyway you can try as
<af:panelLabelAndMessage label="Username" id="id" labelStyle="background-color:red;">
<af:inputText id="id5" value="Test"
simple="true"/>
</af:panelLabelAndMessage>See
color change
OBIEE 11G : Remove label (is like pattern match) in the prompt
Hi Experts,
I have Gone through this thread Re: OBIEE 11G : Remove label (is like pattern match) in the prompt and applied JS as mentioed but
It works for the first display of the page but its back as soon as you hit the apply button
can be it be removed permanently? Thanks in Advance
Hi Nagen,
You can try the following:
Create a variable prompt with the column vales that you want to match
Create a filter in the analysis criteria tab on the column, set to pick up the variable, and define the IS LIKE here.
It is effectively doing the same task as the standard prompt approach does, but in a round-a-bout way which doesn't include adding any of Oracle's text in.
How to remove empty space from a file
Hi all,
Can any one help on how to remove the blank spaces from a file.
I used trim function but unable to remove the spaces.
I have a file in which there is a name like 'JAIRAM' and am storing this file in a variable FILE_CONTENTS.
Now am unable to compare FILE_CONTENTS with another value as it is storing empty spaces also from the file.
Please help on this
Thanks,
Srini
Trim only trim at the beginning or at the end. Can you try using the replace sql function.. see below..
SQL> select replace('abc def',' ','') from dual ;
REPLAC
abcdef
cheers
Needs to remove Balnk spaces in the report next to data
Dear SDN's,
Report is displaying as below,my end user wants to remove blank spaces which has no data.
Ex: In C1 sales is 10,but profit is blank.so profit wont be display for C1.Similar for C2 sales wont be displayed & profit shoud display.
Customer Sales Profit
C1 10
C2 15
C3 20
We can do zero supression when we have '0' in the blank space.but we have 'Blank' not '0'.
We can remove the whole column when the whole column is 'Blank'.But is there a way if we want to not see the blank spaces.
Thanks and Kind Regards,
Lakshman Kumar G
Hi Lakshman,
To display Blank as Zeros,
The Fourth Value which u hve given i.e Zero as default text ,select this and in the below Field .e Show Zero ,type there as 0(ZERO).
Also alternate could be ,try this
Create a CKF for each KF with formula KF Not Equal to*0
OR
KF EQ 0*KF.
I am not suire on the Hiding of KF individually with Zeros Values.
Rgds
SVU
How do I remove the space key on my keyboard for cleaning underneath?
How do I remove the space key on my keyboard for cleaning underneath?
Don't. It will void the warranty. Take is to an Apple store or an AASP and have them do it.
Removing extra spaces from email attachment of text file
Hi All,
I am having a question in opening email attachment file in text mode.
Whenever I am trying to open a CSV file in text mode after each row it adds blank spaces. These blank spaces are to complete the 255 characters on each row I guess.
My client doesn't want these space. So can anybody tell how to remove those spaces?
<removed by moderator> response would be helpful.
Thanks and Regards
Nishad
Edited by: Thomas Zloch on Apr 28, 2011 4:02 PM - priority normalized
Hi,
There is no solution for this as u know that the data which you r sending in csv its actually getting populated from an internal table.
You cannot make your internel table dynamic for this requirment.
It should have a fixed length. Now if the data is less then also the length.
So u have identified correct that because of 255 the blank space is population, nothing is in your hand.
U have to convince the client, to make them understand where is the limitation.
Thanks & Regards
Prasenjit
Maybe you are looking for
-
For travel from US to UK, do I need a subscription...
Wife and I both have Skype app and can talk for free that way. She is traveling to UK for a week. Do I need Skype To Go subscription to call her over there (or she call me) or do we keep using our free Skype app? What are the advantages of the subsc
-
Displaying web page in a popup
hie I have a list of links displayed on my adf page. on clicking these i want to open adf popup and show the webpage. I am fine with the popup creation and opening part. But how do i show the webpage in the popup ? Vik
-
Just installed Photoshop CC and it will not update
Just installed CC on a new machine and it will not update, says failed with a 49 at the end of the message, tried restarting and that did not help. Did get lightroom to install and update without any problems.
-
Embeding a .gif image in Flex Application.
Hi All , In my application , i have a requirement like : i need to play .gif images , But Flex does not support .gif animation , it will display .gif as normal .jpeg image. So i used : AnimatedGIFImage.as --> http://code.google.com/p/as3gif/ But
-
Presenting the confirmation (result) on an interactive form
Hi, I created a stand-alone Interactive form which is able to start a process upon completion and create a purchase requisition in R3 system. After submitting the PDF form, I am receiving a standard "SAP Guided Procedures - Success" message that sta