New Posts New Posts RSS Feed: EditorService
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

EditorService

 Post Reply Post Reply
Author
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Topic: EditorService
    Posted: 31-Oct-2007 at 11:31am
I have successful. Implemented an editor pop-up. I have 2 questions.
 
1. How do you use/submit to/hide the message box panel at the bottom?
2. Is there a way to manipulate the size of the pop-up.?
Back to Top
Linguinut View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Jun-2007
Location: United States
Posts: 394
Post Options Post Options   Quote Linguinut Quote  Post ReplyReply Direct Link To This Post Posted: 28-Nov-2007 at 5:58pm
Coming up on a month old on this question...wow!  Have you been able to resolve it on your own?  If so, feel free to share your discoveries.  It may come in handy when I do a search a year from now for the same thing.
 
<grin>Bill</grin>
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 29-Nov-2007 at 8:47am
Nope, I have stopped working on it that portion for now. I have been putting off the GUI tweaks. As soon as I get the rest of the functionality done I will come back to the GUI stuff.
 
Hope I have some help by then.
 
hint..hint... Bill
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 29-Nov-2007 at 5:38pm
Sorry, very busy lately.  I'll get to this as soon as I can.
 
Bill J.
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 26-Dec-2007 at 3:54pm
1. How do you use/submit to/hide the message box panel at the bottom?
 
The bottom panel (of either an Editor or Page view) is occupied by a VerifierResultsTextAlertsView that displays DevForce verification alerts from the current entity.
 
The EntityEditorController or SummaryDetailPageController creates a new VerifierResultsListener to capture verifier events from the current entity of the main binding source and fire the VerifierResultsChanged event.
 
The presenter of the VerifierResultsTextAlertsView subscribes to the VerifierResultsChanged event and displays the text.  It also fires the SetEditorAlertsVisibility event that is fielded by the PageViewPresenter to hide the panel if no alerts are present.
 
2. Is there a way to manipulate the size of the pop-up.?
 
Override InitializeSmartPartInfo() in the EntityEditorController and set Height and Width.
 
Bill J.
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jan-2008 at 9:01am
Bill,
 
When I try to override the size at any time in the EditorController (EditForm.Width=xx) I get the following error:
The given key was not present in the dictionary.
 
If I remove the override the problem goes away. So either I am doing something wrong or it just doesn't work.
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jan-2008 at 9:12am
Further look shows that EditorForm is not valid anywhere in the XXEntityController.
How do I get it?
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 12-Feb-2008 at 2:27pm

Don't try to modify the size of the form directly--the editor form hasn't been created yet.

In your editor controller (that inherits from EntityEditorController), override InitializeSmartPartInfo():
 
1.  Call the base method to create the SmartPartInfo.
 
2.  Get the SmartPartInfo:

PageSmartPartInfo info = MainView.SmartPartInfo;

3.  Set the width and height:

info.Width = www;
info.Height = hhh;
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down