Log in / create account Article Discussion Edit History Go to the site toolbox

Comments

From BluWiki

  • when build java file, it goes to "*.class" instead of "*.java"

Right click Project, choose "Properties", -> Java Build Path -> Source -> source folders on build path: give the source folder, like

Source folders on build path:
fusion/java
|
|--included: com/;org/


Default output folder
fusion/fusion.war/WEB-INF/classes
  • bug#2134

modify InventorySelection.xml give entiry attri name="roomBay" is Integer, not "String", add min="0".

  • "applytoAll" issure

modify file PerspectiveTag.java , which was called by BusinessMetaData.java


if(field.getWidget().equals("date"))
   {

//I am waiting for the reply regarding this part.

    	out.print("
"); // out.chooseDate().name(field.getName()+"ApplyToAll").attribute("autocomplete", "off").size(width).onchange("viewApplyToAll(this,'"+type+"','"+field.getName()+"');" + field.getApplyToAllEvent());
       	ChooseDate dateTag = new ChooseDate();
       	dateTag.setOnChange("viewApplyToAll(this,'"+type+"','"+field.getName()+"');" + field.getApplyToAllEvent());
       	dateTag.setPageContext(pageContext);
       	dateTag.setName(field.getName()+"ApplyToAll");
       	dateTag.setSize(width);
       	dateTag.doStartTag();
       	dateTag.doEndTag();
       	dateTag.release();
  • bug #2189

When you try to manually input a date in the EDD apply all field the system will display a popup box error: "Runtime error has occured do you wish to Debug? Line 950 Error:'enablePropertychange' is undefined.

David fixed it and comments:

     Added enablePropertyChange variable declaration to JSP (needed by the ChooseDate tag on this page), TransactionModifyMultiple.jsp
add following scripts:
<script>

	// variable used to only enable the property change event on the receiving
	// date after the calendar is clicked (used in ChooseDate tag)
	var enablePropertyChange = false;
....
</script>

In PerspectiveTag.java , so we have if(field.getWidget().equals("date")){}, then do ChooseDate, show calendar and input field.
In ChooseDate.java, we have following line required "enablePropertyChange"

out.print("onpropertyChange=\"if (   		out.print("onpropertyChange=\"if (enablePropertyChange && event.propertyName == 'value') {"+i_onChange+"; enablePropertyChange = false;}\" ");
&& event.propertyName == 'value') {"+i_onChange+"; enablePropertyChange = false;}\" ");

  • EDD 12/22/2006
  1. CHEESE SPECIFIC ATTRIBUTES
  2. EDD : CheeseTransaction.receivingMinDate 12/22/2006 per David's email and bug #2147
  3. Avaliable Date : CheeseItem.availableDateTime, Shipping date time is the date the supply shows on the schedule, and is labeled as "Available Date".
  4. Order Date : CheeseDemand.receivingMinDate, when submitted, this equals to EDD.
  5. when a transaction is created in cheese, the EDD field should initially be set to the available date.
  6. have to set explicitly for cheese, but for milk, they auto sync, auto-copy from demand to transaction.

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified 22:02, 2 February 2007. - This page has been accessed 859 times. - Disclaimers - About BluWiki
honeypot