atom feed35 messages in net.java.dev.ajax.devRe: service-url derived from value-at...
FromSent OnAttachments
Gregory MurrayApr 10, 2007 10:44 pm 
Norbert TruchsessApr 11, 2007 12:03 am 
Norbert TruchsessApr 11, 2007 12:05 am 
Gregory MurrayApr 11, 2007 12:26 am 
Gregory MurrayApr 11, 2007 12:48 am 
Craig McClanahanApr 11, 2007 12:58 am 
Craig McClanahanApr 11, 2007 1:19 am 
Ed BurnsApr 11, 2007 6:32 pm 
Ed BurnsApr 11, 2007 7:52 pm 
Craig McClanahanApr 11, 2007 7:53 pm 
Ed BurnsApr 11, 2007 8:28 pm 
Craig McClanahanApr 11, 2007 9:41 pm 
Craig McClanahanApr 11, 2007 9:44 pm 
Craig McClanahanApr 11, 2007 9:51 pm 
Norbert TruchsessApr 11, 2007 10:08 pm 
Norbert TruchsessApr 11, 2007 10:15 pm 
Craig McClanahanApr 12, 2007 12:19 am 
Norbert TruchsessApr 12, 2007 1:19 pm 
Norbert TruchsessApr 12, 2007 2:54 pm 
Norbert TruchsessApr 12, 2007 3:43 pm 
Gregory MurrayApr 14, 2007 4:56 pm 
Gregory MurrayApr 14, 2007 5:03 pm 
Craig McClanahanApr 14, 2007 5:06 pm 
Ed BurnsApr 16, 2007 8:18 am 
Gregory MurrayApr 16, 2007 8:32 am 
Ed BurnsApr 16, 2007 8:55 am 
Gregory MurrayApr 16, 2007 9:09 am 
Norb...@t-online.deApr 16, 2007 9:21 am 
Ed BurnsApr 17, 2007 9:59 am 
Craig McClanahanApr 17, 2007 10:23 am 
Norbert TruchsessApr 17, 2007 1:05 pm 
Craig McClanahanApr 17, 2007 3:30 pm 
Gregory MurrayApr 18, 2007 1:54 am 
Norb...@t-online.deApr 18, 2007 4:44 am 
Norbert TruchsessApr 19, 2007 1:40 pm 
Subject:Re: service-url derived from value-attribute?
From:Craig McClanahan (Crai@Sun.COM)
Date:Apr 17, 2007 10:23:45 am
List:net.java.dev.ajax.dev

Ed Burns wrote:

On Mon, 16 Apr 2007 18:21:38 +0200, "Norb@t-online.de"
<Norb@t-online.de> said:

NT> Greg, NT> Ed used this misleading subject, so the 'reall' question got unanswered.

NT> Even if this breaks some of our samples (which just means we have to NT> rename some value-attributes to 'service') my Vote goes to:

NT> 'A ValueExpression in Value-attribute shall allways be evaluated on NT> server-side and the result shall be sent to the widget as literal. NT> if there's no 'service'-attribute in widget's tag, there ain't no NT> service-attribute being rendered to the widget.'

But what about the service-url sent to the client? If there is no service attribute on the tag, but there is a value attribute that is a ValueExpression, what then?

What do you expect to have happen?

The semantics you earlier proposed (IIUI) said you wanted to render *either* the service attribute (if present) *or* evaluate the value expression and render the value (if there is an expression) *or* do nothing. That does not cover a bunch of important use cases, for example an autocomplete text field, which needs separate mechanisms to render the value (possibly evaluating an expression to do so, but that should be hidden inside the getValue() method of the component, not done explicitly in the renderer) and a method to perform asynchronous callbacks to a business method that offers the current set of values. (And, of course, the value should be included if the widget happens to be inside a <form> that gets posted the old fashioned way.)

We should definitely set up an IRC chat or something where we can talk through semantics on things like this -- if we're trying to establish standard behaviors across toolkits for generic things like "auto complete text fields" and "menus" and "tabbed views", we need to make sure we've covered *all* the relevant use cases ... for JSF wrapped widgets but also for standalone ones yet.

My impression is that a bunch of our semantics are not completely thought through.

Craig