Re: AW: [dbforms] jasperreports single page

2004-10-13 Thread Dziugas Baltrunas
Hi, Henner, You can use the jasper excel export. Well, IMHO it uses the same template, just the output engine is different. At least iReport generates different outputs from within the same template. Or you can use the new xls, csv exporter written by Neal. But please wait up to the weekend - i

Re: [dbforms] jasperreports single page

2004-10-13 Thread Dziugas Baltrunas
Sorry, there should have been XLS sheet :) Dziugas Dziugas Baltrunas wrote: Hi list, my question is a little bit offtopic - it is possible to generate JasperReport's template which is not page oriented? I'd like export some data to XSL sheet and I do not need any "pages" - br

[dbforms] jasperreports single page

2004-10-13 Thread Dziugas Baltrunas
Hi list, my question is a little bit offtopic - it is possible to generate JasperReport's template which is not page oriented? I'd like export some data to XSL sheet and I do not need any "pages" - breaks between certain amount of rows. Thanks. regard

Re: [dbforms]

2004-09-07 Thread Dziugas Baltrunas
Hi, could you please provide an error (servlet exception or similar) while trying to open the URL generated by blobURL tag? regards, Dziugas Baltrunas Lázaro Miguel Fung wrote: Hi. I'm testing dbforms 2.5 snapshot and I trying to open a popup (openWin() javascript) or new window (target=&q

Re: AW: [dbforms] Tomcat5 JNDI DBConnection error

2004-08-20 Thread Dziugas Baltrunas
Hi, try to define the jndi connection like this: Dziugas [EMAIL PROTECTED] wrote: Hi Henner, I have read this jndi-howto-article and I have tested the jndi/connection as described in the example. --> I works fine. But the dbforms.dbconnection fails with error: Connection errorJDBC-Troubles: w

[dbforms] build failed

2004-08-19 Thread Dziugas Baltrunas
Hi list, just tried to build current cvs HEAD and got an error: E:\dziugas\dbforms>c:\ant\bin\ant Buildfile: build.xml BUILD FAILED E:\dziugas\dbforms\build.xml:349: E:\dziugas\dbforms\${env.JALOPY_HOME}\lib not found. Does it mean that japloy is now required to build dbforms? regards, Dziu

Re: AW: [dbforms] number format

2004-08-19 Thread Dziugas Baltrunas
file? dbforms.pattern.number=## or similar? regards, Dziugas Baltrunas --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free

[dbforms] number format

2004-08-19 Thread Dziugas Baltrunas
stinct the digits :) Thanks. regards, Dziugas Baltrunas --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shi

Re: [dbforms] DbForm-Insert Behaviour

2004-08-17 Thread Dziugas Baltrunas
u get this behaviour? :) I figured out only one way for that - to put "ID DESC" into orderBy clause and rely on auto incrementation done by database. Is there any other way to achieve this? regards, Dziugas Baltrunas --- SF.Net email is sponso

Re: [dbforms] Source formatting

2004-08-16 Thread Dziugas Baltrunas
/ConfigServlet.java?r1=1.32&r2=1.33 regards, Dziugas Baltrunas --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Tone

[dbforms] ApplicationResources and national error messages

2004-08-13 Thread Dziugas Baltrunas
mcat shows some charset specific characers as a question marks. Do anybody have ApplicationResources working with charset, other than iso-8859-1? regards, Dziugas Baltrunas --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank M

Re: [dbforms] log4j errors

2004-08-13 Thread Dziugas Baltrunas
times repeated in the log file. IMHO the problem should hide somewhere in the config servlet. regards, Dziugas Baltrunas Sudeep Dsouza wrote: Hi, I am facing a similar problem. When I do not put commons-logging and the log4j packages in WEB-inf\lib of my app it does not deploy but when I put the

Re: AW: [dbforms] [PATCH] html escaping in DbBlobContent tag

