DatePicker error

2006-09-18 Thread Hajaansh
Sorry, the error message was formatted strangely the last time. This time I hope it is better... Any ideas anyone? Could it be how I started Tomcat? I started it with: set JAVA_OPTS="-Dorg.apache.tapestry.disable-caching=true" set JPDA_ADDRESS=9045 set JPDA_TRANSPORT=dt_socket C:\Tomcat\apache-to

Re: Rendering links from user input

2006-09-18 Thread andyhot
[EMAIL PROTECTED] wrote: > Does anyone have a way to render links that a user inputs to show up as > actual links when that user input is displayed on the screen?For example, if > in a textarea I input http://www.cnn.com, and then I display what I entered > on another page, how can I automatical

Rendering links from user input

2006-09-18 Thread [EMAIL PROTECTED]
Does anyone have a way to render links that a user inputs to show up as actual links when that user input is displayed on the screen?For example, if in a textarea I input http://www.cnn.com, and then I display what I entered on another page, how can I automatically have the html be http://www.cn

Re: Re: Tacos MenuBar and Ajax

2006-09-18 Thread Jesse Kuhnert
Two small thoughts on this. -) WRT the javascript not getting executed, this is annoying but not really a "bug" in dojo. If you look at some of the other tacos components you'll find that their script templates use the ResponseBuilder to determine if they are in an ajax request and respond approp

Re: problem with using tapestry 4.1 page in iframe (cross-domain)

2006-09-18 Thread Jesse Kuhnert
I think your problem would be best solved by overriding the "ajaxDelegate" class used by the @Shell component (It's a parameter) - in combination with doing a "cross domain" build of dojo: http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book48 You don't really need to make your custom built v

Re: User rights with tapestry?

2006-09-18 Thread Robert Zeigler
PageValidateListener is alive and well in Tap 3. I use it in exactly the manner you describe for several tap3 apps. :) Robert Sam Gendler wrote: In Tap 3, you don't have PageValidateListener, I think, so you have to use something like the initialize() method. I can't say for sure, having nev

Re: Re: RE: User rights with tapestry?

2006-09-18 Thread Sam Gendler
In Tap 3, you don't have PageValidateListener, I think, so you have to use something like the initialize() method. I can't say for sure, having never used Tap 3. --sam On 9/19/06, Sam Gendler <[EMAIL PROTECTED]> wrote: You can implement the PageValidateListener interface in your base class.

Re: RE: User rights with tapestry?

2006-09-18 Thread Sam Gendler
You can implement the PageValidateListener interface in your base class. Then, in your pageValidate() method (the only method provided by the interface), you can check the session to see if a userId is stored there. If not, redirect the to the login page. If so, load the User object into the pag

Re: Re: Very long URLs problem.

2006-09-18 Thread Sam Gendler
Do a search in documentation for 'DataSqueezer.' That should show you how to build service objects which know how to automatically persist classes via an id and re-instantiate them later, without any manual intervention from you. Anytime Tap has to persist an object in a URL, cookie, or form data

Re: Re: Tacos MenuBar and Ajax

2006-09-18 Thread Sam Gendler
Yeah. Currently, the dojo components don't handle ajax updates well. I was new to tacos and wasn't aware of the problem until I wrote code that triggers it. Due to the nature of the structure of our page, however, the extra menu bar shows up in a part of the page which is never visible, so I've

Re: Tacos MenuBar and Ajax

2006-09-18 Thread andyhot
Denis Souza wrote: > Hi, > I think the original contributor of those components described such a behaviour at http://thread.gmane.org/gmane.comp.java.tacos.devel/2040/ If this is indeed the cause, we'll try to resolve it before the (soon to come) next release > > > I'm using Tacos' DojoMenuBa

Tacos MenuBar and Ajax

2006-09-18 Thread Denis Souza
Hi, I'm using Tacos' DojoMenuBar component to create a menu in my application but whenever I use ajax on the same page as the menu I get strange behavior in Firefox 1.5 (IE 6 works fine). After the ajax request loads another menu, identical to the original, is created near the updated part of t

DatePicker error

2006-09-18 Thread Hajaansh
Hi I was using the DatePicker component and all of a sudden I have the following error. If I restart Tomcat the error goes away for a while but later comes back. Any idea what the problem could be? Cheers, org.apache.hivemind.ApplicationRuntimeException org.apache.xerces.parsers.XML11Configura

Re: Very long URLs problem.

2006-09-18 Thread Leo Sakhvoruk
Thanks for the advice Martin. Seems to have fixed the problem however I'll need to do some testing to make sure it's all gone. Martin Strand wrote: Sounds like you have rather large persistent properties. 1. You can try @Persist("client:page") to forget properties when the client moves to ano

Re: [OT] Tapestry + IDEA

2006-09-18 Thread Ryan Cuprak
Ah - this is just a configuration issue with IDEA. For development with IDEA, I created a regular java module - not a web module. I then set the dest for the compiled classes to my WEB- INF/classes. So my Project layout: ~/Projects/MyProject ~/Projects/MyProject/app ~/Projects/MyProject/ap

Re: [OT] Tapestry + IDEA

2006-09-18 Thread andyhot
Laying out the project is really important... What I used to do is run jetty as a java app by creating a launch configuration that: - has jetty/ext/ant.jar,jasper-compiler.jar,jasper-runtime.jar, jetty/lib/javax.servlet.jar,org.mortbay.jetty.jar,org.mortbay.jmx.jar in classpath - a jetty.xml confi

Re: [OT] Tapestry + IDEA

