[JBoss JIRA] Created: (RF-4349) fileUpload problem - error message is not displayed
by Hrvoje Jo (JIRA)
fileUpload problem - error message is not displayed
---------------------------------------------------
Key: RF-4349
URL: https://jira.jboss.org/jira/browse/RF-4349
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: jsf, a4j
Reporter: Hrvoje Jo
Hi!
I would like to know is there a way to stop fileUploadListener (fileUpload component) and diplay error message?
E.g.
I would like to upload file only if file with sam name doesn't egsist on server. It would be nice if the validation would be on client side. So I tried to do validation inside of fileUploadListener, but the message (<rich:messages />) is not shown, although the upload is stopped, and message is added.
Is this a bug, or am I doing something wrong? Here is the code
public void processUpload(UploadEvent event) {
UploadItem item = event.getUploadItem();
java.io.File f = item.getFile();
fileList = getFiles();
for (File file : fileList) {
if(item.getFileName().equals(file.getName())){
FacesContext ctx = FacesContext.getCurrentInstance();
//Show message
ctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR,
"error", "error"));
ctx.renderResponse();
return;
}
}
//If file doesn't egsists...
...
There is a post on forum
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141559&start=0&p...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (RF-2289) rich datatable - rendering problem when changing column data using valueChangeListener
by Mike (JIRA)
rich datatable - rendering problem when changing column data using valueChangeListener
--------------------------------------------------------------------------------------
Key: RF-2289
URL: http://jira.jboss.com/jira/browse/RF-2289
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: WinXP, JBoss Portal Server 2.6.2, Sun JDK 1.5, JSF-RI 1.2
Reporter: Mike
The bug here is, that using a rich:datatable not all changed attributes insinde a row get redisplayed.
We use a value change listener on a checkbox inside a rich:datatable like this:
...
<rich:column>
<h:selectBooleanCheckbox id="taxresidualvaluerelevant"
value="#{item.taxResidualValueRelevant}"
valueChangeListener="#{taxesAndFeesController.activeChanged}"
onclick="submit();" />
</rich:column>
....
in the managed bean we manipulate some data in columns of the selected row, and after that we trigger the to render the response
using FacesContext.getCurrentInstance().renderResponse();
The rich:datatable only updates some values in the row (disabled attributes) whereas values don't get redisplayed.
When we select a h:datatable everything works as suspected, but we need to use the rich:datatable for e.g. paging etc.
--
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
17 years, 1 month
[JBoss JIRA] Created: (RF-2990) selectBooleanCheckbox not working after 3.2
by Kulvinder Singh (JIRA)
selectBooleanCheckbox not working after 3.2
-------------------------------------------
Key: RF-2990
URL: http://jira.jboss.com/jira/browse/RF-2990
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jboss, richfaces 3.2 seam 2.0
Reporter: Kulvinder Singh
boolean checkbox with ajax support failed after upgraded to richfaces 3.2
earlier the method was getting called without any problem but now it is not getting called at all
<h:selectBooleanCheckbox value="#{obj.selected}" id="selection" >
<a:support id="selectionSupport" event="onclick" ajaxSingle="true" immediate="true" ></a:support>
</h:selectBooleanCheckbox>
obj.setSelected() was getting called before RF 3.2 but now does nto called
--
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
17 years, 1 month
[JBoss JIRA] Resolved: (RF-358) dragValue not preserved across forms
by Nick Belaevski (JIRA)
[ https://jira.jboss.org/jira/browse/RF-358?page=com.atlassian.jira.plugin.... ]
Nick Belaevski resolved RF-358.
-------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
Resolved together with RF-961. Please check all DnD functionality especially drag/drop values and types processing
> dragValue not preserved across forms
> ------------------------------------
>
> Key: RF-358
> URL: https://jira.jboss.org/jira/browse/RF-358
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: Christian Bauer
> Assignee: Tsikhon Kuprevich
> Priority: Minor
> Fix For: 3.3.0
>
>
> <h:dataTable id="forumCategories"
> value="#{forumCategoryList}" var="forumCategory">
> <h:column>
> <h:form>
> <a:outputPanel styleClass="forumCategoryTitleContainer">
> <rich:dropSupport id="dropZone" acceptedTypes="forumCategory" reRender="forumCategoryForm"
> dropListener="#{forumCategoryHome.drop}" dropValue="#{forumCategory.displayPosition}"/>
> <rich:dragSupport dragIndicator=":boards:rowDragIndicator"
> dragType="forumCategory"
> dragValue="#{forumCategory.displayPosition}">
> <rich:dndParam name="label" type="drag"><h:outputText value="#{forumCategory.title}"/></rich:dndParam>
> </rich:dragSupport>
> <h:outputText value="(#{forumCategory.displayPosition}) #{forumCategory.title}" style="cursor:move" styleClass="forumCategoryTitle"/>
> </a:outputPanel>
> </h:form>
> This renders a table and enables the rendered text in the column for drag and drop between rows. I can drag one row and drop it onto another row. The goal here is to get the dragValue and the dropValue (which are just row numbers) into the forumCategoryHome.drop(DropEvent) method. However, DropEvent.getDragValue() is always null.
> It works if I span a single form across the whole table, instead of a new form for each individual row. This is not what I need though.
> I do not want to use manual setting and parsing of Http request parameters with a:actionparam.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (RF-3789) Attach identical tooltip to multiple controls
by David Harcombe (JIRA)
Attach identical tooltip to multiple controls
---------------------------------------------
Key: RF-3789
URL: http://jira.jboss.com/jira/browse/RF-3789
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: All
Reporter: David Harcombe
Priority: Minor
Fix For: 3.2.2
Attachments: tooltip.patch
We have identified areas of code in our site where we have to use the same tooltip multiple times (for example where a hover help is required to describe a telephone number). This would be easier if one could use a list of ids in the 'for' attribute of the tooltip thus:
<rich:toolTip followMouse="true" for="A,B,C,D">Enter a phone number in the format (999)999-999</rich:toolTip>
This enables help changes without needing to find *all* occurrences of the tooltip.
--
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
17 years, 1 month
[JBoss JIRA] Created: (RF-2846) Firefox does not correct render pages
by Carsten Hoehne (JIRA)
Firefox does not correct render pages
-------------------------------------
Key: RF-2846
URL: http://jira.jboss.com/jira/browse/RF-2846
Project: RichFaces
Issue Type: Feature Request
Reporter: Carsten Hoehne
Priority: Optional
we do have some wired rendering problems using firefox.
Firefox does not render our pages in a correct way when the pages have .xhtml extensions.
See this JIRA issue(created for uploading the screenshots)
What we have done:
1. starting our app.
2. Using Firefox to save the shown page.(This page has a xhtml extension)
3. Starting Firefox with the saved page (while the server is still running) see screenxhtml
4. rename the page to an html extension
5. start firfox with this page see screenhtml
I have not found any solution for this problem for approx 5 month. Now it gets more annoying. Perhaps someone who reads this forum cangive us advice or a pointer.
Ciao,
Carsten
--
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
17 years, 1 month
[JBoss JIRA] Created: (RF-2802) modalPanel is not scrolling
by Uros Majeric (JIRA)
modalPanel is not scrolling
---------------------------
Key: RF-2802
URL: http://jira.jboss.com/jira/browse/RF-2802
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.4
Environment: Debian, JBoss Application Server 4.2.2
Reporter: Uros Majeric
Fix For: 3.1.5
When I display a modalPanel it's to big to show it on one screen.
It would be verry helpful, if there would an attribute with wich one we would tell modalPanel if it scrools with window or not.
And solution:
It works fine if I change some styles with firebug.
My changes (I have a modalPanel with id popupId ):
I moved position: absolute; in div with id popupIdContainer to div with id popupIdCDiv
--
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
17 years, 1 month
[JBoss JIRA] Resolved: (RF-706) Create Demo page with many components, large table with most of the features enabled to demo rendering performance
by Ilya Shaikovsky (JIRA)
[ https://jira.jboss.org/jira/browse/RF-706?page=com.atlassian.jira.plugin.... ]
Ilya Shaikovsky resolved RF-706.
--------------------------------
Resolution: Duplicate Issue
RF-4697
> Create Demo page with many components, large table with most of the features enabled to demo rendering performance
> ------------------------------------------------------------------------------------------------------------------
>
> Key: RF-706
> URL: https://jira.jboss.org/jira/browse/RF-706
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.1.0, 3.2.0, Wishes
> Reporter: Mikhail Grushinskiy
> Assignee: Tsikhon Kuprevich
> Fix For: Wishes
>
>
> Create Demo page with many components, large table with most of the features enabled to demo rendering performance.
> It could be also used for stress testing. Since JSF usually has not great performance with rendering this could be very useful.
> I usually have some problems rendering tables 30 rows * 30 columns when it has many features as AJAXed filters in headers,
> sorting, pagination, grouping. Throwing in resizeable headers and other variety of JSF controls into cells, delete, edit row controls,
> multiple row selection with check boxes, submit button to submit table as a form to the server
> and this is a good real world stress test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (RF-5103) action attribute of components doesn't work after ajax rerendering of container
by Tatyana Romanovich (JIRA)
action attribute of components doesn't work after ajax rerendering of container
-------------------------------------------------------------------------------
Key: RF-5103
URL: https://jira.jboss.org/jira/browse/RF-5103
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Critical
1. Create test page:
add
<h:selectBooleanCheckbox value="#{mainTreeBean.flag}">
<a4j:support event="onclick" reRender="outPanelId"></a4j:support>
</h:selectBooleanCheckbox>
<%-- add container with components --%>
<h:panelGroup id="outPanelId"> <%-- or <a4j:outputPanel id="outPanelId">, or <h:panelGrid id="outPanelId"> --%>
<%-- add any component or use example--%>
<h:commandButton action="#{mainTreeBean.test}" value="click" rendered="#{mainTreeBean.flag}" />
<a4j:commandLink action="#{mainTreeBean.test}" value="Click Here!" rendered="#{mainTreeBean.flag}" />
.....
2. Run application, check checkBox, and try to call method in the action attribute
FAILURE: it doesn't work, action can't be called
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 1 month
[JBoss JIRA] Created: (RF-2974) actionparam assign to doesn't work under MyFaces
by Ilya Shaikovsky (JIRA)
actionparam assign to doesn't work under MyFaces
------------------------------------------------
Key: RF-2974
URL: http://jira.jboss.com/jira/browse/RF-2974
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.1.4
Environment: MyFaces 1.1.5 (RF 3.1.4)
RF 3.2.0 SNAPSHOT, RF 3.1.4 GA
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
<rich:column>
<f:facet name="header">
<h:outputText value="Action" />
</f:facet>
<a4j:commandButton value="Delete" id="del" oncomplete="Richfaces.showModalPanel('panel')">
<t:updateActionListener property="#{capitalsBean.capitalToRemove}" value="#{cap}"/>
</a4j:commandButton>
</rich:column>
works and
<rich:column>
<f:facet name="header">
<h:outputText value="Action" />
</f:facet>
<a4j:commandButton value="Delete" id="del" oncomplete="Richfaces.showModalPanel('panel')">
<a4j:actionparam name="del" assignTo="#{capitalsBean.capitalToRemove}" value="#{cap}"/>
</a4j:commandButton>
</rich:column>
doesn't
--
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
17 years, 1 month