hello everyone,

I have a question about crud. I created  a bean and set its identidier as
like this in its metadata

addConstraint(new ConstrainedProperty("studentId")
.editable(false)
.identifier(true));

After that what I want to do is to get the bean from the url call so I
create an element like that

<submission name="updateStudent">
<bean name="Student" classname="model.Student"/>
</submission>

Ok and here is my qusetion

the url contains the ...studentId=3&... but the element says the
value for studentId in the  bean from
Student sss = (Student)getNamedSubmissionBean("Student");
is null.

Any idea ..should i have to add a new parameter like dummyId and set the new
id in the element. This sems like a workaround?

Thanks
-- 
doğan kaya berktaş

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to