[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-398) @Redirect, @HttpError, etc, break when the occur inside EL evaluation
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-398?page=all ]
Gavin King closed JBSEAM-398.
-----------------------------
Fix Version/s: 1.1.6.GA
Resolution: Done
Already fixed in 1.1.6.
> @Redirect, @HttpError, etc, break when the occur inside EL evaluation
> ---------------------------------------------------------------------
>
> Key: JBSEAM-398
> URL: http://jira.jboss.com/jira/browse/JBSEAM-398
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.0.BETA1
> Reporter: Gavin King
> Assigned To: Gavin King
> Fix For: 1.1.6.GA
>
>
> Not sure if this can be fixed, but when a component calls another component via EL, and an exception occurs that Seam is supposed to handle, it instead gets wrapped in one of those awful ELExceptions.
--
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.atlassian.com/software/jira
19 years, 1 month
[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-129) JSF SelectItems automatic Converter creation using a @Selectable annotation
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-129?page=all ]
Gavin King closed JBSEAM-129.
-----------------------------
Resolution: Out of Date
Assignee: Pete Muir
Pete Muir's stuff supercedes this old issue.
> JSF SelectItems automatic Converter creation using a @Selectable annotation
> ---------------------------------------------------------------------------
>
> Key: JBSEAM-129
> URL: http://jira.jboss.com/jira/browse/JBSEAM-129
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Environment: Jboss Application Server using Myfaces jsf and Seam from CVS
> Reporter: James Salt
> Assigned To: Pete Muir
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> The entity class annotated with @Selectable would have to have an @Id attribute and a attribute annotated with something like @SelectionName for the displayed name of the object in the selectItems.
> The converters for each @Selectable entity could be created and cached at seam scanner time for each entity component that had @Selectable annotation. This scanner task would also need to dynamically register the converters with jsf/myfaces which I believe is possible using the myfaces Application class (don't know about the RI implementation).
> The user would be responsible for the creation of the list of objects (Seam supplying a static method to convert a list of objects to a list of select items), then the converters would deal with converting the selected item back to the object using a direct database lookup.
> As mentioned in the below thread, the object marked as @Selectable would need to implement a custom equals operation (being careful about @Datamodel update issues), so that myfaces could validate it correctly.
> For reverese engineering purposes, anything that has a field of a certain object would infer that that object is selectable, then the user could customise which field is used for the @Selectionname annotation. This would be very valuable when reverse engineering, and would remove a significant coding burden from the Seam developer.
--
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.atlassian.com/software/jira
19 years, 1 month
[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-331) NPE in PageContext.getCurrentReadableMap() and PageContext.getCurrentWritableMap(), using others PhaseListeners
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-331?page=all ]
Gavin King closed JBSEAM-331.
-----------------------------
Resolution: Out of Date
Assignee: Gavin King
> NPE in PageContext.getCurrentReadableMap() and PageContext.getCurrentWritableMap(), using others PhaseListeners
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-331
> URL: http://jira.jboss.com/jira/browse/JBSEAM-331
> Project: JBoss Seam
> Issue Type: Patch
> Components: JSF
> Environment: JBoss 4.0.4-GA, JBoss Seam 1.0.1-GA, Ajax4Jsf 1.0 rc4
> Reporter: Luiz Augusto Ruiz
> Assigned To: Gavin King
>
> SeamPhaseListener.afterPhase() invokes Lifecycle.setPhaseId(null) after the phase INVOKE_APPLICATION(5). If exists other PhaseListener that is called after SeamPhaseListener, and use a variable, when the methods PageContext.getCurrent [Readable/Writeble] Map() are called the Null Pointer Exception occurs.
> The patch checks for null PhaseId before use it.
> ----------------------------
> private Map getCurrentReadableMap()
> {
> PhaseId phaseId = Lifecycle.getPhaseId();
> if (null == phaseId) {
> return nextPageMap;
> }
> return phaseId.compareTo(PhaseId.INVOKE_APPLICATION) > 0 ?
> nextPageMap : previousPageMap;
> }
> private Map getCurrentWritableMap()
> {
> PhaseId phaseId = Lifecycle.getPhaseId();
> if (null == phaseId) {
> return nextPageMap;
> }
> return phaseId.compareTo(PhaseId.INVOKE_APPLICATION) < 0 ?
> previousPageMap : nextPageMap;
> }
> -------------------------------------
--
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.atlassian.com/software/jira
19 years, 1 month