Left Align for the input text in ADF
Hi,
When I drag and drop the data control in my jsp page, Automatically all the fields are aligned at the center of the page. But I want to align the input text fields to the left of the page. I have only valign which will give me top, bottom and center options.
Is there any property which will help me in aligning it left?
Please help me.
Thanks,
Haripriya.S
I think you forgot to close the rowLayout tag.
<afh:rowLayout binding="#{backing_test.rowLayout1}" id="rowLayout1" halign="left">
<af:panelForm binding="#{backing_test.panelForm1}" id="panelForm1">
<af:inputText value="#{bindings.direccion.inputValue}"
label="#{bindings.direccion.label}"
columns="#{bindings.direccion.displayWidth}"
id="inputText1">
</af:inputText>
</af:panelForm>
</afh:rowLayout>
Similar Messages
-
Spell check for the input text
Hi,
I am using ADF 11g. I have a input text to enter their comments and I need to have a spell checker. Is there any spell checker component in ADF 11g?
Thanks
SaruHi John,
Thanks for you reply.
I am using ADF 11G
Jspell version is Version 0811c
it seems as though the data is not getting posted to the Jspell servlet.
Following is the Request header for a simple test html that i wrote
===========================================
Host localhost:7101
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Method POST http://localhost:7101/jspellEvolution/abc HTTP/1.1
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Referer http://localhost:7101/jspellEvolution/test/test.html
Content-Length 44
Cookie jspellLearned=%21ghfoehdf%2C; JSESSIONID=3sjCLdTVfHbdMQty5s7r11FSkRdySGJmzKp1CT2TrKLS1J8qvSLm!1256583144
====================================================================================
And following is request header of my ADF 11G application
======================================
Host 127.0.0.1:7101
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Adf-Rich-Message true
Referer http://127.0.0.1:7101/TestEvent-ViewController-context-root/faces/test.jspx?_afrLoop=8177125195800&_afrWindowMode=0&_adf.ctrl-state=xqk2btm4s_9
Content-Length 330
Cookie JSESSIONID=SJBfLdMSfjLXchBkwl3R3yPQv8TTVnPGZhx29k4ZcntRtLWhRj1N!1256583144
===============================================================
It looks as if the spell checker servlet is not being invoked.
Following is my .jspx page code
<?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">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<f:facet name="metaContainer">
<af:group>
<![CDATA[
<script TYPE="text/javascript" SRC="http://localhost:7101/jspellEvolution/jspellSettings.js" CHARSET="ISO-8859-1"></script>
<script TYPE="text/javascript" SRC="http://localhost:7101/jspellEvolution/jspellEvolution.js" CHARSET="ISO-8859-1"></script>
<script LANGUAGE="JavaScript" TYPE="text/javascript">
window.onload=jspellInit;
function jspellPostInit() {
// this function will be called when JSpell is completely done initializing and
// attaching to existing text elements or iframe elements
/* Implement this function to explicitly declare the */
/* fields that you want to spell check. */
function getSpellCheckArray()
var fieldsToCheck=new Array();
// Use DOM Element IDs to specify fields to spell check
fieldsToCheck[fieldsToCheck.length]=[document,"it1::content"];
return fieldsToCheck;
</script>
]]>
</af:group>
</f:facet>
<af:form id="f1" usesUpload="true">
<af:inputText label="Label 1" id="it1" simple="true" autoSubmit="true"
immediate="true" clientComponent="true"/>
</af:form>
</af:document>
</f:view>
</jsp:root>
==========================================
Any suggestion would be greatly appriciated -
How to Disable client side validation for the message text input
Hi,
I have scenario where i need to by pass the client side validation for a message text input
Scenario is
I have a message text input field(say XYZ), i set the max length for the item as 20
Now when im trying to enter the greek characters into it, it is allowing me to enter till 20 characters
But when i try to submit the form ..my client side validation is firing..
The Error says the XYZ is too long
The problem is, in greek each character takes two bytes.(In english it is only 1).While entering the content it allowing 20 characters and when validating it is checking for bytes(if we enter in greek the length will be 40 bytes not 20)
I cannot increase the max length .coz i have restrict the character length to 20 only.(english or Greek).
Please help me in this regard.
Regards
Sandeep.Thanks for the information.But we dont have any option either declaratively or programatically to disable the client side validation for the message text input..I referred java docs ..i dint find any method which does..
Correct me if im wrong -
How to refresh the input text value in backing bean
hi all
i want to know
how to refresh the input text value in backing bean?
i have tried this code ,but it doesnt work
public void click(ActionEvent actionEvent) {
tempConId.setValue("111111111111111");
AdfFacesContext.getCurrentInstance().addPartialTarget(tempConId);
sb know?
Edited by: Joe Zou on 2012-4-6 下午9:11The code looks good.
Here is a sample based on your use-case:
InputTextSample.jspx:
<af:form id="f1">
<af:panelFormLayout id="pfl1">
<f:facet name="footer">
<af:commandButton text="Ok" id="cb1" partialSubmit="true"
actionListener="#{InputTextSampleBean.onClick}"/>
</f:facet>
<af:inputText label="InputText" id="it1"
binding="#{InputTextSampleBean.myInputText}"/>
</af:panelFormLayout>
</af:form>
InputTextSampleBean.java:
import javax.faces.event.ActionEvent;
import oracle.adf.view.rich.component.rich.input.RichInputText;
import oracle.adf.view.rich.context.AdfFacesContext;
public class InputTextSampleBean {
private RichInputText myInputText;
public InputTextSampleBean() {
public void setMyInputText(RichInputText myInputText) {
this.myInputText = myInputText;
public RichInputText getMyInputText() {
return myInputText;
public void onClick(ActionEvent actionEvent) {
this.myInputText.setValue("1234");
AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
adfFacesContext.addPartialTarget(this.myInputText);
} -
How to disply the input text box when the data in the table is empty
Hi,
I m using JDeveloper 11g 5.1.1.1 : How to display the Input text box when the data in the table is empty or by using the dual table.
Since there is no record in the table, screen is displying only the lable. not displying the Input text box.? Any property is there to enable?.
One more case i tried by using dual (eg Select '0' as name from dual) created one view object and dragged in the JSF screen as input combo box with list of values.
In this case also it is not displaying the combo box.Just displaying the Lable name and 0 only.
Regards
Bijesh KHi,
I didn,t get you.Could you please explain. I am not choosing the ADF table. Selecting and dragging ADF form only.
Regards
Bijesh K -
No CATS record exists for the long text in row 4
Hi,
When we are tyring to upload the time sheets of tha employees in se38 usinga customized program, from Non sap to sap, for a few employees we are getting an erro like No CATS record exists for the long text in row 4, where are we supposed to verifiy, what causes this error.
Please assist.
Thanks,
Shilpa.Your first step should be in your input file. What is on the fourth line?
Look into the Blueprint Specifications of your Custom Program for the parameters of that input file. -
Unable to get the SharePoint 2013 List names using Client object model for the input URL
Please can you help with this issue.
We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
What we need is to use default credentials to authenticate user to get only those list which he has access to.
clientContext.Credentials = Net.CredentialCache.DefaultCredentials
But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
Instead of passing Default Credentials, if we pass the User credentials using:
clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
working for SharePoint 2013.
We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)Hi Mistry,
I sure that CSOM will authenticate without passing the
"clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
-- Vadivelu B Life with SharePoint -
Service procurement for the free texts ( Multiple line items in PO)
In the service procurement for the free texts ( Multiple line items in PO)referring to the same Contract we are cretaing the POs
thro ME59 ( Program RM06BB20) an unusual error message appears as under:
"_Material/Service group STGOP2 does not exist"_This Material group is unavailable in T023 as well.
We checked the same issue by recreating with the exact data in the Test environment and everything works OK
We are working on the R3 version 470...
Any body faced such an issue ?
Any clues pls?
Regards,
NagarajanHello,
We have faced another issue of the same nature while a PO is being created using the tcode ME21N for service free text items referring a PR ( Service item has no Contract assigned but a fixed vendor)
The error relates to SE419 ( Mat grp 'XXXX' does not exist)
Any takers..
We are using a custom doc type for the PR
Any hep /clue is appreciated
Regards,
Nagarajan -
Is it possible to choose several folders for the Recognize text-operation in Adobe Acrobat X Pro?
You can choose multiple files, or a single folder. If you choose a folder,
though, all of the files in all of its sub-folders will be processed as
well. -
How to display a Column Header for the characteristic Text column
Hi All
Our users want me to provide for a column header for the characteristic text.
Here is what I mean
I am reporting 0plant in the rows as key and Text. In the column on Plant Key the column header says Plant but there is no column header for the plant text.
Eq:
Plant Amount
IE00 Initiator Plant 244
IE01 Initiator Plant NJ 890
Our users in the plant text column want a dummy column header to be displayed. SInce they download the data from the BW report to Excel and use pivot reporting. How can I introduce a column header for the texts.
Thanks
KarenHi Karen,
I am not sure if this is possible, although Users can ask anything :).
In Planning we used to predefine cell headings via Macros and creating dummy cells in between. I am not sure if a similar scenario can work here.
By default this is not possible in Reports. In BEx workbooks, you could probably try with Macros.
Another easy option is to bring the data in the Cube as another field or create a nav. attribute in the master for text and use it as a nav. attr. in the Cube and put it in your Query row alongside.
-Aby -
When you set up tracks what is best to pick for the input and output?
When you set up tracks what is best to pick for the input and output? also what is the buss output? Thanks
First part of the question I don't understand, so could you elaborate please?
Second part: bus output is used for submixes, for example, let's say you want the same EQ to be applied to all guitars in the song, so instead of using same EQ plug-in on all guitar tracks, you feed the output from these tracks to a bus track and use the effect just once on this bus submix. -
How to search for the selected text with a non-default search engine?
Hi,
Before the recent update of the search bar, you could select your "current" search engine, and a search for the selected text (right-click on selection) would use that engine.
Now, it seems that you can only search for the selected text using the default engine. If that's correct, this is a major step backwards for me. For instance, I can't have Google as my default search engine, and search for a selected text on eBay!
Or am I missing something?
Thanks!
R.I find this extension very useful for items selected on web pages. It offers all your search engines with select>right click.
https://addons.mozilla.org/en-US/firefox/addon/context-search/?src=search -
Comparing data in the database with the input text
hi there i have problem with the comparing data in the database with the input text. here is the piece of code of mine:
//declaration
datasourcedb.connect();
String stcode = req.getParameter("txtCode");
ResultSet rs = null;
String action = req.getParameter("action");
ResultSet portquery = null;
if (action.equals("SELL"))
-->portquery = datasourcedb.query("SELECT stockcode FROM portfolio where stockcode =\'"+ stcode + "\'");
-->portquery.next();
-->if((portquery.wasNull()) == true)
disp = req.getRequestDispatcher("error.jsp"); }
else */
Status = "Sell";
datasourcedb.close();
with the code that i marked with --> it doesnt work since i have to compare the input text stcode with stockcode in the db. could anyone tell me how to compare it?
regards
virginiai have try to change into this code:
if (action.equals("SELL"))
portquery = datasourcedb.query("SELECT distinct stockcode FROM portfolio where stockcode =\'"+ stcode + "\' + and userName = \'"+ user + "\'");
if(portquery.next()) {
Status = "Sell";}
else {
disp = req.getRequestDispatcher("error.jsp");
but so far the coding doesnt give any result.... could anyone help me? since the coding does not reach status n the disp -
I cannot copy whole text anymore. It will highlight just one paragraph, and if I go for the whole text, it goes blank. I have the 10.6.8 version.
Hello Banjo62
Try testing that issue out within a new user on your Mac. If it does the same thing, then you will need to reinstall Mac OS X 10.6 Snow Leopard.
Mac OS X: How to troubleshoot a software issue
http://support.apple.com/kb/ht1199
Mac OS X 10.6: Reinstalling Mac OS X
http://support.apple.com/kb/PH6606
Regards,
-Norm G. -
onjour
j ai des probleme au demarage d iphoto le dialogue s affiche et me demande le texte suivant ?
138 photos n’ayant pas été importées ont été trouvées dans la bibliothèque iPhoto.
Souhaitez-vous les importer ? oui ou non avez vous deja rencontrer ce proble si oui pouvez vous m aider
Merci
Hello
J have problem in the demarage d iphoto the dialogue displays and asks me for the following text?
138 photos not having been imported were found in the iPhoto library(bookcase).
Would you care for import them? Yes or no you already have meet this prowheat if yes can you m help
Thank youOpen your iPhoto Library package with the Finder as shown in this screenshot
and look in the folder named Auto Import. Move any files in that folder to a folder on the Desktop and close the package. Do not make any other changes. Launch iPhoto (the message should be gone) and drag the folder on the Dersktop into the open iPhoto window to import them.
OT
Maybe you are looking for
-
What's the difference between RSS and Atom feeds?
I just figured out the RSS thing, which is great. However, when I go to sign up for a RSS feed, I am often given a choice between RSS, Atom, sometimes different versions of RSS. What's the difference between all these? (I tried searching, but was uns
-
IR - easy way to change the items
Hello, When you recive an invoice for a purchase order and the quantity of the GR is not the same as what was on the PO but the invoice does there is a quantity differece, the users have to manually change the items on the invoice from the quantity r
-
PsCC asking for serial number. Don't have one.
I ppayed 980yen/manth in Japan. But Photshop CC requesut enter Sirial No. I don't knomy sirial No. Why not ? Can't use PsCC. Where is my payment?
-
CREATIVE VISION: M 30GB (NO SOFTWARE)
My friend gave me a 30GB Creative Zen Vision:M & lost the software. It had been opened once. Can I somehow download the software (Installation CD)
-
Which Sourcesystem client needs to be selected?
Dear All, I have a question regarding choosing the right client. I have to extract data from IS-U system into BW. An IS-U Dev System has three clients. 1) Golden Client (100) 2) Development (200) 3) Sand Box (300) Similarly BW Dev System has followin