Ok... I did a toString() on the flux object and it let me know it was a
org.apache.turbine.flux.tools.FluxTool

This object... does not implement any public instance variable FieldList nor
does it have the method getFieldList()??? Is this a metod Velocity uses with
reflection or something??

Here is my problem.. I have the flux showFinder set to true and when I try
to search by username (or anything else) I get the following:

org.apache.turbine.util.TurbineException: Error rendering Velocity template:
screens/user/FluxUserList.vm: Error rendering Velocity template:
screens/user/FluxUserList.vm: Invocation of method 'getUsers' in class
org.apache.turbine.flux.tools.FluxTool threw exception class
org.apache.turbine.util.security.DataBackendException : Failed to retrieve
users: Column not found: USERNAME in statement [SELECT TURBINE_USER.USER_ID,
TURBINE_USER.LOGIN_NAME, TURBINE_USER.PASSWORD_VALUE,
TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, TURBINE_USER.EMAIL,
TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, TURBINE_USER.CREATED,
TURBINE_USER.LAST_LOGIN, TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE
(TURBINE_USER.Username = 'turbine')]

Notice it is looking for the Username instead of TURBINE_USER.LOGIN_NAME
?????  Why???
What's broken???

John Gruber

-----Original Message-----
From: John Gruber [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 12:39 PM
To: Turbine - Development List (E-mail)
Subject: $flux in Velocity Flux templates???


Sorry for ignorance, but in the Flux user/FluxUserList.vm it uses the
$flux.FieldList.

I have a couple of questions:

1) Where is the flux object put into the Velocity context??? What is that
object???
2) This returns a list with the wrong labels for the Turbine user table.
Where can I correct this list?? (i.e. it outputs Username not LOGIN_NAME -
which is in the datbase map file??)

Thanks in advance,

John Gruber



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to