2006-09-18 Thread Kevin Menard
Ryan Cuprak wrote: Hello, Have you tried: export JAVA_OPTS="-Dorg.apache.tapestry.disable-caching=true" (then start tomcat) This disables page caching so that you can see changes immediately. Heh, I figured someone was going to mention this. Yes, I have that option enabled. The "probl

RE: [OT] Tapestry + IDEA

2006-09-18 Thread James Carman
One reason folks like it is because it makes it easy to debug. The "launchers" will launch with debugging enabled. Of course, it's easy to configure your Tomcat instance to launch with remote debugging enabled. -Original Message- From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED] Sent:

Re: [OT] Tapestry + IDEA

2006-09-18 Thread Ryan Cuprak
Hello, Have you tried: export JAVA_OPTS="-Dorg.apache.tapestry.disable-caching=true" (then start tomcat) This disables page caching so that you can see changes immediately. -Ryan On Sep 18, 2006, at 1:34 PM, Kevin Menard wrote: Sorry for the OT question, but I figured this was about as

Re: [OT] Tapestry + IDEA

2006-09-18 Thread Konstantin Ignatyev
I work in IDEA all the time and I simply have a terminal window always running for a server and relaunch server (if necessary) from there. Personally I never understood necessity to have any kind of launchers within IDE, perhaps because I always build script centric in development and that is th

[OT] Tapestry + IDEA

2006-09-18 Thread Kevin Menard
Sorry for the OT question, but I figured this was about as good as any place to ask. For a while now, I've been looking to move to IDEA for my Tapestry work. Unfortunately, I've been unable to find something that will work as well as JettyLauncher with Eclipse. Using the Tomcat deployer in

Re: DatePicker not working after upgrading from 4.0.2 to 4.1

2006-09-18 Thread Roberto Ramírez Vique
Hi everybody!!! I had the same problem as jani, and as he described I tried with the last version of the jar files it seems to work, but the problem is the location of the DatePicker, it appears just in a wrong place. Is just not placed close to the icon, is just placed in the left-down part

Re: Passing on information from one page to another

2006-09-18 Thread Daniel Jue
I have some pages that do exactly what you want. They are for Tapestry 4. Imports not shown. The edit settings page displays a user setting in a textbox that was stored in a user object. When you save the form, it takes the value in the text box (may have changed) and stores it back in the user

Re: Very long URLs problem.

2006-09-18 Thread Martin Strand
Sounds like you have rather large persistent properties. 1. You can try @Persist("client:page") to forget properties when the client moves to another page so they don't add up to 15k URLs. :) 2. If you don't really need @Persist("client") you can try @Persist("session") instead 3. Or, you can

Very long URLs problem.

2006-09-18 Thread Leo Sakhvoruk
Hi, I'm running into issues with Tapestry generating some seriously long URLs (something around 15k characters). I have a page which generates a list of links using the simple "For" construct, in the beginning the link URLs are about 2k chars long. Once the link is clicked the user is taken

Re: problem with using tapestry 4.1 page in iframe (cross-domain)

2006-09-18 Thread Marcus Irven
Yes I am aware of this, the problem is Tapestry is generating that javascript and I'm not sure what to do. The page worked fine in Tapestry 4.0 (which generated different javascript). I'd like to upgrade to Tapestry 4.1 but this is holding me back. Thanks, Marcus On 9/18/06, Davor Hrg <[EMAIL

Re: Tap vs JSF blog

2006-09-18 Thread andyhot
Chris Chiappone wrote: > Here was a good read comparing Tapestry 4 and JSF. > > http://www.jroller.com/page/dhanji?entry=tinman_and_the_scarecrow_yet > indeed... though I haven't done a redirection-by-exception since the Tap3 days. You can simply return an ILink these days. -- Andreas Andreou - [

RE: User rights with tapestry?

2006-09-18 Thread James Carman
Or, you can use Tapestry-Acegi, which allows you to annotate your page/listener methods to define required permissions. Right now, anonymous access to the SVN repo is not working, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 200

RE: User rights with tapestry?

2006-09-18 Thread Greg.L.Cormier
I've done this in my application. Basically I made an abstract subclass of a BasePage. All my pages subclass this new class. All it has is a field requiredPermission which is set in the constructor, and an initialize() method which checks permissions in the Visit object with that requiredPermis

Tap vs JSF blog

2006-09-18 Thread Chris Chiappone
Here was a good read comparing Tapestry 4 and JSF. http://www.jroller.com/page/dhanji?entry=tinman_and_the_scarecrow_yet

User rights with tapestry?

2006-09-18 Thread CIJOML
Hello, is there any howto available (for both version 3 and 4) which covers user rights? I need users to see some properties (icons,links) only when I verify in DB, that user should have such rights. Thanks a lot for reply Michal --

Re: problem with using tapestry 4.1 page in iframe (cross-domain)

2006-09-18 Thread Davor Hrg
this is not a tapestry issue, you cann not access via javascript frames that are not from same domain, try it with a static html page and same error will occur Davor Hrg On 9/18/06, Marcus Irven <[EMAIL PROTECTED]> wrote: I'm trying to update to tapestry 4.1 but am running into a problem when

RE: tapernate anonymous svn access?

2006-09-18 Thread karthik.nar
Hi, The SVN is still not accessible anonymously. Any updates would be most appreciated. Thanks!! karthik.nar wrote: > > Hi, > > Any updates on how the SVN can be accessed? > > Thanks, Karthik > -- View this message in context: http://www.nabble.com/tapernate-anonymous-svn-access--tf20

problem with using tapestry 4.1 page in iframe (cross-domain)

2006-09-18 Thread Marcus Irven
I'm trying to update to tapestry 4.1 but am running into a problem when trying to include the page as an iframe to another page which is from a different domain. Tapestry generates the following at the end of the :