on 02-14-2005 8:11 PM
New to the forum so apologies if this message is covered elsewhere...
Is there a BSP tag that corresponds to the JSP USEBEAN tag - and therefore an equivalent for SET PROPERTY and GET PROPERTY...?
In what regards? For parameters? basic getter and setter methods are used in MVC quite often and in BSP well for a general understanding try out this weblog:
/people/sap.user72/blog/2004/09/07/bsp-howto-exploring-bsp-development-and-the-miniwas-620
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a guess Craig, but I imagine the following code snippet from the link you supplied would be covered by a bean declaration...
<%
DATA: iterator TYPE REF TO ZCSC_CL_FAQ_CAT_ITERATOR.
CREATE OBJECT iterator TYPE ZCSC_CL_FAQ_CAT_ITERATOR.
%>
But wouldnt this code be better off in an event block?
Yep Peter, basically yes.
The CREATE OBJECT is basically like a useBean in the case of the example there you found one for an Iterator but a normal Class with methods in it would be the same and yes you can do it in the pagelayout (e.g. JSP) or in the Event handlers (e.g. Servlets)
But as Brian pointed out in BSP there are lots of other ways to handle similiar tasks.
No. Never did understand what is the use of them. Especially as vegetables is not our strongest point. There are probably many other easier techniques to handle this in BSP, but we have no idea what the real problem is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.