HTML form-style reports with client side Javascript? [message #201394] |
Thu, 16 November 2006 21:25 |
Eclipse User |
|
|
|
Originally posted by: bklevine.viking.com
I am trying to create an HTML form-style report.
I noticed that I can drop in dynamic-text components and transform it into a
form element by specifying its value as:
"<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
This works quite well.
Where can I define my custom client-side Javascript block in the report
design to be generated in the HTML report output so that various form
elements may interact with each other while the report is being viewed in a
browser? e.g. in the example above, where do I define the Javascript
function myfunc( ) ?
Please let me know.
Thanks.
- Rohit
|
|
|
Re: HTML form-style reports with client side Javascript? [message #201694 is a reply to message #201394] |
Fri, 17 November 2006 20:29 |
|
You should be able to use the <script> tag in the dynamic text control and
it will be included in the output.
Jason
"Brianne Levine" <bklevine@viking.com> wrote in message
news:ejiktm$37t$1@utils.eclipse.org...
>I am trying to create an HTML form-style report.
> I noticed that I can drop in dynamic-text components and transform it into
> a form element by specifying its value as:
>
> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>
> This works quite well.
>
> Where can I define my custom client-side Javascript block in the report
> design to be generated in the HTML report output so that various form
> elements may interact with each other while the report is being viewed in
> a browser? e.g. in the example above, where do I define the Javascript
> function myfunc( ) ?
>
> Please let me know.
>
> Thanks.
>
> - Rohit
>
|
|
|
Re: HTML form-style reports with client side Javascript? [message #201719 is a reply to message #201694] |
Sat, 18 November 2006 00:13 |
Eclipse User |
|
|
|
Originally posted by: mail.rcolaco.com
I tried this. Doesn't seem to work for me.
Here's my attached rptdesign file for your reference.
When I view the HTML page source that was rendered for the report, the
<script> tag for the dynamic text control was removed.
<div style=" text-align:left;"></div>
Any suggestions on what might be wrong here?
I'm using...
Eclipse 3.2.1
Birt 2.2M1
JDK 1.5_07
IE 6
WinXP Pro
Thanks.
- Rohit
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:ejl63f$d0f$1@utils.eclipse.org...
> You should be able to use the <script> tag in the dynamic text control and
> it will be included in the output.
>
> Jason
>
>>I am trying to create an HTML form-style report.
>> I noticed that I can drop in dynamic-text components and transform it
>> into
>> a form element by specifying its value as:
>>
>> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>>
>> This works quite well.
>>
>> Where can I define my custom client-side Javascript block in the report
>> design to be generated in the HTML report output so that various form
>> elements may interact with each other while the report is being viewed in
>> a browser? e.g. in the example above, where do I define the Javascript
>> function myfunc( ) ?
>>
>> Please let me know.
>>
>> Thanks.
>>
>> - Rohit
>>
>
>
|
|
|
Re: HTML form-style reports with client side Javascript? [message #201886 is a reply to message #201719] |
Mon, 20 November 2006 15:41 |
|
Did you put in the
< or did you put < around your form and script tags?
I logged a similar bug last week, but in 2.1.1 the script tag works.
Jason
"Rohit Colaco" <mail@rcolaco.com> wrote in message
news:ejlj7e$7ur$1@utils.eclipse.org...
>I tried this. Doesn't seem to work for me.
> Here's my attached rptdesign file for your reference.
>
> When I view the HTML page source that was rendered for the report, the
> <script> tag for the dynamic text control was removed.
>
> <div style=" text-align:left;"></div>
>
> Any suggestions on what might be wrong here?
>
> I'm using...
>
> Eclipse 3.2.1
> Birt 2.2M1
> JDK 1.5_07
> IE 6
> WinXP Pro
>
> Thanks.
>
> - Rohit
>
>
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:ejl63f$d0f$1@utils.eclipse.org...
>> You should be able to use the <script> tag in the dynamic text control
>> and
>> it will be included in the output.
>>
>> Jason
>>
>
>>>I am trying to create an HTML form-style report.
>>> I noticed that I can drop in dynamic-text components and transform it
>>> into
>>> a form element by specifying its value as:
>>>
>>> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>>>
>>> This works quite well.
>>>
>>> Where can I define my custom client-side Javascript block in the report
>>> design to be generated in the HTML report output so that various form
>>> elements may interact with each other while the report is being viewed
>>> in
>>> a browser? e.g. in the example above, where do I define the Javascript
>>> function myfunc( ) ?
>>>
>>> Please let me know.
>>>
>>> Thanks.
>>>
>>> - Rohit
>>>
>>
>>
>
>
>
|
|
|
Re: HTML form-style reports with client side Javascript? [message #202000 is a reply to message #201886] |
Mon, 20 November 2006 22:42 |
Eclipse User |
|
|
|
Originally posted by: mail.rcolaco.com
No I did not encode HTML unsafe characters as < or >
This was encoded by the ROM serializer for XML persistence ... not entered
by me.
You can verify this by opening the attached design (sent in the previous
posting) and editing the dynamic text control.
FYI ... I'm testing with 2.2M1
- Rohit
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:ejsibi$bar$1@utils.eclipse.org...
> Did you put in the
> < or did you put < around your form and script tags?
>
> I logged a similar bug last week, but in 2.1.1 the script tag works.
>
>
> Jason
>
>
> "Rohit Colaco" <mail@rcolaco.com> wrote in message
> news:ejlj7e$7ur$1@utils.eclipse.org...
>>I tried this. Doesn't seem to work for me.
>> Here's my attached rptdesign file for your reference.
>>
>> When I view the HTML page source that was rendered for the report, the
>> <script> tag for the dynamic text control was removed.
>>
>> <div style=" text-align:left;"></div>
>>
>> Any suggestions on what might be wrong here?
>>
>> I'm using...
>>
>> Eclipse 3.2.1
>> Birt 2.2M1
>> JDK 1.5_07
>> IE 6
>> WinXP Pro
>>
>> Thanks.
>>
>> - Rohit
>>
>>
>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>> news:ejl63f$d0f$1@utils.eclipse.org...
>>> You should be able to use the <script> tag in the dynamic text control
>>> and
>>> it will be included in the output.
>>>
>>> Jason
>>>
>>
>>>>I am trying to create an HTML form-style report.
>>>> I noticed that I can drop in dynamic-text components and transform it
>>>> into
>>>> a form element by specifying its value as:
>>>>
>>>> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>>>>
>>>> This works quite well.
>>>>
>>>> Where can I define my custom client-side Javascript block in the report
>>>> design to be generated in the HTML report output so that various form
>>>> elements may interact with each other while the report is being viewed
>>>> in
>>>> a browser? e.g. in the example above, where do I define the Javascript
>>>> function myfunc( ) ?
>>>>
>>>> Please let me know.
>>>>
>>>> Thanks.
>>>>
>>>> - Rohit
>>>>
>>>
>>>
>>
>>
>>
>
>
|
|
|
Re: HTML form-style reports with client side Javascript? [message #202138 is a reply to message #202000] |
Tue, 21 November 2006 16:59 |
|
Can you log a new bug with this report?
Thanks
Jason
"Rohit Colaco" <mail@rcolaco.com> wrote in message
news:ejtaud$ht7$1@utils.eclipse.org...
> No I did not encode HTML unsafe characters as < or >
> This was encoded by the ROM serializer for XML persistence ... not entered
> by me.
> You can verify this by opening the attached design (sent in the previous
> posting) and editing the dynamic text control.
>
> FYI ... I'm testing with 2.2M1
>
> - Rohit
>
>
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:ejsibi$bar$1@utils.eclipse.org...
>> Did you put in the
>> < or did you put < around your form and script tags?
>>
>> I logged a similar bug last week, but in 2.1.1 the script tag works.
>>
>>
>> Jason
>>
>>
>> "Rohit Colaco" <mail@rcolaco.com> wrote in message
>> news:ejlj7e$7ur$1@utils.eclipse.org...
>>>I tried this. Doesn't seem to work for me.
>>> Here's my attached rptdesign file for your reference.
>>>
>>> When I view the HTML page source that was rendered for the report, the
>>> <script> tag for the dynamic text control was removed.
>>>
>>> <div style=" text-align:left;"></div>
>>>
>>> Any suggestions on what might be wrong here?
>>>
>>> I'm using...
>>>
>>> Eclipse 3.2.1
>>> Birt 2.2M1
>>> JDK 1.5_07
>>> IE 6
>>> WinXP Pro
>>>
>>> Thanks.
>>>
>>> - Rohit
>>>
>>>
>>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>>> news:ejl63f$d0f$1@utils.eclipse.org...
>>>> You should be able to use the <script> tag in the dynamic text control
>>>> and
>>>> it will be included in the output.
>>>>
>>>> Jason
>>>>
>>>
>>>>>I am trying to create an HTML form-style report.
>>>>> I noticed that I can drop in dynamic-text components and transform it
>>>>> into
>>>>> a form element by specifying its value as:
>>>>>
>>>>> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>>>>>
>>>>> This works quite well.
>>>>>
>>>>> Where can I define my custom client-side Javascript block in the
>>>>> report
>>>>> design to be generated in the HTML report output so that various form
>>>>> elements may interact with each other while the report is being viewed
>>>>> in
>>>>> a browser? e.g. in the example above, where do I define the Javascript
>>>>> function myfunc( ) ?
>>>>>
>>>>> Please let me know.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> - Rohit
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: HTML form-style reports with client side Javascript? [message #204581 is a reply to message #202138] |
Sun, 03 December 2006 00:37 |
Eclipse User |
|
|
|
Originally posted by: mail.rcolaco.com
Bug #166606 was submitted.
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:ejvba1$vab$1@utils.eclipse.org...
> Can you log a new bug with this report?
>
> Thanks
>
> Jason
>
> "Rohit Colaco" <mail@rcolaco.com> wrote in message
> news:ejtaud$ht7$1@utils.eclipse.org...
>> No I did not encode HTML unsafe characters as < or >
>> This was encoded by the ROM serializer for XML persistence ... not
>> entered by me.
>> You can verify this by opening the attached design (sent in the previous
>> posting) and editing the dynamic text control.
>>
>> FYI ... I'm testing with 2.2M1
>>
>> - Rohit
>>
>>
>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>> news:ejsibi$bar$1@utils.eclipse.org...
>>> Did you put in the
>>> < or did you put < around your form and script tags?
>>>
>>> I logged a similar bug last week, but in 2.1.1 the script tag works.
>>>
>>>
>>> Jason
>>>
>>>
>>> "Rohit Colaco" <mail@rcolaco.com> wrote in message
>>> news:ejlj7e$7ur$1@utils.eclipse.org...
>>>>I tried this. Doesn't seem to work for me.
>>>> Here's my attached rptdesign file for your reference.
>>>>
>>>> When I view the HTML page source that was rendered for the report, the
>>>> <script> tag for the dynamic text control was removed.
>>>>
>>>> <div style=" text-align:left;"></div>
>>>>
>>>> Any suggestions on what might be wrong here?
>>>>
>>>> I'm using...
>>>>
>>>> Eclipse 3.2.1
>>>> Birt 2.2M1
>>>> JDK 1.5_07
>>>> IE 6
>>>> WinXP Pro
>>>>
>>>> Thanks.
>>>>
>>>> - Rohit
>>>>
>>>>
>>>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>>>> news:ejl63f$d0f$1@utils.eclipse.org...
>>>>> You should be able to use the <script> tag in the dynamic text control
>>>>> and
>>>>> it will be included in the output.
>>>>>
>>>>> Jason
>>>>>
>>>>
>>>>>>I am trying to create an HTML form-style report.
>>>>>> I noticed that I can drop in dynamic-text components and transform it
>>>>>> into
>>>>>> a form element by specifying its value as:
>>>>>>
>>>>>> "<input type=\"checkbox\" name=\"cbX\" onclick=\"myfunc();\">"
>>>>>>
>>>>>> This works quite well.
>>>>>>
>>>>>> Where can I define my custom client-side Javascript block in the
>>>>>> report
>>>>>> design to be generated in the HTML report output so that various form
>>>>>> elements may interact with each other while the report is being
>>>>>> viewed in
>>>>>> a browser? e.g. in the example above, where do I define the
>>>>>> Javascript
>>>>>> function myfunc( ) ?
>>>>>>
>>>>>> Please let me know.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> - Rohit
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05228 seconds