Re: CSS or even SiteMesh doesn´t work....

2006-10-18 Thread Skorpien126
Hmm no own has an idea At least, is there a way to point out the problem??? -- View this message in context: http://www.nabble.com/CSS-or-even-SiteMesh-doesnt-work-tf2467863.html#a6891365 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: @EventListener and MSIE7

2006-10-18 Thread Jesse Kuhnert
Not sure, but a couple points: -) Opera is supported, debug messages on the page are the intended result without using console mode. -) IE7 was released today - we aren't running a 0day op here ;) On 10/19/06, bueggers <[EMAIL PROTECTED]> wrote: Are the known problems with @EventListener and

@EventListener and MSIE7

2006-10-18 Thread bueggers
Are the known problems with @EventListener and IE 7 ? I tried out the simplest possible @EventListener page The listener works with FF and IE6. But on IE7 nothing happens, when I click the button. (By the way: On Opera it doen't work too: Many dojo debug and error messages appear on the page) I

ajax requests and https incompatiblities

2006-10-18 Thread Sam Gendler
I posted this on the tacos list, but there don't seem to be many eyeballs over there today, so... I've got a test server which is behind a reverse proxy which is handling https. As a result, Ajax requests are being requested with http:// instead of https:// which is breaking things. I assume th

Re: problem with images

2006-10-18 Thread Gabriel Lozano
Thanks for your answer. Well, what I did in the end was to save the images in another directory on the server. I had some trouble because I dont have full access to the server but now it is working. About Ryans idea of the service, I have access to Kent's book and I looked the chapter but I dont h

Complex Bindings with Contrib Table

2006-10-18 Thread Daniel Jue
I have a POJO that has a Map object in it. Inside the map are a bunch of properties I'd like to display, which are strings and ints. What I am trying to get around is having to construct getters and setters for all the properties, but I still want to use the Contrib Table. (the quantity and nam

Re: Re: How do you add custom dojo widget?

2006-10-18 Thread Jesse Kuhnert
Sorry, I'd pipe in with something if I knew definitively how easy/hard it is to do and what steps to take. I'd need to try it out myself to know for sure. On 10/18/06, Patrick Moore <[EMAIL PROTECTED]> wrote: I ran across this : http://dojo.jot.com/WikiHome/Widget%20Namespaces but haven't had

Re: T4.1 problem

2006-10-18 Thread James Carman
Why didn't a URL mapping of "/*" hide everything? On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote: thnx, actualy it is possible hide the html without implementing pretty url I moidifed my web.xml ponpon /app ponpon *.html and reapeated mapping for

Re: Re: How do you add custom dojo widget?

2006-10-18 Thread Patrick Moore
I ran across this : http://dojo.jot.com/WikiHome/Widget%20Namespaces but haven't had a chance to try it out yet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: How do you add custom dojo widget?

2006-10-18 Thread Sam Gendler
Without having had to fight through this myself, I'd probably look at overriding whatever mechanism is used in Tap 4.1 to write the djconfig and dojo.js inclusion into the head. Subsititute with your own version of dojo and whatever other additions you'd like to make to djconfig. Then, you'll kn

Re: problem with images

2006-10-18 Thread Patrick Moore
But in the end why would you? if not then it will always be slower to get the images out and the code will be beating on what will no doubt be your most stressed, weakest link ... your database. Think about how hard you are making to check that an image is correct on your system. You are going to

RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Peter Beshai
I'm not sure exactly what you mean, but maybe this will help. To set the initial value of the checkbox you use the annotation @InitialValue, and to have it stored as a session variable you would use @Persist (defaults to session). Using both of these looks like this in the java file: @Compon

Re: [OT] Looking for engineers in Boston

2006-10-18 Thread Jesse Kuhnert
Looks like a good technical environment to me. Lots of good signs. I'd contemplate working there if I lived in Boston. (which I don't ;) ) On 10/18/06, Dan Adams <[EMAIL PROTECTED]> wrote: Hey guys. Sorry for the spam. My company is looking for good engineers in boston. You can find the job pos

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
thnx, actualy it is possible hide the html without implementing pretty url I moidifed my web.xml ponpon /app ponpon *.html and reapeated mapping for *.html (since the pattern allows only simple defs) now all .html pages are handled by default page I w

RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Ken nashua
Pete, Your solution does not accomodate initialization/update to the checkbox component. It is a one-way usage. I need to set the checkbox on when I encounter a cookie. Can you offer a solution for seamless update? Ken _ Use yo

CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Ken nashua
Pete, Your solution does not accomodate initialization/update to the checkbox component. It is a one-way usage. I need to set the checkbox on when I encounter a cookie. Can you offer a solution for seamless update? Ken _ Stay i

RadioGroup error decoration

2006-10-18 Thread Julian Wood
With Tap 4.0.2, with a custom validation delegate set on a RadioGroup component, with a 'required' validator, only the label methods are called on validation failure (writeLabelSuffix, writeLabelPrefix, writeLabelAttributes), whereas another form component like a TextField will additionally

[OT] Looking for engineers in Boston

2006-10-18 Thread Dan Adams
Hey guys. Sorry for the spam. My company is looking for good engineers in boston. You can find the job posting details here: http://www.ifactory.com/about/jobs.php To be honest that job description is only half the picture. We also do a lot of: - Testing using TDD (and HtmlUnit) - Tapestry 4 - Hi

CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Ken nashua
Well I got it to work. public abstract boolean isRememberMe(); was all that was needed in the java. @InjectComponent really did not help @Component just collides with the html defiinition I originally provided and creates an accessor nightmare that is unpredictable. I am hoping 5.0

RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Peter Beshai
Try this: in .java file: // the actual checkbox component @Component(bindings = {"value=rememberMe","displayName=message:label.rememberMe"}) public abstract Checkbox getRememberMeCheckbox(); // holds the value of the checkbox public abstract boolean getRememberMe() in .html file: note:

RE: T4.1 problem

2006-10-18 Thread Denis Souza
Try configuring friendly URLs: http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html If you follow the example on the link it should intercept anything with an html extension. Denis -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 18 de ou

CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Ken nashua
Guys, Ok, I am going to try the @Checkbox component inside some html Typical usage follows... Now I do not want to operate any *.Page files (although an alternative sample would be nice to refer to) I want to do everything in JAVA... period 1. Can someone pr

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
if Home.html is in WEB-INF, tapestry doesn't connect with the class, if Home.html is in context, tapestry connects it with the class, but .html source is downloadable by entering http://localhost:8000/ponpon/Home.html :(:(:( Davor Hrg http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http:

Re: T4.1 problem

2006-10-18 Thread James Carman
The servlet engine won't allow the source to be downloaded via URL, because your tapestry servlet will intercept the request (assuming you've mapped it correctly). On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote: It makes all the difference in my project. I moved Home.html into WEB-INF and it

Re: PageRenderSupport problem (Body component is in template)

2006-10-18 Thread Peter Beshai
Great that fixed it up :-) You said you had wrapped the Dialog component just yesterday, but I don't see it in the tapestry-framework trunk. Is there somewhere I can go and see how you implemented it? Oh I have another question... I had to put the .jwc and .script file in the WEB-INF direct

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
It makes all the difference in my project. I moved Home.html into WEB-INF and it didnt work I moved it back into context and it worked I restarted tomcat each time finaly, my web app is not packed as .war, it is a folder in webapps in tomcat. another problem is when Home.html is in context dir t

Re: DropdownTimePicker usability problems

2006-10-18 Thread Patrick Moore
someone named "bill" noticed it yesterday as well: http://trac.dojotoolkit.org/ticket/1675 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T4.1 problem

