Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Htmlb -TextEdit - Setting Text Values dynamically

$
0
0

Hi,

 

I have a requirement for providing input field in the htmlb for mutliple entries by user, of jspdynpage component.

I have looked at the input field "TextEdit" in htmlb can be used, where user can enter multiple lines of entry as input.

 

However, the same field, should be used for displaying the entered values in an another flow.

For normal input field, we are setting/retriving value like below, which works without any issues.

<hbj:inputFieldwidth="250px"maxlength="5"id="value1Field"type="string"maxlength="150">

 

  <%value1Field.setValue(ValuesInfo.getValue1()); %> 

</hbj:inputField>

 

For TextEdit, please can you suggest, how to set the value,setting the similar way as above throws portal run time exception in jsp parsing.

 

<hbj:textEdit  id="value2Field"  rows="7" cols="8" wrapping="SOFT" >

<%value2Field.setValue(ValuesInfo.getValue1()); %> 

</hbj:textEdit>

 

throws portal runtime exception. The static string value, we can set as below without any error.

 

<hbj:textEdit  id="value2Field"  rows="7" cols="8" wrapping="SOFT" text="Static Value" >

</hbj:textEdit>

 

looking for an option, to set the value dynamically.


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>