Problem with disabling t:inputCalendar component

I use <t:inputCalendar> component from the tomahawk library. I am facing a problem with it like I am not able to disable it completely. I am able to disable only the input field with it. The image that pops up the calendar couldn't be disabled.
Pls help if some one has tried this.

try setting the visibility or render settings maybe

Similar Messages

  • Problem with checkbox on table component

    Hello i am having a problem with checkbox in table component
    i am developing something like a shopping cart app and i have a checkbox in my table component , i want users to select items from the checkbox to add to thier cart, They can select the items from cartegory combobox , my problem is when they select the items from the checkbox if they select another category the alread selected once do not display in my collection opbject please how can i maintain the state of the already selected items in my collection object

    Hi,
    Please go through the tutorial "Understanding scope and managed beans". This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
    The details of the selected items need to be stored in an object that is in session scope.
    Hope this helps
    Cheers
    Girish

  • I have a problem with disable my account in apple store

    hi i got a problem with disable my account apple store... so what should i do?

    You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then log back in so as to 'refresh' the account on it.
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • [svn:fx-trunk] 8277: Use blendMode="normal" to fix problems with disabled appearance when baseColor is set.

    Revision: 8277
    Author:   [email protected]
    Date:     2009-06-25 17:46:00 -0700 (Thu, 25 Jun 2009)
    Log Message:
    Use blendMode="normal" to fix problems with disabled appearance when baseColor is set.
    Bugs: SDK-19745, SDK-19762
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19745
        http://bugs.adobe.com/jira/browse/SDK-19762
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Problem with SCCM 2012 R2 Component status messages

    Hello,
    I have a strange problem with Component status messages. When I try to view all messages from any component, I receive an error message stating that the data could not be recieved from the database. Reporting point is installed.
    And when I try to run a report, nothing happens. The report doesn't run.
    Any idea??

    Oooopsss... Status messages disappeared again !! nothing suspect in srsrp.log and compmon.log.
    There are these entries in compsumm.log that got my attention
    The machine account will be used for ["Display=\\DataBaseServer.domain\"]MSWNET:["SMS_SITE=CPS"]\\DataBaseServer.domain\.~  $$<SMS_COMPONENT_STATUS_SUMMARIZER><12-17-2014 20:00:00.643+300><thread=3152 (0xC50)>
    Successfully made a network connection to \\DataBaseServer.domain\ADMIN$.~  $$<SMS_COMPONENT_STATUS_SUMMARIZER><12-17-2014 20:00:00.643+300><thread=3152 (0xC50)>
    Failed to read Operations Management component registry key values on DataBaseServer.domain; error = 5 (0x5).~  $$<SMS_COMPONENT_STATUS_SUMMARIZER><12-17-2014 20:00:00.909+300><thread=3152 (0xC50)>
    Failed to read in current property values and initialize COpsMgmtComponent object; error = 5 (0x5).~  $$<SMS_COMPONENT_STATUS_SUMMARIZER><12-17-2014 20:00:00.909+300><thread=3152 (0xC50)>
    Error: Failed to initialize the COpsMgmtComponent object for component SMS_SITE_SQL_BACKUP_S206UT24.CSDPS.QC.CA on machine DataBaseServer.domain. : L’opération a réussi.~~  $$<SMS_COMPONENT_STATUS_SUMMARIZER><12-17-2014 20:00:00.909+300><thread=3152
    (0xC50)>

  • Problem with disabled code view

    Hi,
    I've a problem with a template-based website which works fine
    in design view but will not allow edits in code view (with the
    exception of the contents of the <title> element). The
    template has multiple editable regions and has been deployed on
    quite a few occasions to multiple authors with varying
    configurations without any trouble before, but now it is causing
    quite a bit of head-scratching!
    The problem originally manifested in Dreamweaver MX 2004 on
    Windows 2000. An upgrade to Dreamweaver 8 has taken place and the
    issue persists. Testing on a similar computer using a standard
    shared drive in Windows shows the same problem in Dreamweaver 8 but
    was fine in Dreamweaver MX. Working with a copied set of files on a
    remote computer (Win2k and DW MX 2004) seems to somehow resolve /
    circumvent the problem and the code view works fine. Unfortunately
    this isn't an option for the main authors of the site who have only
    their current machines available.
    The fifth post down in a
    thread
    over at DMXzone seems to refer to a similar problem, but the
    workaround highlighted there has not worked for me.
    I'm not really a heavy Dreamweaver user but I can normally
    figure things out. This one however has got me stumped - anybody
    got any ideas? (Apologies if it's a really simple setting or flag
    that I should know about, but I've not been able to find anything!)
    Cheers,
    Dan

    Ca you post a link to the page, please?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "yorkdan" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi,
    >
    > I've a problem with a template-based website which works
    fine in design
    > view
    > but will not allow edits in code view (with the
    exception of the contents
    > of
    > the <title> element). The template has multiple
    editable regions and has
    > been
    > deployed on quite a few occasions to multiple authors
    with varying
    > configurations without any trouble before, but now it is
    causing quite a
    > bit of
    > head-scratching!
    >
    > The problem originally manifested in Dreamweaver MX 2004
    on Windows 2000.
    > An
    > upgrade to Dreamweaver 8 has taken place and the issue
    persists. Testing
    > on a
    > similar computer using a standard shared drive in
    Windows shows the same
    > problem in Dreamweaver 8 but was fine in Dreamweaver MX.
    Working with a
    > copied
    > set of files on a remote computer (Win2k and DW MX 2004)
    seems to somehow
    > resolve / circumvent the problem and the code view works
    fine.
    > Unfortunately
    > this isn't an option for the main authors of the site
    who have only their
    > current machines available.
    >
    > The fifth post down in a
    >
    http://www.dmxzone.com/forum/topic.asp?topic_id=33748
    > seems to refer to a similar problem, but the workaround
    highlighted there
    > has
    > not worked for me.
    >
    > I'm not really a heavy Dreamweaver user but I can
    normally figure things
    > out.
    > This one however has got me stumped - anybody got any
    ideas? (Apologies if
    > it's
    > a really simple setting or flag that I should know
    about, but I've not
    > been
    > able to find anything!)
    >
    > Cheers,
    > Dan
    >
    >
    >

  • Problem with the webuijsf:helpwindow component (Illegal view id )

    Hello
    I just tried the helpwindow component of woodstock 4.3.
    After starting the application, I always get this error in the glasfish log
    JSF1010: Illegal view ID faces/com_sun_webui_jsf/help/helpwindow.jsp. The ID must begin with '/'
    WebModule[POSWareLizenz]Illegal view ID faces/com_sun_webui_jsf/help/helpwindow.jsp. The ID must begin with /
    java.lang.IllegalArgumentException: Illegal view ID faces/com_sun_webui_jsf/help/helpwindow.jsp. The ID must begin with /
    at com.sun.faces.application.ViewHandlerImpl.getActionURL(ViewHandlerImpl.java:627)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.getActionURL(ViewHandlerImpl.java:244)
    I am using this environment:
    Vista x64 (german), q6600, 8Gigs Ram, Glasfish v2ur2, netbeans 6.1
    The four required pages buttonnav.jsp, helpwindow.jsp, navigator.jsp and tips.jsp are installed under the path com_sun_webui_jsf/help, prefixed with faces.
    This pages were extracted from the downloadable Woodstock.4.3-200806241804.jar
    The helpwindow component is startet from a masthead component in this way
    <webuijsf:masthead dateTime="true" id="masthead1" productImageDescription="POSWare Lizenzanwendung"
                                                   serverInfo="#{MastHeadBean.serverInfo}" serverInfoLabel="Server" style="left: 0px; top: 0px; position: absolute; width: 1030px"
                                                   userInfo="#{MastHeadBean.userInfo}" userInfoLabel="Benutzer">
                                    <f:facet name="brandImage">
                                        <webuijsf:image alt="(C) ebit company" height="100" url="/resources/ebit logo.GIF" width="100"/>
                                    </f:facet>
                                    <f:facet name="versionLink">
                                        <webuijsf:hyperlink actionExpression="#{Page1.versionlink_action}" id="versionlink"
                                                            onClick="javascript: var versionWin = window.open('faces/VersionPage.jsp','VersionWindow','scrollbars,resizable,width=650,height=500,top='+((screen.height - (screen.height/1.618)) - (500/2))+',left='+((screen.width-650)/2) ); versionWin.focus()"
                                                            text="Version" toolTip="Version dieser Anwendung"/>
                                    </f:facet>
                                    <f:facet name="helpLink">
                                        <webuijsf:helpWindow windowTitle="Window Title Param"
                                                             toolTip="Help for This Page (Opens a New Window)"
                                                             linkIcon="true" linkText="Hilfe" />
                                    </f:facet>
                                    <f:facet name="logoutLink">
                                        <webuijsf:hyperlink text="Logout"/>
                                    </f:facet>
                                    <f:facet name="productInfo">
                                        <h:panelGrid columns="3" id="gridPanel3">
                                            <webuijsf:image height="120" url="/resources/POSware%20Logo%20klein.gif" width="120"/>
                                            <webuijsf:staticText style="font-style:bold; font-size:300%;color:white;" text="POSWare Lizenz Anwendung"/>
                                        </h:panelGrid>
                                    </f:facet>
                                </webuijsf:masthead>There are three possibilities: a.helpwindow is not yet functional, b.the download in the 4.3 download area contains some mistakes or c. I did something wrong.
    Any Ideas?
    Thank you

    Lakshmi,
    I think you dont need to create a z component .you can enhance your existing component(if you enhance you willnot have any of these problems)
    check these blogs on how to enhance a component
    The Three Use Cases of the Enhancement- and Switch-Framework - Part 1
    The Three Use Cases of the Enhancement- and Switch-Framework - Part 2
    search for Thomas Weiss blogs on enhancement
    Thanks
    Bala Duvvuri

  • Problem with disabling Autoplay

    As far as all the documents go, when I disable autoplay, the poster image is supposed to show up and the asset should play when I click on the poster image. Correct?
    However, that doesn't happen...
    The first thing I see is the first frame of my asset (paused) and no poster image to click on to play the animation.
    I have Poster image set up and fallbacks, tried with preloaders, etc. I also tried creating a new document and same problem so I'm sure my file isn't damaged in any way.
    Am I missing something here?
    I guess a different approach would be to make a play-button, but how do I do that? I tried adding a sym.stop(); function to the beginning of the stage and a label "start" in the timeframe a few ms after. I placed a button symbol to the beggining and made visibily none on the "start" frame. I added a sym.play("start") to the click function of the button symbol and tested it out.
    Nope. If I keep autoplay on, it'll completely ignore all functions and play the entire animation. If I turn autoplay off, it'll show the button but the function won't work so it won't start playing from "start"
    Solutions to any of the two would be great.
    Even better, is there a way to directly embed javascript to the animation so it would play when visible?

    Hi, cheeyoon-
    So the poster image can be inserted into one of three different places - used in the down-level stage, which is displayed to the user of IE6, 7, or 8, used in the preloader, which is what the user sees while the libraries are loading up (which can be quick), or packed in an OAM file to be displayed in InDesign.  If autoplay is not set in InDesign, it will display until the user touches/clicks on it in their digital publication.
    Otherwise, the poster image is not displayed to the user at all.  If you want it to do the "touch me and I'll start playing," you can use your poster image like any other image.  You can set it to the only visible object at the beginning of the timeline and make it an object you can touch to play the timeline.
    Hopefully that gives you an idea of where the poster image is used and how to go about things going forward.  Feel free to continue to ask questions!
    Cheers,
    -Elaine

  • Very disappointed that Lion is causing major problems with disable students assistive software in the UK. Software suppliers are not issuing patches/upgrades until 2012. Totally unacceptable attitude from Apple in ignoring disabled customers

    This is going to affect a large number of disabled UK students as patches and upgrades for the specialist software are not due for release until late 2011/early 2012.
    Only options they have is to revert to Snow leopard, defficult as Apple have even recall resellers stock and upgraded it to Lion.
    I am contacting the UK educational funding bodies with a view to suspending purchasing of all Apple equipment until such time as the situation has resolved itself.

    Ikrups says "Speaking of getting one's professional act together I would take a look in the mirror if I were you. A professional responsible for maintaining the computer equipment and network of a school system would certainly perform extensive testing of any new operating system upgrade before deploying it. Even the smallest corporations don't just upgrade software willy-nilly. If you had thought to set up a test system and verified what software worked and what didn't before deploying Lion to the entire system you would have been protecting your students from these issues. A professional would have discovered these issues and delayed deployment of Lion until the patches you mention were available. But you didn't and now you are trying to deflect blame from yourself and your staff. And you dare to accuse Apple of incompetence. I call hypocrisy"
    I seem to have ruffled a couple of feathers. I do not remember saying I was responsible for computer systems/networks/school systems. Or accusing Apple of incompetence.
    All I did was state that Apple seems to have forgotten or is not aware about the potential impact of Lion on disabled students in the UK and both apple and the assistive software suppliers failed to act together over this omission.
    During our research prior to the launch of Lion we as a specialist group had identified 22 of the 40 applications used in assistive software that had 'Problems' this was communicated to all interested parties. Still waiting for the 'FIX'
    FYI ALL parties have had similar notices on their BB's NOT just Apple.
    despite being given 2 ears and 1 mouth some people do not listen twice as much as they speak.

  • URGENT:problem with memory using swing component

    We use Java SDK 1.4.0-b92 on a Sun Blade Machine with Solaris 8 Operating System.
    We developed a software with a GUI (JFame, JInternalFrame) which have to be refreshed in precise moments and any time we do it there is a big loss of memory(not the Java Virtual Machine Memory but the system memory, see it with the command "vmstat"). It seems that memory isn't released even if we close one or more of the JInternalFrame/JFrame.
    This is a part of our example code which refresh some JTextArea every ten seconds,with the content of a text File called "text.txt" :
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import java.util.*;
    public class MainFrame extends JFrame {
    static JDesktopPane desktop = new JDesktopPane();
    JMenuBar menuBar = new JMenuBar();
    JMenu menu = new JMenu();
    JMenuItem aggiungi = new JMenuItem();
    int openFrameCount = 0;
    public MainFrame (){
    try{
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    desktop.setBorder(BorderFactory.createLoweredBevelBorder());
    this.setContentPane(desktop);
    Dimension screenSize= Toolkit.getDefaultToolkit().getScreenSize();
    this.setBounds(0, 0, screenSize.width, screenSize.height);
    this.setTitle("Main Frame Prova");
    this.setLocation(0,0);
    this.setVisible(true);
    menu.setText("apri frame");
    aggiungi.setText("Apri");
    aggiungi.addActionListener(new ActionListener () {
    public void actionPerformed(ActionEvent e){
    createFrame();
    menu.add(aggiungi);
    menuBar.add(menu);
    this.setJMenuBar(menuBar);
    catch (Exception e) {e.printStackTrace();}
    private void createFrame (){
    try{
    NsJInternalFrame frame = new NsJInternalFrame("Frame Interno", true, true, true, true);
    openFrameCount++;
    System.out.println("Frame aperti: "+openFrameCount);
    frame.setVisible(true);
    desktop.add(frame);
    frame.setSelected(true);
    frame.setPreferredSize(new Dimension(400,500));
    frame.setSize(new Dimension(400,500));
    finalize();
    catch (Exception e) {e.printStackTrace();}
    catch (Throwable t) {t.printStackTrace();}
    protected void processWindowEvent (WindowEvent e){
    try{
    super.processWindowEvent(e);
    if (e.getID()== WindowEvent.WINDOW_CLOSING) {
    finalize();
    System.exit(0);
    catch (Exception ex) {ex.printStackTrace();}
    catch (Throwable t) {t.printStackTrace();}
    public static void main (String argv[]){
    try {
    UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
    MainFrame mf = new MainFrame();
    while (true){
    Thread.sleep(10000);
    aggiornaTesto();
    Runtime run = Runtime.getRuntime();
    System.out.println("***********************************************************");
    System.out.println("* Memoria Totale "+run.totalMemory()/1000+" *");
    System.out.println("* Memoria Massima occupabile "+run.maxMemory()/1000+" *");
    System.out.println("* *");
    System.out.println("* --------------------------------------------------------- *");
    System.out.println("* *");
    System.out.println("* Memoria Libera "+run.freeMemory()/1000+" *");
    System.out.println("* *");
    System.out.println("***********************************************************");
    System.runFinalization();
    System.gc();
    catch (Exception e) {e.printStackTrace();}
    private static void aggiornaTesto(){
    JInternalFrame[] frameAperti = desktop.getAllFrames();
    for (int i=0; i<frameAperti.length; i++)
    ((NsJInternalFrame)frameAperti).inizializeText();
    System.out.println("----- "+new Date()+" / Aggiornato testo------");
    System.runFinalization();
    System.gc();
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    import java.io.*;
    public class NsJInternalFrame extends JInternalFrame {
    JTextArea textArea=new JTextArea();
    public NsJInternalFrame (String title, boolean resizable, boolean closeable, boolean maximizable, boolean iconifiable){
    super (title, resizable, closeable, maximizable, iconifiable);
    disableEvents (AWTEvent.WINDOW_EVENT_MASK);
    JScrollPane scroll;
    scroll=new JScrollPane(textArea);
    this.setContentPane(scroll);
    this.setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE);
    inizializeText();
    public void inizializeText(){
    try{
    RandomAccessFile raf = new RandomAccessFile("text.txt", "r");
    String text = new String(), line = new String();
    while (true) {
    line = raf.readLine();
    if (line==null) break;
    text= text+line;
    textArea.setText(text);
    finalize();
    raf.close();
    catch (Exception e) {e.printStackTrace();}
    catch (Throwable t) {t.printStackTrace();}
    public void dispose (){
    try{
    finalize();
    super.dispose();
    catch (Exception e) {e.printStackTrace();}
    catch (Throwable t) {t.printStackTrace();}
    text.txt
    HELLO HELLO HELLO
    Help Us Please!!
    [email protected]
    [email protected]

    Yes I'm still following the thread.
    Like i said i only have ovi maps running with PhoNetInfo and even today i tested it again. I managed by changing some settings to get 50MB of free RAM when the phone is idle.
    I changed the amount of allowed RAM to be used by ovi maps to the minimum (10%). This time i had 40MB of free ram before calculating the root (again more or less 600km) without tolls and the fastest root. i continued with PhoNetInfo on and following the value of free RAM and they kept falling till i get again the low memory error.
    I tried then a "solution" that i got from nokia that stated to change the configuration of the internet to online, and it worked perfectly. But i don't think this is a solution since i can't have my phone always connected to the internet. I don't know is where i can suggest that nokia try to solve this problem but already sent an email to the client support stating this.
    I don't think i can install a later version of ovimaps since it comes pre-installed on the phone and i don't see where i can uninstall it and where to find the earlier versions.
    But thanks for the reply,

  • Problem with ClientListener in custom component

    I have custom declarative component:
    &lt;af:commandImageLink icon="/img/trash.png" actionListener="#{TrashButtonBean.deleteRow}"&gt;
    &lt;af:setActionListener from="#{row.rowKeyStr}" to="#{TrashButtonBean.currentRowKetStr}"/&gt;
    *&lt;af:clientListener type="click" method="confirm( 'Confirm delete' ); "/&gt;*
    &lt;/af:commandImageLink&gt;
    It works but without ClientListener. Investigating with Firebug I found that onclick event always returns false and blocks operation:
    <span class="nodeLabelBox repTarget">&lt;<span class="nodeTag">a<span class="nodeAttr editGroup"> <span class="nodeName editable">id="<span class="nodeValue editable">j_id_id4:j_id_id8:j_id_id14:7:j_id_id46:j_id_id1pc3"<span class="nodeAttr editGroup"> <span class="nodeName editable">class="<span class="nodeValue editable">xup"<span class="nodeAttr editGroup"> <span class="nodeName editable">href="<span class="nodeValue editable">#"<span class="nodeAttr editGroup"> <span class="nodeName editable">onclick="*<span class="nodeValue editable">return false;*"<span class="nodeBracket editable insertBefore">&gt;
    <div class="nodeChildBox"><div class="nodeBox emptyNodeBox repIgnore selected"><div class="nodeLabel"><span class="nodeLabelBox repTarget"> &lt;<span class="nodeTag">img<span class="nodeAttr editGroup"> <span class="nodeName editable">id="<span class="nodeValue editable">j_id_id4:j_id_id8:j_id_id14:7:j_id_id46:j_id_id1pc3::icon"<span class="nodeAttr editGroup"> <span class="nodeName editable">class="<span class="nodeValue editable">xus"<span class="nodeAttr editGroup"> <span class="nodeName editable">src="<span class="nodeValue editable">/ReusableComponentsTest-ViewController-context-root/img/trash.png"<span class="nodeBracket editable insertBefore">/&gt;
    </div>
    </div>
    </div>
    <div class="nodeCloseLabel"><span class="nodeCloseLabelBox repTarget">&lt;/<span class="nodeTag">a&gt;
    Any idea.
    Kuba
    </div>

    Hi,
    simplyadf
    Using af:popup I get PPR - null pointer exception, because popup behavior blocks af:setActionListener that I use to pass rowKeyStr to managed bean.
    coomar
    Your solution also doesn't work. here is my code:
    &lt;af:componentDef var="attrs" componentVar="TrashButton"&gt;
    &lt;script type="text/javascript"&gt;
    function confirmDelete(){
    var agree=confirm('Confirm delete');
    if (agree){
    return true ;
    }else{
    return false;
    &lt;/script&gt;
    &lt;af:commandImageLink icon="/img/trash.png" actionListener="#{TrashButtonBean.deleteRow}"&gt;
    &lt;af:setActionListener from="#{row.rowKeyStr}" to="#{TrashButtonBean.currentRowKetStr}"/&gt;
    &lt;af:clientListener type="click" method="confirmDelete"/&gt;
    &lt;/af:commandImageLink&gt;

  • Problems with disabling FileVault?

    Hi friends,
    I'm taking my MBP in to be assessed for a trade-in. They want to keep it for the day to check its condition, so I'd like to secure my data before handing it over.
    My plan is to create a spare account and leave the new account logged in. Moreover, I'm thinking of turning FileVault on for my main account before switching to the spare. That should allay my paranoia.
    I'm wondering if there is anything to anticipate about turning FileVault off after the assessment is done. I don't intend to use it continually. My understanding is that the system will extract the encrypted image, and leave my home folder is it was before turning FileVault on. I want to make sure there's not going to be any decryption trouble/performance hits in the aftermath.
    Anyone have any comments? Thanks for your help.

    You need to have at least the amount of space of your home folder free to decrypt. So, if your home folder is 40GB with FV, you need at least 40GB free on your hard drive to disable the feature.

  • Problem with disabling "ENTER" key in JTextArea

    Hi,
    I have the following codes to disable the 'ENTER' key in the JTextArea,
    but it does not work. Does anyone know why?
    KeyStroke enterKey = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0);
    textarea.getKeymap().removeKeyStrokeBinding(enterKey);
    textarea.addKeyListener(new KeyAdapter() {
    public void keyTyped(KeyEvent e) {
    // do something
    Thanks,
    Pin

    I don't know how you mean "disable", but if you are going to ignore the Enter key, then add a KeyListener to the text area, and in the key pressed method, consume() the key event if the VK_ENTER was pressed. That's all, and you don't have to deal with that key binding thingy.
    The other two event types (typed and released) might be ignored, the enter is processed during key press (as it is now, with the default settings).
    The reason is that processing the Enter key (and other such internally understood keys) is done by the peer, but the peer won't get the key event if it's already consumed.
    FYI: Were it a JTextField, consuming the Enter key presses would mean that the field won't fire action events any more. Since text area does not fire action events, therefore it's a non issue.
    FYI2: Consuming the event only blocks the event to be sent to the peer, all the other listeners still get it.

  • Problem with attributes in custom component

    Hi All,
    I am creating a simple jsf PanelGrid custom component....in that component I am adding two new attributes....
    when I use that tag in my jsf application it is rendering fine in the client side....but the parent class that is PanelGrid component's attributes are not inheriting to my custom panelgrid....
    can any one tell me how can I use the attributes of the super class PanelGrid??
    Thanks...

    Have you configured the attributes in the tag library descriptor?

  • Strange problem with WD component build

    Hi all,
    I have strange problem with building one wd component, which is part of SC. I'm getting few errors which stops me from building component (and transporting to other systems via CMS of course). I'm providing sample of the errors (3 types) and ant error:
    [code]     [wdgen] [Error]   com.gbs.gmob.RequisitionFoCust --> ContextValueAttribute startDate [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Error]   com.gbs.gmob.RequisitionFoCust --> ContextValueAttribute stopDate [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Error]   com.gbs.gmob.SuppMatGroupView --> TextView MATERIAL_GROUP_NAME_editor [text]: Context element and property are not compatible
         [wdgen] [Error]   com.gbs.gmob.SuppMatGroupView --> TextView MATERIAL_GROUP_ID_editor [text]: Context element and property are not compatible
         [wdgen] [Error]   com.gbs.gmob.SupplierCust --> ContextModelNode SuppMatGroup [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.gbs.gmob.SupplierCust --> ContextValueAttribute material_group_list [type]: Type missing (Hint: The type property must be set to a simple type, a built in type or any java native type)
         [wdgen] [Warning] com.gbs.gmob.ApprovalRejectView --> TextEdit TextEdit: UIElement does not have a label
         [wdgen] [Info]    Catching throwable null
         [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:153)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2050)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1299)
         [wdgen]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
         [wdgen]      at org.apache.tools.ant.Task.perform(Task.java:341)
         [wdgen]      at org.apache.tools.ant.Target.execute(Target.java:309)
         [wdgen]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
         [wdgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
         [wdgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
         [wdgen]      at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
         [wdgen]      at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [wdgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [wdgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
         [wdgen]      at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
         [wdgen]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         [wdgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         [wdgen]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
         [wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)
         [wdgen] ERROR: Generation failed due to errors (6 seconds)
    Ant runtime 9.234 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    [/code]
    Strange is that if I try to rebuild and deploy locally, no errors occurs and I can normally deploy and run application manually!
    Does anyone have experience with this problem?
    Thanks in advance!
    Regards,
    Ivan

    Hi Ivan
    I have faced this problem earlier BUT ultimately I have to create the DC from scratch.
    But you can check these things:
    1.Have you copy/pasted Dictionary type from other location (check the path of the dictionary types ) --> If yes then deleted that and create again(do not use copy/paste)
    2.This also happens if your "Used DC" has some problems in the JDI --> Remove the used DC and add it again.
    3.Make sure the NWDI infastructure is perfect- this may be a cause.
    4. Check Context mappings --> delete all mappings > save metadata > Create again.
    5. Delete the model and recreate it again.
    6.If you have done reimporting model make sure to restart J2EE instance.
    Hope this solves the problem - if not please post
    Regards
    Ananda

Maybe you are looking for