Hi all, I have some troubles by using preferences panel, more precise, I dont know how to use it. I'm developing a plugin, which connects to another web app. The plugin has its own web ui and is accessible from navigation bar. It has its own process_request() method to handle use inputs. Now I want to allow users to set their passwords (for the another web app) by using preferences tab. In my plugin I imported IPreferencePanelProvider interface and added the methods get_preference_panels() and render_preference_panel(). Now every user can see the new prefs panel. But I dont know how to handle the "save changes" action from preferences tab. Should it be a extra class for preference in my plugin modul with his own process_request() method or the existing method can be used?
In my preferences tab there are 2 password fields only. Action I want to perform is: Compare the passwords and if they are equal, store them in the trac db. I have seen the account manager plugin, but dont understand how it is made. I have seen the generated HTML sources for my prefs tab and the action sttribute for HTML form is empty... Is there a simple example how to handle the prefs "save changes" action or anybody can explain that? Thanks! Serge --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
