[richfaces-issues] [JBoss JIRA] (RF-13052) popupPanel: @visualOptions does not work

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Aug 13 05:36:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-13052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796470#comment-12796470 ] 

Lukáš Fryč commented on RF-13052:
---------------------------------

>From the code it seems the attribute is implemented in Java:

{code}
src/main/java/org/richfaces/ui/output/popupPanel/PopupPanelBaseRenderer.java
98:                Map<String, Object> visualOptions = (Map<String, Object>) getHandledVisualOptions(panel);
105:                        visualOptions.put(key, entry.getValue());
159:            Iterator<Map.Entry<String, Object>> it = ((Map<String, Object>) getHandledVisualOptions(panel)).entrySet()
210:    public Map<String, Object> getHandledVisualOptions(UIComponent component) {
212:        String options = panel.getVisualOptions();
214:        result = prepareVisualOptions(options, panel);
222:    private Map<String, Object> prepareVisualOptions(Object value, AbstractPopupPanel panel) {
238:            throw new FacesException("Attribute visualOptions of component ["

src/main/java/org/richfaces/ui/output/popupPanel/popupPanel.template.xml
101:                    attributes="width height minWidth minHeight maxWidth maxHeight moveable followByScroll left top zindex shadowDepth shadowOpacity domElementAttachment show keepVisualState autosized resizeable modal overlapEmbedObjects visualOptions " />
109:                    getHandledVisualOptions(component))});

src/main/java/org/richfaces/ui/output/popupPanel/AbstractPopupPanel.java
55:    public abstract String getVisualOptions();
{code}


but it seems it not handled on client-side.

So it can be either left-over or wrongly-implemented.

----

Let's investigate how visualOptions was used in RF3 and see whether its functionality is replaced in RF4 by other attributes.
                
> popupPanel: @visualOptions does not work
> ----------------------------------------
>
>                 Key: RF-13052
>                 URL: https://issues.jboss.org/browse/RF-13052
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 5.0.0.Alpha1
>         Environment: RichFaces 5.0.0-SNAPSHOT
>            Reporter: Jiří Štefek
>             Fix For: 4.3.4, 5-Tracking
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> Setting @visualOptions doesn't work. Tried both settings from https://issues.jboss.org/browse/RF-2464 or https://issues.jboss.org/browse/RF-5239 
> e.g.: 'left:1px'
> OR
> Is this attribute a leftover from older versions of RF (RF-3) and was replaced by attributes @*width, @*height and @style* ?
> ALSO UPDATE VDL-DOC in both cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list