2006-10-18 Thread James Carman
I don't think that makes a difference. Here's my .application file (with package names changed to protect the innocent): http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote: I don't know if it actually makes a difference

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
that is it, I moved all the pages from WEB-INF down to my context dir, and now it works without the .page :):):):):) I was putting .html pages in WB-INF from the begining, unaware that should not be there after all. thanks everyone for the assistance :) On 10/18/06, Denis Souza <[EMAIL PROTECT

RE: T4.1 problem

2006-10-18 Thread Denis Souza
Maybe you're looking in the wrong place. Maybe the problem is not where you're placing the .java class but where you're placing the .html template. I never use .page files and misplacing an html template gives me exactly the same error as you're getting. Make sure your html file is just inside your

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
sorry for spamming the list ... I used in home .java @InjectMeta("org.apache.tapestry.page-class-packages") public abstract String getTest(); then I put in the template || and got out: |hr.hrg.ponpon| On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote: I tried hr.hrg.ponpon but no relut

CSS or even SiteMesh doesn´t work....

2006-10-18 Thread Skorpien126
Okay... before i become crazy ... i make use of your help. The Situtaion: I have implemented a kind of friendly-urls... (http://tapestry.apache.org/tapestry4/UsersGuide/friendly-urls.html) ... mapping urls like *myapp/person/richard/someone to external.svc?page=person&sp=Srichard/so

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
I tried hr.hrg.ponpon but no reluts still i put back the Home.page http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> and it works now, so classes are where supposed to be, Home.html is ok annotations work in the Home.java but the problem persists still when I remove Home.page what

Re: PageRenderSupport problem (Body component is in template)

2006-10-18 Thread Jesse Kuhnert
Without the benefit of knowing what your component code is doing I am going to guess that you are attempting to render your dialog component during a Form "rewind" cycle. The best thing to do in your case is check for cycle.isRewinding() and skip over all blocks except for renderBody() . On 10/1

Re: jwcid + id in html template = bad idea?

2006-10-18 Thread Peter Beshai
Oh really? I didn't know you could do that (the multiple classes in one class attribute). Neat. Thanks Peter Beshai From: "Jesse Kuhnert" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: jwcid + id in html template = bad idea? Date: Wed, 18 Oct 2006 11:59:23

Re: DropdownTimePicker usability problems

2006-10-18 Thread Jesse Kuhnert
http://trac.dojotoolkit.org/ On 10/18/06, Patrick Moore <[EMAIL PROTECTED]> wrote: Hi there -- I am using the latest snapshot and I am having an issue with the DropdownTimePicker. Every time the user clicks on the dropdown it goes away. As a result, if the user wants to use the drop down to en

RE: T4.1 problem

2006-10-18 Thread Denis Souza
I don't know if it actually makes a difference, but I use it in my .application a little bit different: I guess it wouldn't hurt to try: hr.hrg.ponpon hr.hrg.ponpon Denis -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 18 de outubro de 2006 10:55

Re: jwcid + id in html template = bad idea?

2006-10-18 Thread Jesse Kuhnert
Usually you want to try and stay away from id specific css rules when you can help it. The obvious reason being that this starts to build up a lot of duplication in your css class definitions. Don't forget that you can do things like this: content The farther left the css definition goes the hi

Re: jwcid + id in html template = bad idea?

2006-10-18 Thread Karthik N
hi peter, we use both jwcid and id. so far it's been good for us. Thanks, Karthik

jwcid + id in html template = bad idea?

2006-10-18 Thread Peter Beshai
Is it seen as bad practice to have both jwcid and id (both equal to each other) in the html template? Currently I have only jwcid attributes, but this causes all my css that points to ids not to show up when I preview my page as just html. Is this seen as unnecessary duplication (ie having both

Problem with TableView in Tap 3

2006-10-18 Thread Detlef Schulze
Hi, this is the first time I use a TableView and I have a problem with it. The page containing the TableView is a Search + Search Result page. I have two buttons that trigger an action. One of them clears a List with search results, the other one performs a search over some database tables. The L

RE: T4.1 problem

2006-10-18 Thread James Carman
Make sure you have a WEB-INF/classes/hr/hrg/ponpon/Home.class file in your webapp. Also, do you have Home.html in your webapp root? -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 10:07 AM To: Tapestry users Subject: Re: T4.1 problem tomc

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
tomcat\webapps\ponpon\WEB-INF si it's in WEB-INF if looked relatively On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote: Well, I know that it works in 4.0, since I'm using that setting. Where is your ponon.application file located within your webapp? -Original Message- From: Davo

RE: T4.1 problem

2006-10-18 Thread James Carman
Well, I know that it works in 4.0, since I'm using that setting. Where is your ponon.application file located within your webapp? -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 9:57 AM To: Tapestry users Subject: Re: T4.1 problem no, :( th

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
no, :( there is no space :( key="org.apache.tapestry.page-class-packages" value="hr.hrg.ponpon" On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote: Is there really a space at the end of your page-class-packages setting in your .application file? I don't know if that matters (Tapestry may b

RE: LoginPage problem in T4

2006-10-18 Thread Denis Souza
Actually, that makes perfect sense. That's exactly how my Login page works. I had thought about the recursive problem and had also created a way to avoid this, but my method was buggy. Since you mentioned it I thought I should check it out and I fixed it. Thanks for your help! Denis -Original

RE: T4.1 problem

2006-10-18 Thread James Carman
Is there really a space at the end of your page-class-packages setting in your .application file? I don't know if that matters (Tapestry may be trimming the string first), but that might be your problem. -Original Message- From: Davor Hrg [mailto:[EMAIL PROTECTED] Sent: Wednesday, Octobe

Re: Problems with @For

2006-10-18 Thread pipothebit
Ok, it'works!! great!! very thank you!! El mié, 18-10-2006 a las 14:40 +0200, Norbert Sándor escribió: > Maybe >? > > Regards, > Norbi > > pipothebit wrote: > > Hi, > > I can't render values that are stored in a Properties variable. My code: > > > > Java class: > > ... > > @Persist > > pu

Re: PageRenderSupport problem (Body component is in template)

2006-10-18 Thread Peter Beshai
Sorry if this idea seems silly, but this is the first custom component/dojo widget wrapper I have made, so it basically just does the same thing as calling dojo.widget.byId("yourDlgId").show(). My dialog takes a 'shower' and a 'closer' (IComponents) as required parameters -- I wasn't sure the

Re: Problems with @For

2006-10-18 Thread Dennis Sinelnikov
pipothebit wrote: Hi, I can't render values that are stored in a Properties variable. My code: Java class: ... @Persist public abstract Properties getUsers(); public abstract void setUsers(Properties properties); ... Template: ... size: 1 I thought you need your user 'placeholder' setter

Re: T4.1 problem

2006-10-18 Thread Davor Hrg
nope, I must be doing something very wrong, just tried it in T4.0 and it also doesn't work here is web.xml http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/TR/xmlschema-1/"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> ponpo

Re: T4.1 problem

2006-10-18 Thread Dennis Sinelnikov
Try '.' instead of '/' Dennis Davor Hrg wrote: Is there an known issue with org.apache.tapestry.page-class-packages in T4.1 I don't seem to get it right, I have a simple app and trying to get rid of th pesky .page and use annotations . Just tried with Home.page org.apache.tapestry.PageNotFou

Re: Where can I find an example which integrate Tapestry with Hibernate

2006-10-18 Thread Shing Hing Man
You might like to check out the following. http://www.carmanconsulting.com/tapernate/ Keng Tong's book http://www.agileskills2.org/EWDT/ http://lombok.demon.co.uk/folderTap4/app Shing --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I find some example with Tapestry with Hibernate > with

Re: Problems with @For

2006-10-18 Thread Norbert Sándor
Maybe ? Regards, Norbi pipothebit wrote: Hi, I can't render values that are stored in a Properties variable. My code: Java class: ... @Persist public abstract Properties getUsers(); public abstract void setUsers(Properties properties); ... Template: ... size: 1 ... ... The @

T4.1 problem

2006-10-18 Thread Davor Hrg
Is there an known issue with org.apache.tapestry.page-class-packages in T4.1 I don't seem to get it right, I have a simple app and trying to get rid of th pesky .page and use annotations . Just tried with Home.page org.apache.tapestry.PageNotFoundException Page 'Home' not found in application na

Re: How to change table page index by a form submit event

2006-10-18 Thread Huang Gehua
:D reset worked very well. Thanks By the way reset method "Resets the state of the component and forces it to load a new TableModel from the tableModel binding the next time it renders". If the new record that just added is at second or 3rd page how to make the table navigate to the page w

Problems with @For

2006-10-18 Thread pipothebit
Hi, I can't render values that are stored in a Properties variable. My code: Java class: ... @Persist public abstract Properties getUsers(); public abstract void setUsers(Properties properties); ... Template: ... size: 1 ... ... The @Insert components writes that users have one element b

Tapestry startup time, faster hibernate

2006-10-18 Thread Davor Hrg
I've been looking for ways to speedup tapestry startup time Search through archive made it clear it is not simple, and it is limited. My setup is Eclipse Sysdeo tomcat plugin tomcat of course here are things I did and most people did too disabling template caching enable hot code replace r

DropdownTimePicker usability problems

2006-10-18 Thread Patrick Moore
Hi there -- I am using the latest snapshot and I am having an issue with the DropdownTimePicker. Every time the user clicks on the dropdown it goes away. As a result, if the user wants to use the drop down to enter 7:30PM they have to: 1. click on the clock 2. click on the 7 in the dropdown (the