Inherited UserControl can not find XAML defined elements

Hello,
As the title suggests, I have a UserControl, called "DashboardControl", that is used across all of our games in a project that is shared among the games. In each of our projects we have a uniquely defined Dashboard.XAMLs that is specific to that
project.
This works fine for all of our projects but now I need to add some additional functionality unique to one project so I created a new UserControl called "GameSpecificDashboardControl" that inherits from the Dashboard. I changed the XAML so that
it references the GameSpecificDashboardControl as it's view model. Unfortunately, whenever I call a Storyboard from the GameSpecificDashboardControl, I get the following error:
"WinDisplay" name can not be found in name scope of GameSpecificDashboardControl
In short, my GameSpecific is calling a Storyboard (which can be found) but the storyboard is trying to change an element that can not be found. What doesnt make sense is that not only is WinDisplay clearly defined in the XAML, but Snoop also shows the WinDisplay
exists, as well as looping through the visual tree shows that WinDisplay exists.
I'd appreciate any help anyone can give on this issue, I'm lost on ideas at this point.
NOTE: If I move the 'sbBigWinIntro' & 'sbBigWinEnd' code to the 'PART_SBWinTickerIntro' & 'PART_SBWinTickerEnd' storyboards, I get no error. Unfortunately I need these animations to execute under certain conditions so keeping them
in the PART_ storyboards doesnt work for me.
NOTE2: The PART_ storyboards mentioned above are called in the base DashboardControl which I can not include in this post.
Below are the XAML and code-behind files:
XAML
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:views="clr-namespace:Frozen7ViewModule.Views"
xmlns:vwc="clr-namespace:ViewCommon;assembly=ViewCommon"
xmlns:vwcd="clr-namespace:ViewCommon.Dashboard;assembly=ViewCommon"
xmlns:vwcc="clr-namespace:ViewCommon.Converters;assembly=ViewCommon"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
xmlns:CustomControlLib="clr-namespace:CustomControlLib;assembly=CustomControlLib"
mc:Ignorable="d">
<Style TargetType="{x:Type views:GameSpecificDashboardControl}">
<Setter Property="BoundCustomerBalance" Value="{Binding CustomerBalance}"/>
<Setter Property="BoundWinAmount" Value="{Binding WinAmount}"/>
<Setter Property="BoundBetAmount" Value="{Binding BetAmount}"/>
<Setter Property="RaiseSoundCommand" Value="{Binding GVMSound.GameSoundCommand}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<ControlTemplate.Resources>
<Storyboard x:Key="sbBigWinIntro" FillBehavior="HoldEnd" BeginTime="0:0:0.0">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:1.0" Value="200"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Top)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:1.0" Value="-300"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:1.0" Value="3"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:1.0" Value="3"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="WinBox_SolidBack">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="sbBigWinEnd" FillBehavior="HoldEnd">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="633"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Top)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="348"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="WinDisplay">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="WinBox_SolidBack">
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Key="PART_SBWinTickerIntro" FillBehavior="HoldEnd" BeginTime="0:0:0.0">
</Storyboard>
<Storyboard x:Key="PART_SBWinTickerEnd" FillBehavior="HoldEnd">
</Storyboard>
<Storyboard x:Key="PART_SBInfoTextIntro" FillBehavior="Stop">
</Storyboard>
</ControlTemplate.Resources>
<Canvas x:Name="GameStateTarget" Width="1680" Height="200">
<Canvas.Resources>
<Style TargetType="{x:Type TextBlock}">
<Setter Property="FontFamily" Value="/Frozen7ViewModule;component/Fonts/#Celtic Gaelige"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontSize" Value="60"/>
</Style>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
</Canvas.Resources>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="ShowValueStateGroup">
<VisualState x:Name="ShowMoneyState">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="WinAmountCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CustomerBalanceCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BetAmountCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TBInfoText">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="WinAmountMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CustomerBalanceMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BetAmountMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TBInfoTextMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="ShowCreditsState">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="WinAmountCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CustomerBalanceCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BetAmountCredits">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TBInfoText">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="WinAmountMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CustomerBalanceMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="BetAmountMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TBInfoTextMoney">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="VolumeStateGroup">
<VisualState x:Name="VolumeMaxState">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(ContentControl.Content)" Storyboard.TargetName="VolumePercentTarget">
<DiscreteObjectKeyFrame KeyTime="0" Value="100"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="VolumeMediumState">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(ContentControl.Content)" Storyboard.TargetName="VolumePercentTarget">
<DiscreteObjectKeyFrame KeyTime="0" Value="66"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="VolMed">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="VolMax">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="VolumeLowState">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(ContentControl.Content)" Storyboard.TargetName="VolumePercentTarget">
<DiscreteObjectKeyFrame KeyTime="0" Value="33"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="VolLow">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="VolMax">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="GameDenominationStateGroup">
<VisualState x:Name="State_gfs7h25_cfg">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="OneDollarGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="FiveDollarGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="State_gfs7h100_cfg">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TwentyFiveCentGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="FiveDollarGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="State_gfs7h500_cfg">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TwentyFiveCentGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="OneDollarGameIcon">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<!--View Race States-->
<VisualStateGroup x:Name="RaceVideoOptionAvailableStateGroup">
<VisualState x:Name="RaceVideoOptionAvailableFalse">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ViewRaceCanvas">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MakePicksCanvas">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="InfoCanvas">
<DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1480"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Top)" Storyboard.TargetName="InfoCanvas">
<DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="417"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Canvas.Top)" Storyboard.TargetName="VolCanvas">
<DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="415"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="RaceViewOptionAvailableTrue">
<Storyboard>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="RaceVideoSelectedStateGroup">
<VisualState x:Name="RaceVideoSelectedFalse">
<Storyboard>
</Storyboard>
</VisualState>
<VisualState x:Name="RaceVideoSelectedTrue">
<Storyboard>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="BalanceIsPartialCreditStateGroup">
<VisualState x:Name="BalanceIsPartialCreditFalse">
<Storyboard>
</Storyboard>
</VisualState>
<VisualState x:Name="BalanceIsPartialCreditTrue">
<Storyboard>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="ValidationStates">
<VisualState x:Name="Valid"/>
<VisualState x:Name="InvalidFocused"/>
<VisualState x:Name="InvalidUnfocused"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<i:Interaction.Behaviors>
<vwc:VisualStateSyncStateToBoundValue BoundStateValue="{Binding RaceVideoOptionAvailable}" StateNamePrefix="RaceVideoOptionAvailable" VerifyTemplateChildName="ViewRaceCanvas"/>
<vwc:VisualStateSyncStateToBoundValue BoundStateValue="{Binding RaceVideoSelected}" StateNamePrefix="RaceVideoSelected" VerifyTemplateChildName="ViewRaceOn"/>
<vwc:VisualStateSyncStateToBoundValue BoundStateValue="{Binding BalanceIsPartialCredit}" StateNamePrefix="BalanceIsPartialCredit" VerifyTemplateChildName="CustomerBalanceCredits"/>
</i:Interaction.Behaviors>
<!--
VolumeState storyboards update VolumePercentTarget,
causing PropertyChangedTrigger to invoke SetVolumePercent() command on view model
-->
<!--
VolumeState storyboards update VolumePercentTarget,
causing PropertyChangedTrigger to invoke SetVolumePercent() command on view model
-->
<ContentControl x:Name="VolumePercentTarget" Content="0" Visibility="Hidden" >
<i:Interaction.Triggers>
<ei:PropertyChangedTrigger Binding="{Binding Content, ElementName=VolumePercentTarget}">
<i:InvokeCommandAction Command="{Binding SetVolumePercent, Mode=OneTime}" CommandParameter="{Binding Content, ElementName=VolumePercentTarget}" />
</ei:PropertyChangedTrigger>
</i:Interaction.Triggers>
</ContentControl>
<Image x:Name="TwentyFiveCentGameIcon" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Denom_25.png" Canvas.Top="372" />
<Image x:Name="OneDollarGameIcon" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Denom_100.png" Canvas.Top="372" />
<Image x:Name="FiveDollarGameIcon" RenderTransformOrigin="0.5,0.5" Canvas.Left="-130" Canvas.Top="372"
Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Denom_500.png" >
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="0.7" ScaleY="0.9" />
</TransformGroup>
</Image.RenderTransform>
</Image>
<Canvas x:Name="ViewRaceCanvas" Canvas.Left="1380" Canvas.Top="417" >
<Image x:Name="ViewRaceOff" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/ViewNextRace.png" />
<Image x:Name="ViewRaceOn" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/ViewNextRace.png" />
<Rectangle x:Name="HitBox_ViewRace" Width="{Binding ActualWidth, ElementName=ViewRaceOff}" Height="{Binding ActualHeight, ElementName=ViewRaceOff}" Fill="Green" Opacity="0" >
<Rectangle.Resources>
<sys:Boolean x:Key="BoolTrue">True</sys:Boolean>
</Rectangle.Resources>
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseLeftButtonDown">
<i:InvokeCommandAction Command="{Binding SetRaceVideoSelectedCommand, Mode=OneTime}" CommandParameter="{StaticResource BoolTrue}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Rectangle>
</Canvas>
<Canvas x:Name="MakePicksCanvas" Canvas.Left="1490" Canvas.Top="321" >
<Image x:Name="HandiPicks" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/YourPicks.png" />
<TextBlock x:Name="First" Text="{Binding PlayerPicks[0], FallbackValue=-, Mode=OneWay, StringFormat=N0}" Canvas.Left="120" Canvas.Top="75" Width="24" Height="24" FontSize="24" TextAlignment="Center" Foreground="White" HorizontalAlignment="Stretch" FontFamily="/Frozen7ViewModule;component/Fonts/#Celtic Gaelige"/>
<TextBlock x:Name="Second" Text="{Binding PlayerPicks[1], FallbackValue=-, Mode=OneWay, StringFormat=N0}" Canvas.Left="120" Canvas.Top="125" Width="24" Height="24" FontSize="24" TextAlignment="Center" Foreground="White" VerticalAlignment="Stretch"/>
<TextBlock x:Name="Third" Text="{Binding PlayerPicks[2], FallbackValue=-, Mode=OneWay, StringFormat=N0}" Canvas.Left="120" Canvas.Top="175" Width="24" Height="24" FontSize="24" TextAlignment="Center" Foreground="White" HorizontalAlignment="Stretch"/>
</Canvas>
<!-- Info Canvas -->
<Canvas x:Name="InfoCanvas" Canvas.Left="241" Canvas.Top="369" >
<Image x:Name="InfoIcon" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Info_UI.png" />
<Rectangle x:Name="InfoHitBox" Width="{Binding ElementName=InfoIcon, Path=ActualWidth}" Height="{Binding ElementName=InfoIcon, Path=ActualHeight}" Fill="Purple" Opacity="0" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseLeftButtonDown">
<i:InvokeCommandAction Command="{Binding ShowInfoCommand, Mode=OneTime}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</Rectangle>
</Canvas>
<!-- Volume Canvas -->
<Canvas x:Name="VolCanvas" Canvas.Left="241" Canvas.Top="465" >
<Image x:Name="VolMax" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Volume_High.png"/>
<Image x:Name="VolMed" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Volume_Med.png" Visibility="Collapsed" />
<Image x:Name="VolLow" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Volume_Low.png" Visibility="Collapsed" />
<Rectangle Width="{Binding ActualWidth, ElementName=VolMax}" Height="{Binding ActualHeight, ElementName=VolMax}" Fill="Orange" Opacity="0" >
<i:Interaction.Behaviors>
<vwc:VisualStateCycleStateOnEvent EventName="MouseDown" EventOwnerType="{x:Type UIElement}" VisualStateGroupName="VolumeStateGroup"/>
</i:Interaction.Behaviors>
</Rectangle>
</Canvas>
<!-- Balance Display -->
<Canvas x:Name="BalanceDisplay" Canvas.Left="357" Canvas.Top="409" DataContext="{Binding Mode=OneTime, RelativeSource={RelativeSource TemplatedParent}}" >
<Image x:Name="Balance_UI" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Cash_UI.png" />
<!-- Dynamic Balance Text -->
<Grid x:Name="BalanaceGrid" Canvas.Left="15" Canvas.Top="15" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.748*"/>
<ColumnDefinition Width="0.087*"/>
<ColumnDefinition Width="0.165*"/>
</Grid.ColumnDefinitions>
<!-- Grid must be positioned within this canvas so its in the correct place of the background image -->
<Grid x:Name="CustomerBalanceCredits" Grid.ColumnSpan="3" Width="230" Height="90" >
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
<TextBlock x:Name="CustomerBalanceNormalCredits" Text="{Binding CustomerBalance.AltAmount, FallbackValue=87\,123\,456, Mode=OneWay, StringFormat=N0}" />
</Viewbox>
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" >
<TextBlock x:Name="CustomerBalancePartialCredits" Text="{Binding CustomerBalance.Amount, Converter={vwcc:IntToMoneyConverter}, FallbackValue=$871\,234.56, Mode=OneWay, StringFormat=C}" Visibility="Hidden"/>
</Viewbox>
</Grid>
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="3" Margin="0" Width="230" Height="90" >
<TextBlock x:Name="CustomerBalanceMoney" Text="{Binding CustomerBalance.Amount, Converter={vwcc:IntToMoneyConverter}, FallbackValue=$871\,234.56, Mode=OneWay, StringFormat=C}" Visibility="Hidden"/>
</Viewbox>
</Grid>
</Canvas>
<!-- Win Display -->
<Canvas x:Name="WinDisplay" Canvas.Left="633" Canvas.Top="348" RenderTransformOrigin="0.5,0.5" DataContext="{Binding Mode=OneTime, RelativeSource={RelativeSource TemplatedParent}}" >
<Rectangle x:Name="WinBox_SolidBack" Canvas.Left="5" Canvas.Top="5" Width="441" Height="129" Fill="LightBlue" Opacity="0" />
<Image x:Name="Win_Box" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Win_UI.png" >
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="0.33" ScaleY="0.3" />
</TransformGroup>
</Image.RenderTransform>
</Image>
<!-- Dynamic Win Text -->
<!-- Grid must be positioned within this canvas so its in the correct place of the background image -->
<Grid x:Name="WinGrid" Canvas.Left="15" Canvas.Top="25" Visibility="{Binding ShowWinText, Converter={vwcc:BoolToHiddenConverter} }" >
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="430" Height="120" >
<TextBlock x:Name="WinAmountCredits" Text="{Binding WinAmount.AltAmount, FallbackValue=123\,456, Mode=OneWay, StringFormat=N0}" FontSize="96"/>
</Viewbox>
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="430" Height="120" >
<TextBlock x:Name="WinAmountMoney" Text="{Binding WinAmount.Amount, Converter={vwcc:IntToMoneyConverter}, FallbackValue=$871\,234.56, Mode=OneWay, StringFormat=C}" Visibility="Hidden" FontSize="128"/>
</Viewbox>
</Grid>
<Canvas.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1" ScaleY="1" />
</TransformGroup>
</Canvas.RenderTransform>
</Canvas>
<!-- Bet Display -->
<Canvas x:Name="BetDisplay" Canvas.Left="1109" Canvas.Top="409">
<Image x:Name="Bet_UI" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Dashboard/Bet_UI.png" />
<!-- Dynamic Bet Text -->
<!-- Grid must be positioned within this canvas so its in the correct place of the background image -->
<Grid x:Name="BetGrid" Canvas.Left="15" Canvas.Top="15" >
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="230" Height="90" >
<TextBlock x:Name="BetAmountMoney" Visibility="Hidden" Text="{Binding BetAmount, Converter={vwcc:IntToMoneyConverter}, FallbackValue=$871\,234.56, Mode=OneWay, StringFormat=C}"/>
</Viewbox>
<Viewbox Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="230" Height="90" >
<TextBlock x:Name="BetAmountCredits" Text="{Binding NumberBets, FallbackValue=$871\,234.56, Mode=OneWay, StringFormat=N0}"/>
</Viewbox>
</Grid>
</Canvas>
<Canvas x:Name="InfoTextCanvas" Canvas.Left="0" Canvas.Top="-473" DataContext="{Binding Mode=OneTime, RelativeSource={RelativeSource TemplatedParent}}" >
<Image x:Name="PromptBar" Source="pack://siteoforigin:,,,/Frozen7ViewModule/Content/Bottom Screen/Background/PromptBar.png" />
<Grid Width="1680" Height="62.5" Canvas.Top="8">
<Grid.Resources>
<Style BasedOn="{StaticResource {x:Type TextBlock}}" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="45"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect/>
</Setter.Value>
</Setter>
<Setter Property="HorizontalAlignment" Value="Center" />
</Style>
</Grid.Resources>
<!-- Info Prompts???? -->
<TextBlock x:Name="TBInfoText" Text="{Binding InfoText, Mode=OneWay}" />
<TextBlock x:Name="TBInfoTextMoney" Text="{Binding InfoTextMoney, Mode=OneWay}" />
<TextBlock x:Name="PART_TBBonusInfo" Visibility="Collapsed"/>
</Grid>
</Canvas>
<Rectangle x:Name="DisplayBoxesHitBox" Width="1020" Height="200" Fill="Red" Opacity="0" Canvas.Left="350" Canvas.Top="340" Panel.ZIndex="900" >
<i:Interaction.Behaviors>
<vwc:VisualStateCycleStateOnEvent EventName="MouseDown" EventOwnerType="{x:Type UIElement}" VisualStateGroupName="ShowValueStateGroup"/>
</i:Interaction.Behaviors>
</Rectangle>
</Canvas>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
GameSpecificDashboardControl  CODE BEHIND
using Common;
using ViewCommon;
using ViewCommon.Dashboard;
using Common.Events.Messages;
using System;
using System.Windows.Media.Animation;
using System.Windows.Controls;
using System.Windows;
using System.Windows.Media;
namespace Frozen7ViewModule.Views
public class GameSpecificDashboardControl : DashboardControl
private bool wasBigWin;
private Storyboard sbBigWinIntro;
private Storyboard sbBigWinEnd;
private string _infoTextMoney;
public string InfoTextMoney
get { return _infoTextMoney; }
private set
_infoTextMoney = value;
RaisePropertyChanged(() => InfoTextMoney);
private bool _showWinText;
public bool ShowWinText
get { return _showWinText; }
set
_showWinText = value;
RaisePropertyChanged(() => ShowWinText);
private MultiPaylineControl multiPaylineControl;
private int creditDivisor;
public void Initialize(MultiPaylineControl multiPaylineControl)
this.multiPaylineControl = multiPaylineControl;
creditDivisor = GameParameters.Fetch.GameBetUnitCost;
public override void OnApplyTemplate()
base.OnApplyTemplate();
sbBigWinIntro = this.LoadResourceStoryboard("sbBigWinIntro");
sbBigWinEnd = this.LoadResourceStoryboard("sbBigWinEnd");
public override void ClearPaylineInfo()
base.ClearPaylineInfo();
InfoTextMoney = "";
public override void SetPaylineInfo(string info)
base.SetPaylineInfo(info);
InfoTextMoney = info;
public override void OnPaylineLoop(MessageResultWin.Payline payline, int callCount)
if (multiPaylineControl.IsJackpotWin() && payline.Tier == 0)
// With current protocol, the Jackpot win amount is not easily determined for all case, do not try to show it
InfoTextMoney = string.Format("Payline {0} Pays Jackpot", payline.PaylineIndex + 1);
InfoText = InfoTextMoney;
else
int creditsBet = BoundBetAmount / creditDivisor;
var creditString = (creditsBet > 2 && payline.Tier < 3) ? string.Format("X {0}", creditsBet - 1) : "";
var multiplierString = payline.Multiplier > 1 ? string.Format("X {0}", payline.Multiplier) : "";
string strTier = "(*Payline Tier Missing*)";
if (payline.Tier >= 3) strTier = "1st Coin:";
else if (payline.Tier < 3 && payline.Tier >= 0)
//explicitly check for 2nd and 3rd coin for easier debugging if a bug ever occurs
if (creditsBet == 2) strTier = "2nd Coin:";
else if (creditsBet == 3) strTier = "3rd Coin:";
InfoTextMoney = string.Format("Payline {0} Pays {1} {2:C}", payline.PaylineIndex + 1, strTier, (((double)payline.AmountWon) / 100) * payline.Multiplier);
InfoText = string.Format("Payline {0} Pays {1} {2:N0}", payline.PaylineIndex + 1, strTier, (payline.AmountWon / creditDivisor) * payline.Multiplier);
public void StartWinTicker(int bonusWinAmount, Action onBonusTickFinished, Action onWinTickFinished, int adjustAmount,bool isBigWin, bool fast = false)
base.StartWinTicker(bonusWinAmount, onBonusTickFinished, onWinTickFinished, adjustAmount, fast);
ShowWinText = true;
if (isBigWin) sbBigWinIntro.Begin(this);
wasBigWin = isBigWin;
public override void OnWinTickFinished()
base.OnWinTickFinished();
if (wasBigWin) sbBigWinEnd.Begin();

