Re: freemarker binding issue .
"Magatapalli, Sarat" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
One more question :
Can I use Javascript variable in a FREEMARKER expression
Example :
<script language="javascript">
Var row=1;
${report(row)}
</script>
I tried use it but it failed , any other option to do ?
-----Original Message-----
From: Daniel Dekany [mailto:[email protected]]
Sent: Monday, August 01, 2011 4:04 PM
To: Magatapalli, Sarat
Cc: [email protected]
Subject: Re: [FreeMarker-user] freemarker binding issue .
Wrong mailing list I suppose. It sounds like a Spring question.
Anyway, I don't know Spring MVC Controller, but if the name of those repeated fields are the same, certainly you should just receive an array or List instead of a single value, so maybe you should declare the target bean property(?) as such.
Monday, August 1, 2011, 9:21:17 AM, Magatapalli, Sarat wrote:
> Team ,
>
> I have question/issue with freemarker binding . As per our requirement
> I need to insert a NEW ROW in a table when the user clicks on "ADD NEW" button .
>
> Step1 : So when the user clicks on "Add MORE" button I inserting a new
> row within a table , I am handling this using javascript Step 2: When
> user clicks on the submit button , I Need to send the values entered
> by user to my Controller (Spring MVC Controller) .
>
> So how can binding the values to controller dynamically ?
>
> My page looks like below :
>
> Please help me to resolve this issue ASAP .
> Regards,
> Sarat
--
Best regards,
Daniel Dekany
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. By messaging with Sender you consent to the foregoing.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user