1) Don't reply off list.
2) As was mentioned the last time someone asked about this, it would
quite difficult to do this. I can think of some interesting ways to try
it, but they all would be difficult hacks.

--Noah

[EMAIL PROTECTED] wrote:
> Thanks once again Noah
>
> Actually we are using trac 0.10.3 version of Trac. When we click on the
> View ticket it will display the list of project as :( like it is
> displaying multiple projects)
>
> Project1- Active Tickets
> Project1- Closed tickets
> Project1- SQM inflow
> Project1- SQM Critical Closed
> Project2- Active Tickets
> Project2- Closed tickets
> Project2- SQM inflow
> Project2- SQM Critical Closed
> Project3- Active Tickets
> Project3- Closed tickets
>
> So we want to display the projects in dropdown list whenever we select
> particular project it should display the list of all ticket as per
> selected project name.
>
> So please help in this issue.
>
> Thanks
> Shailesh
>
>
> -----Original Message-----
> From: Noah Kantrowitz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 25, 2007 10:41 AM
> To: Shailesh Sabale (WT01 - TES-Enterprise Networks)
> Subject: Re: FW: [Trac] Re: Query related to Trac database connectivity
>
> This is a huge topic. Trac uses a very thin layer over the underlying DB
> libraries, basically just to make them all look the same. The wrapper
> follows DBAPI2, as do the low-level bindings. To get a connection, you
> get env.get_db_cnx(). You then need to get a cursor object (with
> .cursor()) to perform queries. If you explain what your actual end goal
> is, you will probably get more useful responses.
>
> --Noah
>
> [EMAIL PROTECTED] wrote:
>   
>> Thanks for your reply Noah.
>>
>> I would like to know what are match request and process_ request
>> function. 
>> We are looking for how the database connectivity has been done.
>>     
> Whenever
>   
>> we click on view ticket it did not display the project wise ticket
>>     
> list.
>   
>> So we are trying to modify that. Please help us....
>>
>> Thanks in Advance
>> Shailesh
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED]
>> On Behalf Of Noah Kantrowitz
>> Sent: Wednesday, July 25, 2007 8:22 AM
>> To: [email protected]
>> Subject: [Trac] Re: Query related to Trac database connectivity
>>
>> trac/ticket/report.py is what provides the RequestHandler for the
>>     
> report
>   
>> view. Look at the match_request and process_request functions.
>>
>> --Noah
>>
>> [EMAIL PROTECTED] wrote:
>>   
>>     
>>> Hi All,
>>>
>>>  
>>>
>>> I'm looking into the implementation of Trac system Ver 0.10.3. It
>>>       
> uses
>   
>>> clearsilver template for displaying the database contents on the
>>> webpage. I have gone through the source files related to database
>>>     
>>>       
>> query
>>   
>>     
>>> and clearsilver files (.cs). However I could not establish the link
>>> between the querying of database and displaying its contents on the
>>> webpage.
>>>
>>>  
>>>
>>> Are there any design documents available which provide relevant
>>> information regarding database connectivity of trac with the display
>>> engine? For e.g. I wanted to understand the implementation of "view
>>> ticket" operation i.e. how the ticket data queried through data base
>>>     
>>>       
>> is
>>   
>>     
>>> getting displayed on web page that uses clearsilver template.  
>>>
>>>  
>>>
>>> What are the relevant files that I should go through to understand
>>>     
>>>       
>> view
>>   
>>     
>>> ticket implementation?
>>>
>>>  
>>>
>>> Some of the files that I went through are 
>>>
>>> Report.cs
>>>
>>> Report.py
>>>
>>> mySql_backend.py
>>>
>>> db_default.py
>>>
>>>  
>>>
>>> Thanks,
>>>
>>> Shailesh
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>
>>> >>>
>>>
>>>     
>>>       
>>
>>
>>
>> The information contained in this electronic message and any
>>     
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments. 
>   
>> WARNING: Computer viruses can be transmitted via email. The recipient
>>     
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>   
>>  
>> www.wipro.com
>>     
>
>
>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. 
>
> WARNING: Computer viruses can be transmitted via email. The recipient should 
> check this email and any attachments for the presence of viruses. The company 
> accepts no liability for any damage caused by any virus transmitted by this 
> email.
>  
> www.wipro.com
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to