|
List Info
Thread: Created: (JBSEAM-1565) error in observer example
|
|
| Created: (JBSEAM-1565) error in
observer example |
  United States |
2007-06-27 12:21:22 |
error in observer example
-------------------------
Key: JBSEAM-1565
URL: http://
jira.jboss.com/jira/browse/JBSEAM-1565
Project: JBoss Seam
Issue Type: Patch
Components: Documentation
Affects Versions: 2.0.0.BETA1, 1.3.0.ALPHA
Reporter: Dan Allen
Attachments: JBSEAM-1565-v1.txt
The example in the Factory Manager and Components section
regarding the HenHouse has several errors. The first two
observer methods make use of a parameter, hen, that is not
specified in the method definition. The last observer
method is a duplicate of the first, which would not compile
and whose name doesn't make sense in the context anyway.
The patch included in this report corrects the example so
that it appears as such:
...
Observer({"chickBorn",
"chickenBoughtAtMarket"})
public addHen(Hen hen) {
hens.add(hen);
}
Observer("chickenSoldAtMarket")
public removeHen(Hen hen) {
hens.remove(hen);
}
Observer("foxGetsIn")
public noMoreHens() {
hens.clear();
}
...
By the way, I love this example. It is fun to read and easy
to relate to. Nice work!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Updated: (JBSEAM-1565) error in
observer example |
  United States |
2007-06-27 12:21:22 |
[ http://jira.jboss.com/jira/browse/JBSEAM-1565?page=all
]
Dan Allen updated JBSEAM-1565:
------------------------------
Attachment: JBSEAM-1565-v1.txt
> error in observer example
> -------------------------
>
> Key: JBSEAM-1565
> URL: http://
jira.jboss.com/jira/browse/JBSEAM-1565
> Project: JBoss Seam
> Issue Type: Patch
> Components: Documentation
> Affects Versions: 1.3.0.ALPHA, 2.0.0.BETA1
> Reporter: Dan Allen
> Attachments: JBSEAM-1565-v1.txt
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> The example in the Factory Manager and Components
section regarding the HenHouse has several errors. The
first two observer methods make use of a parameter, hen,
that is not specified in the method definition. The last
observer method is a duplicate of the first, which would not
compile and whose name doesn't make sense in the context
anyway.
> The patch included in this report corrects the example
so that it appears as such:
> ...
> Observer({"chickBorn",
"chickenBoughtAtMarket"})
> public addHen(Hen hen) {
> hens.add(hen);
> }
> Observer("chickenSoldAtMarket")
> public removeHen(Hen hen) {
> hens.remove(hen);
> }
> Observer("foxGetsIn")
> public noMoreHens() {
> hens.clear();
> }
> ...
> By the way, I love this example. It is fun to read and
easy to relate to. Nice work!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Updated: (JBSEAM-1565) error in
observer example |
  United States |
2007-06-27 12:35:57 |
[ http://jira.jboss.com/jira/browse/JBSEAM-1565?page=all
]
Pete Muir updated JBSEAM-1565:
------------------------------
Assignee: Pete Muir
Priority: Trivial (was: Major)
> error in observer example
> -------------------------
>
> Key: JBSEAM-1565
> URL: http://
jira.jboss.com/jira/browse/JBSEAM-1565
> Project: JBoss Seam
> Issue Type: Patch
> Components: Documentation
> Affects Versions: 1.3.0.ALPHA, 2.0.0.BETA1
> Reporter: Dan Allen
> Assigned To: Pete Muir
> Priority: Trivial
> Fix For: 2.0.0.CR1
>
> Attachments: JBSEAM-1565-v1.txt
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> The example in the Factory Manager and Components
section regarding the HenHouse has several errors. The
first two observer methods make use of a parameter, hen,
that is not specified in the method definition. The last
observer method is a duplicate of the first, which would not
compile and whose name doesn't make sense in the context
anyway.
> The patch included in this report corrects the example
so that it appears as such:
> ...
> Observer({"chickBorn",
"chickenBoughtAtMarket"})
> public addHen(Hen hen) {
> hens.add(hen);
> }
> Observer("chickenSoldAtMarket")
> public removeHen(Hen hen) {
> hens.remove(hen);
> }
> Observer("foxGetsIn")
> public noMoreHens() {
> hens.clear();
> }
> ...
> By the way, I love this example. It is fun to read and
easy to relate to. Nice work!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
| Closed: (JBSEAM-1565) error in observer
example |
  United States |
2007-06-27 12:35:58 |
[ http://jira.jboss.com/jira/browse/JBSEAM-1565?page=all
]
Pete Muir closed JBSEAM-1565.
-----------------------------
Fix Version/s: 2.0.0.CR1
Resolution: Done
Thanks!
> error in observer example
> -------------------------
>
> Key: JBSEAM-1565
> URL: http://
jira.jboss.com/jira/browse/JBSEAM-1565
> Project: JBoss Seam
> Issue Type: Patch
> Components: Documentation
> Affects Versions: 1.3.0.ALPHA, 2.0.0.BETA1
> Reporter: Dan Allen
> Assigned To: Pete Muir
> Priority: Trivial
> Fix For: 2.0.0.CR1
>
> Attachments: JBSEAM-1565-v1.txt
>
> Original Estimate: 5 minutes
> Remaining Estimate: 5 minutes
>
> The example in the Factory Manager and Components
section regarding the HenHouse has several errors. The
first two observer methods make use of a parameter, hen,
that is not specified in the method definition. The last
observer method is a duplicate of the first, which would not
compile and whose name doesn't make sense in the context
anyway.
> The patch included in this report corrects the example
so that it appears as such:
> ...
> Observer({"chickBorn",
"chickenBoughtAtMarket"})
> public addHen(Hen hen) {
> hens.add(hen);
> }
> Observer("chickenSoldAtMarket")
> public removeHen(Hen hen) {
> hens.remove(hen);
> }
> Observer("foxGetsIn")
> public noMoreHens() {
> hens.clear();
> }
> ...
> By the way, I love this example. It is fun to read and
easy to relate to. Nice work!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira
_______________________________________________
jbossseam-issues mailing list
jbossseam-issues lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|