Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Caption on entity fields
 

Pages: 1
Designer
Caption on entity fields
Page:1/1 

  Print all messages in this thread  
Poster Message
GizmoTN76
User



Location:

Joined on:
22-Oct-2007 18:47:51
Posted:
33 posts
# Posted on: 01-Mar-2008 19:17:01.  
Ok, I've got a stupid question that I'm sure has probably been asked before, but why is there a caption on the TypedView field and not the entity field?

I know you can add custom properties to entities in the designer and refresh them from the db etc. but it would be really nice to be able to just specify a caption inline in the designer that would exist on the field so that you can deal with captions polymorphically. IE if I have a validation message it's nice to be able to include the field name with the field error in a friendly way so that I can make that logic generic. "FieldX is required". I've pondered trying to go the route of dealing with the custom properties in the db for sql server but if I remember correctly oracle doesn't have native support for those and it would be much nicer to just be able to walk through the designer and set them quickly for everything similar to the way TypedViews work.

I guess my question is, why was this skipped in the designer, and is there any easy way to accomplish this sort of ability?
  Top
goose
User



Location:
Central America
Joined on:
06-Aug-2007 18:21:05
Posted:
392 posts
# Posted on: 01-Mar-2008 22:19:20.  
I think the best way would be writing a plugin for the designer and work with the custom properties or modify the templates.


gansodesoya  Top
GizmoTN76
User



Location:

Joined on:
22-Oct-2007 18:47:51
Posted:
33 posts
# Posted on: 01-Mar-2008 22:24:51.  
Are there any good examples for extending the designer in a similar fashion?

I guess the next question would be if that effort would end up being in vain once 3.0 ships (isn't the designer changing drastically in 3.0?)
  Top
goose
User



Location:
Central America
Joined on:
06-Aug-2007 18:21:05
Posted:
392 posts
# Posted on: 01-Mar-2008 22:25:49.  
Please download the SDK and the source code from the customer area in order to read the code of the shipped in plugins.

See this thread for a simple example:
http://llblgen.com/tinyforum/Messages.aspx?ThreadID=6900


gansodesoya  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.