[JBoss JIRA] (RF-12892) Reduce warnings related to RF5 imported to the IDE
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12892?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12892:
----------------------------
Description:
We should analyse those warnings and decide what we can do about them.
Mainly, the errors in richfaces-framework are caused by XML validation of {{*.template.xml}} files.
was:We should analyse those warnings and decide what we can do about them.
> Reduce warnings related to RF5 imported to the IDE
> --------------------------------------------------
>
> Key: RF-12892
> URL: https://issues.jboss.org/browse/RF-12892
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Affects Versions: 5.0.0.Alpha1
> Reporter: Lukáš Fryč
>
> We should analyse those warnings and decide what we can do about them.
> Mainly, the errors in richfaces-framework are caused by XML validation of {{*.template.xml}} files.
--
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
12 years, 12 months
[JBoss JIRA] (RF-12894) The richfaces-framework is not reloadable by JRebel
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-12894:
-------------------------------
Summary: The richfaces-framework is not reloadable by JRebel
Key: RF-12894
URL: https://issues.jboss.org/browse/RF-12894
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: third-party
Affects Versions: 5.0.0.Alpha1
Reporter: Lukáš Fryč
It seems when you compile the framework with CDK, the faces-config.xml is re-generated and re-loaded by JRebel.
However the other configuration files stored in {{META-INF/}} (e.g. [core.faces-config.xml|https://github.com/richfaces/richfaces5/blob/master...]) directly (without CDK processing) are not taken into consideration in reloaded configuration, thus this configuration is ignored. As the result, no Core configuration is loaded and no RichFaces Core feature does work.
----
The JRebel reload and quick turnaround is one of the features we wanted to enable by build re-structure thus I consider this high priority to cooperate with JRebel team and make it work.
--
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
12 years, 12 months
[JBoss JIRA] (RF-12468) Write README and description for new repository
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12468?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12468:
----------------------------
Description:
What should be part of README?
* Project mission
* License
* Build system
* Link to...
** Newsletter / planet.jboss.org
** User Documentation / Forums
** Developer Documentation / Forums
** Issue tracker
** Continuous Integration (Buildhive) / [Build Status|https://buildhive.cloudbees.com/job/richfaces/job/richfaces5/badge/]
** IRC
* How to Build a project
** Prerequisites
*** JDK/Maven
*** Maven settings.xml
** {{mvn install}
* How to Test a project
** {{mvn install -Dintegration=jbossas71 -Dsmoke}}
** link to {{docs/framework-tests.md}}
* How to Developer a project
** IDE settings - link to docs/?
> Write README and description for new repository
> -----------------------------------------------
>
> Key: RF-12468
> URL: https://issues.jboss.org/browse/RF-12468
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Reporter: Lukáš Fryč
> Assignee: Brian Leathem
> Labels: rf5-build
> Fix For: 5.0.0.Alpha1
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> What should be part of README?
> * Project mission
> * License
> * Build system
> * Link to...
> ** Newsletter / planet.jboss.org
> ** User Documentation / Forums
> ** Developer Documentation / Forums
> ** Issue tracker
> ** Continuous Integration (Buildhive) / [Build Status|https://buildhive.cloudbees.com/job/richfaces/job/richfaces5/badge/]
> ** IRC
> * How to Build a project
> ** Prerequisites
> *** JDK/Maven
> *** Maven settings.xml
> ** {{mvn install}
> * How to Test a project
> ** {{mvn install -Dintegration=jbossas71 -Dsmoke}}
> ** link to {{docs/framework-tests.md}}
> * How to Developer a project
> ** IDE settings - link to docs/?
--
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
12 years, 12 months
[JBoss JIRA] (RF-12887) Nodes with types that are not listed in <rich:treeNode> are not rendered
by Sergey Suvorov (JIRA)
[ https://issues.jboss.org/browse/RF-12887?page=com.atlassian.jira.plugin.s... ]
Sergey Suvorov commented on RF-12887:
-------------------------------------
Backing bean:
public class BaseTreeBean implements Serializable {
protected TreeNode rootNode;
public BaseTreeBean() {
DemoTreeNodeData rootNodeData = new DemoTreeNodeData( "rootNode" );
this.rootNode = new DataHolderTreeNodeImpl( null, "root", false, rootNodeData );
TreeNode node1 = new DataHolderTreeNodeImpl( this.rootNode, "1", false, new DemoTreeNodeData();
TreeNode node11 = new DataHolderTreeNodeImpl( node1, "1_1", false, new DemoTreeNodeData() );
TreeNode node12 = new DataHolderTreeNodeImpl( node1, "1_2", false, new DemoTreeNodeData() );
TreeNode node13 = new DataHolderTreeNodeImpl( node1, "1_3", false, new DemoTreeNodeData() );
new DataHolderTreeNodeImpl( node11, "11_1", true, new DemoTreeNodeData() );
new DataHolderTreeNodeImpl( node11, "11_2", true, new DemoTreeNodeData() );
new DataHolderTreeNodeImpl( node12, "22_1", true, new DemoTreeNodeData() );
new DataHolderTreeNodeImpl( node12, "22_2", true, new DemoTreeNodeData() );
new DataHolderTreeNodeImpl( node13, "33_1", true, new DemoTreeNodeData() );
}
public TreeNode getRootNode() {
return this.rootNode;
}
}
Data holder classes
public class DemoDataHolder extends DataHolderTreeNodeImpl {
public DemoDataHolder() {
super();
}
public DemoDataHolder( final boolean leaf, final AbstractTreeNodeData data ) {
this( null, null, leaf, data );
}
public DemoDataHolder( final TreeNode parent, final Object key ) {
this( parent, key, true, null );
}
public DemoDataHolder( final TreeNode parent, final Object key, final boolean leaf, final AbstractTreeNodeData data ) {
super( parent, key, leaf, data );
if ( getData() != null ) {
if ( ( getData().getLabel() == null ) && ( getData().getName() == null ) ) {
getData().setName( ( key.toString() ) );
}
if ( key != null ) {
getData().setExpanded( key.toString().startsWith( "1" ) );
getData().setType( key.toString() );
}
}
}
@Override
public String toString() {
return getData().getLabel();
}
}
public class DataHolderTreeNodeImpl extends TreeNodeImpl {
private AbstractTreeNodeData data;
private TreeNode parent;
public DataHolderTreeNodeImpl() {
super();
}
public DataHolderTreeNodeImpl( final boolean leaf, final AbstractTreeNodeData data ) {
this( null, null, leaf, data );
}
public DataHolderTreeNodeImpl( final TreeNode parent, final Object key, final boolean leaf ) {
this( parent, key, leaf, null );
}
public DataHolderTreeNodeImpl( final TreeNode parent, final Object key ) {
this( parent, key, true, null );
}
public DataHolderTreeNodeImpl( final TreeNode parent, final Object key, final boolean leaf,
final AbstractTreeNodeData data ) {
super( leaf );
this.parent = parent;
if ( this.parent != null ) {
parent.addChild( key, this );
}
this.data = data;
if ( getData() != null ) {
if ( ( getData().getLabel() == null ) && ( getData().getName() == null ) ) {
getData().setName( ( key.toString() ) );
}
if ( key != null ) {
getData().setExpanded( key.toString().startsWith( "1" ) );
getData().setType( key.toString() );
}
}
}
public AbstractTreeNodeData getData() {
return this.data;
}
public void setData( final AbstractTreeNodeData data ) {
this.data = data;
}
public TreeNode getParent() {
return this.parent;
}
public void setParent( final TreeNode parent ) {
this.parent = parent;
}
}
Tree node data classes
public class DemoTreeNodeData extends AbstractTreeNodeData {
private static final long serialVersionUID = 1725923477252098882L;
private static final PresentationLogger log = LoggerFactory.createLogger( DemoTreeNodeData.class );
private static final String ICON = "/images/tree/folder.png";
private static final String ICON_LEAF = "/images/tree/pdf-document.png";
private boolean visible = true;
public DemoTreeNodeData() {
this( null, true, null );
}
public DemoTreeNodeData( final String label ) {
this( label, true, null );
}
public DemoTreeNodeData( final String label, final boolean draggable, final Menu menu ) {
super( label, null );
setIcon( ICON );
setIconLeaf( ICON_LEAF );
}
public DemoTreeNodeData( final String label, final Menu menu ) {
this( label, true, menu );
}
public boolean isVisible() {
return this.visible;
}
public void setVisible( final boolean visible ) {
this.visible = visible;
}
@Override
public String toString() {
return getLabel();
}
}
public abstract class AbstractTreeNodeData implements Serializable {
private static final long serialVersionUID = 4265239470205397789L;
private String label;
private String name;
private String icon;
private String iconLeaf;
private boolean expanded;
private String type;
public AbstractTreeNodeData() {
super();
}
public AbstractTreeNodeData( final String label, final String icon ) {
this();
this.label = label;
this.icon = icon;
}
public String getType() {
return this.type;
}
public void setType( final String type ) {
this.type = type;
}
public String getLabel() {
if ( null == this.label ) {
return getName();
}
return this.label;
}
public void setLabel( final String label ) {
this.label = label;
}
public String getName() {
return this.name;
}
public void setName( final String name ) {
this.name = name;
}
public String getIcon() {
return this.icon;
}
public void setIcon( final String icon ) {
this.icon = icon;
}
public String getIconLeaf() {
if ( null == this.iconLeaf ) {
return getIcon();
} else {
return this.iconLeaf;
}
}
public void setIconLeaf( final String iconLeaf ) {
this.iconLeaf = iconLeaf;
}
public boolean isExpanded() {
return this.expanded;
}
public void setExpanded( final boolean expanded ) {
this.expanded = expanded;
}
}
> Nodes with types that are not listed in <rich:treeNode> are not rendered
> ------------------------------------------------------------------------
>
> Key: RF-12887
> URL: https://issues.jboss.org/browse/RF-12887
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 4.3.0.Final
> Environment: RichFaces 4.3.0.Final and JSF 2.2
> JBoss AS 7.1.1.Final
> Reporter: Sergey Suvorov
> Priority: Minor
> Labels: waiting_on_user
>
> When using attribute "type" of <rich:treeNode> nodes with different types are not rendered. In the following tree only nodes with types "1", "2" and "1_1" will be rendered
> {code}
> <rich:tree id="tree" nodeType="#{item.data.type}" var="item" value="#{backingBean.rootNode}" toggleType="client" selectionType="ajax">
> <rich:treeNode type="1">
> #{item.data.label}
> </rich:treeNode>
> <rich:treeNode type="2">
> #{item.data.label}
> </rich:treeNode>
> <rich:treeNode type="1_1">
> #{item.data.label}
> </rich:treeNode>
> </rich:tree>
> {code}
--
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
12 years, 12 months
[JBoss JIRA] (RF-12885) Drag indicator inside popup panel, react to the drop area underneath the popup panel
by Thang Pham (JIRA)
[ https://issues.jboss.org/browse/RF-12885?page=com.atlassian.jira.plugin.s... ]
Thang Pham updated RF-12885:
----------------------------
Attachment: RFDrag.zip
Sample code to reproduce this problem. Deploy this maven web application, we will see a text, a drop target, and a link.
1. Drag the text to the drop target, work great. See the server log, it shows that the listener is invoking.
2. Click on the link, it open up a popup panel. Notice how the drop target box inside the popup panel is overlapped with the first drop target box. Slowly drag text "value B" to the drop target box.
Observe: The drag indicator turn green when get inside the box, but if I drag further inside, it turn red (as it overlap the underneath drop target it turn red). If you drop it here, it will not invoke the listener method.
> Drag indicator inside popup panel, react to the drop area underneath the popup panel
> ------------------------------------------------------------------------------------
>
> Key: RF-12885
> URL: https://issues.jboss.org/browse/RF-12885
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-drag/drop
> Affects Versions: 4.2.3.Final
> Reporter: Thang Pham
> Labels: waiting_on_user
> Attachments: RFDrag.zip
>
>
> If I have a drop area inside a popup panel, the drag indicator also react to the drop area right underneath the popup panel. I think this should not be the case.
> If the drop area right underneath does not allow type X of drag, It does not allow the drop area inside the
> popup panel to be drop by type X as well.
--
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
12 years, 12 months