| From | Sent On | Attachments |
|---|---|---|
| Gregory Murray | Apr 10, 2007 10:44 pm | |
| Norbert Truchsess | Apr 11, 2007 12:03 am | |
| Norbert Truchsess | Apr 11, 2007 12:05 am | |
| Gregory Murray | Apr 11, 2007 12:26 am | |
| Gregory Murray | Apr 11, 2007 12:48 am | |
| Craig McClanahan | Apr 11, 2007 12:58 am | |
| Craig McClanahan | Apr 11, 2007 1:19 am | |
| Ed Burns | Apr 11, 2007 6:32 pm | |
| Ed Burns | Apr 11, 2007 7:52 pm | |
| Craig McClanahan | Apr 11, 2007 7:53 pm | |
| Ed Burns | Apr 11, 2007 8:28 pm | |
| Craig McClanahan | Apr 11, 2007 9:41 pm | |
| Craig McClanahan | Apr 11, 2007 9:44 pm | |
| Craig McClanahan | Apr 11, 2007 9:51 pm | |
| Norbert Truchsess | Apr 11, 2007 10:08 pm | |
| Norbert Truchsess | Apr 11, 2007 10:15 pm | |
| Craig McClanahan | Apr 12, 2007 12:19 am | |
| Norbert Truchsess | Apr 12, 2007 1:19 pm | |
| Norbert Truchsess | Apr 12, 2007 2:54 pm | |
| Norbert Truchsess | Apr 12, 2007 3:43 pm | |
| Gregory Murray | Apr 14, 2007 4:56 pm | |
| Gregory Murray | Apr 14, 2007 5:03 pm | |
| Craig McClanahan | Apr 14, 2007 5:06 pm | |
| Ed Burns | Apr 16, 2007 8:18 am | |
| Gregory Murray | Apr 16, 2007 8:32 am | |
| Ed Burns | Apr 16, 2007 8:55 am | |
| Gregory Murray | Apr 16, 2007 9:09 am | |
| Norb...@t-online.de | Apr 16, 2007 9:21 am | |
| Ed Burns | Apr 17, 2007 9:59 am | |
| Craig McClanahan | Apr 17, 2007 10:23 am | |
| Norbert Truchsess | Apr 17, 2007 1:05 pm | |
| Craig McClanahan | Apr 17, 2007 3:30 pm | |
| Gregory Murray | Apr 18, 2007 1:54 am | |
| Norb...@t-online.de | Apr 18, 2007 4:44 am | |
| Norbert Truchsess | Apr 19, 2007 1:40 pm |
| Subject: | service-url derived from value-attribute? (was: component.getClientId only unique to a given page) | |
|---|---|---|
| From: | Norb...@t-online.de (Norb...@t-online.de) | |
| Date: | Apr 16, 2007 9:21:15 am | |
| List: | net.java.dev.ajax.dev | |
Greg,
Ed used this misleading subject, so the 'reall' question got unanswered.
Even if this breaks some of our samples (which just means we have to rename some value-attributes to 'service') my Vote goes to:
'A ValueExpression in Value-attribute shall allways be evaluated on server-side and the result shall be sent to the widget as literal. if there's no 'service'-attribute in widget's tag, there ain't no service-attribute being rendered to the widget.'
- Norbert
-----Original Message----- Date: Mon, 16 Apr 2007 17:18:47 +0200 Subject: Re: component.getClientId only unique to a given page. From: Ed Burns To: de...@ajax.dev.java.net
On Wed, 11 Apr 2007 21:41:24 -0700, Craig McClanahan said:
EB> When using jMaki with JSF, IF there is no "service" attribute but there EB> is a "value" attribute on the a:widget tag, AND the value of the "value" EB> attribute is an EL ValueExpression, THEN there should be no service EB> handed to the widget. Rather, the system should make it so that the EB> postback happens to the regular JSF page. EB> CM> Ed, does this really cover all the use cases? EB> CM> Consider an autocomplete text field ... the fact that I might use a CM> value binding expression on the "value" property is orthogonal to the CM> fact that the widget *also* needs some sort of service callback to get CM> the set of valid options as the user types keystrokes. If I am reading CM> your proposed functionality description right, it would seem to prohibit CM> this kind of combination. EB> EB> Yes. I see. You need the ValueExpression when you render the page, and EB> when the form is actually submitted (via Ajax or otherwise). You need EB> the service only when doing autocomplete *before* the form is EB> submitted. However, as I stated my above rule (which is the same rule EB> for this I've been stating for at least a year) I'm addressing the case EB> where *there is no service attribute* and there is a value attribute. EB> Another clause on the rule is necessary to handle your case. EB> EB> Let me restate my rule to consider your case. EB> EB> if (using jMaki with JSF) { EB> EB> if (no service attribute on tag) {
CM> I am not omfortable with this restriction.
Greg, we need to come to a resolution on this. Please drive it to conclusion. I think all the requirements have been listed elsewhere in this thread.
Ed
-- | ed.b...@sun.com | office: 408 884 9519 OR x31640 | homepage: | http://purl.oclc.org/NET/edburns/ | aim: edburns0sunw | iim: ed.b...@sun.com





