: "Adrian Crum"
To: dev@ofbiz.apache.org
Sent: Friday, July 24, 2009 12:51:01 AM GMT -05:00 US/Canada Eastern
Subject: Re: use-when for widget-screen.xsd
I'm glad this has been brought up. I agree that the current screen widget
conditional logic is cumbersome to use.
The use-when a
y meant to be reused.
-Adrian
--- On Thu, 7/23/09, Harmeet Bedi wrote:
From: Harmeet Bedi
Subject: use-when for widget-screen.xsd
To: "dev"
Date: Thursday, July 23, 2009, 6:43 PM
I would like to ask you what you
think about having use-when attribute for various screen
elements and d
To be honest I originally threw the use-when tag into the form field
as a hack since I didn't want to implement more comprehensive
conditionals at the time.
One big issue with the use-when tag is parse-ability, for certain
machine things and also for certain people, and that was the reaso
are clearly meant to be reused.
-Adrian
--- On Thu, 7/23/09, Harmeet Bedi wrote:
> From: Harmeet Bedi
> Subject: use-when for widget-screen.xsd
> To: "dev"
> Date: Thursday, July 23, 2009, 6:43 PM
> I would like to ask you what you
> think about having use-
+1 ,
It will help to avoid writing extra code in fail-widget .
--
--
Awdesh Parihar
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Harmeet,
Looks good, will be nice thing to add.
Regards
Anil Patel
On Jul 24, 2009, at 7:13 AM, Harmeet Bedi wrote:
I would like to ask you what you think about having use-when
attribute for various screen elements and defaulted to true.
The current condition check and widgets, fail-widgets
I would like to ask you what you think about having use-when attribute for
various screen elements and defaulted to true.
The current condition check and widgets, fail-widgets mechanism is a bit wordy,
does not allow easy switching for any type of element and is not as close in
grammer to use-w