Re: Joda Time Prototypes [was Re: Patched MySQL plugin]

2011-01-16 Thread Johann Werner
Hi Ramsey, any news on the status of the patch? Currently I have a project where those prototypes would fit marvelously. I was really astonished to see that there is no prototype at all for time only attributes in Wonder so this patch is an important addition to Wonder. jw Am 22.10.2010 um 0

who's killing my poor instance --

2011-01-16 Thread Jesse Tayler
I first noticed a few 'deaths' in monitor - Then, I watch monitor and see my two instances being killed (or gracefully shutdown somehow) and restarted on the hour, like, clockwork, as it were. Nothing in the app's output log, I hadn't noticed any 'death' reports before maybe a day ago, and I do

Re: ajaxtabbedpanel ??

2011-01-16 Thread Theodore Petrosky
Sharpy, I don't know if you saw my later post for my 'solution'. For each TabPanel: Sees Employee Management: I added a isSelected to the WOD: Tab2: AjaxTabbedPanelTab { id="Tab2"; name = "Menus"; isSelected = Tab2Selected; } Then I added accessor

Re: ajaxtabbedpanel ??

2011-01-16 Thread Michael Sharp
I think you're going to have to have a form per tab. With a form wrapping the entire ATP, when tabs are selected form values are sent for the rendered form fields only and not the hidden/not in the DOM fields. The app seems to interpret this as nulls being provided for the missing fields, or

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Theodore Petrosky
ok here is what I did to get it to work. in the WOD I added a isSelected binding: Tab2: AjaxTabbedPanelTab { id="Tab2"; name = "Menus"; isSelected = Tab2Selected; } and in the Java: public boolean Tab2Selected() { return tab2Selected; } /** * @param tab2Sele

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Chuck Hill
On Jan 16, 2011, at 12:58 PM, Theodore Petrosky wrote: > yes if I make Tab2 the default tab then the problem reverses. Then the problem is in your code and use of bindings, not the tabbed panel. > here is the code that is called to pass the User into the AMD > > > public WOActionResults edit

Qualifier help with ERXToManyQualifier (? or an alternative)

2011-01-16 Thread Mark Wardle
Hi there. I'm defining some export stuff within a property list and wish to include an arbitrary qualifier during the export of arbitrary entities (* see below) I usually generate qualifiers in code and so am not particularly familiar with generating qualifiers from a qualifierFormat string and s

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Theodore Petrosky
yes if I make Tab2 the default tab then the problem reverses. here is the code that is called to pass the User into the AMD public WOActionResults editUserMeta() { EditUserMeta nextPage = (EditUserMeta)pageWithName(EditUserMeta.class.getName()); nextPage.setTheUser(aUserToEdit)

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Chuck Hill
The only other thing that I can think of is that something in your code/bindings is setting theUser to null before you click on the second tab. Remember that the tabs are not rendered nor the binding values transferred until the tab is selected. Try making the second tab the default selected

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Farrukh Ijaz
Apparently nothing is wrong with your code. Try using ERXOptionalForm instead of WOForm. Also try moving the form inside the tabbed panel. I think you may need AjaxObserveField too around your fields inside the form. Farrukh On 2011-01-16, at 9:13 PM, Theodore Petr

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Theodore Petrosky
I have one form: First Name Last Name Title

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Farrukh Ijaz
Are you using a separate WOForm for each tab? If yes, then you should revise your code and use 1 form for all your fields no matter they span across multiple tabs. Farrukh On 2011-01-16, at 5:32 PM, Theodore Petrosky wrote: > I am copying from the ajaxexample. > > in a nutshell I have: > >

Re: Plugins system?

2011-01-16 Thread Pascal Robert
Le 2011-01-16 à 11:00, Anjo Krank a écrit : > - Use some scripting system like jruby. Presumably it can reload code. > - Include everything beforehand an en-/disable based on properties. That's a pretty neat idea! > - create a new class loader, call App.main() and quit the current app > (proba

Re: Plugins system?

2011-01-16 Thread Anjo Krank
- Use some scripting system like jruby. Presumably it can reload code. - Include everything beforehand an en-/disable based on properties. - create a new class loader, call App.main() and quit the current app (probably tricky to do). And it would depend on what sort of functionality you actually

Plugins system?

2011-01-16 Thread Pascal Robert
I'm thinking about doing a plugins system so that a WO server-side app can add functionality based on what the customer select. So far, I think the only options are: - Using ERXInlineTemplate for components that don't need new or modified Java code. - When a new plugin is selected, trigger a n

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Theodore Petrosky
I am copying from the ajaxexample. in a nutshell I have: Tab1 displays and edits "$theUser.firstName" and various other fields. Tab2 displays checkboxes for various fields like: Tab1 is set as isSelected = true; when i display the AMD, Tab1 looks beautiful however, when I display Tab2 all t

Re: AjaxTabbedPanel ??? V2

2011-01-16 Thread Farrukh Ijaz
Hi Ted, I think you need to specify the name property for you tabbed panel. Anyhow, working with AjaxTabbedPanel is a bit tricking. The easiest way is to copy the code from the Ajax examples and tweak it for your need. Farrukh On 2011-01-16, at 4:20 PM, Theodore Petrosky wrote: > Is there som

AjaxTabbedPanel ??? V2

2011-01-16 Thread Theodore Petrosky
Is there some secret that I am missing about using the AjaxTabbedPanel? Nothing I do seems to allow it to display the data I need. I posted earlier in the week my problem, if anyone has an idea what I can do to learn this feature. I posted what I thought was an appropriate amount of detail (incl