[JBoss JIRA] Created: (RF-3372) fileUpload: java.lang.NumberFormatException take palce in case user upload file with such name: &.txt
by Mikhail Vitenkov (JIRA)
fileUpload: java.lang.NumberFormatException take palce in case user upload file with such name: &.txt
--------------------------------------------------------------------------------------------------------
Key: RF-3372
URL: http://jira.jboss.com/jira/browse/RF-3372
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE,FF,Opera, Safari(3.2.1.CR3)
Reporter: Mikhail Vitenkov
Assigned To: Andrei Markavtsov
Create "&" txt file & upload it through the rich:fileUpload component.
Actual behavior:
File is uploaded, but following exception take place:
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NumberFormatException: For input string: "dst.jpg"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at org.ajax4jsf.request.MultipartRequest.decodeFileName(MultipartRequest.java:300)
at org.ajax4jsf.request.MultipartRequest.parseFileName(MultipartRequest.java:561)
at org.ajax4jsf.request.MultipartRequest.parseParams(MultipartRequest.java:550)
at org.ajax4jsf.request.MultipartRequest.parseRequest(MultipartRequest.java:368)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:330)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
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
15 years, 10 months
[JBoss JIRA] Created: (RF-3510) toolTip: JS API doesn't work for toolTip, which doesn't contain parent component.
by Mikhail Vitenkov (JIRA)
toolTip: JS API doesn't work for toolTip, which doesn't contain parent component.
---------------------------------------------------------------------------------
Key: RF-3510
URL: http://jira.jboss.com/jira/browse/RF-3510
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE, FF, Safari, Opera(3.2.1.CR5)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Add rich:toolTip on the page:
<rich:toolTip id="tooltipIDTest" value="#{tooltip.value}" mode="#{tooltip.mode}" styleClass="#{style.styleClass}" style="#{style.style}"
hideDelay="#{tooltip.hideDelay}" showDelay="#{tooltip.showDelay}" layout="#{tooltip.layout}"
horizontalOffset="#{tooltip.horizontalOffset}" verticalOffset="#{tooltip.verticalOffset}" followMouse="#{tooltip.followMouse}"
direction="#{tooltip.direction}" disabled="#{tooltip.disabled}" rendered="#{tooltip.rendered}"
event="#{tooltip.event}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}" onhide="#{event.onhide}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onshow="#{event.onshow}">
<h:graphicImage id="pricsID" value="/pics/ajax_process.gif"></h:graphicImage>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
</rich:toolTip>
Step 2. Add "show" JS API functionality:
<a4j:commandLink onclick="$('formID:tooltipSubviewID:toolTipIDTest').component.show(event)" value="show"></a4j:commandLink>
Step 3. Click on "show" ajax link.
Actual behavior:
toolTip doesn't appear.
--
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
15 years, 10 months
[JBoss JIRA] Created: (RF-2835) Calendar control sets the time in the backing bean value only if you select first the time and after that the date and not if otherwise.
by Mario Balaban (JIRA)
Calendar control sets the time in the backing bean value only if you select first the time and after that the date and not if otherwise.
-----------------------------------------------------------------------------------------------------------------------------------------
Key: RF-2835
URL: http://jira.jboss.com/jira/browse/RF-2835
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Jboss 4.2.2GA
Reporter: Mario Balaban
<rich:calendar id="scheduleCalendar"
value="#{definitionManager.scheduledDate}" popup="false"
datePattern="d/M/yy HH:mm" showApplyButton="true" >
<a4j:support event="ontimeselect" reRender="scheduleCalendar" />
</rich:calendar>
<a4j:commandButton value="Submit"
action="#{definitionManager.schedule}">
<a4j:support event="onclick"
onsubmit="new Effect.BlindUp($('mainForm:bubox'), {duration:.3});" />
</a4j:commandButton>
When you click on some date the selected date and time (12:00 and not the current) appears in the footer facet of the control. If you try to change the time the new value is rendered in the footer but is not set in the backing bean value when you click the "Submit" button, instead 12:00 is always set. Otherwise if you first select the time and only after that select the day and click the "Submit" button, the backing bean value have date and time correctly assigned.
--
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
15 years, 10 months
[JBoss JIRA] Created: (RF-1969) OrderingList and ListShuttle: selection under plain skin
by Tsikhon Kuprevich (JIRA)
OrderingList and ListShuttle: selection under plain skin
--------------------------------------------------------
Key: RF-1969
URL: http://jira.jboss.com/jira/browse/RF-1969
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: JSF 1.2
JRE 1.5
tomcat 6
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
First.
1. Set plain skin.
2. Click any row.
=> Frame appears around the row.
3. Ctrl+click this row.
=> Nothing changes in the row appearance. Buttons are disabled and selection doesn't work.
Second.
On Shift+click impossible to see what rows has been selected.
Third.
When using buttons to move the selected row the row's border disappears and it is very difficult to see what row is being moved. It doesn't happen when using Ctrl+up/down keyboard keys.
--
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
15 years, 10 months
[JBoss JIRA] Created: (RF-3573) columns: changed data isn't rendered under Safari. So impossible to add or remove some columns or rows.
by Mikhail Vitenkov (JIRA)
columns: changed data isn't rendered under Safari. So impossible to add or remove some columns or rows.
-------------------------------------------------------------------------------------------------------
Key: RF-3573
URL: http://jira.jboss.com/jira/browse/RF-3573
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Safari(3.2.1.CR8)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
There are two input fields on the page, that define number of lines & rows in dataTable with rich:columns inside.
Step 1. Use following code to add input fields:
<h:outputText value="Enter quantity of lines [data 1]" />
<h:panelGroup>
<h:inputText value="#{columns.length1}" />
<h:commandButton action="#{columns.addNewItem1}" value="ok" onclick="submit();"></h:commandButton>
</h:panelGroup>
<h:outputText value="Enter quantity of lines [data 2]" />
<h:panelGroup>
<h:inputText value="#{columns.length2}" />
<h:commandButton action="#{columns.addNewItem2}" value="ok" onclick="submit();"></h:commandButton>
Step 2. See addNewItem1 & addNewItem2 methods in Java bean:
public void addNewItem1() {
if (length1 < 0)
length1 = 0;
if (data1.size() > length1)
for (int i = length1; i < data1.size();)
data1.remove(i);
else
for (int i = data1.size() + 1; i <= length1; i++)
data1.add(new Data(i, "data 1 [" + i + "]", "Button " + i, "Link " + i, "select" + (i % 5)));
}
public void addNewItem2() {
if (length2 < 0)
length2 = 0;
if (data2.size() > length2)
for (int i = length2; i < data2.size();)
data2.remove(i);
else
for (int i = data1.size() + 1; i <= length2; i++)
data2.add(new Data(i, "data 1 [" + i + "]", "Button " + i, "Link " + i, "select" + (i % 5)));
}
Step 3. See code of rich:dataTable with dynamic columns inside:
<rich:columns value="#{columns.data2}" var="d2" ... columns="#{columns.columns}" index="index" ...>
<f:facet name="header">
<h:outputText value="header #{d2.int0}"></h:outputText>
</f:facet>
<h:outputText value="#{index}. "></h:outputText>
<h:outputText value="#{d1.str0}, "></h:outputText>
<h:outputText value="#{d2.str0}"></h:outputText>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
<f:facet name="footer">
<h:outputText value="footer #{d2.int0}"></h:outputText>
</f:facet>
</rich:columns>
</rich:dataTable>
Step 4. Navigate to page & verify number of dataTable rows & columns.
Step 5. Change data for two input fields , described above & press "ok".
Step 6. Verify verify number of dataTable rows & columns again.
Actual behavior:
Number of columns & rows remains previous. Everything works fine under FF, IE & other browsers, except Safari.
--
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
15 years, 10 months
[JBoss JIRA] Created: (RF-1620) componentControl: does not transmit parametres in condextMenu
by Aleksej Yanul (JIRA)
componentControl: does not transmit parametres in condextMenu
-------------------------------------------------------------
Key: RF-1620
URL: http://jira.jboss.com/jira/browse/RF-1620
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: jsp
tomcat 6.0.13
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
<rich:contextMenu id="ccContextMenuID" submitMode="ajax" onexpand="alert(event.parameters.name)">
<rich:menuItem icon="/pics/header.png" value="tab1">
</rich:menuItem>
\ <rich:componentControl event="oncontextmenu" attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID" operation="show" />
<h:commandButton id="aaaa" value="sdsafsa" >
<rich:componentControl for="ccContextMenuID" event="onclick" disableDefault="true" operation="expand" params="name:'ssss'"/>
</h:commandButton>
--
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
15 years, 10 months