Re: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread Peter Svensson
I'm quite new to tapestry, but the solution I've tried very succesfully is to check out latest trails from its subversion repository and get formy purposes transparent integration with hibernate. The only thing I do is try to be coherent when using JSR-220/Hib annotions. And also quite nice worki

fireObservedChange does not work with List?

2006-02-22 Thread Vincent
I am using fireObservedChange to prevent the other user to access the same page at the same time , i.e. concurrency problem, I am apply this for the attributes but it seems does not work with the list , does anyone got the idea? Or am I miss something there? private LIst list; public List getLis

how to auto discover and apply the change of .html, .page, .jwc?

2006-02-22 Thread pickerel
i develop a site use tapestr + spring +hibernate. but when i do a little change to the .html or .page, i must restart the site, and the progress is slow(spring+tapestry+hibernate), is there any way to auto load the change.do not suggest "-Dorg.apache.tapestry.disable-caching=true", it's always ou

RE: Using EagerLoader and gaining access to infrastructure:context

2006-02-22 Thread James Carman
What do you need to do with the context? Can you use an application initializer? -Original Message- From: Curtis Paris [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:33 PM To: Tapestry users Subject: Using EagerLoader and gaining access to infrastructure:context I am n

Using EagerLoader and gaining access to infrastructure:context

2006-02-22 Thread Curtis Paris
I am needing to ues the hivemind.EagerLoader to load a service (database access layer) early. It correctly constructs my object. But, I need access to the WebContext. So, simple enough right? Just inject infrastructure:context. I also tried service:tapestry.globals.WebContext just incase also.

Re: tapestry and interceptor like things

2006-02-22 Thread Nick Faiz
James - okay, I'll check it out. I can't work on interceptors today but will probably get back to it tomorrow. Cheers, Nick James Carman wrote: Nick, Tapernate adds a OpenSessionInViewFilter to the WebRequestServicerPipeline if you want an example. -Original Message- From: Nick Faiz

Re: Using tapestry core rendering engine as an email or report generation engine...

2006-02-22 Thread Raul Raja Martinez
I always use EngineServices to do these kind of things. Numa Schmeder wrote: De : Numa Schmeder <[EMAIL PROTECTED]> Date : 22 février 2006 17:09:01 GMT+01:00 À : Tapestry development Objet : Using tapestry core rendering engine as an email or report generation engine... Hello, I would like

[way OT] jetty and stop.port

2006-02-22 Thread Dan Adams
Has anyone been able to start jetty using jetty launcher and shut it down with an ant script? I need to be able to shut down jetty gracefully and this seems like the only way to do it. Except that setting STOP.PORT in jetty launcher in the jvm args seems to do absolutely nothing. argh. any help wou

RE: tapestry and interceptor like things

2006-02-22 Thread James Carman
Nick, Tapernate adds a OpenSessionInViewFilter to the WebRequestServicerPipeline if you want an example. -Original Message- From: Nick Faiz [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:16 PM To: Tapestry users Subject: Re: tapestry and interceptor like things James, T

RE: Upload woes

2006-02-22 Thread Raphaël Jean
I'm using subclipse 0.9.105 and did a simple Team / Apply Patch on top of the 4.0 branch without problem. For my part, I'm off to bed... Raph > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: mercredi 22 février 2006 23:48 > To: Tapestry users > Subject: Re: U

Re: Upload woes

2006-02-22 Thread Wayland Chan
I think that means you are deploying a servlet.jar (or servlet_api.jar) for an earlier version of Servlet/JSP than what your servlet engine is running. i.e. including a 2.3 jar on a Tomcat using 2.4. The servlet.jar is typically only required as a build-time dependency and shouldn't be included as

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
I should re-phrase, subclipse(eclipse subversion plugin) was having trouble with the patch. Mostly in that it wouldn't add new files if they didn't already exist. Attempting to use command line GNU "patch" produced better results, but still had some weirdness going on. I haven't given up on it, j

Re: Checkbox as Column Header

2006-02-22 Thread Mind Bridge
Hi, As the documentation states, the simplest way is to add a Block named ColumnHeader to your page, where is your column ID. For example: An alternative approach that requires more work that performs exactly the same function is presented in the LocaleList component in the Workbench.

Re: up/down arrows on contrib:Table

2006-02-22 Thread Mind Bridge
I believe the proper long term solution is to overhaul the CSS support in Tapestry in order to make it possible for (repeated) components to define their own CSS and for the user to override that CSS when needed. In the short run for the current versions of Tapestry I would suggest to create y

Re: StaleLink Exceptions

2006-02-22 Thread Mind Bridge
Hi, Based on your previous message, I suspect that your project uses Tapestry 3. You have two options: Option 1: Within all Forms, replace Conditional with contrib:FormConditional, and Foreach with ListEdit. Those components are a part of standard distribution. Option 2: Download the 'base'

RE: Checkbox as Column Header

2006-02-22 Thread Daun DeFrance
Hi all, I have spent some time poking around the table code and this forum. I have seen several people ask how to override the table column header renderer (to get rid of the wrapping table tags or whatever reasons), but I have not seen a response from people in "know" about how to really do this

RE: For loop of Button components

2006-02-22 Thread Daun DeFrance
Hi all, How can I specify a list of components in ognl for element bindings? Background: I have made some progress on this issue since my previous post. Using the example below, I am able to render out a [single] button if I change the TableButtonBar.jwc to be:

libraries, messages, and namespaces

2006-02-22 Thread Dan Adams
Is it possible to have it so that if a message that is referred to in a library and is not in the library messages catalog that it be looked up in the message catalog of the application using the library? Right now I'm trying to do that and it appears that after looking in the library and not findi

Re: Upload woes

2006-02-22 Thread Jason Suplizio
I noticed this in my log... WebappClassLoader: validateJarFile (C:\eclipse\workspace\project\web\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > I stepped out

RE: Upload woes

2006-02-22 Thread Raphaël Jean
Jesse, What problem did you have with the patch? It should be applied to the release-4.0 tag in tapestry svn. Let me know if I can help. Raphael Jean EntropySoft > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: mercredi 22 février 2006 22:36 > To: Tapestry us

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
I'm glad it's working for you, because trying to apply this patch has been a lot of non-fun. On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > I stepped out for lunch...back now. Yes, I've got the tacos demos > localized > and have stepped through your code (and learning a few tricks from

up/down arrows on contrib:Table

2006-02-22 Thread Dan Adams
I know there are Asset parameters, but is it possible to change the up/down arrows on the table using styles? I have a component that uses Table that is part of a library and I would like the application using the library to be able to change the up/down arrows without having to specify it every ti

Re: tapestry and interceptor like things

2006-02-22 Thread Nick Faiz
James, Thanks for the pointer - I'm checking it that link now. Cheers, Nick James Carman wrote: Tapestry does include support for "interceptors" via the WebRequestServicerPipeline, I believe. http://jakarta.apache.org/tapestry/tapestry/hivedocs/config/tapestry.request .WebRequestServicerPipel

RE: free xxx video

2006-02-22 Thread Edward Mills
What company are you looking in? And what sort of roles are they? Edward -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman Sent: Thursday, 23 February 2006 1:47 AM To: tapestry-user@jakarta.apache.org Subject: Re: free xxx video we are actually looking fo

Re: StaleLink Exceptions

2006-02-22 Thread Daniel Lydiard
What kind of links are you using? If you are using DirectLink's everywhere you should set the stateful binding to false (default is true). Or you will get stale link exceptions if the session is invalid. http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DirectLink.html - Or

RE: StaleLink Exceptions

2006-02-22 Thread James Carman
Use ExternalLinks -Original Message- From: Dimm, Jason [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 3:57 PM To: 'Tapestry users' Subject: RE: StaleLink Exceptions Anyone have advice on how to eliminate StaleLink Exceptions ? Jason E. Dimm, Senior Analyst, Cingular Wirel

RE: StaleLink Exceptions

2006-02-22 Thread Dimm, Jason
Anyone have advice on how to eliminate StaleLink Exceptions ? Jason E. Dimm, Senior Analyst, Cingular Wireless IT eCommerce/Payments (Payment Processing) Cingular Java Components, QuickPay, Wedat Sun Certified Java Developer Sun Certified Java Programmer 12555 Cingular Way Alpharetta, GA 30004 Of

Re: Upload woes

2006-02-22 Thread Jason Suplizio
I stepped out for lunch...back now. Yes, I've got the tacos demos localized and have stepped through your code (and learning a few tricks from it as well ;-) I tested it with the file size and the "request was rejected because its size (11890441) exceeds the configured maximum" was thrown. I'll ke

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
If you give me a little bit I can take a quick look at a recent patch submission for file uploads. Assuming it isn't to crazy to confirm and you don't have a problem building your own tapestry jar it might be possible this fixes whatever IUpload file problems you are having. On 2/22/06, Jesse Kuhn

Tapernate Example

2006-02-22 Thread James Carman
I've created a simple example application to show you how to use Tapernate along with HiveUtils, HiveMind, Tapestry, and Hibernate. You can check it out from SVN at: http://www.carmanconsulting.com/svn/public/tapernate-example/trunk Just copy the example-build.properties file to build.properties

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
If you don't use the IUpload component then tapestry won't know to make you form post submission a "multipart" submission, which is what is required if you want to stream data from your client browser to the server. Have you tried to get the tacos demo up and running at all? It could just be an en

Re: Upload woes

2006-02-22 Thread Jason Suplizio
If you're using it in production, you would know. Can you tell me, is there another way in Tapestry to get the import file without using the Upload component? For some reason IUploadFile abstract accessor is not getting set and the listener is not called using the UPload component. This problem has

Re: Upload woes

2006-02-22 Thread Jesse Kuhnert
Are you sure? I'm using it in a production application right now and the files most definitely are being uploaded. You can also see this on the demo because if you try and upload anything over 10m it throws an error. On 2/22/06, Jason Suplizio <[EMAIL PROTECTED]> wrote: > > Jesse, > I examined yo

RE: HiveMind issue

2006-02-22 Thread James Carman
That may be a classloader issue. I wonder if Maven2 uses some weird classloader which doesn't find the resources (the /META-INF/hivemodule.xml files). -Original Message- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 2:07 PM To: Tapestry users Subject: Re

Re: HiveMind issue

2006-02-22 Thread John Coleman
- Original Message - From: "Norbert Sándor" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, February 22, 2006 3:49 PM Subject: Re: HiveMind issue > How is the registry created? like this Norbi: registry = RegistryBuilder.constructDefaultRegistry(); VTMain main = (VT

RE: ASO lost in a portlet request

2006-02-22 Thread Raphaël Jean
I think all server-side Ajax stuff runs in servlet mode and uses the standard (servlet) HttpSession while the portlet uses the PortletSession in portlet scope (PortletSession.PORTLET_SCOPE). This is one of several limitations of using Ajax in portlets. You might be able to use the portlet sessio

Re: Upload woes

2006-02-22 Thread Jason Suplizio
Jesse, I examined yours and I don't believe yours is binding the file to the abstract accessors /** Gets the uploaded file */ public abstract IUploadFile getImportFile(); /** Sets the uploaded file */ public abstract void setImportFile(IUploadFile importFile); And not

Re: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread Wayland Chan
This topic has strayed quite a bit. You're trying to integrate Hibernate and Tapestry, someone has suggested you try using Appfuse (or Equinox). I see no reason why Appfuse/Equinox shouldn't get you up and running with a tapestry application integrated with Hibernate. Maybe you can be a bit more e

RE: hibernate detached objects as persistent page properties

2006-02-22 Thread James Carman
Oh, forgot to mention on thing (and that's what this whole thread is all about). There's a new page persistence strategy implemented in there too. Just declare your page properties as stored using "entity" like this... @Persist("entity") public abstract Account getAccount(); And, Tapernate will

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Andreas Bulling
On 22. Feb 2006 - 13:30:00, James Carman wrote: | Okay, folks. I've abstracted out the Hibernate/Tapestry stuff into its own | project called "Tapernate." You can download the source and build it | yourself (the libs are there for you) from SVN: | | http://www.carmanconsulting.com/svn/public/tap

RE: hibernate detached objects as persistent page properties

2006-02-22 Thread James Carman
Okay, folks. I've abstracted out the Hibernate/Tapestry stuff into its own project called "Tapernate." You can download the source and build it yourself (the libs are there for you) from SVN: http://www.carmanconsulting.com/svn/public/tapernate/trunk All you have to do to get this stuff workin

RE: persistence with different page files

2006-02-22 Thread James Carman
Sure. Here's an example of @InjectState. 1. First, make sure you set up your state object in HiveMind... 2. Then, in your page/component class... public class MyPage extends BasePage { @InjectState("UserSession") public abstract UserSession getUserSession(); } That's all th

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
I don't want to expose the hibernate session to tapestry pages and components. I would rather keep the ui layer unaware of detached objects or the mechanism of reattaching those objects or even whether an object is detached or not. I'm looking for a way in which I can reattach the objects transpa

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Andreas Bulling
On 22. Feb 2006 - 12:51:19, James Carman wrote: | Hold your horses. I've almost got my stuff set up in SVN for you all to | check out. I'm creating a project called "Tapernate" (cheesey, I know). I nearly can't wait any longer and I'm counting the minutes :-) Wooo, when I posted my question one

ASO lost in a portlet request

2006-02-22 Thread Liu Yan
hi, I have an ASO object that has "session" scope, some how I found it lost between multiple requests in a portlet app. Actually the ASO was created in a normal portlet request, and then lost when I click on a tacos:AjaxDirectLink. I guess tacos and ordinary portlet request don't share the same se

Using tapestry core rendering engine as an email or report generation engine...

2006-02-22 Thread Numa Schmeder
De : Numa Schmeder <[EMAIL PROTECTED]> Date : 22 février 2006 17:09:01 GMT+01:00 À : Tapestry development Objet : Using tapestry core rendering engine as an email or report generation engine... Hello, I would like to create a library based on tapestry to generate email or pdf report. I wa

Re: Unable to instantiate an instance of class

2006-02-22 Thread Konstantin Ignatyev
Seems to miss cglib and hivemind jars I have more jars than you need but ...it all works ant-contrib.jarhsqldb.jar antlr-2.7.5H3.jar htmlunit-1.7.jar aopalliance.jarhttpunit-1.6.jar asm-attrs.jar jaas.jar asm.jar

Re: Unable to instantiate an instance of class

2006-02-22 Thread Howard Lewis Ship
It's that odd constructor, that takes an IRequestCycle. Tapestry expects there to be a public, no-args constructor. It probably needs to check for this and produce a better error; please add a bug to Jira. On 2/22/06, david b <[EMAIL PROTECTED]> wrote: > Hello, > > I attempting to make a simple

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Konstantin Ignatyev
You could do reattach objects with hibernateSession.lock( object, LockMode.NONE), but I suggest explicit reattaching with session.merge( object ). Explicit merging is better IMO because easily allows "wizard"-like multi iteration editing of an object and then persisting all the changes if desired

Unable to instantiate an instance of class

2006-02-22 Thread david b
Hello, I attempting to make a simple application using Tapestry. I have tomcat 5.5.7 using JDK 1.5. Going to this url: http://localhost:8080//firstApp/app?service=page/Login I am getting this error: Unable to instantiate an instance of class com.entercite.finance.model.abstrt.LoginComponent$En

RE: hibernate detached objects as persistent page properties

2006-02-22 Thread James Carman
Hold your horses. I've almost got my stuff set up in SVN for you all to check out. I'm creating a project called "Tapernate" (cheesey, I know). -Original Message- From: Anthony Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 12:43 PM To: Tapestry users Subject: Re: hibe

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
I have considered a similar solution as I use Spring as well. However, I was looking for a way to not have to _explicitly_ reattach objects. Rather, I would like all persistent detached objects in the session's context to reattach automatically. A filter or interceptor with knowledge of what obj

Re: Friendly URLs after button pressed

2006-02-22 Thread Andreas Andreou
You generally don't want users bookmarking pages generated after a post request (no matter how friendly you make the post url). The idea is to do a redirect-after-post albartell wrote: >Hi All, > >I am implementing friendly URL's in an attempt to make pages easy to gain >access to. For instance

Friendly URLs after button pressed

2006-02-22 Thread albartell
Hi All, I am implementing friendly URL's in an attempt to make pages easy to gain access to. For instance I want someone to be able to bookmark the following url: http://localhost:8080/rxs/TrialKey.html. I have implemented the contribution in hivemodule.xml as shown below. After selecting the but

Re: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread Andreas Bulling
On 22. Feb 2006 - 12:01:06, James Carman wrote: | No problem. I've actually enjoyed HiveMind-izing my stuff. Since I am a | committer on the HiveMind project, I really should "eat my own dog food." | :-) Well, I would like to be able to say that from my experience... Hivetranse/Hibernate still d

RE: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread James Carman
No problem. I've actually enjoyed HiveMind-izing my stuff. Since I am a committer on the HiveMind project, I really should "eat my own dog food." :-) -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Wednesday, February 22, 2006 11:55 A

Unable to instantiate an instance of class ...

2006-02-22 Thread david b
Hello, I attempting to make a simple application using Tapestry. I have tomcat 5.5.7 using JDK 1.5. Going to this url: http://localhost:8080//firstApp/app?service=page/Login I am getting this error: Unable to instantiate an instance of class com.entercite.finance.model.abstrt.LoginComponent$En

Re: Upload woes

2006-02-22 Thread Jason Suplizio
Thanks everyone. For the record, I've tried using just the @Upload component numerous times (and even my own version of it) before resorting to my last ditch usage of the Any component...why? I just needed to be able to easily grab ahold of the component from the getPage() method...just to see what

Re: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread Andreas Bulling
I didn't want to press you. I just thought that perhaps the plan to publish some code got lost in this big thread ;) No offence! On 22. Feb 2006 - 11:33:56, James Carman wrote: | I'm working on it. Sorry for the delay. I'm HiveMind-izing everything and | getting rid of Spring! -

PageBeginRender vs RenderComponent

2006-02-22 Thread Skriloff, Nicholas
What I do not understand is that in a component you can implement pageRenderListener and in a page you can implement pageRenderListener. What is the purpose of implementing pageRenderListener ,and when in the request lifecycle does it happen(what event happens before and after it), in a java cla

RE: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread James Carman
I'm working on it. Sorry for the delay. I'm HiveMind-izing everything and getting rid of Spring! -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Wednesday, February 22, 2006 11:32 AM To: Tapestry users Subject: Re: [OT] Re: Best prac

Re: [OT] Re: Best practice - Integration Hibernate/Tapestry

2006-02-22 Thread Andreas Bulling
Hi James, have you gone further in the meanwhile and could you make some code available? That would be great! Thanks, Andreas On 20. Feb 2006 - 06:57:13, James Carman wrote: | Yes I will. - To unsubscribe, e-mail: [EMAIL PR

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Shawn Church
I'm doing this in several applications. I normally use Spring also, but that is not really necessary. Tapestry isn't aware of the persistence implementation, but it does have to explicitly attach (and occasionally merge or evict) detached objects. Since I reference my DAO services in my Tapestry

Re: HiveMind issue

2006-02-22 Thread Norbert Sándor
How is the registry created? Did you debugged why and where is that NPE thrown? Regards, Norbi - Original Message - From: "John Coleman" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, February 22, 2006 4:36 PM Subject: HiveMind issue The HM support list was not helpful o

HiveMind issue

2006-02-22 Thread John Coleman
The HM support list was not helpful on this, so I hope you don't mind me asking this. I have an application using HiveMind, where the registry construction fails. The strange thing is that HM classes in the JAR are accessible, but HM cannot find a service point in its own hivemodule, i.e. hivemodu

Re: Border method call problem - runtime error - please help

2006-02-22 Thread Hacer Soran
Got it working now by using the class attribute in the component specification. It is wierd but I used the same code in a small project and that worked without the class attribute!... Hacer Soran <[EMAIL PROTECTED]> wrote: Hi there, I am trying to tidy my code up using a Bor

Re: Date validation tweaks

2006-02-22 Thread Richard Kirby
Hi Bryan, Try Assuming the message conforms to the standard java.text.MessageFormat class, then it should display the date in the standard short format. You should also be able to specify a custom format: {0} must be on or before {1,date,MM/dd/} Cheers Richard Bryan Le

Re: free xxx video

2006-02-22 Thread Ron Piterman
we are actually looking for new emplayees *lol*... ;) ron Francis Amanfo wrote: And your boss pays you for watching that thing during work? You must be living in a paradise. :-) Francis On 2/22/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Francis Amanfo wrote: So, is watching porno what you

RE: library spec not found in app context after moving to friendly urls?

2006-02-22 Thread James Carman
Glad to know we could help ;-) -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman Sent: Wednesday, February 22, 2006 9:38 AM To: tapestry-user@jakarta.apache.org Subject: Re: library spec not found in app context after moving to friendly urls? just forget i

Re: free xxx video

2006-02-22 Thread Francis Amanfo
Dmitry, I think this guy is doing some people in the community good so I don't think he'll be blocked. Francis On 2/22/06, Dmitry Gusev <[EMAIL PROTECTED]> wrote: > > Isn't "*Apache <[EMAIL PROTECTED]>*" a spammer? > > I wonder why it's not in a ban list yet? > > On 2/22/06, Ron Piterman <[EMAIL

LIMITED TIME OFFER - only for this forum habitants

2006-02-22 Thread Apache
Sorry for offtopic, but i must tell all of you about this limited time offer! I have just received The NEW iPod for FREE! 7.500 songs! 12.500 photos! 75 hours of video! INCREDIBLE!TAKE IT HERE. NO TIME TO WAIT. LIMITED TIME OFFER!! (http://www.wgadesign.ru/free-ipod.htm). --

Re: free xxx video

2006-02-22 Thread Francis Amanfo
And your boss pays you for watching that thing during work? You must be living in a paradise. :-) Francis On 2/22/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > Francis Amanfo wrote: > > So, is watching porno what you do after a hard day's Tapestry work? :) > after ? during ! > ron > > > > > Fra

Re: library spec not found in app context after moving to friendly urls?

2006-02-22 Thread Ron Piterman
just forget it - my (silly) mistake - changed the application name in the web.xml but not the .application filename... cheers, Ron Ron Piterman wrote: Hi, I just moved my app to friendly urls, and, nothing functions :) well, I use "some" libraries which are on the classpath, using id="comp"

Re: Border method call problem - runtime error - please help

2006-02-22 Thread Bryan Lewis
Try dropping the parentheses from ognl:coursePages(). By adding them you're telling ognl to call a method named precisely coursePages() which doesn't exist. This is something you'd do only when your method name didn't follow the usual naming conventions. The expression ognl:coursePages will call

RE: library spec not found in app context after moving to friendly urls?

2006-02-22 Thread James Carman
Did you update web.xml? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman Sent: Wednesday, February 22, 2006 9:26 AM To: tapestry-user@jakarta.apache.org Subject: library spec not found in app context after moving to friendly urls? Hi, I just moved my app t

StaleLink Exceptions

2006-02-22 Thread Dimm, Jason
Buenos dias amigos, I've inherited a Tapestry application covered with StaleLInk Exceptions. What's the fastest and most practical way to eliminate these? Thanks Jason E. Dimm, Senior Analyst, Cingular Wireless IT eCommerce/Payments (Payment Processing) Cingular Java Components, QuickPay, Wed

Re: Date validation tweaks

2006-02-22 Thread Bryan Lewis
It's certainly possible to do those things with code, although that approach seems to be falling out of fashion these days. :-) #1. Write a utility method to call instead of java.util.Date(). What I use: public static Date today() { return org.apache.commons.lang.time.DateUtils.trun

library spec not found in app context after moving to friendly urls?

2006-02-22 Thread Ron Piterman
Hi, I just moved my app to friendly urls, and, nothing functions :) well, I use "some" libraries which are on the classpath, using id="comp" specification-path="/full/quolified/path/in/classpath.library" /> but tapestry does not find the spec, I wonder why and how to resolve it? a known iss

JavaScript

2006-02-22 Thread Łukasz Pachciarek
Hello I have javascript menu, it should display some gif on web page. In javascript the gif is loaded using 'url("open.gif")' and my question is: what path to gif should be inserted to 'url(..)' or how to insert the gif's path from tapestry? -- Łukasz Pachciarek --

RE: persistence with different page files

2006-02-22 Thread Dimm, Jason
Hello James, can you or someone else send me an example of how to use @InjectState ? What exactly does @InjectState do? Thanks Jason E. Dimm, Senior Analyst, Cingular Wireless IT eCommerce/Payments (Payment Processing) Cingular Java Components, QuickPay, Wedat Sun Certified Java Developer Sun Ce

RE: tapestry and interceptor like things

2006-02-22 Thread James Carman
Tapestry does include support for "interceptors" via the WebRequestServicerPipeline, I believe. http://jakarta.apache.org/tapestry/tapestry/hivedocs/config/tapestry.request .WebRequestServicerPipeline.html There's another pipeline for intercepting servlet requests (the Servlet API directly), but

tapestry and interceptor like things

2006-02-22 Thread Nick Faiz
Hi, I actually sent this through earlier today but I haven't seen it appear on the list. If it has appeared twice, I apologize ... I want to find a way to create a security layer in my application which I can re-use elsewhere. I've imagined something like an interceptor or a page event liste

Border method call problem - runtime error - please help

2006-02-22 Thread Hacer Soran
Hi there, I am trying to tidy my code up using a Border component - with no joy. Your help would be much appreciated if you could. I have already spent 2 days on this - as you can see I am not good at it - and my boss is not happy :( Thanks in advance Ok here it is: The

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
Sure, I would like to take a look. Could you email it to me or make it available? On 2/22/06, James Carman <[EMAIL PROTECTED]> wrote: > Well, I wrote something pretty cool the other day. It's a new storage > strategy for Tapestry called "entity." Basically, if you try to store an > object as a

RE: hibernate detached objects as persistent page properties

2006-02-22 Thread James Carman
Well, I wrote something pretty cool the other day. It's a new storage strategy for Tapestry called "entity." Basically, if you try to store an object as a persistent page property that is a persistent entity, it doesn't store the actual object. It stores its identity information (entityName/id).

Re: free xxx video

2006-02-22 Thread Dmitry Gusev
Isn't "*Apache <[EMAIL PROTECTED]>*" a spammer? I wonder why it's not in a ban list yet? On 2/22/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > Francis Amanfo wrote: > > So, is watching porno what you do after a hard day's Tapestry work? :) > after ? during ! > ron > > > > > Francis > > > > On 2

Re: free xxx video

2006-02-22 Thread Ron Piterman
Francis Amanfo wrote: So, is watching porno what you do after a hard day's Tapestry work? :) after ? during ! ron Francis On 2/21/06, Ron Piterman <[EMAIL PROTECTED]> wrote: yes - they are free, but quite old, I saw them already 2-3 years ago... ;) ron ---

hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
Hi, I have an application that has a lot of hibernate detached objects (with lazy loaded collections) that are persistent page properties. What are best practices for reattaching these detached objects while maintaining a clean separation of layers? I have my implementation specific persistence

JavaScript

2006-02-22 Thread Łukasz Pachciarek
Hello I have javascript menu, it should display some gif on web page. In javascript the gif is loaded using 'url("open.gif")' and my question is: what path to gif should be inserted to 'url(..)' or how to insert the gif's path from tapestry? -- Łukasz Pachciarek -

Re: Upload woes

2006-02-22 Thread spamsucks
While I have not announced it's release yet (officially), there is an upload component that you can use (or steal the code for) in stitches (a tapestry-based library of components). http://www.authsum.com/site/stitches/ The upload component uses the tapestry upload component, and takes care o

Re: Upload woes

2006-02-22 Thread Todd O'Bryan
The fact that you're using @Any worries me. You should be using a jwcid="@FileUpload" in order for it to work. Have you looked at the Tapestry component reference? Also, try creating it in a page and getting it working first, then try to component-ize it. Todd On Feb 21, 2006, at 11:14 P

Date validation tweaks

2006-02-22 Thread Martin Carel
Hi! There are 2 tweaks I'd like to do with date validations. Tweak #1 Would there be a way to set the minDate to the beginning of the day (and thus make the exact time at which it was instanciated irrelevant)? At this moment, in my page spec, I have: Now with my DatePicker component, w

Re: free xxx video

2006-02-22 Thread gaz jones
all those frustrated tapestry developers... hewy-lewis-smith has a lot to answer for (O_o) On 2/21/06, Francis Amanfo <[EMAIL PROTECTED]> wrote: > > So, is watching porno what you do after a hard day's Tapestry work? :) > > Francis > > On 2/21/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > > > ye

Re: contrib:Table pages

2006-02-22 Thread Daniel Lydiard
Right, what I was trying to say is to copy how table.html works but omit the PageDisplayed component all together: If you do things this way you also have more flexibility on how things are displayed. Or you can trick Table by making it think you got 0 rows or something :P - O