Link selectors and inheritance issue
On playing with simple navigation elements, (2) in total, I find an inheritance issue I do not understand.
The ul, ol declarations in Boilerplate not being ignored, or overruled, by the css settings that I want for styles, which I had thought carried more weight?
I was surprised when Boilerplate “lists” selector ul and ol declarations were impacting in this way.
My intention was to use Boilerplate link selectors for bottom “footer” nav menu, and style sheet selectors for the top horizontal menu.
Since I’m just expanding knowledge base, I have jumped around quite a bit, so have not uploaded to remote server. Three code blocks contributing are as follows…
————————Begin top horizontal nav menu code————————————————
/*Top navigation menu is styled in external main.css as follows:*/
#nav ul {
list-style-type: none;
/* [disabled]width: 260px; */
/* [disabled]display: inline-block; */
/* [disabled]height: 40px; */
/* [disabled]overflow: hidden; */
margin: 0 auto;
#nav li {
float: left;
border: solid thin red;
margin: 0 2px;
#nav a:link {
display: block;
width: auto;
font-size: 0.8em;
font-weight: bold;
color: #00CCCC;
text-align: center;
padding: 0;
margin: 2px;
text-decoration: none;
text-transform: uppercase;
#nav a:visited {
color: #99B5C1;
#nav a:hover {
color: #9FD5C6;
#nav a:active {
color: white;
————————————-—End top horizontal nav menu——————————
—————————————Begin footer nav menu code—————————
/*Bottom navigation menu, placed in div id="footer" declarations in Boilerplate as follows*/
a {
color: #78AAB3;
text-decoration: none;
a:visited {
color: #009999;
a:hover {
color: #F06;
a:focus { outline: thin dotted; }
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active {
color: orange;
outline: 0;
text-align: center;
——————End footer nav menu code———————————
On following DOM, found following declaration padding: 0 0 0 40px; seems to be inheriting
SHOULDN’T THIS PADDING DECLARATION IN BOILERPLATE BE OVERRODE BY CSS?
——————Begin Boilerplate code specifics—————————
ul, ol {
margin: 1em 0;
padding: 0 0 0 40px;
——————End Boilerplate code specifics—————————
Joh Fritz II,
Thanks for quick response.
To clarify, or expand, on my query; Knocking out the Boilerplate padding of 40px in ul, ol selector is what I want to happen. I want the top menu to be entirely directed by the external css, while allowing Boilerplate selectors for future in the lower, or footer, nav links to come.
My goal is to have a minimal menu selection at top, than at bottom, in footer, a site map sort of simple links. Stripping it (index.html) down to a minimal footprint to gain as lean and fast loading a page as possible.
This 40px seems to be affecting my ability to center the menu within the top menu (div element "nav") When I disable that declaration, I can see the menu (dw design split/view) correct to left 40px. Funny thing is, with "layout box model" checked under "visual aids," I can no longer actually see the padding on hover. I could prior, so something I've done led to that.
Thus, the visual shift on "disable" of the Boilerplate padding declaration tells me the Boilerplate continues to affect that which I actually want to control with external css.
Apologies if I present contextual information poorly here; I may just clear and create again, but would like to actually understand how I got here on this particular issue.
Similar Messages
-
1532 Autonomous Outdoor link DFS and vlans issue
Hi all,
I have a fresh installation of a Point to Point (1km distance) link using autonomous Aps 1532 and directional antennas 14dbi.
The regulatory domain is Europe and the only usable channels are 100 104 108 112 116 132 136 140 (DFS channels).
The link is near military area and DFS is triggered very often which causes frequent disconnections near every minute.
From the logs i see that there is no available channel:
%DOT11-6-DFS_TRIGGERED: DFS: triggered on frequency 5540 MHz
%DOT11-2-NO_CHAN_AVAIL_NON_OCCP: Interface Dot11Radio1, no channel available.
So if all channels are occupied by the radars why carrier busy test does show anything?
ROOT#dot11 dot11Radio 1 carr bu
Frequency Carrier Busy %
5500 0
5520 0
5540 0
5560 0
5580 0
5660 0
5680 0
5700 0
The second issue is regarding vlans.
3 Vlans: Data vlan 1 ,Voice vlan 2 , Management vlan 100 (native vlan for bridging).
After rebooting the non-root bridge data vlan 1 doesn't works even though management and voice are ok.
The workaround i found is to manually change the bridge group to different number.
After the change connectivity is comes back... (maybe bug???)
interface Dot11Radio1.2
encapsulation dot1Q 2
bridge-group 2
bridge-group 2 spanning-disabled
interface Dot11Radio1.4
encapsulation dot1Q 1
bridge-group 4
bridge-group 4 spanning-disabled
interface Dot11Radio1.100
encapsulation dot1Q 100 native
bridge-group 1
bridge-group 1 spanning-disabled
Any thoughts?
Best regards,
Christos.Below is the output from one of my APs in the -E regulatory domain:
Carrier Set: ETSI (OFDM) (EU) (-E)
Uniform Spreading Required: Yes
Configured Frequency: 0 MHz Channel 0
Allowed Frequencies: 5180(36) 5200(40) 5220(44) 5240(48) 5260(52) 5280(56) 5300(60) 5320(64) 5500(100) 5520(104) 5540(108) 5560(112) 5580(116) 5660(132) 5680(136) 5700(140)
Listen Frequencies: 5180(36) 5200(40) 5220(44) 5240(48) 5260(52) 5280(56) 5300(60) 5320(64) 5500(100) 5520(104) 5540(108) 5560(112) 5580(116) 5660(132) 5680(136) 5700(140) 5745(149) 5765(153) 5785(157) 5805(161) 5825(165)
It seems to be a limitation of the 1530 series:
http://www.cisco.com/c/en/us/products/collateral/wireless/aironet-1530-series/data_sheet_c78-728356.html
Frequency Band and 20-MHz Operating Channels
-E Domain:
● 2.401 to 2.4835 GHz; 13 channels
● 5.470 to 5.725 GHz; 8 channels
Regarding your issue with vlan 1, I can't see anything wrong in your configuration. This could indeed be a bug. I made a little research in the bug tool, but couldn't find anything related.
However, you should check the following before opening a case with the TAC:
check the logs from the AP immediately after a reboot
check your switch port status on each side
Is the bridge setting a loop in your network? I have worked on architectures with redundant wireless bridge uplinks using STP. A STP blocked port for vlan 1 could be a lead in that case.
Moreover, in your configuration, I can't see the usual bridge-group configuration under your subinterfaces. Not sure if this is of any use here as you have a 1532 AP, but I would try to add it for each subinterface:
interface GigabitEthernet0.100
encapsulation dot1Q 100 native
no ip route-cache
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface Dot11Radio0.100
encapsulation dot1Q 100 native
no ip route-cache
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled -
New Airport Extreme and iPhone Issues
I've had the networking day from ****. I previously had a 3rd Gen Time Capsule at our restaurant, connected to a Cisco 26port gigabit POE switch and Comcast digital voice and internet. Over the past few days, employees have reported trouble accessing the the Wifi network. After several restarts and firmware upgrades (including the dreaded "firmware problem" to fine update), nothing worked. I changed channels, back to auto, back to specific channels, back to auto. Made open guest networks. Nothing worked consistently. My iPhone might connect and my friend's might not. Nor his laptop consistently. Our Axis network cameras might take a bit extra time to connect. All quite random and quite frustrating.
So I swap out an older Airport Extreme (4th gen I believe) using the same configuration as the TC (Time Capsule). It works fine, except for the last port not working as expected. No matter, I plug the mac mini into the Cisco switch and off we go. Nevertheless, I'm still told we are suffering random Wifi issues. So I buy a brand new AE (5th gen) today to replace that one. Should work like a charm I thought. Right....
Several hours later, I finally have the new AE working, but only after doing several hard resets/factory restores, the works. For some reason, the mac mini could not successfully update any of the connected AEs - whether connected directly into the same AE, or if the Mini was connected to the switch. Nothing worked. Every time I tried to update the AE, it would hang and force me to unplug and plug it back in. It would also never save setting changes. I finally resorted to a friend's macbook to be able to restore it successfully. And once that worked, the mini was able to update the AE flawlessly. Our Point of Sales (POS) machines connect fine, our cameras connect fine, wifi printer connects, and the mini connects, and everything has internet.
Except my iPhone 5. Of course. It gets a signal fine (full bars). It gets an IP address. But I can't surf the web. Or download email. Or iMessages. Anything. No internet access. I try hard restarts on my iphone. I try assigning IP addresses by MAC address. I try resetting the AE. I try renaming the WiFi name. Nothing. I can make a guest network that works (on a different IP table, btw - 172, not 192.) But other than that, no access. Grrrr.
So I have a "working" AE router where some devices successfully connect (through wifi and ethernet) and some dont' (wifi iPhone). My iPhone connects fine to my home TC. So shouldn't be anything to do with that. But I'm at a loss. I'm going to go back and restore everything and power cycle everything tonight or tomorrow night. I don't know if that will help, but it's worth a try. Lord knows it feels like I've tried everything else.
Anyone have any good ideas of where to start besides voodoo dolls and baseball bats?I took mine back, because I was having these very same issues. We use contivity too. I was able to connect only to one of three of the servers we manage (in Europe). I couldn't connect to the servers in Asia or here in the USA.
Replaced the Airport Extreme with my trusty old d-link 624, and no issues connecting to any of the three hubs.
Otherwise, I liked the Airport Extreme, and I'll consider buying it again when and if they address this VPN issue. I work at home so its obviously a "deal breaker" for me. -
[svn] 2703: Fixes for bad links in seeTag and inheritance link.
Revision: 2703
Author: [email protected]
Date: 2008-08-01 08:45:08 -0700 (Fri, 01 Aug 2008)
Log Message:
Fixes for bad links in seeTag and inheritance link.
@seeTag was causing duplicate entries for package name in the array - which was causing a bad link..
Bugs: SDK-9440, SDK-14265, SDK-12745
QA: Yes
Reviewed by: Paul
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-9440
http://bugs.adobe.com/jira/browse/SDK-14265
http://bugs.adobe.com/jira/browse/SDK-12745
Modified Paths:
flex/sdk/trunk/modules/compiler/asdoc/asDocHelper.asRevision: 2703
Author: [email protected]
Date: 2008-08-01 08:45:08 -0700 (Fri, 01 Aug 2008)
Log Message:
Fixes for bad links in seeTag and inheritance link.
@seeTag was causing duplicate entries for package name in the array - which was causing a bad link..
Bugs: SDK-9440, SDK-14265, SDK-12745
QA: Yes
Reviewed by: Paul
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-9440
http://bugs.adobe.com/jira/browse/SDK-14265
http://bugs.adobe.com/jira/browse/SDK-12745
Modified Paths:
flex/sdk/trunk/modules/compiler/asdoc/asDocHelper.as -
my ipod is a older generation...when i turn it on the screen popps up with a usb cord and the itunes logo.which i assume means it needs to be linked...my issue it wont link
What happens when yo connect to computer and restore via iTunes
iTunes: Restoring iOS software -
I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
1. Party (PartyId, Name)
2. Case (CaseId, CaseNo)
3. Petitioner (CaseId, PartyId) ............. Link Table
I am completely new to .Net and to begin with I download Microsoft's sample application and
following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
users can choose one from the dropdown list to add or edit the petitioner.Hello Barry,
Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
the sample available at the link you supplied.
To get the idea of the thing here is my code behind of a view vBoxPetitioner:
<UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:v="clr-namespace:CCIS.View.Case"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
d:DesignWidth="300"
d:DesignHeight="200">
<UserControl.Resources>
<DataTemplate DataType="{x:Type vm:vmPetitioner}">
<v:vPetitioner Margin="0,2,0,0" />
</DataTemplate>
</UserControl.Resources>
<Grid>
<HeaderedContentControl>
<HeaderedContentControl.Header>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<TextBlock Margin="2">
<Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
| <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
</TextBlock>
</StackPanel>
</HeaderedContentControl.Header>
<ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
</HeaderedContentControl>
</Grid>
</UserControl>
This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
Here is the code of vmPetitioner, a ViewModel:
Imports Microsoft.VisualBasic
Imports System.Collections.ObjectModel
Imports System
Imports CCIS.Model.Party
Namespace CCIS.ViewModel.Case
''' <summary>
''' ViewModel of an individual Email
''' </summary>
Public Class vmPetitioner
Inherits vmParty
''' <summary>
''' The Email object backing this ViewModel
''' </summary>
Private petitioner As tblParty
''' <summary>
''' Initializes a new instance of the EmailViewModel class.
''' </summary>
''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
Public Sub New(ByVal detail As tblParty)
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Me.petitioner = detail
End Sub
''' <summary>
''' Gets the underlying Email this ViewModel is based on
''' </summary>
Public Overrides ReadOnly Property Model() As tblParty
Get
Return Me.petitioner
End Get
End Property
''' <summary>
''' Gets or sets the actual email address
''' </summary>
Public Property fldPartyId() As String
Get
Return Me.petitioner.fldPartyId
End Get
Set(ByVal value As String)
Me.petitioner.fldPartyId = value
Me.OnPropertyChanged("fldPartyId")
End Set
End Property
End Class
End Namespace
And below is the ViewMode vmParty which vmPetitioner Inherits:
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports CCIS.Model.Case
Imports CCIS.Model.Party
Imports CCIS.ViewModel.Helpers
Namespace CCIS.ViewModel.Case
''' <summary>
''' Common functionality for ViewModels of an individual ContactDetail
''' </summary>
Public MustInherit Class vmParty
Inherits ViewModelBase
''' <summary>
''' Gets the underlying ContactDetail this ViewModel is based on
''' </summary>
Public MustOverride ReadOnly Property Model() As tblParty
'''' <summary>
'''' Gets the underlying ContactDetail this ViewModel is based on
'''' </summary>
'Public MustOverride ReadOnly Property Model() As tblAdvocate
''' <summary>
''' Gets or sets the name of this department
''' </summary>
Public Property fldName() As String
Get
Return Me.Model.fldName
End Get
Set(ByVal value As String)
Me.Model.fldName = value
Me.OnPropertyChanged("fldName")
End Set
End Property
''' <summary>
''' Constructs a view model to represent the supplied ContactDetail
''' </summary>
''' <param name="detail">The detail to build a ViewModel for</param>
''' <returns>The constructed ViewModel, null if one can't be built</returns>
Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Dim e As tblParty = TryCast(detail, tblParty)
If e IsNot Nothing Then
Return New vmPetitioner(e)
End If
Return Nothing
End Function
End Class
End Namespace
And final the code behind of the view vPetitioner:
<UserControl x:Class="CCIS.View.Case.vPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
Width="300">
<UserControl.Resources>
<ResourceDictionary Source=".\CompactFormStyles.xaml" />
</UserControl.Resources>
<Grid>
<Border Style="{StaticResource DetailBorder}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Petitioner:" />
<ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
</Grid>
</Border>
</Grid>
</UserControl>
The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
what I need to Know is how to route the binding path if it exists in a different ViewModel?
Sir, I look forward to your early reply bringing a workable solution to the problem I face.
Warm Regards,
Arun -
PO number and material issued against this PO for subcontracting
How to know the link in between the PO number and material issued against this PO for subcontracting.
I have checked that PO history is not getting updated.
Thanks,Hi,
We have 2 different scenarios where you can post a goods issue to Subcontract Venodrs.
Scenarios 1: You can post the goods issue against a subcontrac vendor with out referencing the Subcon PO from ME2O, at this stage we will be knowing what is the stock at subcontract vendor but we will not be knowing the issues against which and how much Quantities are posted.
So when we are post goods receipt, then we will come to know the consuption quantities.
Scenario: 2, If we use the delivery concept then we can track the goods issues against the subcon POs.
If you really keen to track the material issued to Subcon vendor against a PO so better use with delivery.
Thansk,
Satya. -
How can i re-link .mpkg and .pkg files to hidden Installer?
I am near the end of the process of setting up my new Mac Pro (early 2009) eight core. Quite the wonderful difference from my "Mirror Drive Door" dual 1.25 GHz machine!
The Mac Pro came with Mac OS X 10.6.2 installed. I updated this to 10.6.6 via Software Update along with a slew of other updates presented there. I downloaded and installed a bunch of software. Finally, I was ready to install iLife 11 from the "CPU Drop-in" DVD that was on top of the box when the computer was originally unpacked.
Unfortunately, it wouldn't even begin the install. The "iLife.mpkg" file, when double-clicked, returned the error message "no application associated with this document". Hours of investigation reveals that NO .mpkg or .pkg file will open; doing a "get info" on the files reveals that those files have lost their link to the Installer app.
AND since the only installer I can find is hidden in /usr/sbin, there is no way I can re-link .mpkg and .pkg files to it via "get info".
I downloaded Pacifist and used it to open the "Mac OS X 10.6.6 Combo" package and re-installed the Combo updater. Much to my surprise, that didn't fix the linking issue.
I've logged in as root, but still can't re-link the package files to the Installer as /usr/ is still hidden. Is there a way I can temporarily "un-hide" the /usr directory so that "get info; open with" can see it?
I've started from the Mac OS X installer DVD and repaired permissions on the hard disk and "repaired" the hard disk. No luck there either.
I did a clean install of Mac OS X 10.6.2 to a different hard drive and applied the combo updater and the packages worked as expected there. So some software I installed or by running a slew of updaters via Software Update broke the link between packages and the Installer.
I'm sure that re-linking to packages to the hidden installer app can be done via Terminal and possible other ways, but I don't know how to do it.
Short of doing a complete Mac OS X 10.6 re-installation and update and having to re-do several days of other software installations and data transfers, I'm hoping someone will offer some solutions or tips on how to solve my problem.
How do I re-link .mpkg and .pkg files to the Installer?Thanks for the reply. I know I had previously checked for the missing installer in /System/Library/CoreServices/ and I rechecked and it's still not there. But your tip spurred me to check the test 10.6.6 installation on the other hard disk and yes! It's there!
A quick copy from the second hard disk to my current hard disk and doing the "get info" trick and everything now works wonderfully. Only one day lost to trying to figure this out. Now that the problem is fixed, quite the relief. -
Fed up with speed and connection issues since exch...
Last Monday BT done some upgrade work at our local exchange. From that point onwards we have had speed and connection issues.
I use a Belkin G Router rather that the Homehub some that we can run a printer through it and that is plugged in to telephone socket via an extension. But before we blame any of that we have gone back to the Homehub2 so we could see the difference and there is very little.
We live in the countrside so broadband speeds are not great in any case. About 1.8 mg I guess but we have always had no problems. It was good enough for us and we could watch Iplayer.
I was getting fed up with drop outs and speed and yestereday an Openreach guy came out tested everything could not find any problems apart from speed. He made some calls and was told our band width had been capped. He had that removed and yesterday evening speed was a bit better.
Today just as bad again.
Details from router:
Date/Time January 25 2012 , 21 : 14 : 25
Version Info
Runtime Code version F5D7633-4Av1_UK_1.00.009
Boot Code Version 1.0.37-5.15
Hardware Version V1.0J3
ADSL Modem Code Version A2pB015c6
ADSL
Type
Status No Defect
Downstream Upstream
Data rate 287 440
Noise margin 32.3 18.6
Output power 14.8 12.7
Attenuation 58.5 28.9
Figures from speedtester BT
Download speed: 180 Kps
acceptable range speeds is 100 - 250 Kps
DSL Connection rate 286 Kps (DOWN_STREAM) 440Kps (UP_STREAM)
Upstream Test
Upload Speed 346 kps
Upstream Profile 440Kps
Any help would be appreciated
Solved!
Go to Solution.Hi Welcome to the forums
Your high noise margin will have a major impact on your speed
If you post the full stats from your router
For homehub – type 192.168.1.254 into your browser
Navigate to ADSL Settings or use the A-Z at the top right of the home page and scroll down to ADSL Settings and click on it
Click on More Details and then post the full results.
also post the full results from http://speedtester.bt.com/
Have you tried connecting to the test socket at the rear of the master socket
Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone. if cordless phone you may hear a 'dull hum' which is normal
also you could try the hints given by poster RogerB in this link they may help http://community.bt.com/t5/BB-in-Home/Poor-Broadband-speed/m-p/14217#M8397
Then someone here may be able to help and offer more advice.
This is a customer to customer self help forum the only BT presence here are the forum moderators
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’ -
First Try with JE BDB - Indexes and Inheritance troubles... (FIXED)
Hi Mark,
Mark wrote:
Hi, I'm a newbie here trying some stuff on JE BDB. And now I'm having
I am happy to help you with this, but I'll have to ask you to re-post this question to the BDB JE forum, which is...
Sorry for the mistake. I know now that here is the place to post my doubts.
I'm really interested in JE BDB product. I think it is fantastic!
Regarding my first post about "Indexes and Inheritance" on JE BDB, I found out the fix for that and actually, it wasn't about "Indexes and Inheritance" but "*Inheritance and Sequence*" because I have my "@Persistent public abstract class AbstractEntity" with a "@PrimaryKey(sequence = "ID_SEQ") private Long id" property.
This class is extended by all my business classes (@Entity Employee and @Entity Department) so that my business classes have their PrimaryKey autoincremented by the sequence.
But, all my business classes have the same Sequence Name: "ID_SEQ" then, when I start running my JE BDB at first time, I start saving 3 new Department objects and the sequence for these department objects star with "#1" and finishes with #3.
Then I continue saving Employee objects (here was the problem) I thought that my next Sequence number could be #4 but actually it was #101 so when I tried to save my very first Employee, I set the property "managerId=null" since this employee is the Manager, then, when I tried to save my second Employee who is working under the first one (the manager employee), I got the following exception message:
TryingJEBDBApp DatabaseExcaption: com.sleepycat.je.ForeignConstraintException: (JE 4.0.71) Secondary persist#EntityStoreName#com.dmp.gamblit.persistence.BDB.store.eployee.Employee#*managerId*
foreign key not allowed: it is not present in the foreign database
persist#EntityStoreName#com.dmp.gamblit.persistence.BDB.store.eployee.Employee
The solution:
I fixed it modifying the managerId value from "4" to "101" and it works now!
At this moment I'm trying to understand the Sequence mechanism and refining concerns about Cursors manipulation...
Have you any good material about these topics, perhaps a link where I can find more detailed information on these?
Thanks in advance Mark, thanks for your attention on this and I will post more doubts in the future for sure ;0)
Regards,
DiegoHi Diego,
I fixed it modifying the managerId value from "4" to "101" and it works now!I'm glad you found the problem. It is usually best to get the assigned ID from the entity object after you call put(), and then use that value to fill in related fields in other entities. The primary key field (assigned from the sequence) is set by the put() method.
At this moment I'm trying to understand the Sequence mechanism and refining concerns about Cursors manipulation...Have you any good material about these topics, perhaps a link where I can find more detailed information on these? >
To find documentation, start at the first message in the forum, the Welcome message:
http://forums.oracle.com/forums/ann.jspa?annID=250
This refers to the main JE doc page, the JE FAQ and a white paper on DPL queries. The FAQ has a section on the DPL, which refers to the javadoc. The DPL javadoc has lots of info on using cursors along with indexes (see EntityIndex, PrimaryIndex, SecondaryIndex). The white paper will be useful to you if you're accustomed to using SQL.
I don't know of any doc on sequences other than the javadoc:
http://www.oracle.com/technology/documentation/berkeley-db/je/java/com/sleepycat/persist/model/PrimaryKey.html#sequence()
This doc will point you to info on configuring the sequence, if that's what you're interested in.
--mark -
ACD 30" Dual Link DVI and MacBook Pro Unibody
I have the following configuration:
ACD 30" Dual Link DVI and MacBook Pro Unibody
I am exhibiting some intermittent problems with the 30" display not coming up when I reboot for example and here are some more:
1. MacBook Pro not in clam-shell mode and restart equals 30" display not turning on
2. When in Snow Leopard and I have the MacBook Pro running in clam-shell mode and I open the display on the MacBook Pro it remains black.
3. When waking the MacBook Pro from sleeping (MacBook Pro in clam-shell) the 30" ACD is "grainy" and the display is not usable and it requires a reboot to solve the problem.
Any help? In addition are there any other displays using mini-display port to mini display port technology?
What about a different monitor; will I still have to use the Dual Link DVI adapter to drive a display with higher than 1920x1200 resolution?
Are there adapters to go from mini-display port to display port?
Thanks,
MikeJust came across your post and i have a couple of suggestions ive noticed with the Dual-Link to Mini-DP with the same configuration.
When working in clamshell mode for example, the 30" will become the MAIN/Default display...So if you open your macbookpro while the 30" is on and the system is running, the screen will remain black because it is in closed mode; basically meaning there is no signal to be sent.
so if you want the display to show up, either restart or put into sleep mode, then wake the system WITH THE LID OPEN.
As for the grainy/static artifacts, its beena reported issue since day 1, not sure waht the fix or issue may be with it but heres a resolution.
Press; SHIFT CONTROL EJECT-KEY all at once, this will disable signal to the monitor, but not shut off the machine...then use your mouse or press a key on the keyboard to wake the display and the grainyness should disappear. -
MacBook Pro Health and safety issue: Potential Burn during normal use
Hi,
I am not a complainer. I worked for Apple of 6+ years and have had a top of the line Apple Notebook since Apple created the concept of the laptop notebook.
I recently experienced a 3rd degree burn using my MacBook Pro that I think Apple needs to warn folks about:
MacBook Pro 17"
Machine Model: MacBookPro1,2
CPU Type: Intel Core Duo
Number Of Cores: 2
CPU Speed: 2.16 GHz
L2 Cache (shared): 2 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP12.0061.B00
Serial Number: ()
SMC Version: 1.5f10
Sudden Motion Sensor:
State: Enabled
I had my laptop on my lap. I was wearing shorts. It noticed that it was warm on my leg where the left side of the MacBook Pro was touching my leg, but it didn't create a reflex pain response.
Upon completing my session, when I closed the machine and put it away, I noticed a 1 inch x .75 inch blister on my leg where it had been touching the MacBook/Pro; and it has turn out to be a significant burn.
I checked all the documentaiton that came with my MacBook Pro and there was no warning about the potential of this situation.
I recommend that Apple let owners know, perhaps through an email or a popup when they visit the Apple site. Lastly, when I encountered this issue, I wasn't running any high performance, compute bound applications. It was email. So, I have to believe that it is possible to detect wait states within the processes running and take the processors to a low power mode of operation when they are not performing actual work. Am I out in left field here?
I want Apple to be successful. I haven't heard of a similar complaint on any of the high performance PC's at work. Beyond a Health and Safety issue, this is also a reputation issue. Better to face into the storm and honestly deal with this issue.
A slightly crisp, but loyal, MacBook Pro user.
Mike Doherty
MacBook Pro Mac OS X (10.4.5) Potential Health and Safety Issue- 3rd degreee burn potential under normal useMike... I do sympathize with your situation but let me correct you:
I recently experienced a 3rd degree burn using my
MacBook Pro
Do you know what a 3rd degree burn is? A 3rd degree burn involves the dermis, and is full thickness involving the subcutaneous tissues and fat underneath your skin layers. This is something that usually happens when man meets fire, electrocution, and chemical burns. A 3rd degree burn is not typically achieved by a simple transfer of energy by conduction, unless extreme heat for an extended period of time.
I had my laptop on my lap. I was wearing shorts. It
noticed that it was warm on my leg where the left
side of the MacBook Pro was touching my leg, but it
didn't create a reflex pain response.
Reflex pain response? Don't try to make up medical terminology. You didn't feel it much like you don't feel the sun when you get a sunburn initially... your skin slowly adjusted to the temperature, and at some point the heat increased over the threshold of which causes damage. You should have gone to the doctor if you were overly concerned.
Upon completing my session, when I closed the machine
and put it away, I noticed a 1 inch x .75 inch
blister on my leg where it had been touching the
MacBook/Pro; and it has turn out to be a significant
burn.
You're right, if you have a 1inch by almost 1 inch heat related blister on your leg, it is bad, nothing that I would consider significant. That is less then 1% of your body, probably about 0.25% to 0.5%, and only a 2nd degree burn. Your most significant complication would be a local skin infection.
I checked all the documentaiton that came with my
MacBook Pro and there was no warning about the
potential of this situation.
Actually... I'd hate to call you a liar, but I'm pretty sure that it does warn about burns.
To confirm this, apple has also information online:
http://docs.info.apple.com/article.html?artnum=30612
I recommend that Apple let owners know, perhaps
through an email or a popup when they visit the Apple
site.
They do... link above.
Lastly, when I encountered this issue, I wasn't
running any high performance, compute bound
applications. It was email. So, I have to believe
that it is possible to detect wait states within the
processes running and take the processors to a low
power mode of operation when they are not performing
actual work. Am I out in left field here?
No, you're definitely not. Here's where I start to agree with you. For the computer to heat up that much, when not doing things like rendering video is abnormal, and you deserve to have apple check out your computer. I think you should contact them on this concern.
I want Apple to be successful. I haven't heard of a
similar complaint on any of the high performance PC's
at work. Beyond a Health and Safety issue, this is
also a reputation issue. Better to face into the
storm and honestly deal with this issue.
It's harder for other manufacturers... our computers are aluminum, designed to disperse the heat. Technically they are considered "portables" not laptops, but I don't get into that argument because I disagree with the word "portable"... it's meant to work on your lap, and if you can't comfortably using regular apps, you deserve an answer.
A slightly crisp, but loyal, MacBook Pro user.
Hey, at least you're taking it with some humor. It's a shame you had to get hurt as a result of your computer. If I were you I would have gone to your Primary Care Physician, documented the burn, and returned your computer for a new one, and for something say, a free iPod for your pain.
Sorry you got hurt, I think you should have your heat issue professionally investigated through apple care -
I am wondering whether anyone might have a solution to this problem. I recently changed servers for my website which means I have to set up my personal account in Mac mail.
I have entered the POP details and password correctly and the same with SMTP. The connection doctor informed me they cannot connect and to check my user name and password. Looking at this posting below I unchecked authentication and, after that, it did connect to the SMTP. But, sadly "please check user name and password" is all I get for the POP.
I have doubled checked all the settings provided to me by my new server. I can access my servers Webmail and my mail is arriving in there. I have four other accounts set up in Mac Mail and no issues there.
Stan in Hartlepool.
Version 10.8.2
David Gimeno Gost
Feb 26, 2007 1:07 PM
Mail Help has some articles devoted to sending problems, e.g. “I can't send email” or “I can't send email because the connection to the server on port 25 timed out”. You may want to take a look at them in case there is something there that applies to you. Something that usually works if you’re trying to use an outgoing (SMTP) server different from the one provided by your ISP (and in the case of .Mac in particular) is changing the outgoing server port to 587 instead of 25 in Preferences > Accounts > Account Information > Outgoing Mail Server > Server Settings. On the other hand, if the outgoing server that doesn’t work is the one provided by your ISP, the problem could be that you’re telling Mail to authenticate, but the outgoing server doesn’t actually require authentication because it can determine who you are by other means.not knowing your hosting service or if your doing it yourself (your own servers)
see if this link can provide you some addtional information as to settings etc
http://support.apple.com/kb/ht1277 -
F2418 prining and scanning issue
I have an HP F2418 all in one printer.
While printing a file the printer stopped mid way.
I had to turn off the printer and restart it. But now when I try to print or scan then all the lights start blinking and I am getting the error message that the printer is offline.
I removed both cartridges and restarted the printer but again all 3 lights start blinking whenever I try to print or scan anything.
What should I do ?Hi SSD1,
Welcome to the HP Forums.
I see that you are having an issue with the printer reading that it is OffLine.
I do have a few suggestions that we can try in the attempt to resolve this issue.
First off, please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
Once the printer is connected to the wall outlet, please use the ON/OFF button to do a proper power cycle. This will do a Semi Power reset on the printer.
I have also located a document that deals with the 'Printer is offline' Message Displays on the Computer and the Printer Does Not Print: Windows 7.
Be sure to give the "Kudos Thumbs up" a click as well as the "Accept as Solution" option on the bottom of my post to show others how to find the answer to the same issue that we have been dealing with. Team Play is the best way!!!
If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
Thanks for your time.
Cheers,
Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
W a t e r b o y 71
I work on behalf of HP -
My Apple Macbook hard drive crashed and I had to replace. Now trying to reload CS5 and having issues. When I click download from Adobe download page, a screen pops up saying "Access Denied". I have serial number, but don't even get to a page to enter. Please help…Thanks!!
Make sure you have cookies enabled and clear your cache. If it continues to fail try using a different browser.
You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
Maybe you are looking for
-
Dear Friends, We are facing a major issue which is as follows: A bill doc was cancelled. The doc flow of the original billing doc shows: Delivery (Archived)-> Sale Invoice (Completed)-> A/cing doc (Not Cleared) The cancelled doc is not coming in the
-
How can I reset an old passed when the system tells me I have wrong birthdate
My iPad is now useless because it is asking for an old passed from an old user id that stopped working a year or so. It was. Bellsouth id and when I go to reset. It tells me I don't have my birthdate correct
-
Why can't I download the songs from my ipod to my compute
I'm getting insanely frustrated right now. I got an ipod about a month ago and was ecstatic. I could finally get the 12 gb of music off my computer (all songs I've taken the time to copy from my own legal cds) and onto my ipod. So I got the new itune
-
Export of the form created in Forms Builder
How to transfer XML form from one portal to another?
-
Lost pictures and documents in restore process
pavilion g7 can this data be recovered by another restore or some other method?