cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro application for Blackberry - TextView problem??

Former Member
0 Kudos

Hello:

I am developing a WebDynpro application for Blackberry, which I show a TextView, but happens that the text leaves together all and the jumps of Line are not applied (\ n), as I can solve this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Juan

I once faced the same problem.

so I used the ASCII value of line feed (\n) and such escape sequences like \t and so on it worked for me.

try this too.

Hope it helps.

Divya

Former Member
0 Kudos

Thanks, but it does not work very well… the idea is to show a text that can be seen of ordered form… but I have not been able, the IFrame give Error, etc. me. he is something simple that not yet I can solve.

***********************************************************

in WebDynpro it is seen thus, in the TextEdit.

***********************************************************

Datos de Sociedad

LACL Lan Airlines S.A.

Datos de Proveedor

169 EXEQUIEL VICENTE VASQUEZ MORALES

Información de Compras

Monto Total: 2.000 CLP

Solicitante: CYANEZM CLAUDIA ANDREA YAÑEZ MUÑOZ

Fecha Contabilización: 27.03.2007

Imputación

IMPUTACION DISTRIBUIDA

Notas para Liberador

Aprobadores

GONZALO IGLESIAS No Liberado

Detalle Compra

Descripción Cantidad UM Precio Bruto Por

ALIMENTACIÓNDESAYUNO.......... 1 UN 1.000 1

% ALIMENTACION .......... 1 UN 1.000 1

***********************************************************

in BlackBerry it is seen thus, in the TextEdit.

***********************************************************

Datos de Sociedad LACL Lan Airlines S.A.

Datos de Proveedor 169 EXEQUIEL VICENTE VASQUEZ MORALES

Información de Compras Monto Total: 2.000 CLP Solicitante: CYANEZM CLAUDIA ANDREA YAÑEZ MUÑOZ Fecha Contabilización: 27.03.2007 Imputación IMPUTACION DISTRIBUIDA Notas para Liberador Aprobadores GONZALO IGLESIAS No Liberado Detalle Compra Descripción Cantidad UM Precio Bruto Por ALIMENTACIÓNDESAYUNO.......... 1 UN 1.000 1 % ALIMENTACION .......... 1 UN 1.000 1

this it is my problem ...

Former Member
0 Kudos

Hi Juan Carlos,

The \n in a text view is not implemented for Blackberry and hence you are getting this problem, it should be fixed in the future versions.

Can you do a test, for your url in HTML can you add the following parameter in the end of the url ?sap-wd-client=Pie03Client and tell me if it works.

Thanks,

Karthik

Former Member
0 Kudos

Hello Karthik:

I am using according to the standard sap-wd-client=WmlClient (for RIM Blackberry) .

see.

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/7a5e759bac3abfe10000000a155369/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/44/7a5e759bac3abfe10000000a155369/content.htm</a>

It will prove your recommendation…nevertheless is for Pocket PC2003.

Thanks,

Karthik.

Former Member
0 Kudos

hello to all.<p>

I really implement the following solution. <p>

IWDTransparentContainer contenedor = (IWDTransparentContainer) view.getElement("ContenedorDetalle");<p>

for (int i = 0; i < wdContext.nodeTextoDetalleWFs().size(); i++)<p>

{

IPrivateBBVerContenido.ITextoDetalleWFsElement linea = wdContext.nodeTextoDetalleWFs<p>().getTextoDetalleWFsElementAt(i);<p>

IWDTextView txview =(IWDTextView) view.createElement(IWDTextView.class,"idTXVIEW" + i);<p>

if (linea.getTipo().equals("X"))<p>

{<p>

txview.setText(linea.getTexto());<p>

txview.setDesign(WDTextViewDesign.EMPHASIZED);<p>

}else{

txview.setText(linea.getTexto());<p>

txview.setDesign(WDTextViewDesign.STANDARD);<p>

}<p>

contenedor.addChild(txview);<p>

}<p>

Thanks to all.

Answers (1)

Answers (1)

satyendra_dhar
Employee
Employee
0 Kudos

Hi Juan,

Mobile WebDynpro online is not supporitng "\n" as text property of TextView.

Regards,

Satyendra

Former Member
0 Kudos

thanks: Satyendra Dhar

There are many things that it does not support like:

http://help.sap.com/saphelp_nw04/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/frameset.htm

but ¿¿Exists some applicable solution??