I have the following form:

<s:form action="saveRuleName" method="POST">
<s:textfield key="ruleName" name="rule.ruleName" required="true" />
<s:textfield key="ruleDays" name="rule.ruleDays" required="true" size="4" />


I have the following method in the Action class that runs before this:

public IRule getRule()
{
    return this.r;
}

Now, IRule has the following:

public String getRuleName();
public void setRuleName(String n);

public Integer getRuleDays();
public void setRuleDays(Integer i);        

In the form, rule.ruleName works fine.  rule.ruleDays does not.  Is there
something special to do because it's an Integer?

I have debugging on for ognl.*, and don't see anything in catalina.out.

I'm stumped.  I don't understand why name works and rule does not.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to