Pranathi | 6 Jun 2012 03:27
Picon
Favicon

Checkboxes on the listPage

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Ramsey Gurley | 6 Jun 2012 03:57
Picon

Re: Checkboxes on the listPage

You can use a pick page to do that, but if you are using ERModern I think David LeBer mentioned some issue with that page.

Ramsey


On Jun 5, 2012, at 6:27 PM, Pranathi wrote:

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
David Holt | 6 Jun 2012 04:22
Picon
Gravatar

Re: Checkboxes on the listPage

I think the issue is with the EditListPages. One page is fine but if it spills into multiple batches, then there are problems. Rules can ensure that the page doesn't batch...

Sent from my iPad

On 2012-06-05, at 6:57 PM, Ramsey Gurley <ramseygurley <at> gmail.com> wrote:

You can use a pick page to do that, but if you are using ERModern I think David LeBer mentioned some issue with that page.

Ramsey


On Jun 5, 2012, at 6:27 PM, Pranathi wrote:

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Pranathi | 6 Jun 2012 18:09
Picon
Favicon

Re: Checkboxes on the listPage

Thanks for your suggestion.

I added a rule to use the  'ERD2WPickListPageTemplate' for 'templateNameForListPage'. But I dont see the checkboxes. I see the checkbox option for ERD2WPickTypePage, but that doesnot extend the listPage.

Any advice?

Thanks
Pranathi
 
Speed is good only when wisdom leads the way. -James Poe
From: David Holt <programmingosx <at> mac.com>
To: Ramsey Gurley <ramseygurley <at> gmail.com>
Cc: Pranathi <p_1434 <at> yahoo.com>; "wonder-disc <at> lists.sourceforge.net" <wonder-disc <at> lists.sourceforge.net>
Sent: Tuesday, June 5, 2012 10:22 PM
Subject: Re: [Wonder-disc] Checkboxes on the listPage

I think the issue is with the EditListPages. One page is fine but if it spills into multiple batches, then there are problems. Rules can ensure that the page doesn't batch...

Sent from my iPad

On 2012-06-05, at 6:57 PM, Ramsey Gurley <ramseygurley <at> gmail.com> wrote:

You can use a pick page to do that, but if you are using ERModern I think David LeBer mentioned some issue with that page.

Ramsey


On Jun 5, 2012, at 6:27 PM, Pranathi wrote:

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Ramsey Gurley | 6 Jun 2012 19:45

Re: Checkboxes on the listPage

I don't think you need to change the templateNameForListPage. Delete the rule you added and try using a pageConfiguration like "Pick*" instead.  To answer your question, you need to know how you plan to arrive at the pick page. Common answers would be:

Returning it from a controller method:

return D2W.factory().pageForConfiguationNamed("PickMyEntity", session());

See it after a query:

100 : pageConfiguration = 'QueryMyEntity' => showListInSamePage = "true" [com.webobjects.directtoweb.BooleanAssignment]

100 : pageConfiguration = 'QueryMyEntity' => listConfigurationName = "PickMyEntity" [com.webobjects.directtoweb.Assignment]

Loading it through a direct action:


Ramsey

On Jun 6, 2012, at 9:09 AM, Pranathi wrote:

Thanks for your suggestion.

I added a rule to use the  'ERD2WPickListPageTemplate' for 'templateNameForListPage'. But I dont see the checkboxes. I see the checkbox option for ERD2WPickTypePage, but that doesnot extend the listPage.

Any advice?

Thanks
Pranathi
 
Speed is good only when wisdom leads the way. -James Poe
From: David Holt <programmingosx <at> mac.com>
To: Ramsey Gurley <ramseygurley <at> gmail.com>
Cc: Pranathi <p_1434 <at> yahoo.com>; "wonder-disc <at> lists.sourceforge.net" <wonder-disc <at> lists.sourceforge.net>
Sent: Tuesday, June 5, 2012 10:22 PM
Subject: Re: [Wonder-disc] Checkboxes on the listPage

I think the issue is with the EditListPages. One page is fine but if it spills into multiple batches, then there are problems. Rules can ensure that the page doesn't batch...

Sent from my iPad

On 2012-06-05, at 6:57 PM, Ramsey Gurley <ramseygurley <at> gmail.com> wrote:

You can use a pick page to do that, but if you are using ERModern I think David LeBer mentioned some issue with that page.

Ramsey


On Jun 5, 2012, at 6:27 PM, Pranathi wrote:

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Pranathi | 6 Jun 2012 21:43
Picon
Favicon

Re: Checkboxes on the listPage

Thanks for your help!
 
Speed is good only when wisdom leads the way. -James Poe
From: Ramsey Gurley <rgurley <at> smarthealth.com>
To: Pranathi <p_1434 <at> yahoo.com>
Cc: David Holt <programmingosx <at> mac.com>; Project Wonder <wonder-disc <at> lists.sourceforge.net>
Sent: Wednesday, June 6, 2012 1:45 PM
Subject: Re: [Wonder-disc] Checkboxes on the listPage

I don't think you need to change the templateNameForListPage. Delete the rule you added and try using a pageConfiguration like "Pick*" instead.  To answer your question, you need to know how you plan to arrive at the pick page. Common answers would be:

Returning it from a controller method:

return D2W.factory().pageForConfiguationNamed("PickMyEntity", session());

See it after a query:

100 : pageConfiguration = 'QueryMyEntity' => showListInSamePage = "true" [com.webobjects.directtoweb.BooleanAssignment]

