of Sohier Park . . since the adoption of said Ordinance . . . These allegations, that they were members of a limited class discriminated against by the ordinance, were sufficient under our cases to give them standing to challenge the ordinance in the trial court. See Fitzgerald v. Baxter State Park Authority, supra, 385 A.2d at 197 (1978).
The Defendant, York Beach Village Corporation, in its answer, neither admitted nor denied those allegations, and that, under our rules, constituted a denial thereof. M.R.Civ.P. 8(b). At trial, Plaintiffs McNi-cholas and Wyman testified that they were in fact divers who utilized the park prior to enactment of the ordinance; the Defendant did not challenge this testimony in any way. However, Plaintiff Arnstein never testified at the trial nor is there any other evidence in the record which remotely suggests that he was affected by the ordinance in any way.
Nevertheless, Plaintiff Arnstein purports to appeal from the judgment of the Superi- or Court. We hold that he is without standing to do so, and that his lack of standing goes to the very jurisdiction of this court to hear his appeal. Walsh v. City of Brewer, Me,, 315 A.2d 200 (1974).
The jurisdictional statute covering appeals to the Law Court, 14 M.R.S.A. § 1851, requires that the appellant be aggrieved by the judgment or order appealed from.3
For aggrievance by a judgment or order, such judgment or order must operate prejudicially and directly upon a party’s property, pecuniary or personal rights.
Jamison v. Shepard, Me., 270 A.2d 861, 862-863 (1970). See also Desmond v. Persina, Me., 381 A.2d 633, 637-639 (1978), 2 Field, McKusick & Wroth, Maine Civil Practice, § 72.2a (1977 Supp.). Where, as here, the rights asserted are those of named Plaintiffs, we hold that the facts giving rise to the right to challenge a law operating against those rights must not only be pleaded, but must also be proved.4 See *222 East Chestnut Street Corp. v. Board of Appeals of City of Chicago, 14 Ill.2d 190, 152 N.E.2d 465 (1958), Haines v. Rural High School Dist. No. 3,* 171 Kan. 271, 232 P.2d 437 (1951).
Although the allegations of the complaint gave Plaintiff Arnstein standing to challenge the ordinance in the trial court, his failure to appear at trial or otherwise prove he was affected by the ordinance caused him to lose the right to appeal to this court.5 His appeal must therefore be dismissed.
11(a)
We now proceed to determine the issues appropriately raised by the appeals of Plaintiffs McNicholas and Wyman. Their appeals purport to challenge the constitutionality of the entire ordinance, at least insofar as it distinguishes between divers and other users of the park. However, we conclude that the only issue before us is the constitutionality of the $25.00 annual permit fee imposed upon divers. That fee is not part of the ordinance, but rather is set pursuant to section 1(B) of the ordinance by the municipal corporation’s Board of Overseers.
At common law, declaratory relief was generally unavailable but Maine’s adoption of the Uniform Declaratory Judgment Act, 14 M.R.S.A. § 5951 et seq., offered a new procedural vehicle to invoke the judicial machinery in an otherwise proper case, However, in order to obtain de
3
This statute, governing who may appeal, is to be distinguished from 4 M.R.S.A. § 57, another jurisdictional statute, which governs the types of cases we may hear. Cf. In Re Adoption of Bragg, Me., 384 A.2d 435 (1978).
4
We have no occasion here to address, and we therefore suggest no opinion on whether the same rule would necessarily apply to all members of a class in a class action proceeding under M.R.Civ.P. 23.
5
.Although the parties to a suit may not stipulate to the court’s jurisdiction when there is in fact none, nothing in this opinion is intended to prevent factual stipulations which demonstrate a plaintiff’s standing. See Fitzgerald v. Baxter State Park Authority, supra, 385 A.2d at 197.