[DW] [HTML] Dimensionado de la ventana
Hola.
Pretendo abrir, en el navegador, una ventana hija sin barra
de herramientas,
etc... pero que tenga un tamaño siempre fijo de 1024*780
salvo que la
resolución sea inferior.
Me encuentro con varios problemas.
Según este o no oculta la barra de tareas de windows me
dimensiona de
diferente manera la ventana.
Si pongo la opción statusbar=no en unos sistemas me lo
hace bien y en otros
no....
Alguien puede decirme como conseguir poner una ventana solo
con la barra del
titulo y de una dimensión fija que quede por encima de
la barra de tareas si
esta esta desplegada?
Gracias de antemano.
Javier, hay una extensión para dreamweaver (no es
gratuita) que te permite
mucho juego en la apertura de popups:
http://www.dmxzone.com/ShowDetail.asp?NewsId=197
Actualmente soporta todos los navegadores: Explorer 4,
Explorer 5, Explorer
5.5, Explorer 6, Explorer 7, Mozilla 1.3+, Netscape 4,
Netscape 6, Netscape
7, Netscape 7.1, Netscape 7.2, Netscape 8, Netscape 9, Opera
6, Opera 7,
Opera 8, Opera 9, Firefox 1.0, Firefox 1.5, Safari 1.2+,
Safari 2.0+
Salu2
"javier" <[email protected]> escribió en el
mensaje
news:ei4t8g$s2g$[email protected]..
> Hola.
> Pretendo abrir, en el navegador, una ventana hija sin
barra de
> herramientas,
> etc... pero que tenga un tamaño siempre fijo de
1024*780 salvo que la
> resolución sea inferior.
> Me encuentro con varios problemas.
> Según este o no oculta la barra de tareas de
windows me dimensiona de
> diferente manera la ventana.
> Si pongo la opción statusbar=no en unos sistemas me
lo hace bien y en
> otros
> no....
> Alguien puede decirme como conseguir poner una ventana
solo con la barra
> del
> titulo y de una dimensión fija que quede por encima
de la barra de tareas
> si
> esta esta desplegada?
> Gracias de antemano.
>
>
Similar Messages
-
Hipervínculos desde Acrobat Pro o InDesign a ventana nueva
Estimados,
Quisiera saber como indicar a un hipervínculo de una dirección web, así sea desde Acrobat Pro o InDesign, que se abra en una ventana nueva y no en la misma ventana donde tengo abierto el pdf.
Es decir, inserto hipervínculos en una revista digital, realizada en InDesign, la exporto a PDF, cuando subo el pdf a un servidor de internet, y lo veo desde internet, hago click en un link y en vez de abrir una ventana nueva, me cambia el pdf que estaba viendo a la dirección web en la que hice click.
Lo mismo hice desde Acrobat Pro, inserté los hipervínculos a páginas web desde el Acrobat, pero al ver el PDF desde internet me abre todos los links en la misma ventana.
Se que debe tener que ver con el navegador web, pero tiene que haber una manera de controlarlo desde el pdf.
Espero se entienda mi consulta, y que puedan ayudarme, ya que hace tiempo busco una solucion a este problema. Ya que el lector de la revista digital tiene que volver atras continuamente una vez que hace click en el link y luego quiere volver a ver la revista, corta la lectura de una forma muy incómoda.
Desde ya muchas gracias,
saludos cordiales
NataliaNatalia mira en las preferencias de acrobat , menú Edición, última opción,
verás que hay bastantes categorías, en la segunda, en Documentos, hay una
opción que dice "Abrir vínculos entre documentos en la misma ventana", por
defecto viene señalado, mira a ver si quitándolo funciona. Por lo que yo
conozco de indesign no cabe esa opción y lo único que se me ocurre es eso
que aparece ahí en acrobat.
En foros de html dice que
el codigo html seria el siguiente:
tu texto
el atributo TARGET="_BLANK" hace que el link o hipervinculo se habra en una
ventana nueva del navegador.
un saludo
mateo
El 3 de octubre de 2012 17:35, Natalia V. Herrera <[email protected]>escribió:
Hipervínculos desde Acrobat Pro o InDesign a ventana nueva created by Natalia
V. Herrera <http://forums.adobe.com/people/NataliaV.Herrera> in *Foros
de usuario a usuario* - View the full discussion<http://forums.adobe.com/message/4746211#4746211 -
[FL] Problema con un frame html
Hola amigos....
Estoy actualizando una pagina que realice hace unos
años, en ella tenia un
menu hecho en Flash4, la pagina estaba dividida en dos frames
entonces los
botones del menu tenian el frame destino en
getURL("pagina.htm",
"frame_destino"), pero ahora despues de que el Dreamweaver me
lo actualizo
cuando lo abri, las paginas no son cargadas en el frame sino
en una nueva
ventana del navegador como si fuese _blank.
Que habra ocurrido...??? se que varios me diran que elimine
los frames, cosa
que creo que hare, pero me intriga saber porque ahora no anda
ese
redireccionamiento. Sera por el javascript que crea el
Dreamweaver????
espero sus enseñanzas .... gracias
JºGracias Guille...! no lo he probado todavia porque opte por
cambiar todo a
paginas sin frames. Pero ya lo experimentare.
Jº
"Guille" <[email protected]> escribió en el
mensaje
news:fvo18f$i4v$[email protected]..
> En Flash CS3 y su AS3 ya no se permiten agregar acciones
directas a
> botones, por lo que deberas asignar dichas acciones en
el keyFrame donde
> estan los botones utilizando algo parecido a:
>
> function ir(e:Event):void {
> getURL(nombre.html; frame);
> }
> bot1.addEventListener(MouseEvent.CLICK,ir);
> stop();
>
> Yop estoy empezando a tratar de entender Flash CS3 y si
no es correcto lo
> que digo, Por favor corrijanme
> Suerte
>
>
> "Joe Vega" <[email protected]> escribió en el
mensaje
> news:fvnnps$8h5$[email protected]..
>> Me corrijo, no fue la correccion del Dreamweaver lo
que no hizo funcionar
>> mas el direccionamiento sino el paso a Flash Player
8
>>
>>
>> "Joe Vega" <[email protected]> escribió en
el mensaje
>> news:fvnnji$874$[email protected]..
>>> Hola amigos....
>>>
>>> Estoy actualizando una pagina que realice hace
unos años, en ella tenia
>>> un menu hecho en Flash4, la pagina estaba
dividida en dos frames
>>> entonces los botones del menu tenian el frame
destino en
>>> getURL("pagina.htm", "frame_destino"), pero
ahora despues de que el
>>> Dreamweaver me lo actualizo cuando lo abri, las
paginas no son cargadas
>>> en el frame sino en una nueva ventana del
navegador como si fuese
>>> _blank.
>>> Que habra ocurrido...??? se que varios me diran
que elimine los frames,
>>> cosa que creo que hare, pero me intriga saber
porque ahora no anda ese
>>> redireccionamiento. Sera por el javascript que
crea el Dreamweaver????
>>>
>>> espero sus enseñanzas .... gracias
>>>
>>> Jº
>>>
>>>
>>>
>>
>>
>
> -
Hola a todos, ya se que esta pregunta muchos la saben pero yo
no. ¿como hago
para que dentro de una web en swf se me habra un venta en swf
dentro del
mismo swf a un tamaño especifico y que dentro de esa
ventana tenga una
pagina html?.
Gracias y si hay algun ejemplo en fla decidmelo así lo
tendre más claro.
Saludos a todos.OK entendido gracias, no se puede, pero si se puede abrir
dentro del swf una
ventana (y quiero que sea de una medida exacta)swf y que
dentro se cargue
texto con fotos y que no sea html.
Ejemplos please ya que no me aclaro mucho gracias....
"Juan Muro `8¬}" <[email protected]>
escribió en el mensaje
news:f4c1sd$au7$[email protected]..
> No, no se puede hacer. Lo que hacen en el ejemplo que
pones, Ale, es meter
> un iframe en una capa superior del html, pero cuando
pulses sobre el swf,
> te desaparecerá.
> Salu2
> `8¬}
> Juan Muro
> ": : Ale Photoshop : :" <[email protected]>
escribió en el mensaje
> news:f4bt5e$4ts$[email protected]..
>>
http://www.manuales-swish.com/foros/index.php?showtopic=4463
>>
>> Por ahí tienes una respuesta...
>>
>> Saludos,
>>
>> Ale Photoshop
>>
>>
>> "JmR" <[email protected]> escribió en
el mensaje
>> news:f4bjqg$mub$[email protected]..
>>> Hola a todos, ya se que esta pregunta muchos la
saben pero yo no. ¿como
>>> hago
>>> para que dentro de una web en swf se me habra un
venta en swf dentro del
>>> mismo swf a un tamaño especifico y que
dentro de esa ventana tenga una
>>> pagina html?.
>>>
>>> Gracias y si hay algun ejemplo en fla decidmelo
así lo tendre más claro.
>>>
>>> Saludos a todos.
>>>
>>
>>
>
> -
(DW) html Cerar un popup y direccionar
Hola Foreros.
He estado desde hace rato estoy tratando de hacer lo
siguiente:
Desde un popup hecho en html deseo que al dar click se cierre
y ademas me
direccione a otra url la pagina desde la que salto el popup.
Eso muchas gracias si alguien me puede orientar.
AndresachoJavier, hay una extensión para dreamweaver (no es
gratuita) que te permite
mucho juego en la apertura de popups:
http://www.dmxzone.com/ShowDetail.asp?NewsId=197
Actualmente soporta todos los navegadores: Explorer 4,
Explorer 5, Explorer
5.5, Explorer 6, Explorer 7, Mozilla 1.3+, Netscape 4,
Netscape 6, Netscape
7, Netscape 7.1, Netscape 7.2, Netscape 8, Netscape 9, Opera
6, Opera 7,
Opera 8, Opera 9, Firefox 1.0, Firefox 1.5, Safari 1.2+,
Safari 2.0+
Salu2
"javier" <[email protected]> escribió en el
mensaje
news:ei4t8g$s2g$[email protected]..
> Hola.
> Pretendo abrir, en el navegador, una ventana hija sin
barra de
> herramientas,
> etc... pero que tenga un tamaño siempre fijo de
1024*780 salvo que la
> resolución sea inferior.
> Me encuentro con varios problemas.
> Según este o no oculta la barra de tareas de
windows me dimensiona de
> diferente manera la ventana.
> Si pongo la opción statusbar=no en unos sistemas me
lo hace bien y en
> otros
> no....
> Alguien puede decirme como conseguir poner una ventana
solo con la barra
> del
> titulo y de una dimensión fija que quede por encima
de la barra de tareas
> si
> esta esta desplegada?
> Gracias de antemano.
>
> -
[DWMX] Imagen JPG to HTML
Buenas a todos/as!
Tengo un ASP que carga una imagen desde una base de datos, al
pulsar sobre
esta imagen se abre una ventana aparte que simplemente es la
misma imagen
pero más grande. La pregunta es: ¿Es posible
generar de alguna forma que al
pulsar sobre ella abra un html con esa ID de imagen para
poder darle un poco
de justificación centro, poner algún título y
todo esto?
No se si me explico...
Gracias de antemano
Lui7Personalmente me gusta más LightWindow
http://www.stickmanlabs.com/lightwindow/#demos
Venga, esto se anima!!!
"Manolo" <[email protected]> escribió en el
mensaje
news:fusb0g$n1u$[email protected]..
>Y pq no un poco de dinamismo ?
>
> mirate el Single Image de la URL
http://jquery.com/demo/thickbox/
>
>
>
>
> "Luisete" <[email protected]> escribió en el
mensaje
> news:fus1gk$bti$[email protected]..
>> Perfecto, es justo lo que necesito, no lo había
pensado así.!!
>>
>> Gracias Andrés!
>>
>> "Andres Cayon" <[email protected]>
escribió en el mensaje
>> news:fur5ke$f25$[email protected]..
>>> Hola Luisete:
>>> ¿Y si en vez de enlazar directamente a la
imagen lo haces a un documento
>>> con un recordset de detalle que muestre en su
body la imagen filtrada
>>> por el mismo?
>>>
>>> 1.- Creas un documento nuevo (imagen.asp)
>>> 2.- En dicho documento creas un recordset que
devuelve la imagen
>>> filtrada por un parametro de url (eg: img_id)
>>> 3.- Enlazas a dicho documento desde el padre
utilizando los registros
>>> del recordset que los lista:
>>> a href="imagen.asp?img_id<% idDeImagen%>"
>>>
>>> Saludos!
>>> Andres Cayon
>>> Spain Adobe Dreamweaver User Group
>>>
http://www.dwug.es
>>> ----------------------
>>>
>>>
>>> "Luisete" <[email protected]> escribió
en el mensaje de noticias
>>> news:fuqfnq$m1v$[email protected]..
>>>> Buenas a todos/as!
>>>>
>>>> Tengo un ASP que carga una imagen desde una
base de datos, al pulsar
>>>> sobre esta imagen se abre una ventana aparte
que simplemente es la
>>>> misma imagen pero más grande. La
pregunta es: ¿Es posible generar de
>>>> alguna forma que al pulsar sobre ella abra
un html con esa ID de imagen
>>>> para poder darle un poco de
justificación centro, poner algún título y
>>>> todo esto?
>>>>
>>>> No se si me explico...
>>>>
>>>> Gracias de antemano
>>>> Lui7
>>>>
>>>
>>
>>
>
> -
[DIR]ventana de error
Bueno aclarando el error que hice hace unos dias
Me sale una ventana donde dice macromedia director a
ejecutado un error y
debe cerrarse
ver detalles
nombre del proyector y el modulo IML32.dll
otras veces sale
nombre del proyector y el modulo soundcontrol.x32
o tambien sale
nombre del proyector y el modulo unkwon
para navegar entre peliculas
go to frame "Marco" of movie "nom_pelicula"
He copiado todos los xtras que vienen en director en una
carpeta
Utilizo tambien archivos flash
Trabajo en una XP profesional
y con macromedia director mx version 9.0
espero me puedan ayudarBien amigo Agustin, voy a seguir tus consejos.
"Agust�n Mar�a Rodr�guez"
<[email protected]> escribi� en el mensaje
news:[email protected]...
> Junior wrote:
>
>> Hola Agustin gracias por contestar
>>
>> Respecto a la parte que mencionas del evento star
movie no lo entiendo
>> muy bien lo que me quieras dara entender
>>
>>
>>>cuando naveg�s entre pel�culas,
ten� cuidado porque cuando lleg�s a la
>>>pel�cula nueva, el evento startMovie es
llamado dos veces. Dependiendo
>>>del c�digo que tengas, �so
podr�a afectar.
>>
>>
>> te comento que tengo creado un cast externo donde
tengo todos los codigos
>> y este esta siempre linkiado en todas las peliculas
y hay solo tengo un
>> scrip movie
>> con el siguiente codigo
>>
>> global gImageFolder -- donde estan situadas las
imagenes
>> global gMapFolder--donde estan los mapas
>> on startMovie
>> -- determina la ubicacion de las imagenes
>> gImageFolder = the pathname & "image"
>>
>> gMapFolder = the pathname & "mapa"
>>
>> gImageFolder = gImageFolder & "\"
>>
>> gMapFolder = gMapFolder & "\"
>>
>> end
>>
>> Ayer descubri un nuevo error te lo comento
>> volvio a salir la pantalla Macromedia a ejecutado un
error
>> y los detalles dice
>>
>> AppNAme atlas.exe AppVer: 9.0.0383 ModName: Text
asset.x32
>>
>> Por ahy encontre algo en internet que decia que
derrepente el archivo
>> Dirapi.dll podria estar da�ado y por seo
genera ese error per eos ya lo
>> descarte porque formate una maquina le instale
windows98. y el directormx
>> y volvio a salir los errores.
>>
>>
>> Tambien tengo un problema con una Miaw, a veces
muestra erro otras no; es
>> la unica que tengo que la uso para mostrar si el
usuario quiere salir .A
>> aqui te paso el codigo como la llamo
>>
>> en el member que uso como boton salir(sript of cast
member) esta el
>> codigo
>>
>> on mouseUp
>> global gFunkyDialog
>>
>> gFunkyDialog = window("Salida")
>>
>> gFunkyDialog.filename = "salida.dir"
>>
>> gFunkyDialog.windowType = 1
>>
>> gFunkyDialog.modal = TRUE
>>
>> gFunkyDialog.visible = TRUE
>>
>> end
>>
>> on mouseenter
>>
>> sound(3).play(member"S0C04")
>>
>> end
>>
>>
>> y la pelicula salida.dir
>>
>> tengo aqui un scrip movie
>> con el siguiente codigo
>> --Recibe el valor de la configuracion anterior de la
pantalla
>> global gconfiguracion
>>
>> en el boton SI
>> global gconfiguracion
>>
>> on mouseEnter
>>
>> cursor 280
>>
>> end
>>
>> on mouseUp
>>
>> close(the activeWindow)
>>
>> forget(the activeWindow)
>>
>> --regresa a la resolucion de pantalla anterior
>>
>> ancho=gconfiguracion[1]
>>
>> alto=gconfiguracion[2]
>>
>> colorD=gconfiguracion[3]
>>
>> baSetDisplay( ancho , alto , colorD , "temp" , false
>>
>> quit
>>
>> exit
>>
>> en el boton no
>>
>> on mouseEnter
>>
>> cursor 280
>>
>> end
>>
>> on mouseUp
>>
>> close(the activeWindow)
>>
>> forget(the activeWindow)
>>
>> end
>>
>> on mouseleave
>>
>> cursor (0)
>>
>> end
>>
>>
>> Me olvida mencionar
>>
>> que la primera pelicula en ejecutarse tiene el
siguiente codigo
>>
>> global gconfiguracion
>>
>> on preparemovie
>>
>> the visible of the stage = false
>>
>> end
>>
>> on startmovie
>>
>> set the exitLock to TRUE
>>
>> gconfiguracion =[]
>>
>> set gconfiguracion[1] = baScreenInfo( "width" )
>>
>> set gconfiguracion[2] = baScreenInfo( "height" )
>>
>> set gconfiguracion[3] = baScreenInfo( "depth" )
>>
>> baSetDisplay( 800 , 600 , 32 , "temp" , false )
>>
>>
>>
>> pH=(baScreenInfo("width")-((the stageright - the
stageLeft )))/2
>>
>> pV=(baScreenInfo("height")- ((the stageBottom -the
stageTop)))/2
>>
>>
>> the rect of the stage=rect( pH, pV,
>> (baScreenInfo("width"))-pH,(baScreenInfo(
"height"))-pV)
>>
>>
>> the visible of the stage = true
>>
>>
>> end
>>
>>
>>
>> y e n el primer frame del script
>> on exitFrame me
>>
>> go to movie "master\presenta"
>>
>> end
>>
>>
>>
>> Amigo Agustin, disculpa el abuso; agradesco la
paciencia y la ayuda que
>> me puedas brindar.
>
>
>
> ����UY!!!
(agarr�ndome la cabeza jeje). Prepar�te para un mail
largo.
> Vamos por puntos:
>
> 1) Lo del startMovie que te dec�a no creo que
est� afectando en este caso.
> Se trata de que cuando naveg�s de una
pel�cula A hacia una pel�cula B, al
> iniciarse esta �ltima, se repite dos veces el
evento startMovie. Como en
> tu caso s�lo est�s definiendo la ruta de
algunas variables, parecer�a no
> afectar si se repite ese evento.
>
> 2) No me comentaste absolutamente nada con respecto al
tema de si todos
> los xtras que usan todas las pel�culas que
naveg�s, est�n en la primera
> pel�cula agregados (en tu caso, la primera parece
ser la que se abre antes
> de que navegues a "master\presenta"). Y repito que no se
trata s�lo de
> tenerlos a todos en una carpeta externa. Ten�s
que ir a modify > movie >
> xtras > add y agregar toooooodos los xtras que usen
tooodas tus pel�culas.
>
> 3) Con respecto a las MIAW, cerrarlas es un tema aparte.
La forma en la
> que la est�s referenciando para cerrarla te puede
traer errores de
> proyector en el 20% de los casos (ocurre en PC, no en
Mac). Es algo as�
> como que la ventana no se puede cerrar a s�
misma, sino que tiene que ser
> cerrada desde el stage. Ac� hay dos posibles
soluciones de Jakob Hede
> Madsen a este problema que son mis preferidas (si
necesit�s m�s
> informaci�n, busc� ese nombre en este
archivo
>
http://listserv.uark.edu/archives/direct-l.html
del mailing list de
> Direct-L que contenga MIAW en el subject):
>
> Here is a behavior which closes the MIAW it sits in, and
properly
> disposes of the MIAW, abiding common empirical
experience of such
> struggles.
> Don't worry if you don't quite understand it, try it on
anyway.
>
> ----<score script: miawCloserButtonBhv>----
> --miawCloserButtonBhv
>
> property pWindow
>
> on mouseUp me
> pWindow = the activeWindow
> pWindow.forget()
> sprite(me.spriteNum).scriptInstanceList.deleteOne(me)
> -- The "t" below is crucial, do not delete --
> tell the stage to t = timeOut(me.string).new(1, #mForget
,me)
> end
>
> on mForget me, aTimer
> pWindow = VOID -- not required, but just nice and clean.
> aTimer.forget()
> end
> ----</score script: miawCloserButtonBhv>----
>
>
>
> Here is another approach, for use with MIAWs with
window-close-widgets:
>
> --------<movie script>--------
> on closeWindow
> script("miawCloserClass").new(the activeWindow)
> end
> --------</movie script>--------
>
> --------<parent script "miawCloserClass">--------
> --miawCloserClass
>
> property pWindow
>
> on new me, aWindow
> pWindow = aWindow
> pWindow.forget()
> -- The "t" below is the actual bugFix --
> tell the stage to t = timeOut(me.string).new(0, #dummy ,
me)
> end
>
> on exitFrame me, aTimer
> aTimer.forget()
> end
> --------</parent script "miawCloserClass">--------
>
> Jakob
>
>
> Me olvidaba.... otra forma muy sencilla de solucionarlo
es sacar el
> forget() y simplemente usar el close(). De esta manera,
ten�s la
> desventaja de que la MIAW queda en la memoria pero la
ventaja de que no te
> enfrent�s a tener que cerrarla de manera que no
tire error.
>
> Con respecto al script que se ejecuta on prepareMovie
s�lo en la primera
> pel�cula, me imagino que su member est� en
el cast interno de dicha
> pel�cula.. porque si estuviera en el compartido
que me comentaste, se
> ejecutar�a constantemente cada vez que
naveg�s entre pel�culas. Pero por
> lo que dec�s, asumo que es interno.
>
> Resumiendo:
>
> 1) Cheque� lo de los xtras (otra forma de verlo
por c�digo es ir a la
> primera pel�cula y poner the movieXtraList en la
ventana de mensajes).
>
> 2) Elimin� el forget(the activeWindow) o
us� el c�digo complejo que te
> pas�. El problema en este momento es que
us�s forget() y despu�s en el
> bot�n SI ten�s m�s c�digo.
Pero al hacer forget(), se pierde la referencia
> a la ventana incorrectamente y todav�a
qued� c�digo por ejecutarse (el que
> redimensiona la pantalla).
>
> Espero te sirva. Saludos y suerte.
> --
> Agust�n Mar�a Rodr�guez
>
> www.onwine.com.ar > Macromedia Director demos &
code -
Hola, porque me salta la ventana de compartir al iniciar lion?
cada vez que inicio lion me salta la ventana de preferencias del sistema en compartir,lo desactive todo y me sigue saltando activandose sola la casilla de compartir bluetooth
Asked to sign in after paying may help
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
or
Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
or
Chat Now button near the bottom for Activation and Deactivation problems may help
http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html -
In my ITS page I have the following code:
`if (area == 3)`
<input type="image" name="~OkCode=GETPRODUCTS_RES" src="`mimeURL()`/tab_residential_on.gif" width="131" height="36" border=0 />
`else`
<input type="image" name="~OkCode=GETPRODUCTS_RES" src="`mimeURL()`/tab_residential_off.gif" width="131" height="36" border=0 />
`end`
This works fine but I want to remove the literal "3" and replace it with a variable g_res. So I change the code to read:
`if (area == g_res)`
This doesn't work as I think it's still checking the literal value of "g_res" not the value in the variable. I've checked several HTML code forums but this seems too simple a problem for them to solve. I'm a HTML novice so any pointers would be great.
Regards,
GillHi,
Of course this is possible. The line
if (area == g_res)
should work as expected.
Maybe you have noticed that you are not writing plain HTML but mixing HTML and a scripting language. The scripting language you are using here is called HTMLBusiness. It's a language only available on SAP ITS, so you won't find anything about it in ordinary HTML forums. Check the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fb05e4aee11d189740000e8322d00/frameset.htm">HTML Business reference</a> for further information.
Best regards
Henning -
How to get the values from a html form embedded in a swing container
Hi all,
I am developing an application in which i have to read a html file and display it in a swing container.That task i made it with the help of a tool.But now i want to get the values from that page.ie when the submit button is clicked all the values of that form should be retrived by a servlet/standalone application.I don't know how to proceed further.Any help in this regard will be very greatful
Thanks in advance,
PrakashBy parsing the HTML.
-
Get multiple values from a html select
I have a <select> object on my html page, with ~50 <option> values.
My user must be able to select many options (with the ctrl key).
How can I get more than one value with request.getParameter("...") ??
currently, when I select more than 1 options, and I submit the form, I can only get the last selected item in my JSP.
Thanks in advance!
example:
<form method="get">
<p>Teachers:</p>
<select name="profs" size="10">
<option value="prof 1">prof 1</option>
<option value="prof 2">prof 2</option>
<option value="prof 3">prof 3</option>
</select>
<input type="submit" name="action" value="addSubject">
</form>Hi,
just use getParameterValues("yourParameter") instead of getParameter("yourParameter")
Hope this helps -
I installed Firefox 4 on my 2010 13" MBP, standard configuration. It worked fine except that it didn't recognize any of the add-ons I was using and, to be frank, I don't like the interface as much as v.3. But ...
Then I backed up the entire HD, wiped the HD, removed it and replaced it with a Seagate hybrid HD. I then booted from the b/u and installed the entire HD contents on the new hybrid HD. Everything runs fine except for one thing -- Firefox 4 now will not recognize my bookmarks.
I tried reinstalling FF4 but this made no difference.
I did the b/u and restoration with Carbon Copy Cloner which I have used successfully for many b/u and restore operations on this and the white MB I previously owned.
Uh oh! I just tried to save a new bookmark (of this page) and it did not save -- or at least, it did not show in the "Show all Bookmarks" pane.
HOWEVER, when I start typing in a URL, it FF4 comes up with the completed URL in a flash. e.g. I typed "wiz" and FF4 showed me the completed URL (which should be in my Toolbar bookmarks and which I visit t least once daily).
Kind regards
Geoffrey Heard
Business & Environment Writer, Editor, Publisher
The Worsley PressDo a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
Download a fresh Firefox copy and save the file to the desktop.
*Firefox 10.0.x: http://www.mozilla.org/en-US/firefox/all.html
Uninstall your current Firefox version, if possible.
*Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data because all profile folders will be removed.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
*It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
*http://kb.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
*http://kb.mozillazine.org/Profile_backup
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall -
Jasper report for pdf and html
Hi friends I am Gopi
I am doing project in servlet and jasperreport in tomcat.
I save my path jasperreport for Html and Pdf reports.
when i click the jsp button Export to pdf and Export to Html,
I need to open this files in new pdf application and new browser window .
if(pdf1.equals("html"))
JasperExportManager.exportReportToHtmlFile(jasperPrint, path +"\\" + reportName + ".html");
exporter = new JRHtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, ouputStream);
exporter.exportReport();
if(pdf1.equals("pdf"))
System.out.println("PDF");
response.setContentType("application/pdf");
JasperExportManager.exportReportToPdfFile(jasperPrint,path +"\\" + reportName + ".pdf");
exporter = new JRPdfExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, ouputStream);
exporter.exportReport();
pls help me...gopikannang wrote:
when i click the jsp button Export to pdf and Export to Html,
I need to open this files in new pdf application and new browser window . Use the target attribute of the <form> or the <a> element which opens the PDF file. Set its value to "_blank".
Learn HTML. There is a nice tutorial at w3schools.com and a good specification at w3.org. -
Format on HTML report different than on PDF view
I have a Quote report based on Product Revenue that we send to our customers. I have it formatted nicely when initially displayed and also when viewed with the Printer Friendly HTML option. But... when I view it as a PDF, it is not even close.
The layout of the report uses a narrative section with HTML formatting to get the elements to align correctly, per the documentation. The HTML I use is as follows:
Narrative Section formatting code:
<table width="600">
<tr><td colspan=3> <div align="center"><b><font size="5" face="Times">
@10</font><br>
<font size="4" face="Times" > Prepared Exclusively For: @8</font></b>
</div></td>
</tr>
<tr> <th width="250"><div align="left">Quote Details</div></th> <th width="50"> </th><th width="300"><div align="left">Sales Manager Info:</div></th></tr>
<tr>
<td>Quote ID: @9</td><td> </td><td>Name: @16</td></tr>
<tr>
<td>Quote Date: @15</td><td> </td><td>Email: @17</td>
<tr><td>Quote Expiration: @14</td><td> </td><td> </td></tr>
<tr><td colspan=3><div align="center"><b>Phones - Cell:</b> @18, <b>Work:</b> @20, <b>Fax: </b> @19 </div></td></tr>
</table>
Notes: @11Is there another way to get the HTML view and PDF view to look the same (or at least close)?
(more details and examples here --> [HTML and PDF Views|http://crm.nurserysupplies.com/images/CRM_HTML_and_PDF_views.doc])To date, this is considered a product limitation. I just talked with an escalation manager regarding this very issue, and he offered to bring this up with the product managers/engineers on 5/15/09. I recommend escalating this issue and asking your escalation manager to do the same.
We are trying to create a customer contract based on Opportunity information.
The best way to accomplish what you are trying to do is: Click Printer Friendly > Click HTML > Click on File - Print in browser window > Either print to PDF using a pdf printer from adobe or the cutepdf or print a hard copy. -
Dublicate Value In HTML PL/SQL Report
hi,
i have to enter item name and item Price iinto transaction_details by using a form and labour Work, labour amount into LAB_WORK_DTL table using a form .
Now Problem is when i fetch these value in to PL/SQL Report then it's shows me double value like My Total Amount is 100 Then It show Me 200 and if there is two Values eg A , B then in report it's shows me A ,B , A, B, these two Value Shows Me in four Rows .How can i remove Dublicate Values .Why it does show me that double value . My code is below
How can i remove this problem .
declare
SA NUMBER;
tot number;
TH NUMBER;
va number;
am number;
lst number;
tst number;
st NUMBER;
cursor c2 is select
T.VAT,
SUM(T.AMOUNT) AMOUNT,
SUM(T.VAT_AMOUNT) VAT_AMOUNT
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no,t.vat, T.bill_date, T.vehicle_no, T.PARTY_NAME;
BEGIN
FOR x IN(SELECT t.item_name, t.qty,t.rate, t.bill_no
FROM transaction_details t,LAB_WORK_DTL l where t.bill_no=l.bill_no(+) and t.bill_no=:p27_bill_no
LOOP
HTP.P('<tr>
<td width="2%"> </td>
<td width="55%" align="left"> '|| HTF.escape_sc (x.item_name)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.qty)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.rate)||'</td>
<td width="25%" ALIGN="right">'|| HTF.escape_sc (x.qty)* HTF.escape_sc (x.rate)||'
</td>
</tr>');
END LOOP;
tot:=0;
bc:=0;
KA:=0;
open c2;
loop
FETCH c2 INTO va,am,vat_am;
exit when c2%notfound;
tot:=nvl(tot+am,0);
bc:=nvl(bc+vat_am,0);
end loop;
close c2;
HTP.P('<tr>
<td width="38"> </td>
<td width="29"> </td>
<td width="447"> </td>
<td> </td>
<td width="173">
<p align="Right">-------------------</td>
</tr>
<tr>
<td width="38"> </td>
<td width="447"> TOTAL</td>
<td> </td>
<td width="95"></td>
<td width="172">
<p align="right">'
|| nvl(HTF.escape_sc (tot),0)
||'</td>
</tr>');
</table></body>
</html>');
END;
Thanks
Manoj Kaushik
Edited by: Manoj Kaushik on Apr 8, 2010 11:01 PMhi,
this is my Complete Code But I facing Dublicate Value Error .
In that Code In Total Amount Of All Item Price Show me Jus Double.
How Can I remove it.
declare
a number;
bd date;
b varchar2(20);
c varchar2(50);
d varchar2(50);
e varchar2(50);
f varchar2(50);
g varchar2(50);
h varchar2(4000);
la NUMBER;
p NUMBER;
SA NUMBER;
K NUMBER;
FA NUMBER;
HA NUMBER;
KA NUMBER;
KH NUMBER;
MA NUMBER;
cnt NUMBER;
tot number;
l number;
TH NUMBER;
FS NUMBER;
va number;
am number;
vat_am number;
bc NUMBER;
lst number;
tst number;
st NUMBER;
c_tra number;
c_lab number;
cursor c1 is select T.bill_no,T.bill_date,T.vehicle_no,T.PARTY_NAME
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no, T.bill_date, T.vehicle_no, T.PARTY_NAME;
cursor c2 is select
T.VAT,
SUM(T.AMOUNT) AMOUNT,
SUM(T.VAT_AMOUNT) VAT_AMOUNT
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no,t.vat, T.bill_date, T.vehicle_no, T.PARTY_NAME;
cursor c3 is select L.service_tax,SUM(L.LABOUR_AMT) LABOUR_AMT,
SUM(L.SERVICE_TAX_AMT) SERVICE_TAX_AMT
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no,L.service_tax, T.bill_date, T.vehicle_no, T.PARTY_NAME;
cursor c4 is select
T.VAT,
SUM(T.AMOUNT) AMOUNT,
SUM(T.VAT_AMOUNT) VAT_AMOUNT
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no,t.vat, T.bill_date, T.vehicle_no, T.PARTY_NAME;
cursor c5 is select L.service_tax,SUM(L.LABOUR_AMT) LABOUR_AMT,
SUM(L.SERVICE_TAX_AMT) SERVICE_TAX_AMT
from transaction_details T FULL JOIN LAB_WORK_DTL L
ON T.BILL_NO = L.BILL_NO
WHERE T.BILL_NO = :P27_BILL_NO
GROUP BY T.bill_no,L.service_tax, T.bill_date, T.vehicle_no, T.PARTY_NAME;
BEGIN
select chasis_no,ENGINE_NO,MAKE,MILEAGE into c,d,e,f from VEHICLE_DETAILS where vehicle_no =:P27_VEHICLE_NO;
select ADDRESS into h from PARTY_DETAILS where PARTY_NAME =:p27_PARTY_NAME;
open c1;
FETCH c1 INTO a,bd,b,g;
htp.p('<html>
<body leftmargin="0" rightmargin="0">
<table border="1" width="100%" bordercolorlight="#003366" cellspacing="0" bordercolordark="#003366" id="table1">
<tr>
<td colspan="2">
<table border="1" width="100%" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td width="50"> </td>
<td width="21"> </td>
<td> </td>
</tr>
<tr>
<td width="50"><b>
</b></td>
<td width="21"><b></b></td>
<td align ="left">
<font size="4" face="Arial Black">'||HTF.escape_sc(g)||'</font></td>
</tr>
<tr>
<td width="50"> </td>
<td width="21"> </td>
<td> </td>
</tr>
<tr>
<td width="50"><b>
</b></td>
<td width="60"><b></b></td>
<td rowspan="4">
<font size="4" face="Arial Black">'||HTF.escape_sc(h)||'</font></td>
</tr>
<tr>
<td width="50"> </td>
<td width="21"> </td>
</tr>
<tr>
<td width="50"> </td>
<td width="21"> </td>
</tr>
<tr>
<td width="50"> </td>
<td width="21"> </td>
</tr>
</table>
</td>
<td width="44%" colspan="3">
<table border="1" width="100%" cellspacing="0" cellpadding="0" id="table4">
<tr>
<td width="53"> </td>
<td width="104"><b></b></td>
<td width="10"></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc(a) ||'</font> </td>
</tr>
<tr>
<td width="53"> </td>
<td width="104"><b></b></td>
<td width="10"></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc(bd) ||'</font></td>
</tr>
<tr>
<td width="53"> </td>
<td width="104"><b>
</b></td>
<td width="10"></td>
<td ><font size="5" face="Arial Black"> '|| HTF.escape_sc(b) ||'</font> </td>
</tr>');
CLOSE c1;
htp.p('<tr>
<td width="53"> </td>
<td width="104"><b>
</b></td>
<td width="10"></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc (c) ||'</font></td>
</tr>
<tr>
<td width="53"> </td>
<td width="104"><b>
</b></td>
<td width="10"><b></b></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc (d) ||'</font></td>
</tr>
<tr>
<td width="53"> </td>
<td width="104"><b>
</b></td>
<td width="10"><b></b></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc (e) ||'</font></td>
</tr>
<tr>
<td width="53"> </td>
<td width="104"><b>
</b></td>
<td width="10"><b></b></td>
<td ><font size="5" face="Arial Black"> ' || HTF.escape_sc (f) ||'</font></td>
</tr>
</TABLE>
</td>
</tr>
<tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr>
<tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr>
<tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr>
<tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr>
select count(*) into c_tra from transaction_details where bill_no=:p27_bill_no;
select count(*) into c_lab from lab_work_dtl where bill_no=:p27_bill_no;
if c_tra>0 and c_lab=NULL then
FOR x IN(SELECT distinct t.item_name, t.qty,t.rate, t.bill_no
FROM transaction_details t,LAB_WORK_DTL l where t.bill_no=l.bill_no(+) and t.bill_no=:p27_bill_no
LOOP
HTP.P('<tr>
<td width="2%"> </td>
<td width="55%" align="left"> '|| HTF.escape_sc (x.item_name)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.qty)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.rate)||'</td>
<td width="25%" ALIGN="right">'|| HTF.escape_sc (x.qty)* HTF.escape_sc (x.rate)||'
</td>
</tr>');
END LOOP;
tot:=0;
bc:=0;
KA:=0;
open c2;
loop
FETCH c2 INTO va,am,vat_am;
exit when c2%notfound;
tot:=nvl(tot+am,0);
bc:=nvl(bc+vat_am,0);
end loop;
close c2;
KA :=nvl(tot+bc,0);
HTP.P('<tr>
<td width="38"> </td>
<td width="29"> </td>
<td width="447"> </td>
<td> </td>
<td width="173">
<p align="Right">-------------------</td>
</tr>
<tr>
<td width="38"> </td>
<td width="447"> TOTAL</td>
<td> </td>
<td width="95"></td>
<td width="172">
<p align="right">'
|| nvl(HTF.escape_sc (tot),0)
||'</td>
</tr>');
open c4;
loop
FETCH c4 INTO va,am,vat_am;
exit when c4%notfound;
HTP.P('<tr>
<td width="38"> </td>
<td width="446"> VAT '||nvl(HTF.escape_sc (va),0)||'% OF Rs.'||nvl(HTF.escape_sc (am),0)||'</td>
<td width="116"> </td>
<td></td>
<td width="172">
<p align="right">'
|| nvl(HTF.escape_sc (vat_am),0)
||'</td>
</tr>');
end loop;
CLOSE c4;
HTP.P('<tr>
<td> </td>
<td width="30"> </td>
<td width="118"> </td>
<td width="95"> </td>
<td width="173">
<p align="Right">------------------</td>
</tr>
<tr>
<td> </td>
<td width="446" align="left"> TOTAL</td>
<td width="118"> </td>
<td width="95"></td>
<td width="173">
<p align="right">'
|| nvl(HTF.escape_sc (KA),0)
||'</td>
</tr>
<tr>
<td> </td>
<td width="446" align="left"> LABOUR CHARGES :-</td>
<td width="118"> </td>
<td width="95"></td>
<TD width="173"></td>
</tr>');
elsif c_lab>0 and c_tra=NULL THEN
FOR Y IN(SELECT l.WORK_DETAIL,l.LABOUR_AMT
FROM transaction_details t,LAB_WORK_DTL l WHERE t.bill_no(+) =l.bill_no and l.bill_no =:P27_BILL_NO
LOOP
HTP.P('<tr>
<td> </td>
<td width="446" align="left"> '||nvl(HTF.escape_sc (Y.WORK_DETAIL),0)||'</td>
<td width="118"> </td>
<td width="95"></td>
<td width="173">
<p align="right">'|| nvl(HTF.escape_sc(Y.LABOUR_AMT),0)||'</td>
</tr>');
END LOOP;
HTP.P('
<TR>
<td> </td>
<td width="30"> </td>
<td width="118"> </td>
<td width="95"></td>
<td width="173"> </td>
</tr>');
HTP.p ( '<tr>
<td width="36"> </td>
<td width="445"> </td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>');
sa:=0;
lst:=0;
open c3;
loop
FETCH c3 INTO st,la,p;
exit when c3%notfound;
sa:=nvl(sa+la,0);
lst:=nvl(lst+p,0);
end loop;
close c3;
TH:=nvl(sa+lst,0);
FS:=KA+TH;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> TOTAL</td>
<td> </td>
<td width="97"></td>
<td width="172">
<p align="right">'
||nvl(ROUND(HTF.escape_sc (sa),2),0)
||'</td>
</tr>');
open c5;
loop
FETCH c5 INTO st,la,p;
exit when c5%notfound;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> SERVICE TAX '||nvl(HTF.escape_sc (st),0)||' OF Rs.'||nvl(ROUND(HTF.escape_sc (la),2),0)||'</td>
<td> </td>
<td width="97"></td>
<td width="172">
<p align="right">'
|| nvl(ROUND(HTF.escape_sc(p),2),0)
||'</td>
</tr>');
end loop;
close c5;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> </td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>');
htp.p('<tr>
<td width="36"> </td>
<td width="445" align="left"> BILL AMOUNT</td>
<td> </td>
<td width="97"></td>
<td width="172" align="right">
<p >'||ROUND(HTF.escape_sc (FS),2)||'</td>
</tr>
<tr>
<td width="36"> </td>
<td width="445">
<p align="left"> '|| f_words(HTF.escape_sc (FS))||'</td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>');
ELSE
FOR x IN(SELECT t.item_name, t.qty,t.rate, t.bill_no
FROM transaction_details t where t.bill_no=:p27_bill_no
LOOP
HTP.P('<tr>
<td width="2%"> </td>
<td width="55%" align="left"> '|| HTF.escape_sc (x.item_name)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.qty)||'</td>
<td width="15%" ALIGN="right">'|| HTF.escape_sc (x.rate)||'</td>
<td width="25%" ALIGN="right">'|| HTF.escape_sc (x.qty)* HTF.escape_sc (x.rate)||'
</td>
</tr>');
END LOOP;
tot:=0;
bc:=0;
KA:=0;
open c2;
loop
FETCH c2 INTO va,am,vat_am;
exit when c2%notfound;
tot:=nvl(tot+am,0);
bc:=nvl(bc+vat_am,0);
end loop;
close c2;
KA :=nvl(tot+bc,0);
HTP.P('<tr>
<td width="38"> </td>
<td width="29"> </td>
<td width="447"> </td>
<td> </td>
<td width="173">
<p align="Right">-------------------</td>
</tr>
<tr>
<td width="38"> </td>
<td width="447"> TOTAL</td>
<td> </td>
<td width="95"></td>
<td width="172">
<p align="right">'
|| nvl(HTF.escape_sc (tot),0)
||'</td>
</tr>');
open c4;
loop
FETCH c4 INTO va,am,vat_am;
exit when c4%notfound;
HTP.P('<tr>
<td width="38"> </td>
<td width="446"> VAT '||nvl(HTF.escape_sc (va),0)||'% OF Rs.'||nvl(HTF.escape_sc (am),0)||'</td>
<td width="116"> </td>
<td></td>
<td width="172">
<p align="right">'
|| nvl(HTF.escape_sc (vat_am),0)
||'</td>
</tr>');
end loop;
CLOSE c4;
HTP.P('<tr>
<td> </td>
<td width="30"> </td>
<td width="118"> </td>
<td width="95"> </td>
<td width="173">
<p align="Right">------------------</td>
</tr>
<tr>
<td> </td>
<td width="446" align="left"> TOTAL</td>
<td width="118"> </td>
<td width="95"></td>
<td width="173">
<p align="right">'
|| nvl(HTF.escape_sc (KA),0)
||'</td>
</tr>
<tr>
<td> </td>
<td width="446" align="left"> LABOUR CHARGES :-</td>
<td width="118"> </td>
<td width="95"></td>
<TD width="173"></td>
</tr>');
FOR Y IN(SELECT l.WORK_DETAIL,l.LABOUR_AMT
FROM LAB_WORK_DTL l where l.bill_no =:P27_BILL_NO
LOOP
HTP.P('<tr>
<td> </td>
<td width="446" align="left"> '||nvl(HTF.escape_sc (Y.WORK_DETAIL),0)||'</td>
<td width="118"> </td>
<td width="95"></td>
<td width="173">
<p align="right">'|| nvl(HTF.escape_sc(Y.LABOUR_AMT),0)||'</td>
</tr>');
END LOOP;
HTP.P('
<TR>
<td> </td>
<td width="30"> </td>
<td width="118"> </td>
<td width="95"></td>
<td width="173"> </td>
</tr>');
HTP.p ( '<tr>
<td width="36"> </td>
<td width="445"> </td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>');
sa:=0;
lst:=0;
open c3;
loop
FETCH c3 INTO st,la,p;
exit when c3%notfound;
sa:=nvl(sa+la,0);
lst:=nvl(lst+p,0);
end loop;
close c3;
TH:=nvl(sa+lst,0);
FS:=KA+TH;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> TOTAL</td>
<td> </td>
<td width="97"></td>
<td width="172">
<p align="right">'
||nvl(ROUND(HTF.escape_sc (sa),2),0)
||'</td>
</tr>');
open c5;
loop
FETCH c5 INTO st,la,p;
exit when c5%notfound;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> SERVICE TAX '||nvl(HTF.escape_sc (st),0)||' OF Rs.'||nvl(ROUND(HTF.escape_sc (la),2),0)||'</td>
<td> </td>
<td width="97"></td>
<td width="172">
<p align="right">'
|| nvl(ROUND(HTF.escape_sc(p),2),0)
||'</td>
</tr>');
end loop;
close c5;
htp.p('<tr>
<td width="36"> </td>
<td width="445"> </td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>
<tr>
<td width="36"> </td>
<td width="445" align="left"> BILL AMOUNT</td>
<td> </td>
<td width="97"></td>
<td width="172" align="right">
<p >'||ROUND(HTF.escape_sc (FS),2)||'</td>
</tr>
<tr>
<td width="36"> </td>
<td width="445">
<p align="left"> '|| f_words(HTF.escape_sc (FS))||'</td>
<td> </td>
<td width="97"> </td>
<td width="172">
<p align="Right">------------------</td>
</tr>');
END IF;
HTP.P('</table>
</body>
</html>');
END;
Maybe you are looking for
-
Ubuntu Natty Narwhal 11.04 Logitech Marble Trackball Mouse
-
WAD: Height of Filter pane not displayed correctly in SPS14
Hi Experts, I just moved to SPS14 and I noticed on our Web Templates that Filter Pane are reduced in comparison with what I had in SPS10. For Instance, for an height of 18 I was able to display properly 2 dropdown boxes in Filter pane. Now I am not a
-
Production order change status report
Dear All, I created production order in PP. suppose I make changes in production order while confirmation i.e. i change prodn. order qty. 50 to 40 at stage 30(i.e. atrouting stage-- 3rd operation). From where i will get the status of this changes in
-
Different behaviour of RKDAUF Picklist in Mobile Timesheet to Expenses
Dear all, can anyone tell me why in the Expenses Sheet when choosing a contract from the picklist (KDAUF) also Position (KDPOS) in the timesheet is filled out automatically but not in Mobile Timesheet? When I choose a contract from the standard pickl
-
Find missing files kinda kludgy
I open a session and it asks me to link missing files but I dont even know what's missing. AFTER i open the session, I can see missing stuff, but then what? I'd be happy to select a clip and find the parent, but how? No context menu to do that, etc