[OFBiz] Users - workeffort: where does pageContext get populated?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - workeffort: where does pageContext get populated?

Nate Reed-2
I am working on adding a new priority enumeration to workeffort.  I
edited editproject_jsp.java to populate the pageContext with a
priorities collection, but apparently this file is no longer used(?) or
not for the "New Task" screen.

Can someone tell me what code populates the context for task.ftl?

One of the methods called is getStatusItems(), and I see in the logs:

58805 (http-0.0.0.0-8443-Processor4) [
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
total:0.024,since last(Begin):0.024]] - 'workeffort / getStatusItems'

I need to add something similar for the new priorities enumeration.

Thanks,
Nate



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - workeffort: where does pageContext get populated?

David E. Jones

Nate,

It sounds like you're wading pretty deep here...

First off, I wouldn't recommend working with the existing WorkEffort  
based resources in the WorkEffort manager. Those are slated for  
modernizing soon which will make them much easier to work with. Some  
pages like the calendar view and such will stay mostly as is, but the  
task, event, project, etc pages will all be redone and eliminated.

For this in particular, you wouldn't modify those .java files, they  
are automatically generated by the JSP engine based on the  
corresponding .jsp files, so changing them generally wouldn't have  
any effect as there is nothing to trigger their compilation and  
execution from there.

-David


On Aug 25, 2005, at 8:44 AM, Nate Reed wrote:

> I am working on adding a new priority enumeration to workeffort.  I
> edited editproject_jsp.java to populate the pageContext with a
> priorities collection, but apparently this file is no longer used
> (?) or
> not for the "New Task" screen.
>
> Can someone tell me what code populates the context for task.ftl?
>
> One of the methods called is getStatusItems(), and I see in the logs:
>
> 58805 (http-0.0.0.0-8443-Processor4) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:0.024,since last(Begin):0.024]] - 'workeffort / getStatusItems'
>
> I need to add something similar for the new priorities enumeration.
>
> Thanks,
> Nate
>
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [OFBiz] Users - workeffort: where does pageContext get populated?

Nate Reed-2
In reply to this post by Nate Reed-2
David and all,

I'm using webmail and I cannot read your response.  I noticed that some
of your earlier messages are visible in my client (Tue, Aug 23, 2005
8:43 pm - Can OfBiz actually run a business?).  Not sure what the
problem is, maybe someone can forward your reply to me as text?  Sorry
to be a pain...

Thanks,
Nate

> -------- Original Message --------
> Subject: Re: [OFBiz] Users - workeffort: where does pageContext get
> populated?
> From: "David E. Jones" <[hidden email]>
> Date: Thu, August 25, 2005 11:09 am
> To: OFBiz Users / Usage Discussion <[hidden email]>
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - workeffort: where does pageContext get populated?

David E. Jones

It is plain text, that's all I send. There is a signature attached to  
it, but that should be true of the other emails as well. I can't  
really send anything different, might be best to try another mail  
reader.

-David


On Aug 25, 2005, at 1:06 PM, Nate Reed wrote:

> David and all,
>
> I'm using webmail and I cannot read your response.  I noticed that  
> some
> of your earlier messages are visible in my client (Tue, Aug 23, 2005
> 8:43 pm - Can OfBiz actually run a business?).  Not sure what the
> problem is, maybe someone can forward your reply to me as text?  Sorry
> to be a pain...
>
> Thanks,
> Nate
>
>
>> -------- Original Message --------
>> Subject: Re: [OFBiz] Users - workeffort: where does pageContext get
>> populated?
>> From: "David E. Jones" <[hidden email]>
>> Date: Thu, August 25, 2005 11:09 am
>> To: OFBiz Users / Usage Discussion <[hidden email]>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users