on 04-16-2014 5:26 AM
Hi ,
I need your help.!! I'm analyzing the html business codes in the generated html template. i want to know,
why this " declare class(el), w(i, a) in "some.html"; " statement, used in the html template. ?
What does w(i,a) meant for?
What is "i" & what is 'a'
Expecting your reply.
Thanks and regards,
Avinash.
Message was edited by: Oisin ONidh No need to ref Forum Moderator in the opening SCN thread
Hello Avinash,
The following SAP Library is a good starting point
SAP Library - HTMLBusiness Language Reference
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Avinash,
Have you seen the following page? (related to the previous link)
It explains how the "declare" statement is defined in HTML business.
HTMLBusiness Grammar Summary - HTMLBusiness Language Reference - SAP Library
Regards,
Oisin
Hello Avinash,
help.sap.com and the ITSMobile WIKI are two good resources.
Also SAP Notes can have useful correction information.
Creating Mobile
Applications with ITSmobile - SAP ITS in SAP NetWeaver Application Server - SAP
Library at: http://help.sap.com/saphelp_scm700_ehp03/helpdata/en/4c/3936d8661e5792e10000000a15822b/content.htm?f...
Regards,
Oisin
Hi Oisin,
Thank you, I have read these documents thoroughly & yes I understand the landscape to a certain extent, but my problems are certain keywords in 'HTMLB' i don't find them in HTMLB Reference too in SAP HELP portal
`repeat with j from ***.firstvisible to ****.lastvisible`
What is this firstvisible & lastvisible? is it pointing to the elements on the screen/ or backend ABAP objects??
Reards,
Avinash.
Hi Oisin,
These aren't field attributes. it looks like properties of a table/view.
below you can find the code snippet containing these.
(note: 1. ITSGenmobile ie with table generator is used)
*******************************************************************************************************************
<tbody>
`repeat with j from TBC_####.firstvisible to TBC_####.lastvisible`
<tr>
<td><input type=radio name="TBC_####" value="TBC_####-rowselect[`j`]" `if(TBC_####-rowselect[j].selected)` checked `end`></td>
<td>`WA_LAGP1-LGTYP[j].value`</td>
<td>`WA_LAGP1-LGPLA[j].value`</td>
<td>`WA_LAGP1-SEQ_NUM[j].value`</td>
</tr>
`end`
</tbody>
****************************************************
I need some inference on 3 Keywords:
firstvisible,lastvisible & rowselect.
I checked in javascript! it does not have any properties on these keywords.
Thanks & Regards,
Avinash
Hello Avinash,
Yes it could indeed be a table control with radio buttons as input element for selection of a row?
'firstvisible' and 'lastvisible' are properties of the visible elements in the table
The code here scans from the the firstvisible to the lastvisible and if a radio button is selected then the rowselect value is returned.
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.