Re: ERD2WEditToOneRelationship + (toOneUIStyle='popup') + createAction button: is it possible?
Re: ERD2WEditToOneRelationship + (toOneUIStyle='popup') + createAction button: is it possible?
- Subject: Re: ERD2WEditToOneRelationship + (toOneUIStyle='popup') + createAction button: is it possible?
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 22 Oct 2012 08:38:18 -0700
You don't "have" to create one if you use the ERDControllerButton.
pageConfiguration = "EditBlah" => displayPropertyKeys = ("(section)", "property", "myControllerAction") [Assignment]
propertyKey = myControllerAction => componentName = "ERDControllerButton" [Assignment]
pageConfiguration = "EditBlah" and propertyKey = "myControllerAction" => pageController = "com.myapp.controllers.EditBlahController" [ERDDelayedObjectCreationAssignment]
public class EditBlahController extends ERDBranchDelegate {
public WOComponent newBlah(WOComponent sender) {
//TODO Create new blah
}
}
Ramsey
On Oct 22, 2012, at 4:34 AM, Flavio Donadio wrote:
> Ramsey,
>
>
> You mean I'll have to create a custom component?
>
> I tried using rules -- in the same way one can add action buttons to embedded lists. Either my rules are not working or it can't be done this way.
>
>
> Regards,
> Flavio
>
> On 22/10/2012, at 01:11, Ramsey Gurley wrote:
>
>> That component doesn't have a new button. I would suggest adding one using a ERDActionButton subclass and a custom key or just using a ERDControllerButton and a pageController that can do it.
>>
>> Ramsey
>>
>> On Oct 21, 2012, at 5:42 PM, Flavio Donadio wrote:
>>
>>> I know "bumping" is not polite, but don't you guys have any tips for me?
>>>
>>>
>>> On 19/10/2012, at 17:52, Flavio Donadio wrote:
>>>
>>>> Hello, guys!
>>>>
>>>>
>>>> The subject pretty much sums it up.
>>>>
>>>> I have an ERD2WEditToOneRelationship working as a popup menu, but I've lost the nice "New" button that ERDEditRelationship has.
>>>>
>>>> Is it doable? I've tried some rules (hard to master them, huh?), but no dice...
>>>>
>>>>
>>>> Regards,
>>>> Flavio
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden