Re: Ajax Design Question

2010-12-02 Thread David LeBer
On 2010-11-18, at 3:09 PM, Johnny Miller wrote: > It's hard to describe so I attached is a screen shot. I have several sort > fields, a system for changing views (table, single, grid), pagination, a > custom search field. On top of that I have a system of filters (left hand > side) that inte

Re: Ajax Design Question

2010-11-18 Thread Chuck Hill
I think you need to bind it to a variable. On Nov 18, 2010, at 3:38 PM, Johnny Miller wrote: > I tried adding a wohiddenfield with a static string value but it doesn't seem > to work. Do I need to update it somehow? > > > On Nov 18, 2010, at 1:26 PM, Chuck Hill wrote: > >> That is an old

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
I've decided I'm just going to cheat and use an update link that looks like a checkbox. On Nov 18, 2010, at 1:26 PM, Chuck Hill wrote: > That is an old HTML problem. Unchecked boxes submit nothing. If the form > has only check boxes, nothing is submitted. Add a WOHiddenField to the form. >

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
I tried adding a wohiddenfield with a static string value but it doesn't seem to work. Do I need to update it somehow? On Nov 18, 2010, at 1:26 PM, Chuck Hill wrote: > That is an old HTML problem. Unchecked boxes submit nothing. If the form > has only check boxes, nothing is submitted. Add

Re: Ajax Design Question

2010-11-18 Thread Chuck Hill
That is an old HTML problem. Unchecked boxes submit nothing. If the form has only check boxes, nothing is submitted. Add a WOHiddenField to the form. On Nov 18, 2010, at 3:23 PM, Johnny Miller wrote: > Well, I'm getting closer :p > > I had evalScripts set to false and that was killing the s

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
Well, I'm getting closer :p I had evalScripts set to false and that was killing the second update. However, for some odd reason my cover method only gets called if I check the box to on. When checked to off it does an ajax update but the cover method doesn't get called? Thanks, Johnny On N

Re: Ajax Design Question

2010-11-18 Thread Travis Britt
Do you have the whole thing in a WOForm? WOForm AjaxObserveField WORepetition tb On Nov 18, 2010, at 4:57 PM, Johnny Miller wrote: > I'm getting a little confused on the wording in the JavaDocs. > > Here is my component layout > > ... updateContainerID="SomeId"> > > I think that's righ

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
I'm getting a little confused on the wording in the JavaDocs. Here is my component layout ... I think that's right but I'm getting the error where only the first update gets triggered. Do you know what I'm missing? Thanks, Johnny On Nov 18, 2010, at 10:38 AM, Travis Britt wrote: > Yep. It

Re: Ajax Design Question

2010-11-18 Thread Travis Britt
Yep. It will observe whatever it's wrapping. http://webobjects.mdimension.com/hudson/job/Wonder54/javadoc/er/ajax/AjaxObserveField.html On Nov 18, 2010, at 3:01 PM, Johnny Miller wrote: > Would I just use the updatecontainerid and not the observefieldid? > > thanks a lot, > > Johnny > > On N

Re: Ajax Design Question

2010-11-18 Thread Chuck Hill
It could do it, but may be more trouble than it is worth at this point. Some of that would be a PITA. On Nov 18, 2010, at 12:09 PM, Johnny Miller wrote: > It's hard to describe so I attached is a screen shot. I have several sort > fields, a system for changing views (table, single, grid), p

Re: Ajax Design Question

2010-11-18 Thread Chuck Hill
There is CSS. What sort of control do you want? Chuck On Nov 18, 2010, at 12:00 PM, Johnny Miller wrote: > Aesthetics, in this case, are very important. Do you get full control of the > UI with AjaxGrid? > > thanks, > > Johnny > > > > On Nov 18, 2010, at 9:46 AM, Chuck Hill wrote: > >>

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
Would I just use the updatecontainerid and not the observefieldid? thanks a lot, Johnny On Nov 18, 2010, at 9:45 AM, Travis Britt wrote: > You could wrap the WORepetition in an AjaxObserveField and it will watch all > the checkboxes. > > tb > > On Nov 18, 2010, at 2:35 PM, Johnny Miller wrot

Re: Ajax Design Question

2010-11-18 Thread Johnny Miller
Aesthetics, in this case, are very important. Do you get full control of the UI with AjaxGrid? thanks, Johnny On Nov 18, 2010, at 9:46 AM, Chuck Hill wrote: > Uh, that is what AjaxGrid does. Why re-invent it? Everything you want is > already there. > > Chuck > > > On Nov 18, 2010, at

Re: Ajax Design Question

2010-11-18 Thread Chuck Hill
Uh, that is what AjaxGrid does. Why re-invent it? Everything you want is already there. Chuck On Nov 18, 2010, at 11:35 AM, Johnny Miller wrote: > Hi, > > I have a display group that I'm paginating through using ajax update links. > Each of the objects has a checkbox whose state I want to

Re: Ajax Design Question

2010-11-18 Thread Travis Britt
You could wrap the WORepetition in an AjaxObserveField and it will watch all the checkboxes. tb On Nov 18, 2010, at 2:35 PM, Johnny Miller wrote: > Hi, > > I have a display group that I'm paginating through using ajax update links. > Each of the objects has a checkbox whose state I want to r

Ajax Design Question

2010-11-18 Thread Johnny Miller
Hi, I have a display group that I'm paginating through using ajax update links. Each of the objects has a checkbox whose state I want to record between paginations. Should I use an ajax observe field per checkbox or wrap each checkbox in an ajax submit form or is there a better way? I guess