I think your question really comes down to whether there is a statewide statute that regulates proper notice for no parking and there is nothing. Notice simply must be reasonably calculated to give one warning. The City of La Habra believes such a sign is adequate.
In other words, they can issue such a ticket. It certainly does seem like inadequate notice. The city probably receives great revenue from this practice.
In San Francisco, we have something informally known as the "100 foot rule," which means that a no parking sign must be within 100 feet of the space in which you receive a ticket, otherwise it is invalid.
I do not know of such a rule in La Habra, CA. It's not fair at all; I certainly feel for you.