how to clear the page cach

2007-08-15 Thread robinson wang
when i click a link ,if the session is invalid ,it will return to the page of login,but when i login again, click then link ,it still return to the page of login. when i restart the server , it's ok,i think it's caught by the page in the pool,how can i clear the pooled page?

Re: T5: radio, label

2007-08-15 Thread tamseo
This is my simple example, I craeted it just to check how to use Radio html: ${name1} ${name2} ${nameoption} has been selected

Re: T5: radio, label

2007-08-15 Thread Chris Lewis
tamseo, I didn't see RadioDemo, so thanks for pointing that out! Have you run it and does it work? The only difference from my example I can see is that the radio and label components are rendered in a child loop of the containing radio group, but that shouldn't make a difference. tamseo wro

Re: T5: radio, label

2007-08-15 Thread tamseo
Chris ! I followed RadioDemo test in T5 source, and i'm in the same situation with you. Now I'using HTML and waiting for answer from T5 experienced user. -- View this message in context: http://www.nabble.com/T5%3A-radio%2C-label-tf4276314.html#a12174593 Sent from the Tapestry - User maili

Re: T5 Type to ValueEncoderFactory

2007-08-15 Thread Nick Westgate
Indeed. Hence the JIRA. Howard has mentioned the possibility of merging the two type coercion systems. Cheers, Nick. Todd Orr wrote: Thanks for the info. I'll add that to my component. However, it seems odd that a simple conversion from Long to String isn't built in. It seems to me that such

Re: T5: radio, label

2007-08-15 Thread Chris Lewis
tamseo, Let me amend my last message. I can use in the form as long as its not a child of the component! It's also important to note that my label components fail to find the component indicated in the for attribute, unless that component declares its id in the t: namespace. So, will not wo

Re: T5: radio, label

2007-08-15 Thread tamseo
Hi Chris! I think if you remove the label component your code will work. or add "label" attribute for Radio like this in my opinion we can't use Label like this Type Chris Lewis wrote: > Hello, > > I'm trying to get a simple form with some radio buttons and labels > working, without succ

Re: T5: radiogroup, label BUG?

2007-08-15 Thread Chris Lewis
While I am enjoying a conversation with myself, input from anyone using T5 and radio buttons (surely someone else) would be awesome. So I poked around a bit more in the RadioGroup source and see that, for some reason that evades me, RadioGroup creates an anonyous/ad-hoc implementation of RadioC

Jessionid and static resources

2007-08-15 Thread Kevin Menard
Hi, About a year back I asked about jsessionid being added to static resources and how this was messing with us serving those resources up through apache httpd [1]. At the time, it was indicated that this would be fixed for 4.1. I've just gotten back into the 4.1.x game recently. Can anyone comm

Re: T5: radio, label

2007-08-15 Thread Chris Lewis
Ok so I learned that the id parameter must be in the t: namespace, so changing the radio component to have 't:id="reg-agent"'. Now I'm greeted with a new exception: "No object of type org.apache.tapestry.RadioContainer is available from the Environment." And then it lists several objects in

T5: radio, label

2007-08-15 Thread Chris Lewis
Hello, I'm trying to get a simple form with some radio buttons and labels working, without success. Following is the source for my Login page template and class. Note that the page is rendering in a layout component. Login.html: xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

[NOOB] Getting the Locale without injection