100 : pageConfiguration = 'QueryMyEntity' => listConfigurationName = "PickMyEntity" [com.webobjects.directtoweb.Assignment]

Loading it through a direct action:

http://localhost/cgi-bin/WebObjects/MyApp.woa/wa/MyERD2WDirectActionName/PickMyEntity

Ramsey

On Jun 6, 2012, at 9:09 AM, Pranathi wrote:

Thanks for your suggestion.

I added a rule to use the  'ERD2WPickListPageTemplate' for 'templateNameForListPage'. But I dont see the checkboxes. I see the checkbox option for ERD2WPickTypePage, but that doesnot extend the listPage.

Any advice?

Thanks
Pranathi
 
Speed is good only when wisdom leads the way. -James Poe
From: David Holt <programmingosx <at> mac.com>
To: Ramsey Gurley <ramseygurley <at> gmail.com>
Cc: Pranathi <p_1434 <at> yahoo.com>; "wonder-disc <at> lists.sourceforge.net" <wonder-disc <at> lists.sourceforge.net>
Sent: Tuesday, June 5, 2012 10:22 PM
Subject: Re: [Wonder-disc] Checkboxes on the listPage

I think the issue is with the EditListPages. One page is fine but if it spills into multiple batches, then there are problems. Rules can ensure that the page doesn't batch...

Sent from my iPad

On 2012-06-05, at 6:57 PM, Ramsey Gurley <ramseygurley <at> gmail.com> wrote:

You can use a pick page to do that, but if you are using ERModern I think David LeBer mentioned some issue with that page.

Ramsey


On Jun 5, 2012, at 6:27 PM, Pranathi wrote:

Hi,

We are using D2W in my project and wanted to see how I can add a checkbox to the list page where I can select the records I want to delete, before I could delete them with a delete button

Thanks for any help


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Dave Litter | 25 Jun 2012 14:15
Picon
Favicon

Using ERD2WQuerytoOneRelationship

I am trying to get a drop down button on my Query page Using the following rule.

150 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryToOneRelationship" [com.webobjects.directtoweb.Assignment]

But the Category name do not showup as a drop down, I see it as a text field instead. Any more missing rules in here?

Please help
Dave


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Ramsey Gurley | 25 Jun 2012 18:19

Re: Using ERD2WQuerytoOneRelationship

Is name an attribute or a relationship?  If it's a string attribute, you may want to consider using ERD2WQueryStringWithChoices instead.

Ramsey

On Jun 25, 2012, at 5:15 AM, Dave Litter wrote:

I am trying to get a drop down button on my Query page Using the following rule.

150 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryToOneRelationship" [com.webobjects.directtoweb.Assignment]

But the Category name do not showup as a drop down, I see it as a text field instead. Any more missing rules in here?

Please help
Dave


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Dave Litter | 25 Jun 2012 20:49
Picon
Favicon

Re: Using ERD2WQuerytoOneRelationship

I need both, for an attribute and for a relationship.

I use ERD2WQueryStringWithChoices for an attribute shown below and gave possibleChoices value as an the entity name. But i donot see the dropdown still. I am yet to try the relationship one.

My entity is a Category and name is  its attribute.

110 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => possibleChoices = "Category.name" [com.webobjects.directtoweb.Assignment]
110 : (entity.name = '
Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryStringWithChoices" [com.webobjects.directtoweb.Assignment]

Thanks for your help
Dave

From: Dave Litter <dave.litter <at> yahoo.com>
To: "wonder-disc <at> lists.sourceforge.net" <wonder-disc <at> lists.sourceforge.net>
Sent: Monday, June 25, 2012 8:15 AM
Subject: [Wonder-disc] Using ERD2WQuerytoOneRelationship

I am trying to get a drop down button on my Query page Using the following rule.

150 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryToOneRelationship" [com.webobjects.directtoweb.Assignment]

But the Category name do not showup as a drop down, I see it as a text field instead. Any more missing rules in here?

Please help
Dave



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Ramsey Gurley | 25 Jun 2012 22:11

Re: Using ERD2WQuerytoOneRelationship

Look in the source for that component. possibleChoices should be an array or a dictionary

possibleChoices = ({"CAR" = "Car"}, {"TRUCK" = "Truck"}, {"BOAT" = "Boat"}, {"MOTORCYCLE"="Motorcycle"})

not a keypath.

On Jun 25, 2012, at 11:49 AM, Dave Litter wrote:

I need both, for an attribute and for a relationship.

I use ERD2WQueryStringWithChoices for an attribute shown below and gave possibleChoices value as an the entity name. But i donot see the dropdown still. I am yet to try the relationship one.

My entity is a Category and name is  its attribute.

110 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => possibleChoices = "Category.name" [com.webobjects.directtoweb.Assignment]
110 : (entity.name = '
Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryStringWithChoices" [com.webobjects.directtoweb.Assignment]

Thanks for your help
Dave

From: Dave Litter <dave.litter <at> yahoo.com>
To: "wonder-disc <at> lists.sourceforge.net" <wonder-disc <at> lists.sourceforge.net>
Sent: Monday, June 25, 2012 8:15 AM
Subject: [Wonder-disc] Using ERD2WQuerytoOneRelationship

I am trying to get a drop down button on my Query page Using the following rule.

150 : (entity.name = 'Category' and propertyKey = 'name' and task = 'query') => ComponentName = "ERD2WQueryToOneRelationship" [com.webobjects.directtoweb.Assignment]

But the Category name do not showup as a drop down, I see it as a text field instead. Any more missing rules in here?

Please help
Dave



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

Gmane