CRUD Question
|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
CRUD QuestionHi, I have existed application with database. Now i want to make web backend for crud operations with some tables. Is it possible to set custom table name and columns names in MetaData? Because my tables have non entities name and the same situation with columns - for example i have property named firstName but column name is first_name. Thank's --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionNo, that is not support (yet). Sorry. On 16 Oct 2007, at 13:45, DarkIT wrote: > > Hi, > > I have existed application with database. Now i want to make web > backend for crud operations with some tables. > Is it possible to set custom table name and columns names in MetaData? > Because my tables have non entities name and the same situation with > columns - for example i have property named firstName but column name > is first_name. -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionI think it quite easy to fix - just add new method "columnName(String name)" and tableName(String name) and use these names instead of property name and class name. Can you tell me class name or classes where i can make changes. Or is it not so easy ? Geert Bevin: > No, that is not support (yet). Sorry. > > On 16 Oct 2007, at 13:45, DarkIT wrote: > > > > -- > Geert Bevin > Terracotta - http://www.terracotta.org > Uwyn "Use what you need" - http://uwyn.com > RIFE Java application framework - http://rifers.org > Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionThe fix shouldn't be difficult ... but there's a lot of classes that need to be updated. I can tell you which ones they are ... tracking them down would mean that I implement this, since for the rest there isn't really much work to be done ;-) I might look into it if I find some time ... it's been bothering me for a long time that this isn't implemented yet. On 16 Oct 2007, at 16:49, DarkIT wrote: > > I think it quite easy to fix - just add new method "columnName(String > name)" and tableName(String name) and use these names instead of > property name and class name. > > Can you tell me class name or classes where i can make changes. > > Or is it not so easy ? > > Geert Bevin: >> No, that is not support (yet). Sorry. -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionHaha :) I need it in couple days because we're going to production this week and the existed way to change something is direct sql. And i thought that CRUD would be very good and quick solution. If you need my help- don't be shy :)))) On 16 окт, 17:57, Geert Bevin <gbe...@...> wrote: > The fix shouldn't be difficult ... but there's a lot of classes that > need to be updated. I can tell you which ones they are ... tracking > them down would mean that I implement this, since for the rest there > isn't really much work to be done ;-) > > I might look into it if I find some time ... it's been bothering me > for a long time that this isn't implemented yet. > > On 16 Oct 2007, at 16:49, DarkIT wrote: > > > > > I think it quite easy to fix - just add new method "columnName(String > > name)" and tableName(String name) and use these names instead of > > property name and class name. > > > Can you tell me class name or classes where i can make changes. > > > Or is it not so easy ? > > > Geert Bevin: > >> No, that is not support (yet). Sorry. > > -- > Geert Bevin > Terracotta -http://www.terracotta.org > Uwyn "Use what you need" -http://uwyn.com > RIFE Java application framework -http://rifers.org > Music and words -http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionAlso is it possible to have sortable table in CRUD not just static table ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionNope, sorry, not (yet) ... again On 17 Oct 2007, at 18:26, DarkIT wrote: > > Also is it possible to have sortable table in CRUD not just static > table ? > > > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionOk, I understand, but don't count on it. I can't promise anything. On 16 Oct 2007, at 22:23, DarkIT wrote: > > Haha :) > > I need it in couple days because we're going to production this week > and the existed way to change something is direct sql. And i thought > that CRUD would be very good and quick solution. If you need my help- > don't be shy :)))) > > On 16 окт, 17:57, Geert Bevin <gbe...@...> wrote: >> The fix shouldn't be difficult ... but there's a lot of classes that >> need to be updated. I can tell you which ones they are ... tracking >> them down would mean that I implement this, since for the rest there >> isn't really much work to be done ;-) >> >> I might look into it if I find some time ... it's been bothering me >> for a long time that this isn't implemented yet. >> >> On 16 Oct 2007, at 16:49, DarkIT wrote: >> >> >> >>> I think it quite easy to fix - just add new method "columnName >>> (String >>> name)" and tableName(String name) and use these names instead of >>> property name and class name. >> >>> Can you tell me class name or classes where i can make changes. >> >>> Or is it not so easy ? >> >>> Geert Bevin: >>>> No, that is not support (yet). Sorry. >> >> -- >> Geert Bevin >> Terracotta -http://www.terracotta.org >> Uwyn "Use what you need" -http://uwyn.com >> RIFE Java application framework -http://rifers.org >> Music and words -http://gbevin.com > > > > -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionAnd again: is it possible to add rule for manyToOne - for example - i don't want to show all entities but only which have is_node = true --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: CRUD QuestionNope, not with RIFE/Crud. If you're writing your own display logic this is very easy. RIFE/Crud is just intended to put a CRUD interface on existing database tables without frills and thrills. It is possible to inject your own elements inside RIFE/Crud for display, for example (see the wiki). But you'll most probably be better off writing that stuff yourself. I'm starting to think that you want a DisplayTag version that works inside RIFE/Crud ... sorry we don't have such a component ready-made. On 17 Oct 2007, at 18:49, DarkIT wrote: > And again: is it possible to add rule for manyToOne - for example - i > don't want to show all entities but only which have is_node = true -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@... To unsubscribe from this group, send email to rife-users-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |
