How to style an inputText component?

I want inputText component to have four blue borders instead of default ones.. how can I do this?

on this PJC-site you find many example of this and similiar features :
http://forms.pjc.bean.over-blog.com/
it's pure gold to search there a while

Similar Messages

  • How to implement a inputText include suggestion when input

    Hi guys,
    In ADF, How to implement a inputText include suggestion when input, just like google suggestions ( when you type a char at inputText, it will give you relative suggestions for you to select ).
    Is there any ADF tag or other way to get that ?
    Thanks
    Iko

    Sure, you can use the af:autoSuggestBehavior component within your inputText. In this post they explain how to implement it in two ways: programmatic and declarative:
    http://www.gebs.ro/blog/oracle/oracle-adf-autosuggest-behavior/

  • How to initialize an adf component before a page loads

    Hi all
    I use JDeveloper 11.1.2.2.0
    I have two pages:
    first page has a link to a second page
    <af:document title="first.jspx" id="d1">
      <af:form id="f1">
        <af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleLinkActionEvent}"/>
      </af:form>
    </af:document>and the second page has an inputText component:
    <af:document title="second.jspx" id="d1">
      <af:form id="f1">
        <af:inputText label="Text" id="it1" binding="#{Bean.inputText}" readOnly="true"/>
      </af:form>
    </af:document>First I load first.jspx and than I click the link. This event is handled in handleLinkActionEvent() method, in which I want to set a value to the inputText component of the second page. But I can't do it, because as expected I get NullPointerException.
    So the question is how to initialize an adf component before a page loads?
    Evgeny Michuk
    Edited by: Evgeny Michuk on Oct 4, 2012 11:30 PM

    Thanks a lot for your replies and links, it gives me some new knowledges.
    I got your approach and achieved the aim for the described situation with tag <f:setPropertyActionListener>:
    <af:commandLink text="Page 2" id="cl1" action="goToSecondPage"
                           actionListener="#{Bean.handleLinkActionEvent}" binding="#{Bean.firstPageLink}">
      <f:setPropertyActionListener target="#{pageFlowScope.text}" value="Hello, World!"/>
    </af:commandLink>and for the inputText component I set the value:
    <af:inputText label="Text" id="it1"  binding="#{Bean.inputText}"
                                  readOnly="true" value="#{pageFlowScope.text}"/>I used request scoped managed bean and it is shared for both pages.
    I understand that I can set a value of some attribute for managed bean
    and use it to set a value for inputText component of the second page,
    but as I understand it is almost the same way as usage of tag <f:setPropertyActionListener>.
    In my real situation on the second page I have a dynamic table, and it's field is read only.
    Structure of this table depends on a link clicked on the first page.
    So I define components for table columns in runtime, it may be outputText, inputDate, goLink and some others.
    And I have to get table through the UIComponent binding to set columns.
    Certainly I can define all needed components for all columns
    and render it according to the column types
    <af:table value="#{Bean.collectionModel}" var="row" id="t1" binding="#{Bean.mainTable}">
       <af:forEach items="#{Bean.columnDescriptionList}" var="column">
          <af:column headerText="#{column.caption}" id="c1">
             <af:outputText value="#{row[column.fieldName]}" id="ot1" rendered="#{column.type == '1'}"/>
             <af:inputDate value="#{row[column.fieldName]}" id="ot2" rendered="#{column.type == '2'}"/>
             <af:selectBooleanCheckbox id="sbc1" selected="#{row[column.fieldName] == '1'}" rendered="#{column.type == 'n'}"/>
          </af:column>
       </af:forEach>
    </af:table>but I think it is not very good.
    Have you any idea?
    P.S. I hope I clearly explained my situation =)
    Evgeny Michuk

  • How to populate the time component of a cube?

    We have a question regarding how to populate the time component of a cube. Let me explain:
    We are using OWB 10gR2. We have created a cube with several dimensions. We are now building the mapping to load the cube. The cube operator has two columns for every dimension (e.g., "customer" and "customer_id" for the "customer" dimension).
    We understand that, in this case, "customer_id" stands for the dimension business key, so we create an arrow from the business key in the source table to the "customer_id" column in the cube operator.
    So far so good. The mapping works all right, and the cube is loaded correctly.
    Now we need to do the same for the time dimension. We have already created the time dimension and we have loaded it. We have also included it in the cube, so now we have two new columns in it: "time_day_code" and "time", both NUMBER data type.
    We have the "sale_date" column (DATE data type), in the source system and, of course, now we want to populate the date column in the cube. We suppose that, somehow, we have to translate the "sale_date" field into the numeric column of the surrogate key of the time dimension. How should do we do this? I suppose that OWB must do the translation for us, just as it does for the other dimensions, but how? We have been looking into the manuals, and we have found no explanation on how to go about this.
    Any help would be appreciated.
    Best regards
    Juan Algaba

    Hi Juan
    You are right this should have been in the manuals, checked and there is only a brief mention (Using a Time Dimension in a Cube Mapping section)
    The identifier format should have been documented for each level and will involve creating the formatted attribute for input to the cube operator's time dimension reference attribute.
    The time dimension business keys are stored as follows;
    Day Level - YYYYMMDD
    Month Level - YYYYMM
    Week Level - YYYYWW
    Quarter - YYYYQ
    Year - YYYY
    If you have a source that has a SQL date datatype for example and want to construct the key for a cube's time dimension at the day level something like the following expression can be used to construct the time reference from a SQL date...
    to_number(to_char( time_key, 'YYYYMMDD'))
    The result of this expression can be used as input to the cube's time dimension attribute.
    Cheers
    David

  • How can I use EJB component on Weblogic 8.1 server ?

    hi,dear sir:
    How can I use EJB component on Weblogic 8.1 server ?
    It need client jar to invoke ejb,but what will I to do for this jar file? what does it contain? format ?
    If my EJB module contain 100 session bean and 50 Entity bean,but I want invoke 20 session beans in my module, how can I to do?
    thank you...

    Hi,
    This forum is exclusively for Creator. please post this on appropriate forum
    regards
    CreatorTeam

  • How to Create a Table Component Dynamically based on the Need

    Hello all,
    I have a problem i need to create dynamically tables based on the no of records in the database. How can i create the table object using java code.
    Please help.

    Winston's blog will probably be helpful:
    How to create a table component dynamically:
    http://blogs.sun.com/roller/page/winston?entry=creating_dynamic_table
    Adding components to a dynamically created table
    http://blogs.sun.com/roller/page/winston?entry=dynamic_button_table
    Lark
    Creator Team

  • How to Install SSIS COM Component on Client side

    Hi,
    I am new to BPC.
    I can't install SSIS COM Component on Client side.
    and i guess,  it lead BPC Excel , Data Manager is not working.
    Because all the user are local user on server side, no domain
    I have run OSoftSetup.exe,  but the result is
    Error (Login failed for user ". The user is not associated with a trusted SQL Server connection.)
    i have tried to change the OutlookSoft.config in OSoftSSIS_Client\Bin Folder
    and the config doesn't take any effect.
    How to How to Install SSIS COM Component on Client side?
    thx
    It is client side PC_MS\Logging\Log
    #ERROR#CustomXMLClt##EPM-BPC-MS##e17c2022-c7d4-4a0b-8515-b719441e3dbf###XMLParser : GetTagValue#hostname
    user########Plain##[LOG ID:22]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    thx
    John

    But the problem is...in client side
    When opening Office 2007 Excel -> eTool -> Data Manager
    There have no option showed.
    and in C:\Documents and Settings\<user>\My Documents\PC_MS\Logging\Log
    it has following error.
    2010 08 21 17:15:35:875#+8:00#ERROR#CustomXMLClt##EPM-BPC-MS##51cea66a-13cd-49fc-afdd-7b492566bd12###XMLParser : GetTagValue#<HOSTNAME>
    BPCADM########Plain##[LOG ID:346]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##7aec1fbe-5fda-4c91-9c4a-1eec5e59911b###DMTools::ErrCheck#<HOSTNAME>
    BPCADM########Plain##[LOG ID:347]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##48f5a612-a046-4ef9-a56c-db565ef489d2###DMTools::GetServerInfo#<HOSTNAME>
    BPCADM########Plain##[LOG ID:348]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.GetServerInfo(String strContext, String strFilter, String strSecurity)#
    2010 08 21 17:15:35:890#+8:00#ERROR#DMConsole##EPM-BPC-MS##af7f7343-1cb2-4802-a667-2adbb1b8e2fd###basClientTools::ChangeClientSiteList#<HOSTNAME>
    BPCADM########Plain##[LOG ID:349]Subscript out of range#

  • How can I get the component LTC1060 in the multisim 10 library ?

    How can I get the component LTC1060 in the multisim 10 library ?

    ahnsei ,
    This is a switched capacitor filter - with a variety of configurations for each mode of operation based on the switching frequency.   To create a transistor level SPICE model would be unrealistic (which is probably why you haven't found one), so I would suggest looking at the datasheet and specifically, looking at each mode of operation and seeing if you can approximate the filter topology with an expression for the transfer function given in the datasheet (by calcuting based on the switching frequency).
    Based on the expression you get, you can use the Multisim component "TRANSFER_FUNCTION_BLOCK" to plug in the correct transfer function and thus approximate the behavior of the filter in the circuit.
    This transfer function can be found in the Master database -> Sources -> CONTROL_FUNCTION_BLOCKS.   There was a previous discussion giving some additional details on how to setup the transfer function block:
    http://forums.ni.com/ni/board/message?board.id=370&thread.id=3987
    Regards,
    Patrick Noonan
    Business Development Manager
    National Instruments - Electronics Workbench Group
    50 Market St. 1-A
    S. Portland, ME 04106
    Email: [email protected]
    Tel. (207) 892-9130
    Fax. (207) 892-9508 

  • How to set a Swing component as Modal window on a SWT Component.?

    How to set a Swing component as Modal on a SWT Component.I mean, I have a window (SWT Container) with some menu items.
    When I click on one menu item then i will get one new Swing Window.
    When creating the new frame I had passed Modal value as TRUE in the constructer.Now child is not behaving as Modal Window.I mean I am able to go to parent window even though the child window is opened as a Modal Window.This is only happened when I double click on the Title Bar of the Parent Window.
    If I try to click on any other part of the Parent Window except Title bar ... the child window is working as a Modal Window.
    Can any one suggest me to solve this one !!

    int this case, do this :
    JFrame f = new JFrame("Authentification");
    f.getContentPane().setLayout(new BorderLayout());
    f.getContentPane().add(myJPanel, BorderLayout.CENTER);
    f.setBounds(x,y,w,h);
    f.setVisible(true);
    Where myJPanel is the Panel you developped.

  • How to set a Swing component as Modal on a SWT Component?

    How to set a Swing component as Modal on a SWT Componen?.I mean, I have a SWt Component window and from that window I am displaying a SWING Component Modal window.
    The problem is my swing window is not working as Modal always.
    When I opened the swing window from SWT window,swing window is working as Modal.But if Idouble click on Menubar or Title bar of the SWT Window then my Swing window goes back.If I click on any other part of the SWT window.. then once again Swing window is working as modal.
    Can any one suggest me to solve this?
    I think this is isuue related with Swing over SWT..

    pradeep.rajadurai wrote:
    I want set the JTable as a background of jframe or jinternalframe , how it is possible One way that may work, you can always extract the image from a rendered JTable and then paint the same image into the JPanel that holds your components via it's paintComponent method, then added the JPanel to the app's contentPane.
    give me simple pgmIs English your second language? Because if so, please understand that this demand can be taken by some as rude.

  • How can I create the component like ComboBox in flashlite2.0 ?

    How can I create the component like ComboBox in flashlite2.0
    I'm a new man, please gave me an example!
    Thanks.

    I don't see anything special about the play button in MPMoviePlayerController....
    the "glowing" effect icons are all standard UIBarButtonItem objects:
    http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIBarBut tonItem_Class/Reference/Reference.html

  • How to install video Integration component

    Dear Experts
    Link how to install video Integration component
    https://websmp106.sap-ag.de/~sapidb/011000358700000739542010E/index.htm
    Regards
    Carlos Farías

    It says
    To install this component, just drag the File "XviD_Codec 1.0 alpha.component" into Library/QuickTime. The Library directory can be found either at your home directory (to install just for the actual user) or at the top-level of your startup volume (this needs an administrator account). DO NOT PUT IN: /System/Library/QuickTime.
    Sounds normal to me. The "~/Library/QuickTime" folder is the standard location for user and application installed QT components which are used globally by all account users. On the other hand, the "~/System/Library/QuickTime" folder is where QT components installed by the operating system installer are placed for global use. These instructions appear to be correct.
    It is possible that the QuickTime directory does not yet exists. In that case you can create it yourself. Pay attention to capital letters if you use a case sensitive file system (i.e. UFS).
    I do not have Library/Quicktime.
    Highly unlikely if you are running Mac OS X V10.5.8 as indicated in your posting. As you can see here, when the startup drive is opened at the root level, you should find a minimum of four folders—the "Applications" folder, the "Library" folder, the "System" folder, and the "Users" folder. Without these folders, your computer would be little more than an electrified paperweight.
    I do not have Library/Quicktime.
    Either you are looking in the wrong place or someone has been playing around on your system (e.g., in the Console app) and made the folder invisible.

  • How to create a new component using SPICE?

    People, I don't know how to create a new component using SPICE.
    I know that it's possible to create a new component and use a SPICE code, but I don't know how to do this very well, and I need the TI ISO124 (Isolation Amplifier), and I have no idea on how to do that. Can somebody help me? I need to develop a layout.
    Thank you!!

    Hi,
    Here is a tutorial that explains in details how to create your own component in Multisim using a SPICE model.
    Hope you find it helpful,
    Mahmoud W
    National Instruments

  • How to create  Auto suggestion component by using of ADF tag

    Hi ,
    In my project, I am using the ADF frame work and I need to use the auto suggestion component.
    Can any body suggest me how to create Auto suggestion component by using of ADF tag.
    Waiting for your valuable suggestions...

    Try this forum:
    JDeveloper and ADF
    You might get a lot more response.
    Jan Kettenis

  • How can i delete software component in the IR

    How can i delete software component in IR,when there are too many SCs?

    If you have to delete a SWCV, you have to delete all the namespaces with in that first. Open a name space and delete all the user defined objects in that first. Then delete the Std Fault and log data types and delete it and remove the name space from the SWCV by opening the SWCV and using - button on the name space. Now activate the changes. This will delete the name space.
    Repeat the step for all the name space with in the SWCV. After all objects are deleted. Open the SWCV and use the menu, SWCV ->Delete object.
    Regards,
    Jai Shanakr

Maybe you are looking for

  • Does any one know how to resolve the error while flat file upload

    Hey guys, I am so struck with this problem, please do let me know if anyone has any suggestions and ideas. 1. I created three InfoObjects, Material Number, Name and Price,which is  a keyfigure and has data type DEC and fixed currency USD. Material Nu

  • How do I change the font size on Adobe Reader 8.1.2

    I recently purchased an HP  laptop running Vista. It came with Adobe Reader 8.1.2.  I can't change the font size in a form that I am filling out.  I can cut& paste a different font size into the form but not change the font size.  Someone said that i

  • Can I make a form that could be emailed filled out and returned

    I'd like to create a form that I can email my students and that they could fill out and return. Is there a site or video that could help me learn this? Perhaps create a template?

  • Dynamically set the itemStyle depending on a condition

    Hello everybody, hope you are fine. would you please tell me that is it possible to set a Item's ItemStyle dynamically? suppose i want if i come from page1.PG then Item1's style should be MessageInputText and if i come from page2.PG then Item1's styl

  • Production to quality

    Hi All, Please advise, My client has requirement of one year trasactional data of 10 balancesheet gl accounts from production server to quality server for the test. the line items are about 8000. please advise how to dump from the production server a