I agree with Barry - inheriting xaml is a problem.
I think there is technically a way to sort of inherit xaml you put in app.xaml.  But I think that's a bad plan and I think the technique may well rely on a bug. Maybe it doesn't even work now - it's been a while since I read about it.
I'm also not so clear on what you're trying to do here.
I must admit I haven't spent very long trying to work out what that all that markup and code does though. 
The three approaches I would consider are:
1)
Inherit just the code and substitute views completely.
This is Barry's suggestion.
2)
Make a templated contentcontrol which you can put your variable stuff inside.
Kind of like this:
http://social.technet.microsoft.com/wiki/contents/articles/28597.wpf-keeping-your-mvvm-views-dry.aspx
3)
Compose the xaml from flat templates.
https://gallery.technet.microsoft.com/Dynamic-XAML-View-Composer-8d9fa5d6
https://gallery.technet.microsoft.com/Dynamic-XAML-Composed-View-e087f3c1
Which to use depends on purpose.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML

Similar Messages

  • [Error ORABPEL - 10900]... : Can not find definition for element 'process'

    Hi,
    When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
    Error(21):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
    [Potential fix]: Fix the invalid XML.
    I don't understand why... Any idea?

    Ok.
    This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="CriarProjectoSA"
    targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
    suppressJoinFailure="no"
    xmlns="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://schemas.oracle.com/xpath/extension"
    xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
    xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
    <sapattern>
    <guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
    </sapattern>
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
    myRole="CriarProjectoSAProvider"/>
    <partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
    myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
    <partnerLink name="ValidacaoProjectos"
    partnerLinkType="ns1:ValidacaoProjectos"
    myRole="ValidacaoProjectosRequester"
    partnerRole="ValidacaoProjectosProvider"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    </sapattern>
    </partnerLinks>
    <variables>
    <variable name="outputVariable"
    messageType="ns4:CriarProjectoSAResponseMessage"/>
    <variable name="inputVariable"
    messageType="ns4:CriarProjectoSARequestMessage"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
    <guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
    </sapattern>
    <variable name="invocaVP_initiate_InputVariable"
    messageType="ns1:ValidacaoProjectosRequestMessage"/>
    <variable name="recebeVP_onResult_InputVariable"
    messageType="ns1:ValidacaoProjectosResponseMessage"/>
    <variable name="InvocaAdicionarProjecto_InputVariable"
    messageType="ns2:AdicionarProjectoSoapIn"/>
    <variable name="InvocaAdicionarProjecto_OutputVariable"
    messageType="ns2:AdicionarProjectoSoapOut"/>
    </variables>
    <sequence>
    <receive name="recebeTemplate" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="inputVariable" createInstance="yes">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
    </sapattern>
    </receive>
    <scope variableAccessSerializable="no" name="ValidarExigências"
    joinCondition="False">
    <faultHandlers>
    <catchAll>
    <assign name="assignInvalid">
    <bpelx:append>
    <bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
    <bpelx:to variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
    </bpelx:append>
    </assign>
    </catchAll>
    </faultHandlers>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <sequence name="ValidarExigências" joinCondition="False">
    <assign name="assignVPIn">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="invocaVP_initiate_InputVariable" part="payload"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <invoke name="invocaVP" joinCondition="False"
    partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
    operation="initiate"
    inputVariable="invocaVP_initiate_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
    </sapattern>
    </invoke>
    <receive name="recebeVP" joinCondition="False"
    partnerLink="ValidacaoProjectos"
    portType="ns1:ValidacaoProjectosCallback" operation="onResult"
    createInstance="no" variable="recebeVP_onResult_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    <guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
    </sapattern>
    </receive>
    <assign name="assignVPOut">
    <copy>
    <from variable="recebeVP_onResult_InputVariable" part="payload"/>
    <to variable="inputVariable" part="payload"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope variableAccessSerializable="no" name="AdicionarProjecto"
    joinCondition="False">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <sequence name="InvocarISAdicionarProjecto" joinCondition="False">
    <assign name="assignIS">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:nome"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:tipo"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <invoke name="InvocaAdicionarProjecto" joinCondition="False"
    partnerLink="NergaIS" portType="ns2:ServiceSoap"
    operation="AdicionarProjecto"
    inputVariable="InvocaAdicionarProjecto_InputVariable"
    outputVariable="InvocaAdicionarProjecto_OutputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
    </sapattern>
    </invoke>
    </sequence>
    </scope>
    <assign name="assignOutput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="devolveProjecto" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="outputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
    </sapattern>
    </reply>
    </sequence>
    </process>

  • .v2.XMLParseException:Can not find definition for element 'descriptor'

    I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
    ERROR Details:
    500 Internal Server Error
    javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type'     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)     at emps.jspService(_emps.java:629)
    Pls help me in resolving this issue.

    I am still gettng the same error. The xml file is now
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
    <FIRSTNAME>Arnold</FIRSTNAME>
    <LASTNAME>McEriccson</LASTNAME>
    <ADDRESS>
    <LINE1>31, Nomadic Avevnue</LINE1>
    <LINE2>Pasadena Clove</LINE2>
    <CITY>WoolTown, MT</CITY>
    <ZIP>45263</ZIP>
    </ADDRESS>
    <BIRTHDATE>1967-08-13</BIRTHDATE>
    </CUSTOMER>
    The xsd file is:
    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
    <xs:sequence>
    <xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
    <xs:element name="ZIP" type="xs:int"/> </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
    <xs:attribute name="ID" type="xs:double"/> </xs:complexType>
    </xs:element>
    </xs:schema>
    There seems to be something fairly obvious that i am missing.

  • Elements 9 and Elements 10 both can not find Adobe AIR although it is on my computer?

    Elements 9 and Elements 10 both can not find Adobe AIR although it is on my computer?
    Can someone tell me how to get Elements to recognize Adobe AIR...
    I can uninstall Adobe AIR... however I cannot uninstall Elements 9... When trying to unistall Elements 9 it only lets me install it?

      There is no need to uninstall earlier versions unless you are really short of disk space.
    Get the latest version of AIR here:
    http://get.adobe.com/air/
       

  • Hi, I have elements 12, and my paint bucket wants to just use gray.  I can not find where to reset t

    Hi, I have elements 12, and my paint bucket wants to just use gray.  I can not find where to reset the tools.  Help!  Thanks!

    Check under Image> Mode that RGB Color is selected.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Is there any tools to make watermarks and copyright mark at photos in elements 13 ? I can not find any...

    I can not find any Tools or any way to make watermarks at my photos in Elements 13, can not find any tool to make Copy right mark in Elements 13...
    Is it not possible to do?

    I have a pink tint to video mirroring on my 1080i TV and not on my 1080p tv so I was wondering the same thing.

  • ERROR: XML parse error: Error on line 1 of document: cvc-elt.1: Can not find the declaration of element 'model'. Nested exception: Can not find the declaration of element 'model'.

    I have install flash builder 4 beta 2 + blazeds 4.00.7548. While try to connect to data service and face a problem.
    When i use a beta 1 that no such probem. please help.
    ERROR: XML parse error: Error on line 1 of document: cvc-elt.1: Can not find the declaration of element ‘model’. Nested exception: Can not find the declaration of element ‘model’.

    Hello All!
    I'm just getting started with Flash Builder 4 and BlazeDS and I'm having this same issue.     I have installed the FlashBuilder 4 beta 2  Build 253292, and Blaze 4  ( blazeds-turnkey-4.0.0.14341 ).       I have also installed the livecycle_dataservices3_modelerplugin_100509.      Upon clicking Data-Connect to data/service and then Blazeds,   I can see my DAO object listed.   However, if I select it I receive the dreaded error.       Now if I code in the remote object manually, in the  .mxml file and run it, all works just fine.        It's only while trying to use the object within Flashbuilder that I have the problem.     I see lots of ideas kicked around for this, and it seems that various solutions have worked for different users.    Can somebody put together a 'cookbook' of just exactly how to set things up to make this work? 
    Thanks

  • Why I can not find field:Level in Project Hierarchy in BAPI_BUS2054_NEW?

    Dear experts,
        Why I can not find the field of "Level in Project Hierarchy" in structure BAPI_BUS2054_NEW?
    I only define the data to upload wbs:
    PROJECT DEFINITION
    PROJECT DESCRIPTION
    PROJECT PROFILE
    WBS Element
    WBS description
    Can you tell me which fields must to upload?
    Looking forward to your reply.
    Many thanks.
    Merryzhang

    Anyone can help me ?I need the field "Level" in BAPI_BUS2054_NEW,But I can not find it.

  • Error while crawling LOB contents in SP 2013:'Could not find default endpoint element that references contract in the ServiceModel client configuration section

    Hi,
    I created custom BDC Model using Visual Studio. In ReadList method i am getting data using Web Service call. Using this External Content Type (BDC Model) i created one external list and it is populating with data.
    I created one new content source in search service application using this BDC Model and when crawled this content source i am getting the below error.
    Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Runtime.RuntimeException MethodInstance with Name 'ReadList' on Entity (External Content Type) with Name 'Entity1' in Namespace 'bcsex.BdcModel1' failed
    unexpectedly. The failure occurred in method 'ReadList' defined in class 'bcsex.BdcModel1.EntityService1' with the message 'Could not find default endpoint element that references contract 'ServiceReference1.Service1Soap' in the ServiceModel client configuration
    section.
    I included the bindings and client end point configuration settings in web.config file located at
    \\Inetpub\wwwroot\wss\VirtualDirectories\Port_Number, but still getting the same error.
    Please help. Thanks a lot.

    The Issue resolved by including the bindings and client end point configuration settings in
    machine.config file located at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\ and also restarted the server after config changes.

  • Custom Timer Job to execute WCF web service error - Could not find default endpoint element that references contract

    Hi,
    I am currently creating custom timer job to call WCF web service to perform nighty job to update employee document library metadata. If I update regular list/library items it updates correctly on a specified interval basis. However when I try to integrate
    the WCF client, it throws error shown below :
    Could not find default endpoint element that references contract EmployeeServiceReference.
    EmployeeServiceClient in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
    I followed exact instructions Andrew Connell has provided but included my logic in execute()
    public
    override
    void Execute(Guid
    targetInstanceId)
    var empClient =
    new
    'ServiceReference.EmployeeServiceClient();
    var employee = empClient.EmployeesMethod();
    I have tried all approaches to manually adding app.config settings in sharepoing web.config but still it throws the error mentioned. It seems that application config and sharepoint site config binding issue still exist and cannot be resolved.
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding
    name="BasicHttpBinding_EmployeeService"
    />
    </basicHttpBinding>
    <netTcpBinding>
    <binding
    name="CustomBinding_EmployeeService">
    <security>
    <transport
    protectionLevel="None"
    />
    </security>
    </binding>
    </netTcpBinding>
    <wsHttpBinding>
    <binding
    name="WSHttpBinding_EmployeeService">
    <security
    mode="None"
    />
    </binding>
    </wsHttpBinding>
    </bindings>
    <client>
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="WSHttpBinding_EmployeeService"
    />
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc/soap"
    binding="basicHttpBinding"
    bindingConfiguration="BasicHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="BasicHttpBinding_EmployeeService"
    />
    <endpoint
    address="net.tcp://crmapp.mycomp.com:5050/EmployeeService.svc/tcp"
    binding="netTcpBinding"
    bindingConfiguration="CustomBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="CustomBinding_EmployeeService">
    <identity>
    <userPrincipalName
    value="[email protected]"
    />
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    Will you please help resolving this issue?

    Hi,
    You can use any of the three approaches:-
    1) Access web application's web.config programmatically in Execute() method.
    http://praveenkasireddy.wordpress.com/2012/12/14/access-web-application-configuration-values-in-timer-job-sharepoint/
    2) Store the configuration in xml and upload it to SharePoint document library then read from there
    http://www.sharepointdynamics.net/2011/08/using-an-xml-settings-file-to-store-values-for-your-sharepoint-projects/
    3) Programmatically configure a WCF endpoint.
    http://msdn.microsoft.com/en-us/library/ff647110.aspx
    Regards, Shruti

  • Adobe premiere can not find any module capable of playing video. Update the video drivers and start again.

    Adobe Premiere can not find any module capable of playing video. Update the video drivers and start again.
    I've tried all the options suggested and the problem continues.
    What else can I do?
    Note: I had already worked before.
    Windows 8.1
    Notebook i7, 8M memory, video card Nvidia (updated).
    Adobe Premiere Pro 2014
    Please help me. Thank you.
    mailto: [email protected]

    Here is a link to an Adobe TechNote about the same issue with an earlier (much earlier!) version of Premiere Elements and Windows XP.
    http://kb2.adobe.com/cps/324/324938.html
    I'll leave it to Steve and Bill as to whether the fix offered in the link for Premiere Elements 2 would still be applicable to your version of Premiere Elements.
    Hope this is of some assistance.

  • Can Not Find Native Instruments after Install

    Hi there, I have recently purchased Absynth & FM8 and have installed them and updated them onto my iMac. However when I run Logic Pro I can not find them in the Soft Synths at all.
    I have checked the Audio Unit Manager and all have loaded ok with no errors. So where can I find these keyboards?

    From the ProDesignTools direct download links page:
    "The Elements 12 tryout versions are currently available in English, French/Français, German/Deutsch, and Japanese on Mac OS… On Windows, you can additionally choose from Chinese, Czech, Dutch, Italian, Korean, Polish, Portuguese, Russian, Spanish, Swedish, or Turkish."
    Google Translate:
    "要素12トライアウトバージョンは英語、フランス語/戻る前、ドイツ語/ドイツ語、およびMac OS上で日本語で現在利用可能である... Windowsでは、さらに中国語、チェコ語、オランダ語、イタリア語、韓国語、ポーランド語、ポルトガル語、ロシア語、スペイン語から選択することができます、スウェーデン語、トルコ語、 または。"

  • Itunes is saying that it can not find software update to restore my iphone 5c.

    Can someone please help me figure out how to get my phone back to wroking i have tried to turn it off then on but it wouldnt let me do a full shut down and when i plugged it in to my computer itunes said it can not find software update for iphone. I really need my phone any help?

    i have tried to turn it off then on but it wouldnt let me do a full shut down
    Define "would not let me."
    itunes said it can not find software update
    What was the EXACT message from iTunes,  including the number?

  • I can not find my serial number

    How do i contact adobe as I can not find the serial number in order to install my photoshop elements 12 purchased at best buy and they said to contact adobe

    You will need to contact Activation Support:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivat ion-products.html
    Click the Chat Now button at the end of the page and talk with a live agent who would resolve it ASAP.
    Or get help from http://helpx.adobe.com/in/contact.html.
    Regards,
    Ashutosh

  • After duplicating LAYER, I go to EDIT    FILL LAYER and can't find NORMAL mode  Elements 9

    after duplicating LAYER, I go to EDIT    FILL LAYER and can't find NORMAL mode

    I go to the menu and NORMAL does not appear
    Date: Mon, 14 Jan 2013 10:28:01 -0700
    From: [email protected]
    To: [email protected]
    Subject: after duplicating LAYER, I go to EDIT    FILL LAYER and can't find NORMAL mode  Elements 9
        Re: after duplicating LAYER, I go to EDIT    FILL LAYER and can't find NORMAL mode  Elements 9
        created by 99jon in Photoshop Elements - View the full discussion
      Try from the layers pallet after highlighting your background copy layer. You should have dropdown menus for blend modes and opacity.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4992506#4992506
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4992506#4992506
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4992506#4992506. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for