Problem with "Using Validators and Converters" example

Hi,
I am doing the Validatoris an Converters tutorial and I can't get it correctly executed.
In step 9, I double click on textField1 and the systems goes to textField1_processValueChange function instead of textField1_valueChangeListener.
I added the code of step 10 as a separate method and after executing it there is no error message. Please help. Thanks,
I wish these examples where a little more of dummies: step 2 toke some time because you don't say "In the properties window". Please look the tutorials with people that does not know anything about the Creator.
Also I wish you had a step by step tutorial with "About Components", "About Message Components", and "About Converters". Just reading , I did not grasp anything, so I prefer to create a project with these tutorials.
Do I need to learn JSF in order to understand and use Creator? It seems as I read the tutoriasl you assume to much. I found that Cay Horstmann's Core JavaServer Faces book is downloadable at http://horstmann.com/corejsf/
Thanks for your input,
Lorenzo Jimenez

Hi,
You may find our book, Java Studio Creator Field Guide, helpful for a more gentle introduction to Creator and JSF components. We don't assume that you know JSF or even Java. We also have step-by-step instructions for building projects.
Here's the link to our website:
www.asgteach.com
(You can download Chapter 2, which is the basic introduction to Creator.)
Hope that helps.
Gail and Paul Anderson

Similar Messages

  • I have two Iphones with different email addresses sharing one Apple ID. Will that cause problems with using messaging and FaceTime?

    I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
    I would like to set up a new Apple Id for one of the phones and remove it from the old account.
    If I do that, can I move all of the purchased apps and songs to the new Apple account?
    Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?

    Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address).  While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
    Rather than do all that, don't fight it -- use separate IDs for iCloud.  You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account.

  • I have problem with using maps and directions.

    Hi,
    I'm using iPhone 5, I purchased before 1 year from Qatar. I have a problem with maps and direction here, I have attached error message. Please kindly inform me reason.

    The feature(s) you are looking for don't appear to be available in your country.
    See:
    http://www.apple.com/ios/feature-availability/

  • Another problem with using canvases and scrollviewers in tab

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    namespace WPFDynamicTab
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            private List<TabItem> _tabItems;
            private TabItem _tabAdd;
       //     private Canvas canvas1;
            public MainWindow()
               try
                    InitializeComponent();
                    // initialize tabItem array
                    _tabItems = new List<TabItem>();
                    // add a tabItem with + in header
                    _tabAdd = new TabItem();
                 //    canvas1= new Canvas();
                    _tabAdd.Header = "+";
                    _tabAdd.MouseLeftButtonUp += _tabAdd_MouseLeftButtonUp;
                    _tabItems.Add(_tabAdd);
                    this.AddTabItem();   // add first tab
                    // bind tab control
                    tabDynamic.DataContext = _tabItems;
                    tabDynamic.SelectedIndex = 0;
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
            private TabItem AddTabItem()
                int count = _tabItems.Count;
                // create new tab item
                TabItem tab = new TabItem();
                tab.Header = string.Format("Tab {0}", count);
                tab.Name = string.Format("tab{0}", count);
                tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
                // add controls to tab item, this case I added just a canvas
                ScrollViewer scrollview1 = new ScrollViewer();
                Canvas canvas1 = new Canvas();
                canvas1.Name = "canvas1";
    // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                Canvas_Paint(ref canvas1); // Canvas_Paint defines the background color of  "canvas1"
                scrollview1.Height=200;
                scrollview1.VerticalAlignment = VerticalAlignment.Center;
                canvas1.Height=400+400*count;
                scrollview1.Content = canvas1;
                tab.Content = scrollview1;    
    //YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY 
                // insert tab item right before the last (+) tab item
                _tabItems.Insert(count - 1, tab);
                return tab;
            private void _tabAdd_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
                TabItem newTab = this.AddTabItem();
                // clear tab control binding
                tabDynamic.DataContext = null;
                // bind tab control
                tabDynamic.DataContext = _tabItems;
                tabDynamic.SelectedItem = newTab;
            private void Canvas_Paint(ref Canvas canvas1)
                int count = _tabItems.Count;
                switch (count)
                    case 0:
                        canvas1.Background = Brushes.Green;
                        break;
                    case 1:
                        canvas1.Background = Brushes.Red;
                        break;
                    case 2:
                        canvas1.Background = Brushes.Blue;
                        break;
                    case 3:
                        canvas1.Background = Brushes.Yellow;
                        break;
                    case 4:
                        canvas1.Background = Brushes.Brown;
                        break;
                    case 5:
                        canvas1.Background = Brushes.Orange;
                        break;
                    case 6:
                        canvas1.Background = Brushes.Olive;
                        break;
                    default:
                        break;
            private void tabDynamic_SelectionChanged(object sender, SelectionChangedEventArgs e)
          // this is a dummy method
     and the xaml
    <Window x:Class="WPFDynamicTab.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="Dynamic Tab" Height="300" Width="527" WindowStartupLocation="CenterScreen">
        <Grid>
            <TabControl Name="tabDynamic" ItemsSource="{Binding}" SelectionChanged="tabDynamic_SelectionChanged">
                <TabControl.Resources>
                    <DataTemplate x:Key="TabHeader" DataType="TabItem">
                        <DockPanel>
                            <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=TabItem }, Path=Header}" />
                        </DockPanel>
                    </DataTemplate>
                </TabControl.Resources>
            </TabControl>
        </Grid>
    </Window>
    The program does the job but there are 2 questions. I am using a scrollviewer and each time the tab increases the canvas size increases and this is reflected in the scrollview bar getting shorter.
    Question 1)
    I set the scrollview1 height to  200 ,which was obtained by trial and error, increasing causes the extents to go outside the box etc,
    the window height was 300 , is it possible to automatically set the scrollviewer height.
    Question 2)
    Is it possible to  put the canvas and scrollviewer into the XAML I tried but  failed
    Note: the relevent code to the above questeions is between XXXXX... and YYYY...

    >>the window height was 300 , is it possible to automatically set the scrollviewer height.
    You should not specify an explicit height if you want an element to fill the available space. Just set the VerticalAlignment property to Strecth (which is the default value for a ScrollViewer:
    Canvas_Paint(ref canvas1); // Canvas_Paint defines the background color of "canvas1"
    scrollview1.VerticalAlignment = VerticalAlignment.Stretch;
    canvas1.Height = 400 + 400 * count;
    scrollview1.Content = canvas1;
    tab.Content = scrollview1;
    //YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    // insert tab item right before the last (+) tab item
    _tabItems.Insert(count - 1, tab);
    return tab;
    >>Is it possible to  put the canvas and scrollviewer into the XAML I tried but  failed
    Well, you could define the ScrollViewer, i.e. the root element, as a resource and then add access it from the AddTabItem() method like this:
    <Window x:Class="WPFDynamicTab.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Dynamic Tab" Height="300" Width="527" WindowStartupLocation="CenterScreen">
    <Window.Resources>
    <ScrollViewer x:Key="sv" x:Shared="false">
    <Canvas Height="800">
    </Canvas>
    </ScrollViewer>
    </Window.Resources>
    <Grid>
    <TabControl Name="tabDynamic" ItemsSource="{Binding}" SelectionChanged="tabDynamic_SelectionChanged">
    <TabControl.Resources>
    <DataTemplate x:Key="TabHeader" DataType="TabItem">
    <DockPanel>
    <TextBlock Text="{Binding RelativeSource={RelativeSource AncestorType=TabItem }, Path=Header}" />
    </DockPanel>
    </DataTemplate>
    </TabControl.Resources>
    </TabControl>
    </Grid>
    </Window>
    private TabItem AddTabItem()
    int count = _tabItems.Count;
    // create new tab item
    TabItem tab = new TabItem();
    tab.Header = string.Format("Tab {0}", count);
    tab.Name = string.Format("tab{0}", count);
    tab.HeaderTemplate = tabDynamic.FindResource("TabHeader") as DataTemplate;
    // add controls to tab item, this case I added just a canvas
    ScrollViewer scrollview1 = this.Resources["sv"] as ScrollViewer;
    Canvas canvas1 = scrollview1.Content as Canvas;
    canvas1.Name = "canvas1";
    Canvas_Paint(ref canvas1); // Canvas_Paint defines the background color of "canvas1"
    scrollview1.VerticalAlignment = VerticalAlignment.Stretch;
    canvas1.Height = 400 + 400 * count;
    scrollview1.Content = canvas1;
    tab.Content = scrollview1;
    // insert tab item right before the last (+) tab item
    _tabItems.Insert(count - 1, tab);
    return tab;
    It may not provide that much benefits in this scenario though since you are setting the height and the background of the Canvas dynamically but it is indeed possible.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • Problem with using iPhoto and Preview

    I needed to resize a picture in iphoto. I opened it in Preview and resized it. At the top of the Preview window, where the file name is, I wanted to rename it so it would be easier to find. It let me do that. I closed the picture. When I went to open it in iphoto, the thumbnail is there, but when I double click on the thumbnail, the exclamation mark appears. I cannot open it in Preview either. It says the size is 0. It also still shows the original filename. I can't find the picture in Finder, using either the original or new name. From what I've found online, it seems I've changed the pathway. I can't find anything to rename/change it back. Help!!!! (I repeated the process with a picture I didn't care about. Somehow I changed the name back and am able to open it again in iphoto. I can't for the life of me remember what I did!!!! Both pictures, with the original filename and the new one are in Preview, but I can't open the one with the new name.)
    (If renaming the picture means you can't access it anymore, why is that a feature?)

    Are you using the same User Account as before?
    Does anything here help"
    http://www.apple.com/support/ilife/tutorials/iphoto/ip1-3.html

  • Problem with using CNEX0027 and BOM

    Hi Experts,
    I need your help. If I activate user-exit CNEX0027 the BOM item is not transfered into components list of PM order. When UE is not activated the BOM item is transfered correctly.
    I was looking for a note but it did not avail.
    How can I solve this problem?
    Regards,
    Yura

    Yura,
    Activate the user-exit, but comment-out your code (i.e. no active ABAP code).
    Then re-test.
    I'm guessing that its your code causing the problem which is why I asked for you to post the code so we can see for ourselves..
    PeteA

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • I purchased Adobe Creative Suite C2 and have been using it for years on the same computer no problem with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software.

    I purchased Adobe Creative Suite C2 and have been using it for years on the same computer without any problems with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software. I tried, phone activation, web activation, nothing is working. I have the serial number and my Adobe account information. Any suggestions?

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Mylenium

  • Problem with use of COM+ Transaction and DB Transaction

    Problem with use of COM+ Transaction and DB Transaction
    We build a Web site that use sometime COM+ Transaction and sometime DB
    Transaction. If we use a COM+ Transaction and a few seconds later we try to use
    a Database Transaction (OracleConnection.BeginTransaction), we get the error
    Connection is already part of a local or a distributed transaction
    Of course the error does not produce everytime; it takes some try before we get
    the problem. And of course, if i use pooling=false on the connection string,
    the problem does not appear.
    i run the Web page
    and push the COM+ Transaction and DB Transaction one after the other for some
    times and the problem should appear.
    Environment: Windows server 2003, .Net Framework 1.1, ODP.Net 9.2.0.401,
    Database Server 9.2.0.4

    > Why in form builder can't I...
    Is this happening at runtime or at buildtime? You'll need to provide more info on what you are actually doing that's causing the problem.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *********

    Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *******
    <Edited by Host>

    Hello Khayalh,
    You should be able to link your phone number by following the steps in the article below. From your iPhone, sign out of FaceTime and iMessage and then sign back in and it should link. Check in the Start Conversation With and I Can Be Reached at section in iMessage and FaceTime respectively. 
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Regards,
    -Norm G. 

  • I bought my iphone unlocked from carephone warehouse, I had a problem with the phone and apple swapped it over but they locked it to tmobile!!! what can i do?? I have changed contracts and can not use my phone!

    I bought my iphone from carephone warehouse, sim free and with no contract. 5 months down the line I had a problem with the phone and I booked a genius appointment, they swapped my phone and gave me a new phone but they locked my phone to tmobile!!! I now do not use tmobile and I have an iphone which is locked to tmobile!!! I bought an unlocked phone and apple have locked it!!! what can i do?

    In response to this, Carphone Warehouse (and Phones4U) sell what is commonly referred to as "sim free" handsets - these are not the same as unlocked. Sim free handsets will automatically lock to the first network sim card that the phone is activated with, and that will be permanently. The only way to unlock the handset would be to go through the network (T-Mobile I understand) and request they unlock it for you. More than likely, there will be a charge as you are no longer a T-Mobile customer.
    If you ever want to purchase a new unlocked iPhone, the only place you can buy one is from Apple directly. Any other place will most likely sell sim free handsets.

  • I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set

    I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set?

    Are you using the latest version of Silverkeeper? - v.2.0.2 is stated to be compatible with Snow Leopard.
    http://www.lacie.com/silverkeeper/
    If it's messing things up you could try asking LaCie Support for assistance.

  • I am using iPhoto 11 and my library has 736.5mb on disk. I have problems with iPhoto stalling and needing to force quit. I have rebuilt my library. Can you suggest anything else?

    I am using iPhoto 11 and my library has 736.5mb on disk. I have problems with iPhoto stalling and needing to force quit. I have rebuilt my library. Can you suggest anything else? Thanks, Rose

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    If that does'nt help log into another user account on your Mac and try iPhoto from there. 

  • Had a problem with newest update and the advice from turingtest2 resolved my problem just to say thanks! Had never used this route before so was less painful than thought it would be again thanks.

    Had a problem with newest update and the advice from turingtest2 resolved my problem just to say thanks! Had never used this route before so was less painful than thought it would be again thanks.

    how can i find out what the fix is that works..please

Maybe you are looking for

  • I can't sync my iphone to itunes since I updated to ios 7.

    I updated my 4S last night with ios 7.  After I did it, I couldn't sync my phone to my iTunes account on my computer.  I have 11.05 installed.  However, I get a pop up message when I plug my phone in to the computer that I need 11.1.  Anyone having t

  • Videos won't show up or play in any browser

    I have created a website  in iWeb version 3.04 that contains videos imported into and from iMovie '11 version 9.04. In iWeb, the videos play just fine. I published the website to a local folder...then FTP'd the resulting index.html and website direct

  • SPP connection between iPhone and other device

    I am developer of car radio. We have finished SPP application in Andriod mobile. But I couldn't find iPhone start SPP connection request to our car radio. I wonder whether SPP connection has been start from other device such as our car radio? Does an

  • Selection Screen - Help required

    Hi , I am developing a SD report in which he selection screen is executed without any inputs it shows me the customers which are maintained against my ID in a Ztable. However customer needs for internal users he should be able to view all without any

  • How to see the publised event in EDN

    I am publishing on event in mediator without anybody subscribed to that event. I want to know where I can see the published event. I investigated and figured out that it is using the "EDNDataSource" to write it to DB but not able to see any table hav