[JBoss JIRA] Created: (RF-5849) Ajax: timed out requests kill status
by Nick Belaevski (JIRA)
Ajax: timed out requests kill status
------------------------------------
Key: RF-5849
URL: https://jira.jboss.org/jira/browse/RF-5849
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 3.3.1
1.
<a4j:status startText="...start..." stopText="stop"/><br />
<a4j:commandLink timeout="10" action="#{forum5Bean.test}" value="Kill!" eventsQueue="a"/><br />
<a4j:commandLink value="Normal" action="#{forum5Bean.test}" eventsQueue="ab"/>
public void test() throws Exception {
System.out.println("forum5Bean.test()");
Thread.sleep(1000);
}
2. Click "kill!" link
3. Click "Normal" link -> status no more shows activity, thus request was sent
--
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
16 years, 11 months
[JBoss JIRA] Created: (RF-6664) graphValidator: message level change it state during update field, verified by ajaxValidator.
by Mikhail Vitenkov (JIRA)
graphValidator: message level change it state during update field, verified by ajaxValidator.
---------------------------------------------------------------------------------------------
Key: RF-6664
URL: https://jira.jboss.org/jira/browse/RF-6664
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: IE7, IE8, FF 3.0.7, Safari 3.1, Opera 9.62, Chrome 1.0.154.43(3.3.1.BETA2)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Minor
#1. Add dataTable, verified by graphValidator(each field in table validated by ajaxValidator):
<h:form>
<rich:messages id="richMessagesID" ajaxRendered="true" showSummary="true">
<f:facet name="errorMarker">
<h:graphicImage url="/pics/error.gif" />
</f:facet>
<f:facet name="fatalMarker">
<h:graphicImage url="/pics/fatal.gif" />
</f:facet>
<f:facet name="infoMarker">
<h:graphicImage url="/pics/info.gif" />
</f:facet>
<f:facet name="warnMarker">
<h:graphicImage url="/pics/warn.gif" />
</f:facet>
<f:facet name="passedMarker">
<h:graphicImage url="/pics/passed.gif" />
</f:facet>
</rich:messages>
<h2>Input fields with label and message in the JSF dataTable.
Each field validated by AJAX on "onchange" event</h2>
<rich:graphValidator value="#{dataValidator}"
id="graphValidatorID">
<rich:dataTable value="#{dataValidator.beans}" var="dataBean"
id="table">
<f:facet name="header">
<h:outputText
value="Validate values in the data table. Total sum for an all integer values validated for a value less then 20" />
</f:facet>
<h:column>
<f:facet name="header">
<h:outputText value="text field" />
</f:facet>
<h:outputLabel for="text" value="#{dataBean.textDescription}" />
<h:inputText id="text" value="#{dataBean.text}">
<rich:ajaxValidator event="onchange" />
</h:inputText>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="integer field" />
</f:facet>
<h:outputLabel for="intValue" value="#{dataBean.intDescription}" />
<h:inputText id="intValue" value="#{dataBean.intValue}">
<rich:ajaxValidator event="onchange"/>
</h:inputText>
</h:column>
<f:facet name="footer">
<h:panelGroup>
<h:outputText>in addition to fields validation, total sum for an all integer values validated for a value less then 20.</h:outputText>
<a4j:commandButton value="Submit all fields"></a4j:commandButton>
</h:panelGroup>
</f:facet>
</rich:dataTable>
</rich:graphValidator>
</h:form>
And the bean code:
public class DataBean {
private final List<Validable> beans;
/**
* @return the beans
*/
@Valid
public List<Validable> getBeans() {
return beans;
}
public DataBean() {
beans = new ArrayList<Validable>(6);
beans.add(new NotNullBean());
beans.add(new NotEmptyBean());
beans.add(new LengthBean());
beans.add(new MinBean());
beans.add(new MaxBean());
beans.add(new MinMaxBean());
}
@Max(value=20,message="Total value should be less then 20")
public int getTotal(){
int total = 0;
for (Validable bean : beans) {
total += bean.getIntValue();
}
return total;
}
}
#2. Navigate to the page.
#3. Enter '44' in "Integer Value, more then 1" input.
#4. Press "Submit all fields". - graphValidator message appears.
#5. Verify messages level - it should be "error"
#6. Replace '44' by '4' and verify messages level again.
Actual behavior:
Message level is changed to "info".
--
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
16 years, 12 months
[JBoss JIRA] Created: (RF-6598) Feedback form in docs does not work
by Cedrik Mayer (JIRA)
Feedback form in docs does not work
-----------------------------------
Key: RF-6598
URL: https://jira.jboss.org/jira/browse/RF-6598
Project: RichFaces
Issue Type: Bug
Components: doc
Environment: Firefox 3.0.4 on a xandros based eeepc 900a
Reporter: Cedrik Mayer
Priority: Optional
Clicking the "Send feedback" button of the feedback form on the docs (http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/...) I get the following error.
"."Reply-to: \"".$name."\" "."<".$email.">"; //Load in the files we'll need require_once "swift_lib/Swift.php"; require_once "swift_lib/Swift/Connection/SMTP.php"; require_once "swift_lib/Swift/Connection/Sendmail.php"; try{ //Start Swift $sendmail =& new Swift_Connection_Sendmail(); $sendmail->setTimeout(3); //3 seconds //$swift =& new Swift(new Swift_Connection_SMTP("localhost")); $swift =& new Swift($sendmail); $sender =& new Swift_Address($email, $name); $me =& new Swift_Address("ggalkin(a)exadel.com"); $body =& new Swift_Message($subject, $message); if($swift->send($body, $me, $sender)){ echo $message_success; exit(); }else{ echo $message_not_sent; exit(); } }catch (Swift_ConnectionException $e) { echo "There was a problem communicating with SMTP: " . $e->getMessage(); } catch (Swift_Message_MimeException $e) { echo "There was an unexpected problem building the email:" . $e->getMessage(); } ?>
--
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
16 years, 12 months