On 9/15/05, Geert Bevin <[EMAIL PROTECTED]> wrote:
>
> > Instead of
> > protected String validSchemas[] { "DocBook", "DITA", "XHTML" };
> > public void setSchema(String s) { .. ]
> > public String getSchema() { .. }
> >
> > I'd like to say something like
> >
> > @property("readwrite")
> > @enumerated("DocBook","DITA","XHTML")
> > @widget("combobox","editable=false") // true iff can define a
> > new value
> > String schema;
> >
> > Does this make any sense ? I'm sure I'm overlookin a zilliion
> > issues here. But if the class declared the form fields it needs,
> > and then the class was bound to an HTML form, the forms engine
> > might be able to crank out a lot of boilerplate.
>
> I don't think this is the right layer to declare widget usage in.
> Imho you should set in the template which widget is used for what.
So are you thinking something like:
<!--V 'ELEMENT:com.uwyn.rife.widgets.CalendarWidget'/-->
and then the various inputs/outputs/submissions are detected?
>
> --
> Geert Bevin Uwyn bvba
> "Use what you need" Avenue de Scailmont 34
> http://www.uwyn.com 7170 Manage, Belgium
> gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
>
> PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
> Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
>
>
> _______________________________________________
> Rife-users mailing list
> [email protected]
> http://www.uwyn.com/mailman/listinfo/rife-users
>
--
JR Boyens
[EMAIL PROTECTED]
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users