Thanks for help George. When I apply your patch, I have a text on my textbox, but the text is exactly this:
org.sipfoundry.sipxconfig.common....@43c57a6a Wouldn't it be "Hello" ? _lvnd_ (^_^) On Tue, Dec 28, 2010 at 1:40 PM, George Niculae <[email protected]> wrote: > On Tue, Dec 28, 2010 at 9:20 AM, Levend Sayar <[email protected]> > wrote: > > George, I need to know what I am doing in sipxconfig as soon as possible. > > Many technologies are used in there. > > Do you suggest something to me for gathering enough knowledge to feel > > comfortable a little bit with sipxconfig source code ? > > Unfortunately I could not progress in this issue as much as I want. > > > > Please find attached a patch with some fixes > - UGB class should not be abstract > - use ognl to call methods from backing java file e.g. > <td jwcid="seria...@textfield" id="ugb:serialno" > value="ognl:ugb.data" > displayName="message:ugb.serialno"/> > > A quick explanation: there are not so many technologies but layer > decoupling following J2EE patterns - basically there is Tapestry and > Spring, Spring is used for business layer, Tapestry for presentation > layer. Tapestry renders html page, Spring holds all the business logic > (can be reused, exposed in web services, etc.). In the attached patch > the business logic resides in UGB class, so you declare it as a spring > bean: > > <bean id="ugb" class="org.sipfoundry.sipxconfig.common.UGB"/> > > then you inject the Spring bean in Tapestry backing class UgbPage as: > > @InjectObject(value = "spring:ugb") > public abstract UGB getUgb(); > > then you display the value using ognl (ognl:ugb.data can be translated > in UgbPage.getUgb().getData() ) > > <td jwcid="seria...@textfield" id="ugb:serialno" > value="ognl:ugb.data" > displayName="message:ugb.serialno"/> > > However the licensing stuff should reside in your plugin and not in > open source project - we need to extend sipXconfig plugins to > contribute with own pages and menu entries > (http://track.sipfoundry.org/browse/XX-9311) > > George > > _______________________________________________ > sipx-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev/ >
_______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
