Re: Retrieving table column names

2006-08-31 Thread Nick Westgate
Hi Jasper. No, even Mind Bridge misinterpreted this thread, which is very poorly titled. It has nothing to do with the Table component. Read "table" as "DB table"! Cheers, Nick. Jasper Huzen wrote: I don't understand your exact problem but I think you have: user_name | user_password | som

RE: Retrieving table column names

2006-08-30 Thread Jasper Huzen
I don't understand your exact problem but I think you have: user_name | user_password | some_value --- FOO | FOO | FOO --- FOO2 | FOO2| FOO2 And you want Username | Pass

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
so should i change the current implementation. or can i edit it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Nick Westgate
Hi Peter. You're looking for the PropertySelection component and IPropertySelectionModel: http://tapestry.apache.org/tapestry3/doc/ComponentReference/PropertySelection.html Cheers, Nick. Peter Dawn wrote: guys, i am running into this problem within my web app. please help me. i am using tap3

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
why cant i just put all the output into a array or a list. and then just manually do a replace on each term. i think this might work. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
and can this output to a drop down menu. i am not using a table within my html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
i also looked at the source code for the generated page. the option tag looks like this. user_username so essentially, the information sent back is the index of the column and not the actual column name. i thought it would be like this, user_username

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
didnt work. this thing would work if i had a contribtable and i could specify the table header names in the corresponding properties file but unfortunately not here. i am still working on it though. - To unsubscribe, e-mail: [EM

Re: Retrieving table column names

2006-08-30 Thread Karthik N
Why don't you consider using @PropertySelection and implement the IPropertySelectionModel which will wire up to your table columns. On 8/31/06, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, i am running into this problem within my web app. please help me. i am using tap3. now i am retrieving co

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
so i dont need to do anything within my java or html file. just within my properties file, i need to associate each column name with a corresponding text. and it would display the text but the underlying functionality would still be the same. i remember doing something like this for the foreach l

Re: Retrieving table column names

2006-08-30 Thread Mind Bridge
Hi, In the .properties file of your page (or component) you can add: user_username=Username ... and the table headers will automatically become the human-readable strings that you have defined there. In addition, there can be several .properties files that depend on the locale in the standard