![]() |
|
|||||||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| communication between jsp and abstractportalcomponent | Rima | SAP Portal | 2 | 10-24-2010 02:40 PM |
| How to do Ajax communication with jsp and AbstractPortalComponent | Ramma | SAP Portal | 0 | 10-24-2010 01:33 PM |
| REG:: JSP Errors | Lala | SAP Portal | 2 | 10-05-2010 02:45 PM |
| Unable to set environment variable REMOTE_USER from JSP and SHTML | SAPMM | SAP Portal | 0 | 10-04-2010 02:41 PM |
| JSP post back in a iView | Lala | SAP Portal | 2 | 08-10-2010 02:00 PM |
| Aprenda SAP! |
|
|
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
Can someone tell me how can I retrieve the value of my inputfield in my AbstractPortalComponent? Code:
<%@taglib uri="tagLib" prefix="hbj"%> <hbj:content id="myContext"> <hbj:page> <hbj:form id="myFormId"> <jsp:useBean id="myBean" scope="application" class="bean.MyBean" /> <hbj:inputField id = "myInputField1" value = "hallo" size = "30" type = "string" disabled = "true" /> </hbj:form> </hbj:page> </hbj:content> Regards, Rima |
| Sponsors |
|
#2
|
|||
|
|||
|
Rima,
have you tried the SAP examples at: http://help.sap.com/saphelp_nw04/hel...06/content.htm ? In the JSP: Code:
<hbj:inputField id="user_name_input" type="STRING" design="STANDARD" width="250" maxlength="30" /> Code:
InputField myInputField = (InputField) getComponentByName("user_name_input"); if (myInputField != null) { this.name = myInputField.getValueAsDataType().toString(); }
Code:
public class ABC extends AbstractPortalComponent { public void doContent(IPortalComponentRequest request, IPortalComponentResponse response) { String input = request.getParameter("myInputField1");
Golfi |
| Entre a los Links relacionados |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|