2004-08-10 Thread Dziugas Baltrunas
Hi, Wo'nt you like to get developer state? So that you can check in your changes by yourself? Thanks for the respect :) It would be nice. regards, Dziugas Baltrunas --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media

[dbforms] [PATCH] html escaping in DbBlobContent tag

2004-08-09 Thread Dziugas Baltrunas
Hi list, blob content also needs html escaping and it's what this patch is for :) regards, Dziugas Baltrunas Index: DbBlobContentTag.java === RCS file: /cvsroot/jdbforms/dbforms/src/org/dbforms/taglib/DbBlobContentTag.j

[dbforms] [PATCH] escaping amersand

2004-08-09 Thread Dziugas Baltrunas
Hi list, again small patch - it might be necessary to escape ampersand ('&') when displaying data from the database in the HTML input fields like textarea. It's because one might want to use some """ in the text. regards, Dziugas Baltru

[dbforms] [PATCH] double escaping and outputing in DbLinkURL

2004-08-09 Thread Dziugas Baltrunas
Hi list, attached is the small patch which prevents double escaping (makeUrl() already does that) of the URL as well as double outputing to the browser (somewhy there were two identical calls). Btw, Henner, thanks for applying my previous patches. regards, Dziugas Baltrunas Index

Re: AW: [dbforms] dynamic insert

2004-08-06 Thread Dziugas Baltrunas
Hi, Henner, Set autoUpdate to true and submit the page! the problem is that I want to submit a subform and AFAIK autoUpdate would UPDATE all the changed rows (despite that I will only put one value from popup into the hidden field of subform), but I need to generate the insert event for a partic

[dbforms] dynamic insert

2004-08-06 Thread Dziugas Baltrunas
ate insert event) without having in the form? Thanks. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big

Re: AW: AW: [dbforms] query and gotoPrefix question

2004-08-05 Thread Dziugas Baltrunas
the other (and parent) form inherits that error, thus in one page it's displayed several times. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsFor

Re: AW: [dbforms] query and gotoPrefix question

2004-08-04 Thread Dziugas Baltrunas
); %> <% String filter = "CATEGORY_ID = " + request.getParameter("CATEGORY_ID"); %> But that's not an elegant solution. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed t

[dbforms] query and gotoPrefix question

2004-08-04 Thread Dziugas Baltrunas
p-8080-Processor3] INFO org.dbforms.config.Query - doSelect:SELECT HC_DOCUMENT.ID ID, HC_DOCUMENT.TITLE TITLE FROM HC_DOCUMENT, HC_DOCUMENT_TO_CATEGORY WHERE ( HC_DOCUMENT.ID = HC_DOCUMENT_TO_CATEGORY.DOCUMENT_ID ) What am I doing wrong? Are there some other ways to get the expected behaviour? reg

Re: [dbforms] [PATCH] Blob editing from within textarea and other small enhancements

2004-08-04 Thread Dziugas Baltrunas
5.0.25, the file name comes with full path (c:\temp\file.txt for example), so patched BlobInterceptor strips out everything before the last slash (/) or backslash (\), if necessary. Dunno why commons-fileupload does not always handle this. regards, Dziugas Baltrunas

[dbforms] [PATCH] Blob editing from within textarea and other small enhancements

2004-08-04 Thread Dziugas Baltrunas
ntrol: private" header as according to my tests, without this MSIE gives an error while trying to "Open" the file. "Save" works ok. Please comment, test and vote. regards, Dziugas Baltrunas Index: org/dbforms/config/FieldValue.java ==

Re: AW: [dbforms] orderBy in dbform tag bug?

2004-08-03 Thread Dziugas Baltrunas
FROM HC_TERM ORDER BY ID] regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now

Re: AW: [dbforms] orderBy in dbform tag bug?

