You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Vaneet Sharma <Va...@iwg.info> on 2002/06/03 11:59:59 UTC
RE: hidden field doesnt work in velocity
how can i put a hidden field in velocity
this piece of code below doesnt work
<select name="hotmeter_number"/>
#foreach($modem in $activeModems)
#set($msisdn = $modem.getMsisdn())
#set($msisdnid = $modem.getId())
<option value="msisdn">$msisdn </option>
<input type="hidden" name="msisdnid" value="$!msisdnid">
#end
</select>
Can anyone explain me why ??????
vaneet
-----Original Message-----
From: lloyd [mailto:subscr001@twilight-systems.com]
Sent: 01 June 2002 20:43
To: Velocity Users List
Subject: Re: velocity ide?
Jeff Linwood wrote:
> I wrote a syntax definition for TextPad that does coloring of keywords.
> It's listed on that web page below.
>
> ----- Original Message -----
>
>>There is not a Velocity IDE per se, but there are syntax templates
Anyone know if there is an add-on for netbeans?
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: hidden field doesnt work in velocity
Posted by Peter Lynch <pe...@mindspring.com>.
----- Original Message -----
From: "Vaneet Sharma" <Va...@iwg.info>
To: "'Velocity Users List'" <ve...@jakarta.apache.org>
Sent: Monday, June 03, 2002 2:59 AM
Subject: RE: hidden field doesnt work in velocity
>
> how can i put a hidden field in velocity
> this piece of code below doesnt work
>
> <select name="hotmeter_number"/>
> #foreach($modem in $activeModems)
> #set($msisdn = $modem.getMsisdn())
> #set($msisdnid = $modem.getId())
> <option value="msisdn">$msisdn </option>
> <input type="hidden" name="msisdnid" value="$!msisdnid">
> #end
> </select>
Your select is closed ( /> ) and you are trying to put an <input> element inside
a select element and all your options will have the same value "msisdn" and
hopefully $activeModems is not an iterator......
anyways move the hidden input outside the select element.
This has nothing to do with velocity.
-Peter
> Can anyone explain me why ??????
> vaneet
> -----Original Message-----
> From: lloyd [mailto:subscr001@twilight-systems.com]
> Sent: 01 June 2002 20:43
> To: Velocity Users List
> Subject: Re: velocity ide?
>
>
> Jeff Linwood wrote:
> > I wrote a syntax definition for TextPad that does coloring of keywords.
> > It's listed on that web page below.
> >
> > ----- Original Message -----
> >
> >>There is not a Velocity IDE per se, but there are syntax templates
>
> Anyone know if there is an add-on for netbeans?
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>