Lorenzo, are you sure your template in the error action contains the
marker for the request attribute "dinamica.error.stacktrace"? It should be
by default but some old versions of this Action template had this marker
commented.
This Action is supposed to be called by the servlet container when an
exception is triggered in your code, so you don't need any logic to
forward to this Action, just throw an Exception with the message:
if (condition)
throw new Throwable("My error message")
The mechanism is a standard feature of the servlet spec, it's configured
in web.xml (error-page).
Nevertheless, you should be able to forward to any action you want based
on exit code, just as you did in the example. Please check the html
template of the forwarded action (error/general).
I think that in your case this message is not an error, just an alert, so
you may use another action for this kind of messages, because the
/action/error/general was designed to report exceptions, not general
messages.
In the "complex search filter" sample code (orders.zip) you will find an
example of forward based on exit code, when there are no search results,
the page flow is directed to a notification page. It is very simple.
Any way, I will test forwards to this error action, it should pose no
problems. Keep you informed.
Best regards,
Martin
>
>
>
>
> Hi,
>
> I am trying to use the general app error system for my own purpuses.
>
> I after creating a extension on the GeneralTransaction, y putted a code
> where I added an attribute to the session like this:
>
> if (rc >= 0) {
> String trace = "Error sending the email to the customer´s
> email";
> getRequest().setAttribute("dinamica.error.stacktrace", trace);
> }
>
> And in the config.xml I added to <transaction> to catch 2 errors:
>
> <on-exit return-code="1"
> forward-to="/action/error/general" /> <on-exit
> return-code="2" forward-to="/action/error/general"
> />
>
> My question is that Dinamica's Error System only tells:
>
> "Sorry, an unexpected error has occured in this application. An
> email was sent to the support personnel. You may retry your operation.
> Thank you!"
>
> Have anyone succeding using Error System for your apps.
> Thanks,
>
> Lorenzo
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
>
>
>
>
>
>
>
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve
> a:http://espanol.groups.yahoo.com/group/dinamica4java/ Para
> cancelar tu suscripción a este grupo, envía un mensaje
> a:dinamica4java-unsubscribe@... El uso de Yahoo!
> Grupos se rige por las Condiciones del servicio de Yahoo!.
Hi,
I am trying to use the general app error system for my own purpuses.
I after creating a extension on the GeneralTransaction, y putted a
code where I added an attribute to the session like this:
if (rc >= 0) {
String trace = "Error sending the email to the customer´s email";
getRequest().setAttribute("dinamica.error.stacktrace", trace);
}
And in the config.xml I added to <transaction> to catch 2 errors:
<on-exit return-code="1" forward-to="/action/error/general" />
<on-exit return-code="2" forward-to="/action/error/general" />
My question is that Dinamica's Error System only tells:
"Sorry, an unexpected error has occured in this application. An email
was sent to the support personnel. You may retry your operation. Thank
you!"
Have anyone succeding using Error System for your apps.
Thanks,
Lorenzo
Dinamica v1.8 is available for download.
This update includes facilities to create Master/Detail reports for HTML
and PDF formats. A new How-to document was incorporated in the
Knowledge-Catalog to provide you with all the required instructions,
sample code also available.
Besides dinamica.zip, all the indivual downloads were also updated, in
case you don't want to download the whole distribution. You should have at
least framework.jar and the sample code (customers.zip).
Someone asked me about a free JDBC driver for SQLServer. You can use jTDS:
http://jtds.sourceforge.net/
Follow the download link. Place the JAR in /resin/lib and restart your resin.
To configure a datasource with Resin and this driver:
<resource-ref>
<res-ref-name>jdbc/jtds</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<init-param driver-name="net.sourceforge.jtds.jdbc.Driver"/>
<init-param url="jdbc:jtds:sqlserver://address:port/YourDBName"/>
<init-param user="sa"/>
<init-param password=""/>
<init-param max-connections="50"/>
<init-param max-idle-time="5m"/>
<init-param connection-wait-time="5s"/>
</resource-ref>
It also works for Sybase 10.
Best regards,
Martin Cordova
Hello:
I just finished testing the new Master/Detail html report modules. These
are generic classes that make it very easy to generate text-based master
detail report, with report header, totals, subtotals, master and detail
section, etc. Things like this:
-Report Header
--Master Header
---Detail
--Master Footer
....
-Report Footer (gran total)
For the most simple cases, no code is required, just plain config.xml
parameters. This can cover a wide spectrum of real cases, if you use a
clever SQL strategy. The implementation is very efficient, all of the
subtotals/totals calculations are executed by the database server, and the
number of queries was minimized to reduce roundtrips to the database.
An equivalent PDF master/detail report will be included too, to provide
you with a code base to build your own print-quality complex reports. The
same Transaction classes are reused for this case.
I plan to include two more Knowledge-Catalog documents to provide
background+howto information on these new features.
I also fixed some problems related with output formats when using secure
applications and customized Locales for each user.
A version of the Admin application to SQLServer is also planned, as well
as portability tests of the security model to Oracle.
I will try to post this new release in 1 or 2 days.
Best regards,
Martin Cordova
Jonathan, como es una pregunta especifica de SAPDB mas que de Dinamica,
lamentablemente no te puedo ayudar. Hay ejemplos de codigo en la guia de
referencia sobre como invocar un stored procedure con parametros de salida
en la guia de referencia, lo que te servira para cuando tengas tu stored
procedure funcionando.
Sugiero que enrutes la pregunta a la lista de MAXDB.
Saludos,
Martin
> Listeros,
>
> Estoy haciendo un reporte para el que necesito un stored procedure de
> SAPDB, pero necesito que dicho SP construya dinámicamente la consulta,
> es decir, que la instrucción sea preparada. Ahora bien, revisé los
> manuales e hice lo que allí dice sobre este tipo de sentencia; no
> obstante, siempre me arrojó un error al intentar compilar el SP. El
> error reporta que no conoce la sentencia ejecutada y marca en la primera
> palabra "EXEC". La sentencia es como la siguiente: EXEC SQL BEGIN
> DECLARE SECTION;
>
> int hno;
>
> char name[16];
>
> float price;
>
> char cmd[100];
>
> char *stmt;
>
> EXEC SQL END DECLARE SECTION;
>
> La versión de SAPDB en que estoy probando esto es la 7.5 (MAXDB), sobre
> sistema operativo Windows 2000. ¿Alguien tiene alguna experiencia con
> sentencias de este tipo?
>
> De antemano muchas gracias.
>
> Jonathan
Estoy haciendo un reporte para el que necesito un stored procedure de SAPDB, pero necesito que dicho SP construya dinámicamente la consulta, es decir, que la instrucción sea preparada. Ahora bien, revisé los manuales e hice lo que allí dice sobre este tipo de sentencia; no obstante, siempre me arrojó un error al intentar compilar el SP. El error reporta que no conoce la sentencia ejecutada y marca en la primera palabra "EXEC". La sentencia es como la siguiente:
EXEC SQL BEGIN DECLARE SECTION;
int hno;
char name[16];
float price;
char cmd[100];
char *stmt;
EXEC SQL END DECLARE SECTION;
La versión de SAPDB en que estoy probando esto es la 7.5 (MAXDB), sobre sistema operativo Windows 2000. ¿Alguien tiene alguna experiencia con sentencias de este tipo?
Gracias Martin,
Por cuestión de tiempo y prioridades, el Admin no puedo modificarlo ahora..pero seguro que en lo que tenga una oportunidad lo hago y con mucho gusto te lo envío...
-----Mensaje original-----
De: dinamica@... [mailto:dinamica@...]
Enviado el: Jueves, 22 de Abril de 2004 05:55 p.m. Milko González
Para: dinamica4java@...
Asunto: RE: [dinamica4java] New How-to documents...
OK. El grupo /security ya quedo listo, lo acabo de terminar y probar. Lo
voy a poner en el website en unos minutos. En cuanto al Admin, eso pensaba
dejarlo en ingles, y la nueva version tiene varias paginas (o estados)
nuevos, ademas de que los existentes cambiaron un poco, porque hay nuevos
campos en algunos formularios. Con el Admin no voy a tomar medidas por
ahora, pero la parte que ve el usuario final ya quedo lista en ingles y
español.
Si llegas a ponerle etiquetas dinamicas a Admin (usando labels.xml) por
favor mandamelo - se agradecen las contribuciones de este tipo.
Saludos,
Martin
> Edité tanto Admin como el grupo de Actions "/security"...
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 03:02 p.m. Milko González
> Para: dinamica4java@...
> Asunto: RE: [dinamica4java] New How-to documents...
>
>
> Creo que la solucion mas optima seria poner labels dinamicos en todos
> los templates de seguridad y parametrizar labels.xml en el template de
> aplicacion segura para que no tengan que pasar por este problema. Me
> encargare de hacer esto dinamico para tenerlo la semana que viene, pero
> de momento me temo que perderas parte de tu trabajo de traduccion de los
> templates. A los templates existentes les cambie muy poco, pero de todos
> modos es un trabajo un poco laborioso tratar de rescatar tus templates.
> Por cierto, te refieres a la aplicacion Admin o al grupo de Actions
> "/security" que va dentro de TU aplicacion? cuales editaste?
>
> Saludos,
> Martin
>
>
>> El problema es que la versión de seguridad la traduje al español
>> entonces no puedo sustituir todos los templates...
>>
>> -----Mensaje original-----
>> De: dinamica@... [mailto:dinamica@...]
>> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
>> Para: dinamica4java@...
>> Asunto: RE: [dinamica4java] New How-to documents...
>>
>>
>> No. Hay una alternativa que es recompilar el paquete dinamica pero
>> usando el subpaquete security de la version 1.6 - cuentame, cual es el
>> problema con la 1.7? de repente y te puedo ayudar a resolverlo.
>>
>> Saludos,
>> Martin
>>
>>
>>> Martin...
>>> Saludos...
>>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
>>> framework.jar de la versión 1.7?
>>>
>>> -----Mensaje original-----
>>> De: dinamica@... [mailto:dinamica@...]
>>> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
>>> Para: Dinamica
>>> Asunto: [dinamica4java] New How-to documents...
>>>
>>>
>>> The Knowledge-Catalog section of the website has been updated with
>>> new material.
>>>
>>> 1.- Server-side Charts (using new v1.7 features)
>>> 2.- PDF Reports with embedded charts
>>>
>>> Both How-to docs include the usual sample code package.
>>>
>>> ------
>>>
>>> A small correction was posted yesterday that affects the secure
>>> webapp template:
>>>
>>> - The action /action/security/loginhistory must be replaced using the
>>> one included in the current webapp-s.zip template available at the
>>> website.
>>>
>>> - The file framework.jar must be replaced with the current one
>>> available at the website.
>>>
>>> There is no bug in this Action, it may work OK in its present state.
>>> The correction fixed a potential config problem. This Action should
>>> read the security datasource config from the SecurityFilter
>>> configuration, but it was reading this piece of info from its
>>> config.xml file, causing more config work to be done when the
>>> security datasource name changed. That was fixed yesterday.
>>>
>>> Best regards,
>>> Martin
>>>
>>>
>>>
>>>
>>>
>>> Dinamica website:
>>> http://www.martincordova.com >>>
>>> To unsubscribe send an email to:
>>> dinamica4java-unsubscribe@...
>>>
>>> Yahoo! Grupos Enlaces
>>>
>>> Para visitar tu grupo en Internet, ve a:
>>> http://espanol.groups.yahoo.com/group/dinamica4java/ >>>
>>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>>> dinamica4java-unsubscribe@...
>>>
>>> El uso de Yahoo! Grupos se rige por:
>>> http://e1.docs.yahoo.com/info/utos.html >>
>>
>>
>>
>>
>> Dinamica website:
>> http://www.martincordova.com >>
>> To unsubscribe send an email to:
>> dinamica4java-unsubscribe@...
>>
>> Yahoo! Grupos Enlaces
>>
>> Para visitar tu grupo en Internet, ve a:
>> http://espanol.groups.yahoo.com/group/dinamica4java/ >>
>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>> dinamica4java-unsubscribe@...
>>
>> El uso de Yahoo! Grupos se rige por:
>> http://e1.docs.yahoo.com/info/utos.html >
>
>
>
>
> Dinamica website:
> http://www.martincordova.com >
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/ >
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
Te bajas las plantillas de aplicacion, esos archivos contienen las ultimas
versiones de lso JARs ademas de las ultimas actualizaciones a los Actions
pre-construidos, como /security o /error.
A veces hago una correccion pequeña a las clases del framework, en esos
casos te bajas solo el archivo fraemwork.jar y lo actualizas en tus
aplicaciones.
Saludos,
Martin
> Martín disculpa mi pregunta, pero no tengo claro la forma de hacer las
> actualizaciones para Dinámica. Seguramente lo explicaste por ahí pero no
> he podido meterme a revisar el listserver pues ando corriendo.
>
> Saludos, Ulises.
>
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 17:55
> Para: dinamica4java@...
> Asunto: RE: [dinamica4java] New How-to documents...
>
>
> OK. El grupo /security ya quedo listo, lo acabo de terminar y probar.
> Lo voy a poner en el website en unos minutos. En cuanto al Admin, eso
> pensaba dejarlo en ingles, y la nueva version tiene varias paginas (o
> estados) nuevos, ademas de que los existentes cambiaron un poco,
> porque hay nuevos campos en algunos formularios. Con el Admin no voy a
> tomar medidas por ahora, pero la parte que ve el usuario final ya
> quedo lista en ingles y español.
>
> Si llegas a ponerle etiquetas dinamicas a Admin (usando labels.xml)
> por favor mandamelo - se agradecen las contribuciones de este tipo.
>
> Saludos,
> Martin
>
>
> > Edité tanto Admin como el grupo de Actions "/security"...
> >
> > -----Mensaje original-----
> > De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 03:02 p.m. Milko González
> Para: dinamica4java@...
> > Asunto: RE: [dinamica4java] New How-to documents...
> >
> >
> > Creo que la solucion mas optima seria poner labels dinamicos en
> todos los templates de seguridad y parametrizar labels.xml en el
> template de aplicacion segura para que no tengan que pasar por este
> problema. Me encargare de hacer esto dinamico para tenerlo la semana
> que viene, pero de momento me temo que perderas parte de tu trabajo
> de traduccion de los templates. A los templates existentes les
> cambie muy poco, pero de todos modos es un trabajo un poco laborioso
> tratar de rescatar tus templates. Por cierto, te refieres a la
> aplicacion Admin o al grupo de Actions "/security" que va dentro de
> TU aplicacion? cuales editaste?
> >
> > Saludos,
> > Martin
> >
> >
> >> El problema es que la versión de seguridad la traduje al
> español
> >> entonces no puedo sustituir todos los templates...
> >>
> >> -----Mensaje original-----
> >> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
> Para: dinamica4java@...
> >> Asunto: RE: [dinamica4java] New How-to documents...
> >>
> >>
> >> No. Hay una alternativa que es recompilar el paquete dinamica pero
> usando el subpaquete security de la version 1.6 - cuentame, cual es
> el problema con la 1.7? de repente y te puedo ayudar a resolverlo.
> >>
> >> Saludos,
> >> Martin
> >>
> >>
> >>> Martin...
> >>> Saludos...
> >>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
> framework.jar de la versión 1.7?
> >>>
> >>> -----Mensaje original-----
> >>> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
> Para: Dinamica
> >>> Asunto: [dinamica4java] New How-to documents...
> >>>
> >>>
> >>> The Knowledge-Catalog section of the website has been updated with
> new material.
> >>>
> >>> 1.- Server-side Charts (using new v1.7 features)
> >>> 2.- PDF Reports with embedded charts
> >>>
> >>> Both How-to docs include the usual sample code package.
> >>>
> >>> ------
> >>>
> >>> A small correction was posted yesterday that affects the secure
> webapp template:
> >>>
> >>> - The action /action/security/loginhistory must be replaced using
> the one included in the current webapp-s.zip template available at
> the website.
> >>>
> >>> - The file framework.jar must be replaced with the current one
> available at the website.
> >>>
> >>> There is no bug in this Action, it may work OK in its present
> state. The correction fixed a potential config problem. This
> Action should read the security datasource config from the
> SecurityFilter
> >>> configuration, but it was reading this piece of info from its
> config.xml file, causing more config work to be done when the
> security datasource name changed. That was fixed yesterday.
> >>>
> >>> Best regards,
> >>> Martin
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Dinamica website:
> >>> http://www.martincordova.com
> >>>
> >>> To unsubscribe send an email to:
> >>> dinamica4java-unsubscribe@...
> >>>
> >>> Yahoo! Grupos Enlaces
> >>>
> >>> Para visitar tu grupo en Internet, ve a:
> >>> http://espanol.groups.yahoo.com/group/dinamica4java/
> >>>
> >>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> >>> dinamica4java-unsubscribe@...
> >>>
> >>> El uso de Yahoo! Grupos se rige por:
> >>> http://e1.docs.yahoo.com/info/utos.html
> >>
> >>
> >>
> >>
> >>
> >> Dinamica website:
> >> http://www.martincordova.com
> >>
> >> To unsubscribe send an email to:
> >> dinamica4java-unsubscribe@...
> >>
> >> Yahoo! Grupos Enlaces
> >>
> >> Para visitar tu grupo en Internet, ve a:
> >> http://espanol.groups.yahoo.com/group/dinamica4java/
> >>
> >> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> >> dinamica4java-unsubscribe@...
> >>
> >> El uso de Yahoo! Grupos se rige por:
> >> http://e1.docs.yahoo.com/info/utos.html
> >
> >
> >
> >
> >
> > Dinamica website:
> > http://www.martincordova.com
> >
> > To unsubscribe send an email to:
> > dinamica4java-unsubscribe@...
> >
> > Yahoo! Grupos Enlaces
> >
> > Para visitar tu grupo en Internet, ve a:
> > http://espanol.groups.yahoo.com/group/dinamica4java/
> >
> > Para cancelar tu suscripción a este grupo, envía un mensaje a:
> > dinamica4java-unsubscribe@...
> >
> > El uso de Yahoo! Grupos se rige por:
> > http://e1.docs.yahoo.com/info/utos.html
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
>
>
>
> ----------------------------------------------------------------------------
> --
> Yahoo! Grupos Enlaces
>
> a.. Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/
>
> b.. Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> c.. El uso de Yahoo! Grupos se rige por las Condiciones del servicio
> de
> Yahoo!.
Martín disculpa mi pregunta, pero no tengo claro la forma de hacer las actualizaciones para Dinámica. Seguramente lo explicaste por ahí pero no he podido meterme a revisar el listserver pues ando corriendo.
Saludos, Ulises.
-----Mensaje original----- De: dinamica@... [mailto:dinamica@...] Enviado el: Jueves, 22 de Abril de 2004 17:55 Para: dinamica4java@... Asunto: RE: [dinamica4java] New How-to documents...
OK. El grupo /security ya quedo listo, lo acabo de terminar y probar. Lo voy a poner en el website en unos minutos. En cuanto al Admin, eso pensaba dejarlo en ingles, y la nueva version tiene varias paginas (o estados) nuevos, ademas de que los existentes cambiaron un poco, porque hay nuevos campos en algunos formularios. Con el Admin no voy a tomar medidas por ahora, pero la parte que ve el usuario final ya quedo lista en ingles y español.
Si llegas a ponerle etiquetas dinamicas a Admin (usando labels.xml) por favor mandamelo - se agradecen las contribuciones de este tipo.
Saludos, Martin
> Edité tanto Admin como el grupo de Actions "/security"... > > -----Mensaje original----- > De: dinamica@... [mailto:dinamica@...] > Enviado el: Jueves, 22 de Abril de 2004 03:02 p.m. Milko González > Para: dinamica4java@... > Asunto: RE: [dinamica4java] New How-to documents... > > > Creo que la solucion mas optima seria poner labels dinamicos en todos > los templates de seguridad y parametrizar labels.xml en el template de > aplicacion segura para que no tengan que pasar por este problema. Me > encargare de hacer esto dinamico para tenerlo la semana que viene, pero > de momento me temo que perderas parte de tu trabajo de traduccion de los > templates. A los templates existentes les cambie muy poco, pero de todos > modos es un trabajo un poco laborioso tratar de rescatar tus templates. > Por cierto, te refieres a la aplicacion Admin o al grupo de Actions > "/security" que va dentro de TU aplicacion? cuales editaste? > > Saludos, > Martin > > >> El problema es que la versión de seguridad la traduje al español >> entonces no puedo sustituir todos los templates... >> >> -----Mensaje original----- >> De: dinamica@... [mailto:dinamica@...] >> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González >> Para: dinamica4java@... >> Asunto: RE: [dinamica4java] New How-to documents... >> >> >> No. Hay una alternativa que es recompilar el paquete dinamica pero >> usando el subpaquete security de la version 1.6 - cuentame, cual es el >> problema con la 1.7? de repente y te puedo ayudar a resolverlo. >> >> Saludos, >> Martin >> >> >>> Martin... >>> Saludos... >>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el >>> framework.jar de la versión 1.7? >>> >>> -----Mensaje original----- >>> De: dinamica@... [mailto:dinamica@...] >>> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González >>> Para: Dinamica >>> Asunto: [dinamica4java] New How-to documents... >>> >>> >>> The Knowledge-Catalog section of the website has been updated with >>> new material. >>> >>> 1.- Server-side Charts (using new v1.7 features) >>> 2.- PDF Reports with embedded charts >>> >>> Both How-to docs include the usual sample code package. >>> >>> ------ >>> >>> A small correction was posted yesterday that affects the secure >>> webapp template: >>> >>> - The action /action/security/loginhistory must be replaced using the >>> one included in the current webapp-s.zip template available at the >>> website. >>> >>> - The file framework.jar must be replaced with the current one >>> available at the website. >>> >>> There is no bug in this Action, it may work OK in its present state. >>> The correction fixed a potential config problem. This Action should >>> read the security datasource config from the SecurityFilter >>> configuration, but it was reading this piece of info from its >>> config.xml file, causing more config work to be done when the >>> security datasource name changed. That was fixed yesterday. >>> >>> Best regards, >>> Martin >>> >>> >>> >>> >>> >>> Dinamica website: >>> http://www.martincordova.com >>> >>> To unsubscribe send an email to: >>> dinamica4java-unsubscribe@... >>> >>> Yahoo! Grupos Enlaces >>> >>> Para visitar tu grupo en Internet, ve a: >>> http://espanol.groups.yahoo.com/group/dinamica4java/ >>> >>> Para cancelar tu suscripción a este grupo, envía un mensaje a: >>> dinamica4java-unsubscribe@... >>> >>> El uso de Yahoo! Grupos se rige por: >>> http://e1.docs.yahoo.com/info/utos.html >> >> >> >> >> >> Dinamica website: >> http://www.martincordova.com >> >> To unsubscribe send an email to: >> dinamica4java-unsubscribe@... >> >> Yahoo! Grupos Enlaces >> >> Para visitar tu grupo en Internet, ve a: >> http://espanol.groups.yahoo.com/group/dinamica4java/ >> >> Para cancelar tu suscripción a este grupo, envía un mensaje a: >> dinamica4java-unsubscribe@... >> >> El uso de Yahoo! Grupos se rige por: >> http://e1.docs.yahoo.com/info/utos.html > > > > > > Dinamica website: > http://www.martincordova.com > > To unsubscribe send an email to: > dinamica4java-unsubscribe@... > > Yahoo! Grupos Enlaces > > Para visitar tu grupo en Internet, ve a: > http://espanol.groups.yahoo.com/group/dinamica4java/ > > Para cancelar tu suscripción a este grupo, envía un mensaje a: > dinamica4java-unsubscribe@... > > El uso de Yahoo! Grupos se rige por: > http://e1.docs.yahoo.com/info/utos.html
A new webapp-s.zip template has been posted. This update includes dynamic
labels for all templates under the /action/security directory. This way
all the security related actions will display its labels according to the
selected language. English and spanish only - others are welcome.
There are some exceptions:
* The login page
* The welcome page
* Email messages in case of alerts (failed logins and locked accounts)
Regards,
Martin
OK. El grupo /security ya quedo listo, lo acabo de terminar y probar. Lo
voy a poner en el website en unos minutos. En cuanto al Admin, eso pensaba
dejarlo en ingles, y la nueva version tiene varias paginas (o estados)
nuevos, ademas de que los existentes cambiaron un poco, porque hay nuevos
campos en algunos formularios. Con el Admin no voy a tomar medidas por
ahora, pero la parte que ve el usuario final ya quedo lista en ingles y
español.
Si llegas a ponerle etiquetas dinamicas a Admin (usando labels.xml) por
favor mandamelo - se agradecen las contribuciones de este tipo.
Saludos,
Martin
> Edité tanto Admin como el grupo de Actions "/security"...
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 03:02 p.m. Milko González
> Para: dinamica4java@...
> Asunto: RE: [dinamica4java] New How-to documents...
>
>
> Creo que la solucion mas optima seria poner labels dinamicos en todos
> los templates de seguridad y parametrizar labels.xml en el template de
> aplicacion segura para que no tengan que pasar por este problema. Me
> encargare de hacer esto dinamico para tenerlo la semana que viene, pero
> de momento me temo que perderas parte de tu trabajo de traduccion de los
> templates. A los templates existentes les cambie muy poco, pero de todos
> modos es un trabajo un poco laborioso tratar de rescatar tus templates.
> Por cierto, te refieres a la aplicacion Admin o al grupo de Actions
> "/security" que va dentro de TU aplicacion? cuales editaste?
>
> Saludos,
> Martin
>
>
>> El problema es que la versión de seguridad la traduje al español
>> entonces no puedo sustituir todos los templates...
>>
>> -----Mensaje original-----
>> De: dinamica@... [mailto:dinamica@...]
>> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
>> Para: dinamica4java@...
>> Asunto: RE: [dinamica4java] New How-to documents...
>>
>>
>> No. Hay una alternativa que es recompilar el paquete dinamica pero
>> usando el subpaquete security de la version 1.6 - cuentame, cual es el
>> problema con la 1.7? de repente y te puedo ayudar a resolverlo.
>>
>> Saludos,
>> Martin
>>
>>
>>> Martin...
>>> Saludos...
>>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
>>> framework.jar de la versión 1.7?
>>>
>>> -----Mensaje original-----
>>> De: dinamica@... [mailto:dinamica@...]
>>> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
>>> Para: Dinamica
>>> Asunto: [dinamica4java] New How-to documents...
>>>
>>>
>>> The Knowledge-Catalog section of the website has been updated with
>>> new material.
>>>
>>> 1.- Server-side Charts (using new v1.7 features)
>>> 2.- PDF Reports with embedded charts
>>>
>>> Both How-to docs include the usual sample code package.
>>>
>>> ------
>>>
>>> A small correction was posted yesterday that affects the secure
>>> webapp template:
>>>
>>> - The action /action/security/loginhistory must be replaced using the
>>> one included in the current webapp-s.zip template available at the
>>> website.
>>>
>>> - The file framework.jar must be replaced with the current one
>>> available at the website.
>>>
>>> There is no bug in this Action, it may work OK in its present state.
>>> The correction fixed a potential config problem. This Action should
>>> read the security datasource config from the SecurityFilter
>>> configuration, but it was reading this piece of info from its
>>> config.xml file, causing more config work to be done when the
>>> security datasource name changed. That was fixed yesterday.
>>>
>>> Best regards,
>>> Martin
>>>
>>>
>>>
>>>
>>>
>>> Dinamica website:
>>> http://www.martincordova.com
>>>
>>> To unsubscribe send an email to:
>>> dinamica4java-unsubscribe@...
>>>
>>> Yahoo! Grupos Enlaces
>>>
>>> Para visitar tu grupo en Internet, ve a:
>>> http://espanol.groups.yahoo.com/group/dinamica4java/
>>>
>>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>>> dinamica4java-unsubscribe@...
>>>
>>> El uso de Yahoo! Grupos se rige por:
>>> http://e1.docs.yahoo.com/info/utos.html
>>
>>
>>
>>
>>
>> Dinamica website:
>> http://www.martincordova.com
>>
>> To unsubscribe send an email to:
>> dinamica4java-unsubscribe@...
>>
>> Yahoo! Grupos Enlaces
>>
>> Para visitar tu grupo en Internet, ve a:
>> http://espanol.groups.yahoo.com/group/dinamica4java/
>>
>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>> dinamica4java-unsubscribe@...
>>
>> El uso de Yahoo! Grupos se rige por:
>> http://e1.docs.yahoo.com/info/utos.html
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/
>
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
Edité tanto Admin como el grupo de Actions "/security"...
-----Mensaje original-----
De: dinamica@... [mailto:dinamica@...]
Enviado el: Jueves, 22 de Abril de 2004 03:02 p.m. Milko González
Para: dinamica4java@...
Asunto: RE: [dinamica4java] New How-to documents...
Creo que la solucion mas optima seria poner labels dinamicos en todos los
templates de seguridad y parametrizar labels.xml en el template de
aplicacion segura para que no tengan que pasar por este problema. Me
encargare de hacer esto dinamico para tenerlo la semana que viene, pero de
momento me temo que perderas parte de tu trabajo de traduccion de los
templates. A los templates existentes les cambie muy poco, pero de todos
modos es un trabajo un poco laborioso tratar de rescatar tus templates.
Por cierto, te refieres a la aplicacion Admin o al grupo de Actions
"/security" que va dentro de TU aplicacion? cuales editaste?
Saludos,
Martin
> El problema es que la versión de seguridad la traduje al español
> entonces no puedo sustituir todos los templates...
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
> Para: dinamica4java@...
> Asunto: RE: [dinamica4java] New How-to documents...
>
>
> No. Hay una alternativa que es recompilar el paquete dinamica pero
> usando el subpaquete security de la version 1.6 - cuentame, cual es el
> problema con la 1.7? de repente y te puedo ayudar a resolverlo.
>
> Saludos,
> Martin
>
>
>> Martin...
>> Saludos...
>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
>> framework.jar de la versión 1.7?
>>
>> -----Mensaje original-----
>> De: dinamica@... [mailto:dinamica@...]
>> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
>> Para: Dinamica
>> Asunto: [dinamica4java] New How-to documents...
>>
>>
>> The Knowledge-Catalog section of the website has been updated with new
>> material.
>>
>> 1.- Server-side Charts (using new v1.7 features)
>> 2.- PDF Reports with embedded charts
>>
>> Both How-to docs include the usual sample code package.
>>
>> ------
>>
>> A small correction was posted yesterday that affects the secure webapp
>> template:
>>
>> - The action /action/security/loginhistory must be replaced using the
>> one included in the current webapp-s.zip template available at the
>> website.
>>
>> - The file framework.jar must be replaced with the current one
>> available at the website.
>>
>> There is no bug in this Action, it may work OK in its present state.
>> The correction fixed a potential config problem. This Action should
>> read the security datasource config from the SecurityFilter
>> configuration, but it was reading this piece of info from its
>> config.xml file, causing more config work to be done when the security
>> datasource name changed. That was fixed yesterday.
>>
>> Best regards,
>> Martin
>>
>>
>>
>>
>>
>> Dinamica website:
>> http://www.martincordova.com >>
>> To unsubscribe send an email to:
>> dinamica4java-unsubscribe@...
>>
>> Yahoo! Grupos Enlaces
>>
>> Para visitar tu grupo en Internet, ve a:
>> http://espanol.groups.yahoo.com/group/dinamica4java/ >>
>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>> dinamica4java-unsubscribe@...
>>
>> El uso de Yahoo! Grupos se rige por:
>> http://e1.docs.yahoo.com/info/utos.html >
>
>
>
>
> Dinamica website:
> http://www.martincordova.com >
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/ >
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
Creo que la solucion mas optima seria poner labels dinamicos en todos los
templates de seguridad y parametrizar labels.xml en el template de
aplicacion segura para que no tengan que pasar por este problema. Me
encargare de hacer esto dinamico para tenerlo la semana que viene, pero de
momento me temo que perderas parte de tu trabajo de traduccion de los
templates. A los templates existentes les cambie muy poco, pero de todos
modos es un trabajo un poco laborioso tratar de rescatar tus templates.
Por cierto, te refieres a la aplicacion Admin o al grupo de Actions
"/security" que va dentro de TU aplicacion? cuales editaste?
Saludos,
Martin
> El problema es que la versión de seguridad la traduje al español
> entonces no puedo sustituir todos los templates...
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
> Para: dinamica4java@...
> Asunto: RE: [dinamica4java] New How-to documents...
>
>
> No. Hay una alternativa que es recompilar el paquete dinamica pero
> usando el subpaquete security de la version 1.6 - cuentame, cual es el
> problema con la 1.7? de repente y te puedo ayudar a resolverlo.
>
> Saludos,
> Martin
>
>
>> Martin...
>> Saludos...
>> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
>> framework.jar de la versión 1.7?
>>
>> -----Mensaje original-----
>> De: dinamica@... [mailto:dinamica@...]
>> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
>> Para: Dinamica
>> Asunto: [dinamica4java] New How-to documents...
>>
>>
>> The Knowledge-Catalog section of the website has been updated with new
>> material.
>>
>> 1.- Server-side Charts (using new v1.7 features)
>> 2.- PDF Reports with embedded charts
>>
>> Both How-to docs include the usual sample code package.
>>
>> ------
>>
>> A small correction was posted yesterday that affects the secure webapp
>> template:
>>
>> - The action /action/security/loginhistory must be replaced using the
>> one included in the current webapp-s.zip template available at the
>> website.
>>
>> - The file framework.jar must be replaced with the current one
>> available at the website.
>>
>> There is no bug in this Action, it may work OK in its present state.
>> The correction fixed a potential config problem. This Action should
>> read the security datasource config from the SecurityFilter
>> configuration, but it was reading this piece of info from its
>> config.xml file, causing more config work to be done when the security
>> datasource name changed. That was fixed yesterday.
>>
>> Best regards,
>> Martin
>>
>>
>>
>>
>>
>> Dinamica website:
>> http://www.martincordova.com
>>
>> To unsubscribe send an email to:
>> dinamica4java-unsubscribe@...
>>
>> Yahoo! Grupos Enlaces
>>
>> Para visitar tu grupo en Internet, ve a:
>> http://espanol.groups.yahoo.com/group/dinamica4java/
>>
>> Para cancelar tu suscripción a este grupo, envía un mensaje a:
>> dinamica4java-unsubscribe@...
>>
>> El uso de Yahoo! Grupos se rige por:
>> http://e1.docs.yahoo.com/info/utos.html
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/
>
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
The exception is not triggered by any Dinamica class. Maybe you have to
fill some request attributes or something like that to make this page
work?
For other cases I think you should not experiment major trouble. I will
make some tests with servlets and JSP from a Dinamica template. Let you
know the results later.
Regards,
Martin
>
>
>
>
> It is mostly to add jsp commands like:
>
> <%= Text example %> or
> <%= String hola = "Hola";
> out.print("Hola" +
> hola) %>, or <% Object object = new Object(1,2,3);
> String data = object.searchData(info1,
> info2); %>
>
> Also I want to add cache.jsp in a template so I used:
> ${inc:/bi-admin/cache.jsp}
>
> The system says:
>
> java.lang.NullPointerException
> at
> org.netbeans.modules.web.monitor.server.MonitorFilter.recordRequestAttribut=
> es(MonitorFilter.java:1181)
> at
> org.netbeans.modules.web.monitor.server.MonitorFilter.getDataAfter(MonitorF=
> ilter.java:545)
> at
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilte=
> r.java:244)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio=
> nFilterChain.java:213)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC=
> hain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j=
> ava:243)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j=
> ava:190)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 566)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:=
> 246)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 564)
> at
> org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.=
> java:148)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18=
> 0)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 566)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve=
> .java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17=
> 0)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 564)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav=
> a:174)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
> 566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
>
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java=
> :1027)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:112=
> 5)
> at java.lang.Thread.run(Thread.java:534)
>
>
> thanks,
>
> Lorenzo
>
>
> --- En dinamica4java@..., <dinamica@m...> escribió:
> > Dinamica templates support includes via the ${inc:/path} marker.
> This > feature relies on the servlet RequestDispatcher, so the same
> rules apply.
> > In theory, you can include the output of any servlet, JSP or any
> other > Action, in the same context, just set the correct path. The
> included > resource should not set any HTTP headers (this is part of
> the servlet > spec).
> >
> > Do you have an existing JSP that you want to reuse or is there
> something > you perceive you can't accomplish with Dinamica
> templates?
> >
> > Regards,
> > Martin
> >
> >
> > >
> > >
> > >
> > >
> > > Hi there,
> > >
> > > How can I include jsp commands in a template?
> > >
> > > Thanks,
> > >
> > > Lorenzo
> > >
> > >
> > >
> > >
> > >
> > >
> > > Dinamica website:
> > > http://www.martincordova.com
> > >
> > > To unsubscribe send an email to:
> > > dinamica4java-unsubscribe@...
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Grupos Enlaces
> > >
> > > Para visitar tu grupo en Internet, ve
> > >
> a:http://espanol.groups.yahoo.com/group/dinamica4java/&nbsp; Para
> > > cancelar tu suscripción a este grupo, envía un mensaje
> > > a:dinamica4java-unsubscribe@...&nbsp; El uso
> de Yahoo! > > Grupos se rige por las Condiciones del servicio de
> Yahoo!.
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
>
>
>
>
>
>
>
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve
> a:http://espanol.groups.yahoo.com/group/dinamica4java/ Para
> cancelar tu suscripción a este grupo, envía un mensaje
> a:dinamica4java-unsubscribe@... El uso de Yahoo!
> Grupos se rige por las Condiciones del servicio de Yahoo!.
It is mostly to add jsp commands like:
<%= Text example %> or
<%= String hola = "Hola";
out.print("Hola" + hola) %>, or
<% Object object = new Object(1,2,3);
String data = object.searchData(info1, info2);
%>
Also I want to add cache.jsp in a template so I used:
${inc:/bi-admin/cache.jsp}
The system says:
java.lang.NullPointerException
at
org.netbeans.modules.web.monitor.server.MonitorFilter.recordRequestAttribut=
es(MonitorFilter.java:1181)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.getDataAfter(MonitorF=
ilter.java:545)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilte=
r.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio=
nFilterChain.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC=
hain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j=
ava:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j=
ava:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:=
246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
564)
at
org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.=
java:148)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18=
0)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve=
.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17=
0)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav=
a:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:=
566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)=
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java=
:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:112=
5)
at java.lang.Thread.run(Thread.java:534)
thanks,
Lorenzo
--- En dinamica4java@..., <dinamica@m...> escribió:
> Dinamica templates support includes via the ${inc:/path} marker. This
> feature relies on the servlet RequestDispatcher, so the same rules
apply.
> In theory, you can include the output of any servlet, JSP or any other
> Action, in the same context, just set the correct path. The included
> resource should not set any HTTP headers (this is part of the servlet
> spec).
>
> Do you have an existing JSP that you want to reuse or is there something
> you perceive you can't accomplish with Dinamica templates?
>
> Regards,
> Martin
>
>
> >
> >
> >
> >
> > Hi there,
> >
> > How can I include jsp commands in a template?
> >
> > Thanks,
> >
> > Lorenzo
> >
> >
> >
> >
> >
> >
> > Dinamica website:
> > http://www.martincordova.com
> >
> > To unsubscribe send an email to:
> > dinamica4java-unsubscribe@...
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Grupos Enlaces
> >
> > Para visitar tu grupo en Internet, ve
> > a:http://espanol.groups.yahoo.com/group/dinamica4java/ Para
> > cancelar tu suscripción a este grupo, envía un mensaje
> > a:dinamica4java-unsubscribe@... El uso de Yahoo!
> > Grupos se rige por las Condiciones del servicio de Yahoo!.
El problema es que la versión de seguridad la traduje al español entonces no puedo sustituir todos los templates...
-----Mensaje original-----
De: dinamica@... [mailto:dinamica@...]
Enviado el: Jueves, 22 de Abril de 2004 12:22 p.m. Milko González
Para: dinamica4java@...
Asunto: RE: [dinamica4java] New How-to documents...
No. Hay una alternativa que es recompilar el paquete dinamica pero usando
el subpaquete security de la version 1.6 - cuentame, cual es el problema
con la 1.7? de repente y te puedo ayudar a resolverlo.
Saludos,
Martin
> Martin...
> Saludos...
> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
> framework.jar de la versión 1.7?
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
> Para: Dinamica
> Asunto: [dinamica4java] New How-to documents...
>
>
> The Knowledge-Catalog section of the website has been updated with new
> material.
>
> 1.- Server-side Charts (using new v1.7 features)
> 2.- PDF Reports with embedded charts
>
> Both How-to docs include the usual sample code package.
>
> ------
>
> A small correction was posted yesterday that affects the secure webapp
> template:
>
> - The action /action/security/loginhistory must be replaced using the
> one included in the current webapp-s.zip template available at the
> website.
>
> - The file framework.jar must be replaced with the current one available
> at the website.
>
> There is no bug in this Action, it may work OK in its present state. The
> correction fixed a potential config problem. This Action should read the
> security datasource config from the SecurityFilter configuration, but it
> was reading this piece of info from its config.xml file, causing more
> config work to be done when the security datasource name changed. That
> was fixed yesterday.
>
> Best regards,
> Martin
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com >
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/ >
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
Dinamica templates support includes via the ${inc:/path} marker. This
feature relies on the servlet RequestDispatcher, so the same rules apply.
In theory, you can include the output of any servlet, JSP or any other
Action, in the same context, just set the correct path. The included
resource should not set any HTTP headers (this is part of the servlet
spec).
Do you have an existing JSP that you want to reuse or is there something
you perceive you can't accomplish with Dinamica templates?
Regards,
Martin
>
>
>
>
> Hi there,
>
> How can I include jsp commands in a template?
>
> Thanks,
>
> Lorenzo
>
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
>
>
>
>
>
>
>
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve
> a:http://espanol.groups.yahoo.com/group/dinamica4java/ Para
> cancelar tu suscripción a este grupo, envía un mensaje
> a:dinamica4java-unsubscribe@... El uso de Yahoo!
> Grupos se rige por las Condiciones del servicio de Yahoo!.
No. Hay una alternativa que es recompilar el paquete dinamica pero usando
el subpaquete security de la version 1.6 - cuentame, cual es el problema
con la 1.7? de repente y te puedo ayudar a resolverlo.
Saludos,
Martin
> Martin...
> Saludos...
> ¿La versión de seguridad de la versión 1.6 puede coexistir con el
> framework.jar de la versión 1.7?
>
> -----Mensaje original-----
> De: dinamica@... [mailto:dinamica@...]
> Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
> Para: Dinamica
> Asunto: [dinamica4java] New How-to documents...
>
>
> The Knowledge-Catalog section of the website has been updated with new
> material.
>
> 1.- Server-side Charts (using new v1.7 features)
> 2.- PDF Reports with embedded charts
>
> Both How-to docs include the usual sample code package.
>
> ------
>
> A small correction was posted yesterday that affects the secure webapp
> template:
>
> - The action /action/security/loginhistory must be replaced using the
> one included in the current webapp-s.zip template available at the
> website.
>
> - The file framework.jar must be replaced with the current one available
> at the website.
>
> There is no bug in this Action, it may work OK in its present state. The
> correction fixed a potential config problem. This Action should read the
> security datasource config from the SecurityFilter configuration, but it
> was reading this piece of info from its config.xml file, causing more
> config work to be done when the security datasource name changed. That
> was fixed yesterday.
>
> Best regards,
> Martin
>
>
>
>
>
> Dinamica website:
> http://www.martincordova.com
>
> To unsubscribe send an email to:
> dinamica4java-unsubscribe@...
>
> Yahoo! Grupos Enlaces
>
> Para visitar tu grupo en Internet, ve a:
> http://espanol.groups.yahoo.com/group/dinamica4java/
>
> Para cancelar tu suscripción a este grupo, envía un mensaje a:
> dinamica4java-unsubscribe@...
>
> El uso de Yahoo! Grupos se rige por:
> http://e1.docs.yahoo.com/info/utos.html
Martin...
Saludos...
¿La versión de seguridad de la versión 1.6 puede coexistir con el framework.jar de la versión 1.7?
-----Mensaje original-----
De: dinamica@... [mailto:dinamica@...]
Enviado el: Jueves, 22 de Abril de 2004 10:06 a.m. Milko González
Para: Dinamica
Asunto: [dinamica4java] New How-to documents...
The Knowledge-Catalog section of the website has been updated with new
material.
1.- Server-side Charts (using new v1.7 features)
2.- PDF Reports with embedded charts
Both How-to docs include the usual sample code package.
------
A small correction was posted yesterday that affects the secure webapp
template:
- The action /action/security/loginhistory must be replaced using the one
included in the current webapp-s.zip template available at the website.
- The file framework.jar must be replaced with the current one available
at the website.
There is no bug in this Action, it may work OK in its present state. The
correction fixed a potential config problem. This Action should read the
security datasource config from the SecurityFilter configuration, but it
was reading this piece of info from its config.xml file, causing more
config work to be done when the security datasource name changed. That was
fixed yesterday.
The Knowledge-Catalog section of the website has been updated with new
material.
1.- Server-side Charts (using new v1.7 features)
2.- PDF Reports with embedded charts
Both How-to docs include the usual sample code package.
------
A small correction was posted yesterday that affects the secure webapp
template:
- The action /action/security/loginhistory must be replaced using the one
included in the current webapp-s.zip template available at the website.
- The file framework.jar must be replaced with the current one available
at the website.
There is no bug in this Action, it may work OK in its present state. The
correction fixed a potential config problem. This Action should read the
security datasource config from the SecurityFilter configuration, but it
was reading this piece of info from its config.xml file, causing more
config work to be done when the security datasource name changed. That was
fixed yesterday.
Best regards,
Martin
Hello:
Atatched you will find a fixed .classpath file for those using Eclipse and
Dinamica. This .classpath works for both kind of webapps (secure and
plain) because they share the same set of JARs.
Please note that you may have to edit this .classpath file to change the
path of your Resin global jars.
I already uploaded updated files for webapp.zip, templates.zip and
webapp-s.zip containing this fix.
Regards,
Martin
Please note that the whole /lib directory of your webapps must be replaced
with the new /lib contents, because there are new JFreeChart jars and also
the newest IText jar. You can get the whole new /lib from any of the
webapp templates (webapp.zip or webapp-s.zip).
You will run into compiler exceptions if try to update framework.jar only.
In order to use security, the database schema must be updated with the new
tables and the new columns for s_application and s_user, as explained in
the readme included with the sql scripts.
The above is only required for exisiting webapps. New webapps should be
built using the new webapp and webapp-s templates.
I have included several variations of the stylesheet in
/templates/stylesheets, so that you can easily upload the stylesheets into
the database using the Admin front-end. Feel free to crete new variations
of the stylesheet (and send them to mee please!) You will have to upload
at least one stylesheet and update your existing user records to use this
stylesheet, in case you want to use the new dynamic stylesheet feature.
Regards,
Martin
Hello:
I just posted the new release v1.7, as always, you have the option to
download individual components (webapp-s.zip, framework.jar, etc) or the
full distribution.
The security layer includes several new features, so there is some impact
on the database side. Please see the readme in the /security/sql-scripts
directory for assistance on updating your database security schema.
I also included some user customization features, to let the user select
his/her choice of stylesheet and edit some basic personal data. In order
to make it work, the URL for the stylesheet must be:
${def:context}/action/security/userstyle
The templates under the /action/security group have already been changed
to incorporate this feature. If you don't want to use personalized
stylesheets, just set the url of the stylesheet to a static resourcec,
like:
${def:context}/default.css
There is a complete changelog, and the most relevant changes were detailed
in my last message.
Please contact me if you find any trouble upgrading to 1.7.
Best regards,
Martin
Just to keep you informed, during this weekend I plan to post the new
release (1.7), it will contain several new features and bug fixes, being
the most relevant:
* Enhanced security system: support for blocked accounts, automatic
password expiration, e-mail notification on failed attempts to login, etc.
Everything is configurable. The Admin webapp was updated to incorporate
the new features. A certain number of invalid login retries will auto-lock
the account. The database model suffered a few changes, those using the
security model will have to apply those changes to their existing security
schema. It took a lot of work, but it is almost complete.
* Code free Charts. Now a simple chart can be produced without writing any
Java code, just using a few config.xml elements. A new version of
JFreeChart was incorporated, as I mentioned a few days ago.
* PDF reports: The famous I-Text PDF component has been integrated with
Dinamica, following the MVC model, new specialized output classes has been
incorporated to support PDF output. Ultra easy API to incorporate
JFreeChart chart bitmaps into the PDF reports. Any image accessible via
URL can be incrusted into the PDF. You can reuse the same charting Actions
in your PDFs. Code samples are provided for a few types of reports,
including absolute positioning of tables and charts. Business reports can
now be produced at high performace, without requiring a Report Generator.
* New markers, utility methods and reusable validators.
* Updated documentation, mainly security.pdf and reference.pdf.
* [not sure if this one will make it...] New personalization features
available in the secure webapp template. Users can change the "theme" or
colors and also select their choice for language (if applicable) and
personal data (email, last name, etc). Admin modified to allow centralized
management of style-sheets for a whole set of webapps.
As always, a complete changelog will be supplied.
Regards,
Martin Cordova
1.- En efecto Resin provee todo lo que necesitas, no requiere Apache o
IIS, aunque puede coexistir con ellos.
2.- El ultimo JAR deberia tener el problema resuelto, de hecho yo lo probe
bajo las circusntancias de test que te mencione previamente y camino OK.
3.- Con respecto a SAPDB en Windows, es poco lo que te puedo decir, porque
para produccion yo lo uso con Linux unicamente, y no experimento este
problema. Sugiero que plantees el problema en la lista de MAXDB, alli
obtendras una respuesta calificada. Pienso que si bajas correctamente la
BD (me parecio que asi lo haces) entonces no deberias tener ese problema.
Saludos,
Martin
> Buenos días...
>
> Tengo una duda con respecto a RESIN,
> ¿Funciona para una aplicación Multiusuario sin necesidad de utilizar
> otro webserver tal como Apache o IIS?
>
> Martin, en cuanto a lo de la variable de sesion te comento que se
> solucionó con el código que mandaste usando String.valueOf, ya que baje
> la última versión del framework.jar y el error persistió, de todos modos
> hoy me llevo nuevamente la versión del framework para descartar algún
> error en la descarga.
>
> En cuanto al error de los índices de la base de datos se solucionó
> restaurándolos a través de DBManager, pero mi una pregunta
> ¿Tendré que hacer esto cada vez que la instancia de la base de datos
> se
> baje?
>
> PD. Martin disculpa que no haya respondido antes pero estaba de
> vacaciones...
>
> Saludos.
> Atte.
> Milko González
> ? E-Mail: migonzalez@... <mailto:migonzalez@...>
> ( Tel.: (+58 212) 204 8527<?xml:namespace prefix = o ns
> "urn:schemas-microsoft-com:office:office" />
>
¿Funciona para una aplicación Multiusuario sin necesidad de utilizar otro webserver tal como Apache o IIS?
Martin, en cuanto a lo de la variable de sesion te comento que se solucionó con el código que mandaste usando String.valueOf, ya que baje la última versión del framework.jar y el error persistió, de todos modos hoy me llevo nuevamente la versión del framework para descartar algún error en la descarga.
En cuanto al error de los índices de la base de datos se solucionó restaurándolos a través de DBManager, pero mi una pregunta
¿Tendré que hacer esto cada vez que la instancia de la base de datos se baje?
PD. Martin disculpa que no haya respondido antes pero estaba de vacaciones...
Te comento que el Viernes pasado en el curso que les estaba dictando a la Armada me entere que uno del equipo de ellos lo van a transferir al Ministerio de la Secretaria de la Presidencia. Una de sus tareas sería realizar ciertas aplicaciones web, a lo cual lógicamente le pregunte que pensaba utilizar y el me contesto que pensaba utilizar Intradev porque es lo que conoce; sin embargo, lógicamente como sabe que algún DIA regresara a la Armada le gustaría hacerlo en Java. Así que pienso que podría ser una gran oportunidad de convencerlo de usar Dinamica. Con respecto a los conocimientos que no tiene en Java recuerda que Yo ya tengo estructurado los cursos de Java y que me imagino que dicho Ministerio debe tener presupuesto.
Por otro lado, te comento que en estos días me encontré con un amigo del Banco Exterior y me comento que comenzarían a migrar todas las aplicaciones a Java y que el banco había comprado Web Sphere pero que por supuesto cumplir con los tiempos requeridos por el Banco, por supuesto que le recomendé Dinamica y se intereso mucho. Creo que deberíamos programar un presentación.
For those using Charts and the new framework.jar posted yesterday, you
will have to update JFreeChart jars too (jcommon and jfreechart in
/web-inf/lib). The two application templates downloads webapp.zip and
webapp-s.zip have been updated today to include the new set of jars. Just
copy this lib directory to you application /WEB-INF directory and
overwrite the old jars.
Please note that dinamica.zip is still in v1.6 - please use the indivual
downloads mentioned above. You don't need to change your JARs if you are
not using charts.
I decided to include v 0.9.16 of JFreeChart because it fixes several bugs
and also includes some new features that may be useful for some of you
(Dinamica is not taking advantage of them yet). I won't upgrade to the
latest version 0.9.17 because the JFreeChart API was broken (again!) and
caused trouble to Dinamica chart plugins.
Regards,
Martin