2004-08-03 Thread Dziugas Baltrunas
NFO org.dbforms.config.Table - ::getSelectQuery - [SELECT ID, NAME, DESCRIPTION, So it's clear that orderBy value is read, but ignored. Maybe I am missing something in the table definition? Here it is: regards, Dziugas B

[dbforms] orderBy in dbform tag bug?

2004-08-03 Thread Dziugas Baltrunas
versions worked ok. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OS

Re: [dbforms] New release

2004-08-02 Thread Dziugas Baltrunas
here is too high. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open S

Re: [dbforms] Dbforms and Tomcat 5

2004-07-28 Thread Dziugas Baltrunas
list). Is there a need to support tomcat 5 yet (without me who wants to use it)? Yes, it is! regards, Dziugas Baltrunas --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BE

Re: AW: AW: [dbforms] [PATCH] DbBlobContentTag to display db blob fields

2004-07-28 Thread Dziugas Baltrunas
is that in the char <-> byte conversation encoding plays important role. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLog

Re: AW: [dbforms] [PATCH] DbBlobContentTag to display db blob fields

2004-07-27 Thread Dziugas Baltrunas
. The question is how to pass the HttpServletRequest object to the SqlUtil and/or JDBCDataHelper classes. I will try to figure this out. regards, Dziugas Baltrunas --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise

Re: AW: [dbforms] [PATCH] DbBlobContentTag to display db blob fields

2004-07-26 Thread Dziugas Baltrunas
but maybe there is a way to define a "sytem default" charset somewhere in ApplicationResources.properties? We could then pass the parameter into Readers's or Writer's constructor something like: BufferedReader br = new BufferedReader(new InputStreamReader(blob.getBinaryStrea

Re: [dbforms] log4j errors

2004-07-26 Thread Dziugas Baltrunas
that: - Root Cause - java.lang.NoClassDefFoundError: org/apache/log4j/BasicConfigurator regards, Dziugas Baltrunas Bill Tribley wrote: Getting this error when shutting down Tomcat after installing the examples: log4j:WARN No appenders could be found for l

[dbforms] [PATCH] DbBlobContentTag to display db blob fields

2004-07-16 Thread Dziugas Baltrunas
. regards, Dziugas Baltrunas Index: DbBlobContentTag.java === RCS file: /cvsroot/jdbforms/dbforms/src/org/dbforms/taglib/DbBlobContentTag.java,v retrieving revision 1.13 diff -u -r1.13 DbBlobContentTag.java --- DbBlobContentTag.java

[dbforms] strange fieldnames duplication behaviour

2004-07-16 Thread Dziugas Baltrunas
s that this behaviour occurs only travelling through the following path: Menu -> "Single" -> "Insert new", and it also dissapears when jsp file is recompiled. Do any of you have faced such an issue? IMHO this could be context relat

Re: [dbforms] Blob Errpr MySQL

2004-07-15 Thread Dziugas Baltrunas
Hi, I guess the problem is the name of the file. If you are using a "new" (contra to "classic") mode, you must define interceptors in the dbforms-config.xml like this: It's because of the code in FileServlet.java, which throws IOException if fileName is m

[dbforms] complex query as a read-only value in the form

2004-07-13 Thread Dziugas Baltrunas
Hi list, I want do embed some values feched from a quite complex db query, but my attempts to do it with together with were unsuccessfull. The problem is that I have to provide the fieldName attribute for the dataLabel tag, because it's used as a lookup key, although I'm not referencing the v

Re: AW: [dbforms] BLOB fields and Oracle

2004-07-07 Thread Dziugas Baltrunas
Hi Henner, thanks for the answer. Actually I think that this issue isn't a case of Oracle, it's more about a "new" blob handling (different to classic one) in the jdbforms. As far as I have understood from the code, the main difference is (de)serialization, so the new mode does not use FileHolde

[dbforms] BLOB fields and Oracle

2004-07-05 Thread Dziugas Baltrunas
e, but not character array. Thanks. regards, Dziugas Baltrunas --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical expert