Re: how to use valuesClass to render columns with different classes

2006-03-12 Thread Sam Gendler
OK, I just pulled Tapestry from svn and built it, but I am exceedingly leary of running unreleased code in a production project. I don't have a problem just using the contrib jar, but if it is possible, I'd rather just replace the minimum set of class files needed to fix the problem. Can you give

Re: tapestry hibernate Object was not of the specified subclass...

2006-03-12 Thread Sam Gendler
There's mention of this problem in the hibernate docs. It has to do with the way hibernate uses proxy classes and object inheritance. The long and the short of it is that in order to get things working correctly, you need to make your domain objects implement interfaces and then tell hibernate th

Re: tapestry hibernate Object was not of the specified subclass...

2006-03-12 Thread Marc Ende
Hi Andreas, I've tried the targetEntity but it doesn't solve the problem. What I've forgotten to mention is that the class "WohnungNeu" extends the class "Objekt". The used OneToOne relationship works perfectly. I've found a startingpoint. It seems to be hibernate not tapestry... Thanks for

Re: tapestry hibernate Object was not of the specified subclass...

2006-03-12 Thread Andreas Bulling
Hi Marc, I'm using annotations so perhaps you have to take a look at the hibernate documentation to see how to define the same in the xml mapping file. Perhaps you have to define something similar to this: @ManyToMany(targetEntity = Person.class, mappedBy = "users", cascade = {

tapestry hibernate Object was not of the specified subclass...

2006-03-12 Thread Marc Ende
Hi there, I've got a little problem, where I find no starting point to search for: There is an entity from hibernate wich has got an OneToMany relationship called objektBilder. This relationship should return an List. Which it does normally (the used dataset works correctly in an standalone ap

[Wiki] PagesAndComponentsInWEB-INF

2006-03-12 Thread Andreas Bulling
Hi everybody, I tried to follow the above Howto from the Tapestry Wiki but I get the error message: --- Could not parse template context:/WEB-INF/Border.html --- Has anyone else tried this Howto and got it working? Just to make clear: I've created "pages" and "components" subdirectories below W

Re: Preview Html

2006-03-12 Thread Dmitry Gusev
> > However, I am unsure as to whether a Insert component > will actually render html tags. Use raw=true attribute. If false (the default), then HTML characters in the value are escaped. If true, then value is emitted exactly as is.

RE: How to access HttpServletRequest from inside an IEngineService?

2006-03-12 Thread James Carman
Declare a setHttpServletRequest( HttpServletRequest req ) method on your implementation class. -Original Message- From: Oscar Picasso [mailto:[EMAIL PROTECTED] Sent: Sunday, March 12, 2006 1:57 PM To: tapestry-user@jakarta.apache.org Subject: How to access HttpServletRequest from inside a

How to access HttpServletRequest from inside an IEngineService?

2006-03-12 Thread Oscar Picasso
Hi, I have an IEngineService that needs to know the HTTP method (HEAD or GET) that was used for the request. In its service method I can do the following: cycle.getRequestContext().getRequest().getMethod() However the getRequestContext() is deprecated. I have tried something like: cycle.getE

Re: Preview Html

2006-03-12 Thread spamsucks
This is a feature stitches provides out of the box. It is already integrated with the FCKeditor and provides a preview tab for your content. http://stitches.authsum.org Izak Wessels wrote: Hi, The app that I am currently working on has the need for some basic html e-mailing capabilities.

Problem using properties in component

2006-03-12 Thread Mike Snare
I'm writing a auto-refresh component that refreshes the page using javascript and resets the scroll position to the pre-refresh position. To do this, I have created a Refresher component. Quick rundown: The Refresher component is an extension of BaseComponent. The template contains a simple for

Re: Preview Html

2006-03-12 Thread Izak Wessels
Looks awesome, thanks for the link On 3/12/06, Wayland Chan <[EMAIL PROTECTED]> wrote: > Take a look at http://tinymce.moxiecode.com/ > It might be what you're looking for. > > > > On 3/12/06, Izak Wessels <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > The app that I am currently working on has th

Re: Preview Html

2006-03-12 Thread Wayland Chan
Take a look at http://tinymce.moxiecode.com/ It might be what you're looking for. On 3/12/06, Izak Wessels <[EMAIL PROTECTED]> wrote: > > Hi, > > The app that I am currently working on has the need for some basic > html e-mailing capabilities. The user can enter the body of the htm > e-mail in a

Preview Html

2006-03-12 Thread Izak Wessels
Hi, The app that I am currently working on has the need for some basic html e-mailing capabilities. The user can enter the body of the htm e-mail in a textarea component, after which I would like them to be able to click a "Preview" button, that renders the contents of the textarea. In order to ac

R: A JBoss EJB3 hivemind service

2006-03-12 Thread Giampaolo Tomassoni
Maybe I'm wrong, but the honeycomb project seems to deal mostly with suppling a transactional framework and a db access layer. The EJB3 specs and their implementation into jboss already supply them in a way that allows sharing these supports and resources among more applications, which is someth

Re: Retrieving values from nested components

2006-03-12 Thread John Menke
Peter, thanks for you help. this is what eventually worked the renderComponent method is what you seem to need to transfer values out of contained components to the parameter jwc: Phone.java public abstract class Phone extends BaseComponent implements IFormComponent, Vali

Re: Tapestry Session Bug ?

2006-03-12 Thread Adam Zimowski
My deepest apology to all. This is not a Tapestry issue at all, I'm sorry it even crossed my mind. Tapestry is perfect! I'm sorry again... FYI, what happened is I'm building a session persistance module that works behind Tapestry with Servlet API. In one of my algorithms tied to request listener

Tapestry and portlets question

2006-03-12 Thread Zheng JinYuan
I user tapestry as my web UI develop framework.It's great! But when I use tapestry for portal develop how can I access portal current user information from tapestry ? I tried to use public void pageBeginRender(PageEvent event){ RequestContext context = event.getRequestCycle().getRequ

Re: "forget" session properties from T4 page?

2006-03-12 Thread Scott Russell
Hi Phillip, This is one way to clear ALL page properties: public void clearAllPageStates(IRequestCycle cycle) { List pageNames = cycle.getInfrastructure().getSpecificationSource().getApplicationNamespace().getPageNames(); for (String page : pageNames){ cycle.for

Re: krysalis in T4?

2006-03-12 Thread Scott Russell
Hi Phillip, I am currently using Krysalis in Tapestry 4. I've modified the source slightly and rebuilt it, but if you like I'll email it to you. I should post the modifications to Tassel but Krysalis seems to be a dead project. I have been thinking about migrating the menus of our web app to

AW: Components & Portlets

2006-03-12 Thread Korbinian Bachl
Hi, ok, to see if i understand it right: i might build a e-shop in tapestry, but instead of doing the CMS myself i could just plug in any other software with portlet support? no mater what architecture it is ? if this would be in that way: what open source Web-CMS have portlet support ? (i know a

RE: Anyone have any idea about this exception?

2006-03-12 Thread James Carman
What annotations do you have on your getTermsOfUse() method? What does your Border.java look like (just that one property getter of course)? -Original Message- From: Mul [mailto:[EMAIL PROTECTED] Sent: Sunday, March 12, 2006 3:39 AM To: Tapestry users Subject: Re: Anyone have any idea a

Re: Anyone have any idea about this exception?

2006-03-12 Thread Mul
I've encounter this exception before, with the page caching set to disabled. One thing that I did and thought may have caused the exception if both the page and component are injected with the same object, such as Visit. I had the page and component both injecting the visit object; I can't say th