cool stuff, can you add a page to our wiki ? On Wed, Aug 12, 2009 at 1:33 PM, Bruno Marti<[email protected]> wrote: > > thx > > I've successfully integrated Tomahawk in Trinidad framework and t:inputHtml > works fine. Here are some details, because I'm currently using the older > version of trinidad: > pom.xml: > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-api</artifactId> > <version>1.1.5</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-impl</artifactId> > <version>1.1.5</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.tomahawk</groupId> > <artifactId>tomahawk</artifactId> > <version>1.1.6</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.trinidad</groupId> > <artifactId>trinidad-api</artifactId> > <version>1.0.10</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.trinidad</groupId> > <artifactId>trinidad-impl</artifactId> > <version>1.0.10</version> > <scope>compile</scope> > </dependency> > > web.xml: > <!-- Myfaces Tomahawk Extensions Filter --> > <filter> > <filter-name>MyFacesExtensionsFilter</filter-name> > > <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> > <init-param> > <param-name>uploadMaxFileSize</param-name> > <param-value>10m</param-value> > <description> > Set the size limit for uploaded files. Format: 10 - 10 bytes > 10k - 10 KB 10m - 10 MB > 1g - 1 GB > </description> > </init-param> > <init-param> > <param-name>uploadThresholdSize</param-name> > <param-value>100k</param-value> > <description> > Set the threshold size - files below this limit are stored > in memory, files above this > limit are stored on disk. > Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB > </description> > </init-param> > <!-- <init-param> > <description>Set the path where the intermediary files will be > stored. > </description> > <param-name>uploadRepositoryPath</param-name> > <param-value>/temp</param-value> > </init-param>--> > </filter> > <!-- filter mapping for session Myfaces extension filter --> > <filter-mapping> > <filter-name>MyFacesExtensionsFilter</filter-name> > <url-pattern>*.jsf</url-pattern> > </filter-mapping> > <!-- extension mapping for serving page-independent resources > (javascript, stylesheets, images, etc.) --> > <filter-mapping> > <filter-name>MyFacesExtensionsFilter</filter-name> > <url-pattern>/faces/*</url-pattern> > </filter-mapping> > > a.jsp: > <tr:panelGroupLayout> > <t:inputHtml id="compInputHtml" style="height:200px;" > rendered="true" addKupuLogo="true" > allowExternalLinks="true" allowEditSource="true" > showAllToolBoxes="true" > value="#{user.notice}" validator="#{user.validateNotice}" /> > <t:message for="compInputHtml" styleClass="error" /> > </tr:panelGroupLayout> > <%-- MUST use tomahawk submit otherwise value gets lost --%> > <t:commandButton value="Save"/> > > > > > Matthias Wessendorf-4 wrote: >> >> On Wed, Aug 12, 2009 at 7:45 AM, Bruno Marti<[email protected]> wrote: >>> >>> Does Trinidad provide a component like Tomahawks t:inputHtml? >> >> nope >> >>> Or can I mix Trinidad an Tomahawk components? >> >> no all. I think there haven't been any issues reported on that one. >> to be safe, please search the archives. >> >> You may find some mails mentioning trouble with Trinidad/Tomahawk >> integration, >> but that has been (mostly) fixed. >> >> I'd use only Trinidad components and add what I need from Tomahawk. >> >> That *should* work. >> >> Greetings, >> Matthias >> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/-Trinidad--Html-Editor-like-t%3AinputHtml-tp24930406p24930406.html >>> Sent from the MyFaces - Users mailing list archive at Nabble.com. >>> >>> >> >> >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> sessions: http://www.slideshare.net/mwessendorf >> twitter: http://twitter.com/mwessendorf >> >> > > -- > View this message in context: > http://www.nabble.com/-Trinidad--Html-Editor-like-t%3AinputHtml-tp24930406p24934581.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >
-- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf

