() { return dept; }
private void setDept(Department department) {
*dingdingding*
Private, huh?
;)
--
View this message in context:
http://www.nabble.com/-S2--form-population-problem-tf3792422.html#a10764090
Sent from the Struts - User mailing list archive at Nabble.com
--- shadman [EMAIL PROTECTED] wrote:
I am more than just a little embarrassed.
I think if we all had a nickel for each time we've
made a mistake like that and had it staring us in the
face for a day or two we could buy enough beer to at
least make us not care that we made a mistake like
that and
]
basically, what I'd expect - a reference to the obj.
So, as far as the beer goes, I agree. I do owe you one though ...
shadman
--
View this message in context:
http://www.nabble.com/-S2--form-population-problem-tf3792422.html#a10764939
Sent from the Struts - User mailing list archive at Nabble.com
s:textfield name=dept.deptName label=Dept Name
value=dept.deptName size=10 /
/tr
/table
/s:form
I have to be doing something simple wrong, I just don't see it.
shadman
--
View this message in context:
http://www.nabble.com/-S2--form-population-problem-tf3792422.html#a10737881
Sent
I'm not 100% sure of your intent as this line is a bit strange - trying
to set the deptId to the deptName
s:hidden name=dept.deptId value=dept.deptName /
but anyway, the documentation on the wiki around the expressions for
some tags is a bit confusing and I suspect the problem is that
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-S2--form-population-problem-tf3792422.html#a10742001
Sent from the Struts
--- shadman [EMAIL PROTECTED] wrote:
The DepartmentAction retrieves the dept object from
DB, and has getters and setters for the domain
dept
object in the action.
s:property value=dept.deptId /
This is the proper syntax; I do it all over the place.
If the action has a getDept() and the
--form-population-problem-tf3792422.html#a10745388
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- shadman [EMAIL PROTECTED] wrote:
private Department getDept() { return dept; }
private void setDept(Department department) {
*dingdingding*
Private, huh?
;)
s:textfield name=dept.deptName
label=Dept Name
value=dept.deptName
it.
shadman
--
View this message in context:
http://www.nabble.com/-S2--form-population-problem-tf3792422.html#a10725666
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
10 matches
Mail list logo