Bug 251794 - New Customization Data for TagCreator commands
Summary: New Customization Data for TagCreator commands
Status: RESOLVED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Cameron Bateman CLA
QA Contact:
URL: ORACLE_P2
Whiteboard:
Keywords: plan
Depends on: 250145 250850
Blocks:
  Show dependency tree
 
Reported: 2008-10-22 19:21 EDT by Cameron Bateman CLA
Modified: 2009-04-30 14:11 EDT (History)
2 users (show)

See Also:


Attachments
Patch with Javadoc updates (15.70 KB, patch)
2008-11-04 18:18 EST, Debajit Adhikary CLA
no flags Details | Diff
Patch for AttributeData Javadoc additions (2.32 KB, patch)
2008-11-04 18:54 EST, Debajit Adhikary CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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