Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 251794

Summary: New Customization Data for TagCreator commands
Product: [WebTools] Java Server Faces Reporter: Cameron Bateman <cameron.bateman>
Component: CoreAssignee: Cameron Bateman <cameron.bateman>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: greg, raghunathan.srinivasan
Version: 3.0Keywords: plan
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
URL: ORACLE_P2
Whiteboard:
Bug Depends on: 250145, 250850    
Bug Blocks:    
Attachments:
Description Flags
Patch with Javadoc updates
none
Patch for AttributeData Javadoc additions none

Description Cameron Bateman CLA 2008-10-22 19:21:49 EDT
Use Case:

1) User gestures to drop a tag on the Web Page Editor (WPE) canvas.
2) User configures the tag to be dropped
3) User accepts the drop.  System creates tag and adds to canvas.

Normally, case 2 involves the System raising a dialog box to collect the configuration.  The IDropCustomizer can be used to raise such a dialog and collect the information.  A separate bug 250145 tracks the a non-breaking API that is required to pass additional context information to the customizer.

We will ADD a new standard data structure called ICustomizationData that can be populated by an IDropCustomizer to handle the following main customization sub-cases:

1) Attributes.  i.e. setting a default value for id in <h:outputText id="foo"/>
2) Parents. i.e. an h:commandButton needs to be inside an h:form.
3) Children and Templates. i.e. dropping h:column's in h:dataTable.

We will ADD new tag creation commands that will take an ICustomizationData, create a customized tag and add it to a target document.

We will NOT ADD any new UI for drop customization.
Comment 1 Cameron Bateman CLA 2008-11-03 20:20:16 EST
First checkin of basic customization data and commands complete.  These should be available in the next 3.1 milestone build.
Comment 2 Debajit Adhikary CLA 2008-11-04 18:18:05 EST
Created attachment 117021 [details]
Patch with Javadoc updates

Updated the new PageDesigner code with Javadocs. Please review.
Comment 3 Debajit Adhikary CLA 2008-11-04 18:54:38 EST
Created attachment 117023 [details]
Patch for AttributeData Javadoc additions

Updated AttributeData Javadocs.
Comment 4 Cameron Bateman CLA 2008-11-04 18:58:30 EST
Patch 2 applied to HEAD 3.1.
Comment 5 Raghunathan Srinivasan CLA 2009-04-29 01:30:11 EDT
Released