2007-08-15 Thread Marcelo C. de Freitas
Hello there, I want to get the page locale (and the page messages) in a final object without having to set them manually (meaning I can't do the @InjectObject stuff). Is there a way I can do that? I've looked for it into the Hivemind docs but I couldn't find anything really useful.

[T5] Skin feature

2007-08-15 Thread Kheldar666
Hi everybody, I know that the 'multiple skin/layout' discution is something frequently discussed here, an most of the time the answer is "Use CSS my son". Well that's indeed probably the best answer, but in some case it's not. For instance, I'm building a site where people that uses the site can

t4.1.2 contrib tree - how to add checkboxes

2007-08-15 Thread mn
Hi all! What is the simplest way to add checboxes to contrib:Tree component? mn -- View this message in context: http://www.nabble.com/t4.1.2-contrib-tree---how-to-add-checkboxes-tf4276007.html#a12171331 Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread Jesse Kuhnert
Is fixed and deploying now. On 8/15/07, Ovidiu Hurducas <[EMAIL PROTECTED]> wrote: > Hi! > I'm building an application that uses Tapestry 4.1.2, Spring > 2.0.6(integrated with tapestry-spring > 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. > All went well before until recently when because o

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread Jesse Kuhnert
There's no such thing as global / visit anymore. Need to use ASO's now. On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: > > Another issue in migrating from 4.0.2 to 4.1.2: > > javax.servlet.ServletException: > org.apache.hivemind.ApplicationRuntimeException: Unable to parse OGNL > expression 'glo

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread mraible
Another issue in migrating from 4.0.2 to 4.1.2: javax.servlet.ServletException: org.apache.hivemind.ApplicationRuntimeException: Unable to parse OGNL expression 'global.debugEnabled': $Error_37.global [context:/WEB-INF/tapestry/Error.html, line 9] In Error.html, I have: Doh! An Error Occurred

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread mraible
I tried backing down to 4.1.2 and my application at least comes up. I noticed it's now including a dojo javascript file. However, if I navigate to its path: http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js It's all jumbled text with funky characters instead of JavaScript. Is this as desig

Re: Tapestry package doesn't contain org.apache.tapestry.html

2007-08-15 Thread Daniel Alberto Meza Ortega
Thanks Josh. You're completely right.I didn't realize that the main project from the application I'm rebuilding was using tapestry version 4.0.2 and the download was version 5.0.5. Thanks again. _ ¡Descarga más de 30 emoticones G

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread Jesse Kuhnert
Hmmmsounds like the latter. Will check it out tonight. On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: > > I'm getting this same error when upgrading from Tapestry 4.0.2 to > 4.1.3-SNAPSHOT. It sounds like there may need to be a new release of > Tapestry Spring that's compiled against 4.1.3?

Re: Tapestry package doesn't contain org.apache.tapestry.html

2007-08-15 Thread Josh Canfield
Are you looking at a tapestry 4 tutorial, the tapestry 5 tutorial is here: http://tapestry.apache.org/tapestry5/tutorial1/ from the core api docs I don't see that package listed: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/index.html

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread mraible
I'm getting this same error when upgrading from Tapestry 4.0.2 to 4.1.3-SNAPSHOT. It sounds like there may need to be a new release of Tapestry Spring that's compiled against 4.1.3? Or maybe 4.1.3 needs to change something so its backwards compatible? Matt Ovidiu Hurducas-2 wrote: > > Hi! > I'

Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-15 Thread Ovidiu Hurducas
Hi! I'm building an application that uses Tapestry 4.1.2, Spring 2.0.6(integrated with tapestry-spring 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. All went well before until recently when because of a bug in the InlineEditBox component (is about the listener problem) I've been forced to upg

Tapestry package doesn't contain org.apache.tapestry.html

2007-08-15 Thread Daniel Alberto Meza Ortega
Hi ,everyone I've downloaded the last version 5.0.5.My distro is fedora 7 (hope this information be useful). My problem: reading tapestry's home page noticed that there's a tutorial section.Decided that it was a good starting to use the framework but in some part says:"now let's import the pa

Re: tapestry-spring and tapestry-flash for 4.1?

2007-08-15 Thread mraible
Is 4.1 stable now? If so, how about some new releases of tapestry-spring and tapestry-flash with updated dependencies? ;-) Matt Howard Lewis Ship wrote: > > I wish Maven had a whatever-is-handy. > > I'll find some time this week to push out a 1.0.0 version of the flash and > spring. They hav

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Jesse Kuhnert
This has nothing to do with Tapestry For loops - ognl doesn't deal with anything tapestry specific when compiling statements The interface / common object base isn't as bad as it sounds really... It will correctly traverse up the class tree and cast the statement to whatever base class/interf

T5 developing with WTP and TOMCAT

2007-08-15 Thread Denny deng
Hi, I develop with WTP and TOMCAT. If I set the tomcat don't auto-reload, tapestry5 can take the changes of html template, while it can't take the chages of page class. It make the hot code replace failed. However, If I enable tomcat auto-reload. tapestry can take both html template and page clas

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Eric Schneider
Jesse, I'd like to start my post by thanking you managing the 4.1 version of tapestry and for all the recent improvements to ognl. I imagine that this For loop change was one of the major speed enhancements in the new ognl version(s). Though, I'm concerned that this enhancement gives up too muc

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Kevin Menard
On 8/15/07 10:50 AM, in article [EMAIL PROTECTED], "Andrus Adamchik" <[EMAIL PROTECTED]> wrote: > > Thinking about it some more > > This is not the end of the world for our application. We can either skip the > upgrade or indeed force an interface on the objects involved, or avoid > multi-s

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Andrus Adamchik
Thinking about it some more This is not the end of the world for our application. We can either skip the upgrade or indeed force an interface on the objects involved, or avoid multi-step property traversal by moving it to Java class. But at a higher level it seems like the expression comp

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Andrus Adamchik
Hi Jesse, Thanks for clarification. I guess we won't be doing the upgrade :-) Andrus Jessek wrote: > > Without a common interface I don't think these objects will ever be > compilable in to any kind of native code - so you may never be able to > upgrade to 4.1 if that is your blocking point.

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Jesse Kuhnert
Without a common interface I don't think these objects will ever be compilable in to any kind of native code - so you may never be able to upgrade to 4.1 if that is your blocking point. If it were something catchable early its possible the statement could fall back to normal ognl reflection but i

Re: Class cast exception in ASTChain, Bug OGNL-11

2007-08-15 Thread Andrus Adamchik
Thanks for the suggestion. I tried the latest ognl build, but the problem is still there (and in addition I get a bunch of OGNL stack traces in other places). Ok, I guess I can't use 4.1.x just yet :-/ Andrus On 8/14/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > > I found essentially the

FYI T5.0.5 Tree Component based on DHTMLgoodies.com drag 'n drop folder tree

2007-08-15 Thread Erik Vullings
I've just created a simple T5 tree component: http://wiki.apache.org/tapestry/Tapestry5TreeComponent based on http://www.dhtmlgoodies.com/index.html?whichScript=drag-drop-folder-tree. Comments are welcome. Cheers Erik

[T4.1.2] Problem with Listeners and abstract page-variables?

2007-08-15 Thread Patrick Klein
Hi! Something i stumbled upon in the last days: I'm using an upload component which stores it's data into ognl:uploadFile. The listener is also name uploadFile and triggered using a submit button. In this combination, everytime i someone hits the buttom an exception (see below) is thrown into the

HandyTapestry 1.2 released

2007-08-15 Thread Alexei Orishchenko
HandyTapestry 1.2 released If you develop a http://tapestry.apache.org Tapestry web application using http://www.jetbrains.com/idea IntelliJ Idea then try http://handyedit.com/handytapestry.html HandyTapestry plugin! The HandyTapestry plugin for IntelliJ Idea helps you to develop Tapestry