Re: using c:out with EL replacing bean:write

2005-12-19 Thread Borut Hadžialić
I think you what u want to write is ${FAEditorForm[formProperty]} instead of ${FAEditorForm.formProperty} On 12/19/05, Srini Pillai <[EMAIL PROTECTED]> wrote: > Rahul, > > Thanks for your reply... I tried to test the solution you had > suggested, but > > ${FAEditorForm.formProperty} > > doesn'

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
Craig, The looping I had mentioned is for displaying the text boxes (which grows dynamically) as well. Not sure how I could move that to the action class. Unless I am missing something. I understand the fact that the arguments and values for a link can be fed as a Map as you had suggested but the

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
Rahul, Thanks for your reply... I tried to test the solution you had suggested, but ${FAEditorForm.formProperty} doesn't seem to work since it is trying to use 'formProperty' as it is without substituting the value for it (even though I used ). It throws an exception stating that "formProperty"

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Craig McClanahan
On 12/19/05, Srini Pillai <[EMAIL PROTECTED]> wrote: > > Thanks Rick, for responding quickly. > > >>I'm not sure what you are attempting to do with: > value="${request['FAEditorForm'].id_${counter}}" > > I am trying to access the value from the ActionForm for property > 'id_0', 'id_1' etc... depend

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Rahul Akolkar
On 12/19/05, Srini Pillai <[EMAIL PROTECTED]> wrote: > Thanks Rick, for responding quickly. > > >>I'm not sure what you are attempting to do with: > value="${request['FAEditorForm'].id_${counter}}" > Thumb rule: EL expressions that look like this are invalid: ${...${...}...} (unless you have ap

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Srini Pillai
Thanks Rick, for responding quickly. >>I'm not sure what you are attempting to do with: value="${request['FAEditorForm'].id_${counter}}" I am trying to access the value from the ActionForm for property 'id_0', 'id_1' etc... depending on the value of the ${counter}. The example you had suggested u

Re: using c:out with EL replacing bean:write

2005-12-19 Thread Rick Reumann
On 12/19/05, Srini Pillai <[EMAIL PROTECTED]> wrote: > > > This is the code I tried to display a link with a value in the dynamic > form: > > > . > ?methodToCall=removeElement&id= value="${request['FAEditorForm'].id_${counter}}" />">Remove > . > struts tags (from what I remember