On 2011-12-07, at 4:11 PM, Chuck Hill wrote:
>
> On 2011-12-07, at 12:06 PM, Calven Eggert wrote:
>
>> It might be helpful to know that I've discovered that my application that
>> was having this problem allows the user to click on a record in a list to go
>> to an edit page. On the edit pag
On 2011-12-07, at 2:22 PM, Ramsey Gurley wrote:
> On Dec 7, 2011, at 2:30 PM, Chuck Hill wrote:
> On 2011-12-07, at 8:01 AM, Ramsey Gurley wrote:
>>> On Dec 6, 2011, at 3:43 PM, Chuck Hill wrote:
On 2011-12-06, at 2:31 PM, Lachlan Deck wrote:
> On 07/12/2011, at 9:23 AM, Philippe Rabier wr
Ok -
I am getting closer...
public class D2WPrimaryAlignmentMetricByKey extends NXComponent {
public EOEnterpriseObject object;
public String key;
public String lookupString;
public D2WPrimaryAlignmentMetricByKey(WOContext context) {
super(context);
Yea I have my rules like that but it
(entity.name = 'PortfolioProject' and propertyKey = 'primaryGroup')
componentName = "D2WCustomComponent"
(entity.name = 'PortfolioProject' and propertyKey = 'primaryGroup')
customComponentName = "D2WPrimaryAlignmentMetricByKey"
I still get:
this = ""; }
On 2011-12-07, at 8:01 AM, Ramsey Gurley wrote:
>
> On Dec 6, 2011, at 3:43 PM, Chuck Hill wrote:
>
>>
>> On 2011-12-06, at 2:31 PM, Lachlan Deck wrote:
>>
>>> On 07/12/2011, at 9:23 AM, Philippe Rabier wrote:
>>>
I can feel how uncomfortable you are.
What makes me confused
On 2011-12-07, at 2:17 PM, James Cicenia wrote:
> This is way old skool/noxymo app. It will be converted next year.
> And I have been running a custom QueryPage, to custom propertyKey picker, to
> listPage with button to a POI export to Excel.
>
> I was just trying out ERExcelLook in this app..
On Dec 7, 2011, at 2:30 PM, Chuck Hill wrote:
>
> On 2011-12-07, at 8:01 AM, Ramsey Gurley wrote:
>
>>
>> On Dec 6, 2011, at 3:43 PM, Chuck Hill wrote:
>>
>>>
>>> On 2011-12-06, at 2:31 PM, Lachlan Deck wrote:
>>>
On 07/12/2011, at 9:23 AM, Philippe Rabier wrote:
> I can feel
This is way old skool/noxymo app. It will be converted next year.
And I have been running a custom QueryPage, to custom propertyKey picker, to
listPage with button to a POI export to Excel.
I was just trying out ERExcelLook in this app In my other wonder D2W apps,
it works like a charm! Anyw
The way I have used the ERExcelLook framework in the past has been to provide a
button on a list page that downloads the same list to the desktop as an Excel
file. The user verifies the result set before downloading.
I imagine that custom reporting that you are talking about should take place on
Granted this isn't Wonder. However, I can use my old patterns if EXExcelLook
can't be integrated..
Anyway, what I wanted to was create a sort of custom reporting system.
I need to find the values of individual to-one relationships based upon a
qualifier of sorts.
Each project can have N number
What is this "failed" experiment?
The app will do whatever the rules tell them it do. There's no magic.
How about giving us some information we can work with?
Rules?
Stack trace?
Anything??
What are you trying to do? If you have the list page, why can't you use it in
ERExcelLook? Are you sure
What is this "failed" experiment?
The app will do whatever the rules do whatever you tell them to do. There's no
magic.
How about giving us some information we can work with?
Rules?
Stack trace?
Anything??
What are you trying to do? If you have the list page, why can't you use it in
ERExcelLo
I'm pretty sure it's ERXApplication that calls finishInitialization on
ERXFrameworkPrincipal classes. If you're not extending ERXApp, I would not be
surprised if you run into more issues like this with ERD2W.
Ramsey
On Dec 7, 2011, at 2:25 PM, James Cicenia wrote:
> This is a pre Wonder appli
OK -
I was able to generate a standard D2wList. Still working the Excel part.
Anyway, my experiment proved wrong. I hoping the rules would intercept
my "fake" property key and direct it to my custom component.
I didn't want to add these properties to the EO.
Do I have to?
James Cicenia
cell:
Because the rule system uses _NSUtilities.classWithName() to get the class
name. It will find a class by name, if it is uniquely named, or if you use a
fully qualified class name, then it will treat it like java's standard
Class.forName(). The assignment class is
er.directtoweb.assignments.ER
This is a pre Wonder application... I have targeted it for a wonder makeover
starting in january.
In the meantime this factory problem only arises when it invokes the ExcelLook
page... I thing,
James
On Dec 7, 2011, at 2:52 PM, Ramsey Gurley wrote:
> D2W.setFactory
smime.p7s
Description: S/
fqcn ? fully qualified component name?
Well then where is it? Why would ERDKeyValueAssignment not crash my app but
using the fully qualified does?
James
On Dec 7, 2011, at 2:36 PM, Ramsey Gurley wrote:
> ClassNotFound. If you want to use the fqcn then it would be
> er.directtoweb.assignmen
I used this.. .but was missing the task = 'list'
On Dec 7, 2011, at 2:46 PM, David LeBer wrote:
> Shouldn't it be something like:
>
> pageConfiguration = 'ListProtfolioProject' => entity = "PortfolioProject"
> [EntityAssignment]
>
> (Notice the assignment object type)
>
> --
> David LeBer
On 2011-12-07, at 12:06 PM, Calven Eggert wrote:
> It might be helpful to know that I've discovered that my application that was
> having this problem allows the user to click on a record in a list to go to
> an edit page. On the edit page there is a save button and when clicked the
> page re
There have been other bugs in the past (and maybe still in 5.4.3) that can
cause the same symptoms. An unlocked EC can also result in this.
On 2011-12-07, at 1:02 PM, Andrew Lindesay wrote:
> Hi there;
>
> Yes I believe this actually is indicative of the problem; it seems that the
> editing
Hi there;
Yes I believe this actually is indicative of the problem; it seems that
the editing context at that moment doesn't think it has any changes when
it actually does.
cheers.
On 8/12/11 2:59 AM, ISHIMOTO Ken wrote:
Hi,
Do you use
ec.hasChanged() {
ec.saveChanges();
}
I have found
This is weird. Are you calling D2W.setFactory anywhere? The ERDirectToWeb
principal class should be setting this to an instance of ERD2WFactory for you
in finishInitialization()
Ramsey
On Dec 7, 2011, at 1:17 PM, James Cicenia wrote:
> Ok -
>
> I have all the rules set and I think it is try
Something is definitely goofy though. The rule system in ERD2W is set up to
figure out the entity from the pageConfiguration name. If James has an entity
named PortfolioProject already, it should be finding that in
entityForPageConfiguration in ERDDefaultModelAssignment.
Ramsey
On Dec 7, 2011
Shouldn't it be something like:
pageConfiguration = 'ListProtfolioProject' => entity = "PortfolioProject"
[EntityAssignment]
(Notice the assignment object type)
--
David LeBer
Codeferous Software
On 2011-12-07, at 3:26 PM, David Holt wrote:
> entity.name
>
>
> On 2011-12-07, at 10:46 AM, J
entity.name
On 2011-12-07, at 10:46 AM, James Cicenia wrote:
> So I set two rules
>
> pageConfiguration = 'ListProtfolioProject' entityName = "PortfolioProject"
>
> This is not a wonder project but I am including some frameworks.
>
> I still get the same error.
>
> Other thoughts?
>
> Thank
ClassNotFound. If you want to use the fqcn then it would be
er.directtoweb.assignments.ERDKeyValueAssignment. It crashes because all the
rules are read in from the rule model files at startup. When the class is not
found, crash.
On Dec 7, 2011, at 1:31 PM, James Cicenia wrote:
> I was usin
I was using ERDKeyValueAssignment for the pageName. But I think that was giving
me the factory error,
so I changed it to er.directtoweb.ERDKeyValueAssignment.
1) What is the difference
2) Why does using the second crash my app no matter if the rule is active or
not?!
Thanks
James
smime.p7s
De
Ok -
I have all the rules set and I think it is trying to run the ExcelPage...
because if I turn off templateNameForExcelListPage I dont' crash!
Here is what I am getting:
: Exception
occurred while handling request:
java.lang.ClassCastException: com.webobjects.directtoweb.D2W cannot be cast t
It might be helpful to know that I've discovered that my application that was
having this problem allows the user to click on a record in a list to go to an
edit page. On the edit page there is a save button and when clicked the page
remains displayed. My other WO apps do not have this behavio
I need to add the task = 'list' assignment
further along here.
James
On Dec 7, 2011, at 11:41 AM, David Holt wrote:
> You need to have an entity assigned to the page configuration.
>
> You probably are used to the default assignments doing the work for you, but
> if your entity isn't Port
So I set two rules
pageConfiguration = 'ListProtfolioProject' entityName = "PortfolioProject"
This is not a wonder project but I am including some frameworks.
I still get the same error.
Other thoughts?
Thanks
James
On Dec 7, 2011, at 11:41 AM, David Holt wrote:
> You need to have an entit
You need to have an entity assigned to the page configuration.
You probably are used to the default assignments doing the work for you, but if
your entity isn't PortfolioProject the default assignment won't be able to
interpret "ListPortfolioProject" correctly.
Is this an array of EOs?
On 201
I am trying to do something like the following:
ListPageInterface lpi =
(ListPageInterface)D2W.factory().pageForConfigurationNamed("ListPortfolioProject",
session());
EOArrayDataSource ds = new EOArrayDataSource(null,
session().defaultEditingContext());
ds.setArray(repor
On Dec 6, 2011, at 3:43 PM, Chuck Hill wrote:
>
> On 2011-12-06, at 2:31 PM, Lachlan Deck wrote:
>
>> On 07/12/2011, at 9:23 AM, Philippe Rabier wrote:
>>
>>> I can feel how uncomfortable you are.
>>>
>>> What makes me confused is to never see this bug before. It's hard to
>>> believe that
Hi Q,Thanks, I go to Try it.Envoyé depuis iCloudLe 07 déc 2011 à 06:47, Q a écrit :NSData pdfAttachment = pdfReport.content();On 07/12/2011, at 11:40 PM, Raymond NANEON wrote:Hi,Thanks for all advices and the sent mail methods but sorry I think I was not clear in my question. My problem is get the
Hello -
I have an array of pojos. It looks like ERExcelLook required
EOEnterpriseObjects.
What do you mavens do?
James
smime.p7s
Description: S/MIME cryptographic signature
___
Do not post admin requests to the list. They will be ignored.
Webobj
NSData pdfAttachment = pdfReport.content();
On 07/12/2011, at 11:40 PM, Raymond NANEON wrote:
> Hi,
>
> Thanks for all advices and the sent mail methods but sorry I think I was not
> clear in my question. My problem is get the file inside the generated
> component by this method :
>
> publi
I don't use ec.hasChanged().
On 2011-12-07, at 8:59 AM, ISHIMOTO Ken wrote:
> Hi,
>
> Do you use
>
> ec.hasChanged() {
>
> ec.saveChanges();
>
> }
>
> I have found, but not find why sometimes hasChanged() says false but the EO
> really changed.
>
>
>
>
>
> On 2011/12/05, at 15:
Hi,
Do you use
ec.hasChanged() {
ec.saveChanges();
}
I have found, but not find why sometimes hasChanged() says false but the EO
really changed.
On 2011/12/05, at 15:35, Calven Eggert wrote:
> Hi, All
>
> I'm having some weird behaviour and have spent the last weekend trying to
Hi,Thanks for all advices and the sent mail methods but sorry I think I was not clear in my question. My problem is get the file inside the generated component by this method : public WOActionResults downloadAsPDF() {
NSMutableDictionary
configuration = new NSMutableDictionary();
WOContext co
I'm developing on a MacBookPro (2.53 Intel Core 2 Duo, Snow Leopard) and
deploying on Mac Minis (2.66 GHz Intel Core 2 Duo, Leopard) WO 5.4.3.
NOTE: As mentioned earlier in this thread, the bug seems to appear when many
changes have been made to the same EO. I've managed to find a repeatable
Hi,
I used mailapi.jar to send a mail from java program.
Attached a pdf to the mail and sent to multiple users.
Here is the code:
try{
File file=new File("report.pdf");
Raymond
I have not done this in a complete loop, so you will need to experiment.
But the basic process would be something like this.
1) Do the PDF generation, but return the response into an NSData
2) Then follow the pattern in Pascal's link to put the NSData as content on
the
message.addA
Have a look at ERJavaMail, you can send attachments with it.
http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Frameworks-ERJavaMail
> Hi Paul,
>
> I would like to get the pdf file and sent it directly by mail with a method.
> How can I get the the file in the pdfReport component
Hi Paul,I would like to get the pdf file and sent it directly by mail with a method. How can I get the the file in the pdfReport component?Thanks for your help.Envoyé depuis iCloudLe 17 nov 2011 à 07:06, Paul Yu a écrit :RaymondJust change your css @page declaration.@page { size:11in 8.5in; // cha
Hello;
projects over the years without having done anything particularly
radical.
^^^ I mean "particularly radical" (as in different) in this situation.
Regards
--
Andrew Lindesay
www.silvereye.co.nz
___
Do not post admin requests to the list. The
Hello;
I see a similar situation to Calven in the application I am working on
and have seen this in a development setting with one user. This is the
first time I think I have seen this and I have undertaken a number of
projects over the years without having done anything particularly
radical
47 matches
Mail list logo