Dan, 
   I think the param is intended to be passed to your
controller, not necessarily directly to your JSP.  If
this is what you want to accomplish though, I think
you should add the following to your controller:

protected String m_which = null;
public void setWhich(String which) { 
  m_which = which; 
}
public String getWhich(){ 
  return m_which; 
}

Maverick will look for a corresponding setter for the
param just like it would for a URL or POST parameter. 
If you provide the getter for it (as above), you can
access it from your JSP's just like you want
($model.which).

HTH,
Ryan

--- Dan Finkelstein <[EMAIL PROTECTED]> wrote:
> I've been struggling with the <param> tag.  It seems
> that no matter what I 
> do, I don't see any effect on my pages.
> 
> I put something like
> 
>       <param name="which" value="Hi"/> or <param
> name="which">Hi</param>
> 
> and then
> 
>       $which or $model.which
> 
> on my page.
> 
> I've tried making <param> a child of any tag that's
> there, including 
> <controller>, <view> and <transform>, but to no
> avail.  I see the <param> 
> tag code in the source, and it seems like it should
> work.
> 
> There is an example of its usage in Mav 2.0, beta 1,
> but since then I 
> couldn't find any examples.
> 
> Could you explain how this feature is used!  Or did
> it somehow become 
> disfunctional?
> 
> Thanks again,
> Dan
> 
> 
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/mav-user


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user

Reply via email to