Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3369253
By: hkollmann
Have a look at the bookstore//howto/howtoChangeSelectBox.jsp. This should fit
your needs!
Cheers,
Henner
__
You
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3369214
By: tankdriver
I want to do something similar such as populate a select box given what a user
selected in another select box on the same form. I am able to get the second
select box to populate but
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3349032
By: woodchuck5
hihi Henner,
yes, that is even better! i didn't think of that..
i'll make the change and send you the file again.
thanks!
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3348908
By: woodchuck5
actually, i think why redisplayFieldsOnError does not work is because DbFormTag
has specific logic that treats INSERT operations differently.
because of this part of the code:
if
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3348955
By: hkollmann
Then we should use the redisplayFieldsOnError attribute at this place too
instead
of introducing a new one!
What do you think - will it work for you?
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3348897
By: woodchuck5
hihi Henner,
ah, i see. that is nice!
yes, i have the redisplayFieldsOnError attribute on my pages set to "true"
already.
however, somehow it seems to only work for the se
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3348870
By: hkollmann
dbforms.tld is not edit directly - it generated from /etc/taglib_docu.xml during
the build process.
Have you tried the redisplayFieldsOnError attribute of dbforms? Seems that this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3346869
By: sphawkins
Thanks Henner that's sorted the problem.
__
You are receiving this email because you elected to monitor this foru
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345765
By: woodchuck5
hihi Henner,
i still don't see your changes (i'm browsing cvs using the web so maybe the
changes have not been updated to the web yet).
but i have already tested here befor
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345756
By: woodchuck5
ok i have e-mailed the 2 files for you.
*warning*: i couldn't verify that i am working with the latest dbforms.tld
file because i couldn't find it in cvs (where is t
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345370
By: hkollmann
Ok, i just commited it. Could you test again?
Henner
__
You are receiving this email because you elected to monitor
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345362
By: woodchuck5
hihi Henner,
i noticed that the change works but it does not preserve any current form
data...
it reloads data from the database. so any form data modifications are lost.
to fix this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345356
By: hkollmann
Yes of course! Here is my private e-mail address:
[EMAIL PROTECTED]
Thanks,
Henner
__
You are receiving this email
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3345351
By: woodchuck5
hihi Henner,
i added a new DbFormTag attribute. i think this was the easiest (if not only)
way to handle this situation. and in the code i mentioned i modified to check
against this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3342563
By: woodchuck5
hihi Henner,
i like the 'list_and_single' type forms and i basically use these all the time.
i have taken these templates and modified them to be 'all-in-one' fu
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3342987
By: hkollmann
Just inserted this into the CVS sources and run a test build.
No errors - so it seems not to break the tests.
So it will be in the next build
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340989
By: woodchuck5
hihi Henner,
the Noop event is funny, it brings me back to the very first pagination page.
but, i tried the PageReloadEvent and it works beautifully, it keeps the user
on the same
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340877
By: hkollmann
1. You can add an attribute lastpos_ to the request. This will superside the
parameter
2.What's happen if you return null instead of an event?
3. What's happen if you ret
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340914
By: woodchuck5
hihi Henner,
1) ok i can try this.
2) if i return null, then the page after processing is completely blank, lol!
3) i saw the Noop event object but didn't know what it does
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340938
By: woodchuck5
i'm trying to add the parameter but it throws an IllegalStateException:
request.getParameterMap().put("lastpos_"+tableId, "test");
am i doing t
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340853
By: woodchuck5
hihi Henner,
i'm trying to fix the code in the DatabaseEventFactoryImpl class but i'm stuck.
i decided to simply 'refresh/reload' the current page when this situat
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340861
By: woodchuck5
i thought i could trick the DbFormTag logic by setting the "lastpos_" parameter
to equal the "firstpos_" parameter but the request parameters are immutable.
is the
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3338795
By: hkollmann
You could use the current weekly build. Should be work there.
Henner
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3339058
By: woodchuck5
hihi Henner,
i have a DbForm page that will render an associated radio button for certain
records depending on a flag column for each record.
i use this radio button to allow the user
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3339592
By: hkollmann
You are right,
Can you fix it and send me the changes?
Thanks
Henner
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3327350
By: woodchuck5
sounds great, Henner! glad to help. :)
that's what i also suspected too, at the time DbForms was created maybe this
was not a problem...
wood
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3338593
By: sphawkins
If I set autoupdate attribute to true, make some changes to a form, navigate
to next, (an update is executed), navigate to prev, at this point, you don't
see the data freshly ins
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3327041
By: woodchuck5
hihi Henner,
finally! found the problem:
in ConfigServlet the initXMLValidator() function should comment the following:
// Map the commons-logging used by commons-validator to
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3327296
By: hkollmann
Great work! I have no idea too that there is another place where logging was
configured. Must be very, very old.
I will comment it out and hope that the whole framework will run
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323074
By: woodchuck5
i need to think of a better way to debug this, so i can find out why
thx for your help tho, Henner! :)
woodchuck
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323044
By: woodchuck5
but i removed all logging jars from all folders (ie. no logging jars whatsoever
in common/lib or WEB-INF/lib).
and there are no code in DbForms regarding any logging at all.
so now i
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323053
By: woodchuck5
also, there is no code dealing with logging. why does it insist on using log4j?
according to the documentation, commons-logging will use JDK logging if Log4j
is not present...
...what
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323056
By: hkollmann
Easier would be your own error object. All sql errors - which you could parse
- could get to the "sorry, cannot delete selected record because dependent child
record(s) already e
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323058
By: hkollmann
What's about documentation of commons-logging? Can it be configured not to use
log4j?
Henner
__
You are rece
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323060
By: hkollmann
No idea!
__
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323022
By: hkollmann
Yes of course.
But seems that the apache commons logging wants to use log4j. Maybe you can
configure wich logging system it should use?
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323017
By: woodchuck5
hi Henner,
i recompiled DbForms, and this time i made sure nothing relating to logging
is in the code anywhere. i commented out all import statements of
org.apache.commons.logging
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3323037
By: woodchuck5
hi Henner,
thx for the suggestion. i never thought about making my own errors tag before.
you're right, the problem with making my own errors tag is parsing.
in a way, overridin
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3322755
By: hkollmann
And what's about removing only log4j? I think then commons-logging must use
another logging system..
Henner
_
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3322560
By: woodchuck5
ack! .. you are right, i missed some... like in ConnectionFactory the log
object
variable is called just "cat"
this time i will comment all import statements of c
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3322475
By: woodchuck5
hihi Henner,
just to try, i commented out *all* logging within the DbForms api. that is,
any instantiation of logCat variable like:
private static Log logCat = LogFactory.getLog
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3322508
By: hkollmann
What's about the ConfigLoader classs? There the logFactory is used in calls
to the setLogger.
What's happening if you put the logging jars in your application lib dir? Is
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3322537
By: woodchuck5
hihi Henner,
sorry i just found that it works. i did not realize i had to set
captionResource="true" in my tag...
i was making the test page for you when i noticed this in
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3320056
By: hkollmann
I remenber
SQLErrors are catched stored in an errors vector. This vector is stored in the
pagecontext and is retrieved by the errors tag.
Here it's tried to translate fro
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318515
By: woodchuck5
i tried to enter resource bundle keys into the "key" and "value" attributes
of the staticDataItem tag... it does not work, and just displays them
lit
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318522
By: woodchuck5
thanks a lot, Henner!
woodchuck
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3320029
By: hkollmann
Could you create a little test page together with resource bundle and web.xml
based on the bookstore example?
I changed something in the code - but can't really test it know.
Tes
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318433
By: woodchuck5
hihi,
i want to define some staticDataItems for use in a select dropdown. however,
how can i use resource bundle keys with the staticDataItem tag?
woodchuck
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318441
By: hkollmann
I hope. But to clarifiy i have to look into the sources
No time to do yet...
Henner
__
You are receiving this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318443
By: hkollmann
There must be an easier way. No idea yet and no time to think about Please
be patient up to the weekend!
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3317998
By: woodchuck5
hihi,
is it possible to intercept the various SQLException thrown by the Event
objects?
for example, i want to return custom error messages back to the user instead
of the raw database
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3318068
By: woodchuck5
so far i don't see any easy way to do this. i only see this possible by
plugging
my own Event objects.
basically extending each Event object (insert/delete/update) and then impl
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3314194
By: theo2005
Ok. I see. I will try find a workaround with some extra code.
Thanks for your support + regards T.
__
You are
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3314059
By: hkollmann
Yes, i have.
You are changing a key field. dbforms remembers the current index based on the
key fields where you are and tries to jump back to this position. If it can
not found this it
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3313733
By: theo2005
OK, I will try to and give you feedback.
regards T.
__
You are receiving this email because you elected to monitor
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3314054
By: theo2005
I checked it with the bookstore example, and I got it there too.
If I change the AUTHOR_ID field in the testBOOKSSingle.jsp to another value
and save it, the framework comes back to the
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3312981
By: sandra81
Thanks you for your help woodchuck.
I don't understand why it doesn't work because I don't use subforms.
My form upload files, so I have to put multipart to true.
And ther
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3313380
By: hkollmann
This should work. Could you reproduce this whith the bookstpore example?
Cheers,
Henner
__
You are receiving this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311750
By: hkollmann
Your are right - but for logging tomcat describes the things todo:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3313091
By: theo2005
Hi!
I've got a problem with the follow up page after an update of a key field value.
After the update, dbforms returns to the first record of the table, not the
position, where the u
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311651
By: woodchuck5
ok let me try
woodchuck
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311669
By: woodchuck5
easier said than done, this is for sure :)
the classloading architecture was designed with good intentions, but in reality
it is very risky to be sharing classes and jars placed in
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3310664
By: hkollmann
See tomcat docs for doc of logging.
__
You are receiving this email because you elected to monitor this forum.
To
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311176
By: woodchuck5
hihi,
well, associated radio is only for one record at a time. it is too slow and
cumbersome for the user. i know multiple record updating can be achieved with
autoUpdate="true&q
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311198
By: woodchuck5
i think the solution requires a change in:
- Tomcat classloading architecture
or
- DbForms
or
- both
woodchuck
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311322
By: hkollmann
Needs changes ion tomcat - classloading is done there...
Henner
__
You are receiving this email because you elected
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3311320
By: hkollmann
Not really. You could try to implement something by yourself. That would be
great.
I use the one button per row solution...
Henner
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3310660
By: hkollmann
What's about associatedRadio?
Henner
__
You are receiving this email because you elected to monitor this foru
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3310058
By: woodchuck5
hihi,
is there a way to implement something like an associatedCheckbox with the
tag?
for example, i show multiple records and have this checkbox for each record.
if the user wants to
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3308850
By: sandra81
I tried to debug what's going on.
I looked at the code of dbforms and I realized that when I validate the form
I do not pass into the org.dbforms.event.ValidationEvent.doValid
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3309822
By: woodchuck5
hihi,
does irongrid exist anymore? they seem to have disappeared...
i'm trying to setup p6spy & ironeye sql to monitor dbforms sql statements.
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3309269
By: woodchuck5
for me, when i see multiple error messages it's because i am using subforms
with autoUpdate="true"
i noticed you set multipart="true", does your form upload f
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3300823
By: woodchuck5
hihi Henner,
i would like to try your suggestion, but how can i use subforms for child tables
for an insert page?
i tried 'wrapping' the html widgets from child tables within
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3308030
By: woodchuck5
hihi,
i found in order to have DbForms work under Tomcat 5.5 we have to place
log4j-1.2.8.jar and commons-logging-1.0.3.jar into the ${tomcat}/common/lib
folder.
is there a way to *not
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3299374
By: woodchuck5
hihi,
i created an insert page that basically displays all fields from one parent
table, and two child tables.
i did this because my goal is to have one insert page for all 3 tables
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3300709
By: hkollmann
What's about using autoUpdate=true for the subforms? In this case also the
sbuforms
should be inserted.
The only problem in this case is the missing parent id. if you generate this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3299385
By: woodchuck5
btw, i already discovered that i have to collect the child table field values
manually inside postInsert(), like so:
String childParam = ParseUtil.getParameter(data.getRequest
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3299205
By: hkollmann
Yes, therefore the testBOOKSListDynaBug.jsp page to show different
workarounds!
Henner
__
You are receiving this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3299142
By: woodchuck5
hihi,
this works correctly (even with maxRows > 1):
woodchuck
__
You are receiving this email because
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3242167
By: jackychu
I use the devgui to generate the XML file.
__
You are receiving this email because you elected to monitor this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3242160
By: jackychu
I got this exception when I genreate the dbforms-config.xml file.
How can I solve this problem?
__
You are receiving
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3238513
By: buycarz
I am trying to format a dbforms Textfield (Reported_Value) based on the value
of another field (DisplayFormat) in the row. If DisplayFormat="percent", then
I want the p
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3238940
By: hkollmann
pattern is passed into java format function. So the syntax is found in the java
api!
Henner
__
You are receiving this
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3234699
By: srinadhan
Thanks for the reply. I looked around the form a lot, and didn't couldn't
identify
the solution. Would you please point me right mail..
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3234710
By: hkollmann
Did'nt you get the answer from the mailing list?
Here it is:
Like is only defined for char fields. So dbforms generates like only for char
fields.
You can use the shortcuts with
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3234663
By: hkollmann
Answered in the list!
__
You are receiving this email because you elected to monitor this forum.
To stop monitoring
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3234535
By: srinadhan
I am an newbie to DBforms and has trouble understanding/implementing
the Date searches...
I got a DBform where in I need to search by the dates and my backend
DBMS is oracle. and value
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3220583
By: gong0585
In filter attribute if datatime field is datatime type.When i query
filter="datatime>2005-12-01" select datatime from timetable .
In fact dbform show "select datatiem fr
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3220584
By: gong0585
When textFild attribute show 133,222 .How do it cancel comma.Show it like this
133222
__
You are receiving this email
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3226472
By: thepiter
Hi!.
I create some tables in Oracle to use with dbforms2.5
I have jdk1.5 and Tomcat 5.5 in windows and linux platform
I try to create dbforms, but some error exists, about type.
Later I
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3227318
By: thepiter
Hi!
About my post before I change the dbforms-config.xml change
fieldType="clob" size="4000"
to
fieldType="varchar2" size="2000"
And works!
of
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3214026
By: nic_cipi
Hi,
I want to display the current page number and the maximum number of pages
for a dbform element.
e.g. If I have a dbform which displays 20 rows from a table , and that table
have 100
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3218127
By: sandra81
Hi Henner !
I studied the DbBaseHandlerTag.getFormFieldValue class. I think
that the error comes from the method typicalDefaultValue(). I did
not have time to correct it. I found a
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3219697
By: hkollmann
Have a look into the howto's! There is an example!
Henner
__
You are receiving this email because you elect
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3212725
By: hkollmann
Is your field defined as double?
Could you add the same pattern dbforms.pattern.float=##.##?
Are you shure that the resource file is loaded?
Could you debug the
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3212136
By: sandra81
Hi Henner,
I send you my files :
purchase_list_and_single.jsp
---
<%@ page language="Java"
import="java.util.*,java.io.*,ja
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3210483
By: hkollmann
Create a frensh resource file and add a dbforms.pattern.double=##.## entry!
Henner
__
You are receiving this email
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3211960
By: sandra81
Hi Henner !
I am sorry but can be that I express myself badly. But it is what I did since
the beginning.
I create a french resource file and add a dbform.pattern.double=##.## entry
(or
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3211965
By: hkollmann
Could send me the current version of the page again?
Could you try to debug?
Henner
__
You are receiving this email
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3206119
By: hkollmann
No the framework will not notice the changes immediately. The only possibility
is to add fields with program code. You must access the config data by a servlet
and add the field
1 - 100 of 475 matches
Mail list logo