oops, forgot reply all....

> Well...
> 
> In my queryAction of my custom QuertyPage I set the list of objects.
> Normally, the user saves a report, then loads the report which brings
> back all their previously entered query bindings. Then the submit the
> page and up comes a column selector, again pre-filled.
> 
> Finally, they submit this and the D2WList appears. This works great.
> 
> Now I am trying to just run the query. In other words go directly from 
> report selection to list page with nothing in between.
> 
> Since the QueryPage has a pageConfiguration, i.e. QueryPortfolioProject
> (with apologies to Pascal's suggestion), the entity name is auto created.
> 
> I however, won't be displaying the QueryPage, so that auto rule won't fire.
> 
> Hence I was trying to submit set the EntityName.
> 
> Make a bit more sense?
> 
> James


On Mar 26, 2012, at 2:33 PM, David Holt wrote:

> This question makes no sense.
> 
> Please provide more detail.
> 
> What does "reuse the results" mean?
> 
> 
> On 2012-03-26, at 12:09 PM, James Cicenia wrote:
> 
>> I have a very custom D2WQueryPage.
>> 
>> I would like to reuse the results of this querypage.
>> 
>> Is this possible?
>> 
>> I am instantiating it as such:
>> 
>>              TOSD2WQueryPage queryPage = new TOSD2WQueryPage(context());
>>              queryPage.setEntityName("PortfolioProject");
>> 
>> However, I get a null exception:
>> 
>>      at 
>> com.webobjects.directtoweb.D2WComponent.setEntity(D2WComponent.java:336)
>>      at 
>> com.webobjects.directtoweb.D2WComponent.setEntityName(D2WComponent.java:356)
>>      at com.tos.tab.TabSystem.changeReportProject(TabSystem.java:403)
>> 
>> Why? I am setting the Entity Name? Or is this just not possible?
>> 
>> Thanks
>> James
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to