hi *all*
This code ---
$request->setAttribute('populate', new AgaviParameterHolder(array
('empName' => 'Hello')), 'org.agavi.filter.FormPopulationFilter');

populates and fills the text box programmatically. i am using ordinary xhtml
form not populated programmatically.



1.

Then how can i get the values from the form variable .if it is through using
getParameter()function  i have to write this function for all objects in the
from the action. Is any function or array that can be generated by
*FORM ID*through which i can get the whole object names and their
values so that i
pass it straight to the model for inserting into the DB.



2.

I have to pass a value to a new page  through a query string I have added
the code like this in the template file.

<a href="

.$ro->gen(*'userdt'*)."&eId=".$row[*'empID'*].">".$row[*'empName'*]."</a>



The redirection works fine .but the URL doesn't have the attached query
string variable ie.. module=Default&action=UserDt and &eId=1 is not attached
with that.why it is so.How can I pass a querystring and also how I can get
the value in new page.



3.

How can we preserve values in form variable. I have added a validation to
the form .after validation the values in the form objects disappear. also I
have populated a select box  using DB .after validation the list in the
select box also get blank. How can I solve this problem?



plz help me



regards

surej
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to