lots of examples already used

[EMAIL PROTECTED] sent the following on 12/1/2007 8:34 PM:
> Thank you scott.  I'll dig out my old trusty (and dusty) javascript book and
> figure it out.
> 
> Skip
> 
> -----Original Message-----
> From: Scott Gray [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 01, 2007 7:55 PM
> To: [email protected]
> Subject: Re: Getting parameters from outside of a form
> 
> 
> You could use javascript to pull the value of the drop down and put it into
> a hidden input inside the form.
> 
> Regards
> Scott
> 
> On 02/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> I have a screen that looks like this:
>>
>> ftl menu containing   <select name="printerName" class="selectBox">
>> and a button
>>
>> some more ftl
>>
>> a form called createCollectionContact
>>
>> some more ftl
>>
>> I want the button in the menu to do a post that includes the printerName
>> variable, but for the life of me, cannot figure out how to do it.
>>
>> I have tried these:
>>
>> <!--    <a class="subMenuButton"
>> href="javascript:document.forms
>> ['createCollectionContact'].action='<@ofbizUr
>>
>>
> l>printCustomerStatement</@ofbizUrl>';document.forms['createCollectionContac
>> t'].submit()">${uiLabelMap.CoPrintStatement}</a> -->
>>
>>    <a
>> href="javascript:document.createCollectionContact.action='
>> <@ofbizUrl>printCu
>> stomerStatement</@ofbizUrl>';document.createCollectionContact.submit();"
>> class="buttontext">${uiLabelMap.CoPrintStatement}</a>
>>
>> <!--   <a class="buttontext"
>>
>>
> href="<@ofbizUrl>printCustomerStatement?partyId=${partyId?if_exists}</@ofbiz
>> Url>">${uiLabelMap.CoPrintStatement}</a> -->
>>
>>    <a
>> href="<@ofbizUrl>customerVendorStatement.pdf
>> ?partyId=${partyId?if_exists}&fr
>>
>>
> omDate=${fromDate?if_exists}&thruDate=${thruDate?if_exists}&glFiscalTypeId=A
>> CTUAL&reportType=CUSTOMER</@ofbizUrl>" class="buttontext">
>> ${uiLabelMap.CoPDFStatement}</a>
>>
>> and nothing seems to work to get printerName down to the service (I have
>> listed the context to the log file to see what is there).  Am I forced to
>> put the button and dropdown inside the form and do a post from in
>> there?  I
>> need to have the contents of printerName and te partyId for the service.
>>
>> Skip
>>
>>
>>
>>
> 
> 
> 
> 

Reply via email to