Re: JWCID changing the look & feel of the Static HTML mocks

2006-08-16 Thread Rahat
Many thanks For reply Howard. But this will not be visible in the application too. I want something that will be visible in the application but not in the Static Mocks. For example: in "foobar.html" I have a "Direclink" component like this: < a jwcid="[EMAIL PROTECTED]" listener="ognl:listene

Re: Properties file export

2006-08-16 Thread Josh Long
Im not sure I understand the question, but is this something a bash script might fix? find . -iname "*properties"|while read line; do cat "$line" ;done > allproperties.properties.bak On 8/10/06, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, is there a way for me to export all my properties fi

Re: JWCID changing the look & feel of the Static HTML mocks

2006-08-16 Thread Nick Westgate
Hi Rahat. As you should expect, Howard's replies are usually insightful. ;-) Here however, his idea (which he beat me to) probably relies on you knowing all about parameters: http://tapestry.apache.org/tapestry4/UsersGuide/template.html#template.components.formal In short, the style parameter in

RE: tapernate question

2006-08-16 Thread James Carman
If you want more fine-grained control over what's going on, turn off transaction-per-request and use service methods with transaction interceptors on them to achieve what you want. The reason that you didn't get the exception is that the transaction isn't committing until the end of the request an

Re: JWCID changing the look & feel of the Static HTML mocks

2006-08-16 Thread Nick Westgate
Hi Rahat. Thinking further, if you want to keep your components implicit you could pay the price of another (trivial) implicit component: < a jwcid="[EMAIL PROTECTED]" listener="ognl:listeners.dothis" ...> My Link < /a> The Ghost component would render it's contents but omit itself and th

Re: how can i solve this problem

2006-08-16 Thread zqzuk
thnx, this is indeed a good idea! andyhot wrote: > > From zqzuk <[EMAIL PROTECTED]>: > >> >> however it doesnt work and i got exception error: >> >> No listener method named 'onClick' suitable for no listener parameters >> found >> in [EMAIL PROTECTED] > > That's because tutor is evaluated

Request for Proposal in speeding up Tapestry Applications

2006-08-16 Thread Skriloff, Nicholas
Darden Solutions is in the process of speeding up their tapestry applications and possibly upgrading from Tapestry 3.0 to Tapestry 4.0. They have written many custom engine services in Tapestry 3. They would like to know if there is anyone who would be interested in being hired on a contract basis

Re: Help with Tapestry application [Kinda urgent, please read]

2006-08-16 Thread Vinicius Carvalho
Well, it was not the XML parser :( I've changed the xml parser on oracle, for the chat application (using xerces instead of oracle XML) but the error persists, any ideas please? Best regards On 8/14/06, Jan Vissers <[EMAIL PROTECTED]> wrote: If it is the Oracle XML Parser that is giving you tro

Quick Contrib:Table question

2006-08-16 Thread Ryan Cuprak
Hello, I am working creating a table for which the number of columns is dynamic (user can control which columns they want displayed). What is the proper approach for implementing the behavior? Thus far I created an implementation of ITableColumnModel which then returns the custom set of co

contrib:Table changing the header

2006-08-16 Thread Vinicius Carvalho
Hello there! I know we can define that to render in our columns unsing a block component named [id]ColumnValue (thanks to the list). What I need now is to override the header for those columns. I have a column that has checkboxes, in its header I'd like to have (instead of a title) a checkbox, for

Re: Quick Contrib:Table question

2006-08-16 Thread Robert Zeigler
If you want, you don't even have to implement ITableColumnModel. just do something like: .html: .java: public List getColumnList() { List ret = new ArrayList(); String columnId="callPointH"; String columnHeader="Call Point H"; //not that the root of your ognl expression is the cu

Re: contrib:Table changing the header

2006-08-16 Thread Robert Zeigler
Sure, just use a block named [id]ColumnHeader Robert Vinicius Carvalho wrote: > Hello there! I know we can define that to render in our columns unsing > a block component named [id]ColumnValue (thanks to the list). What I > need now is to override the header for those columns. I have a colu

Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Andrés Nates
When I’m run de example of the component upload, this example has a basic upload component for images (jpeg). This is the error message org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tapestry.multipart.ServletMultipartDecoder: Could not load class org.apac

Re: JWCID changing the look & feel of the Static HTML mocks

2006-08-16 Thread andyhot
Another idea is to turn the block that you want hidden into a component and include it like this: >From Rahat <[EMAIL PROTECTED]>: > > Many thanks For reply Howard. > > But this will not be visible in the application too. I want something that > will be visible in the > application but not in

Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Ryan Cuprak
Thanks, That is much simpler! For the ExpressionTableColumn I need a ExpressionEvaluator as the last parameter. I think it is a tapestry service (still digging through the binding files), thought this would work: @InjectObject("infrastructure:tapestry.ognl.ExpressionEvaluator") public

Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Ryan Cuprak
D'oh was a simple fix, use service: @InjectObject("service:tapestry.ognl.ExpressionEvaluator") On Wednesday, August 16, 2006, at 07:54AM, Ryan Cuprak <[EMAIL PROTECTED]> wrote: > > Thanks, > That is much simpler! > For the ExpressionTableColumn I need a ExpressionEvaluator as the last > par

Re: Quick Contrib:Table question (how to get an ExpressionEvaluator?)

2006-08-16 Thread Norbert Sándor
... or in 4.1 the service is injected automatically, so you don't need the @InjectObject annotation. Regards, Norbi Ryan Cuprak wrote: D'oh was a simple fix, use service: @InjectObject("service:tapestry.ognl.ExpressionEvaluator") On Wednesday, August 16, 2006, at 07:54AM, Ryan Cuprak <[EMA

Xerces version

2006-08-16 Thread Vinicius Carvalho
Hello there! I'm still having big problems with the crap oc4j server. I've tried to change the xml parser, but Hivemind is still throwing errors... Here's my lib versions: Tapestry 4.0.2 Hivemind 1.1.1 Xerces 2.8.0 xml-apis 1.3.03b I'm wondering if now the problem is the xerces version... Any

RE: tapernate question

2006-08-16 Thread Xiaoshu Wang
Thanks, James. I am able to get the exception now. However, the exceptions seem to be wrapped into spring's DataAccessException. The original cause of HibernateException is gone. I tried to traverse the Exception track by getCause(), but only get the DataIntegrityViolationException and java.s

RE: tapernate question

2006-08-16 Thread James Carman
H. Well, that's the way Spring wraps it by default. I don't have time to look into it right now, but maybe you can check the Spring docs to see what to do in your situation. The Spring library is pretty thorough, so I would imagine that there's something you can do. James -Original Mes

Re: Xerces version

2006-08-16 Thread yesidredondo
Yes Vinicius, you've got to change the xerces jar too, i'm going to send you the xercesImpl that worked for me when deploying the app in OAS 10G. Ing. Hermann Yesid Redondo Eslava IT-GROUP LTDA -- Original Message --- From: "Vinicius Carvalho" <[EMAIL PROTECTED]> To: "Tapestry us

Re: Xerces version

2006-08-16 Thread Javier Sanchez
What version of OC4J are you using? I had problems with 9.0.2 if I remember well (the first one that Oracle called 10g). Its XML parser was buggy. Since we migrated OAS to 10.X our problems did go away. JAVIER SANCHEZ CIO EDESA S.A. Bogota, Colombia On 8/16/06, Vinicius Carvalho <[EMAIL PROT

Re: Xerces version

2006-08-16 Thread Jesse Kuhnert
Can you post back to the list with the correct version of xerces (and the exact version of oracle j2ee used) so that I can add a FAQ entry for this? On 8/16/06, yesidredondo <[EMAIL PROTECTED]> wrote: Yes Vinicius, you've got to change the xerces jar too, i'm going to send you the xercesImpl th

Re: Xerces version

2006-08-16 Thread Javier Sanchez
This issue is already on http://wiki.apache.org/tapestry/Gotchas The first version of OC4J I tried was 9.0.4. Every version of OAS 10g since 10.1.2 have the XML parser fixed. My application is still using T3, so I really don't know if T4 could still have problems with OC4J. I recommend to migr

Re: Xerces version

2006-08-16 Thread Javier Sanchez
.. and I really don't recommend to just replace the XML jars. I tried to do that and other components of OC4J got problems. It's better to migrate to a new release. JAVIER SANCHEZ CIO EDESA S.A. Bogota, Colombia On 8/16/06, Javier Sanchez <[EMAIL PROTECTED]> wrote: This issue is already on ht

Re: Xerces version

2006-08-16 Thread Vinicius Carvalho
Hello folks, thanks for all the help. Well I'm using the 10.1.3 version of AS, I believe that is the latest version, and even that is buggy :( I believe (not sure, because I haven't checked) that Oracle is not replacing the parser, even though I'm setting it on the properties of my app. I'll do a

Re: Xerces version

2006-08-16 Thread Jesse Kuhnert
Cool thanks =) Don't get me wrong, the actual core DB itself is a thing of beautyBut the monkeys writing JDBC/app server/etc code don't seem to be of the same caliber ;) On 8/16/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hello folks, thanks for all the help. Well I'm using the 10.1.3

RE: Xerces version

2006-08-16 Thread James Carman
We've (the HiveMind team) had a lot of trouble with OC4J. So, I feel your pain! -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 1:46 PM To: Tapestry users Subject: Re: Xerces version Hello folks, thanks for all the help. Well I'm usi

Re: Xerces version

2006-08-16 Thread Vinicius Carvalho
Yes Jesse sorry, the DB is quite something :D, but almost every java/jee app writen by them is a crap (bc4j, adf, as, process manager, sso, jdeveloper) On 8/16/06, James Carman <[EMAIL PROTECTED]> wrote: We've (the HiveMind team) had a lot of trouble with OC4J. So, I feel your pain! -Origi

Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread TH
I have to write some Ajax intensive application. So i decided to tryout Tapestry 4.1 And it seems like i am missing something very important ... because i am not able to run even the most basic example give :( Home.java - package whiteboard.pages; import org.apache.tapestry.annotations.E

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread Jesse Kuhnert
You can try using the right event keyword to start with ;) http://www.quirksmode.org/js/events_mouse.html (Maybe I should link quircksmode.org in to the main page so people can more easily find this handy reference.) On 8/16/06, TH <[EMAIL PROTECTED]> wrote: I have to write some Ajax intensiv

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread TH
Jesse thanks for such a quick reply :) Well i just tried this code too @EventListener(elements = "myFavoriteDiv", events = "mouseover") public void watchText(BrowserEvent event) { System.out.println("User clicked on x/y coordinates " + event.getPageX() + "/" + event.getPageY()); } http:/

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread TH
Jesse thanks for such a quick reply :) Well i just tried this code too @EventListener(elements = "myFavoriteDiv", events = "mouseover") public void watchText(BrowserEvent event) { System.out.println("User clicked on x/y coordinates " + event.getPageX() + "/" + event.getPageY()); } but this does

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread Jesse Kuhnert
Tried this code and it didn't work or tried it and it worked great? ;) FYI, if you are going to use 4.1 you're much better off moving to the daily snapshot builds of 4.1.1-SNAPSHOT. (via maven2) .. It feels like a kind of bait and switch, but what can I do? On 8/16/06, TH <[EMAIL PROTECTED]

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread Josh Long
try : events = "onmouseover" Josh On 8/16/06, TH <[EMAIL PROTECTED]> wrote: Jesse thanks for such a quick reply :) Well i just tried this code too @EventListener(elements = "myFavoriteDiv", events = "mouseover") public void watchText(BrowserEvent event) { System.out.println("User clicked on

Label on Property Selection List

2006-08-16 Thread Mael Caldas
Hi I'm using tapestry 4, and have a selection list that submits the form on change, without a button, but, when I have only one item on the list, I can't submit the form, because, of course, there is nothing to change! Does anybody knows a simple way to have a label inside the property selection

Submit doesnt tag or select when the form is submitted via ajax

2006-08-16 Thread Josh Long
Im noticing that the @Submit doesnt tag or select anything when the form is submitted via ajax (ie, async = true, updateComponents = "foo", etc).. Anyone else have this problem? Any workarounds? Peace, Josh - To unsubscribe,

Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-16 Thread Jesse Kuhnert
HmmSounds like a JIRA worthy bug. (The fix is very easy though..I think? ...will know later) On 8/16/06, Josh Long <[EMAIL PROTECTED]> wrote: Im noticing that the @Submit doesnt tag or select anything when the form is submitted via ajax (ie, async = true, updateComponents = "foo", etc)..

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread TH
i think using this @EventListener(elements = "myFavoriteDiv", events = "onmouseover", async=true) Does not help me either... looking at the "View Source" of the browser output it seem like Dojo is getting configured correctly http://www.w3.org/TR/html4/loose.dtd";> http://localhost:8080/wh

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread Jesse Kuhnert
Aha...But there is no id specified on the rendered Body element. :) That is fixable. Can you file a JIRA issue for it? (Though doing a mouseover listener for something as broad as the document Body sounds a little scaryShould be fixed in the Body component either way though I guess...) On 8/

Re: tapernate question

2006-08-16 Thread hv @ Fashion Content
I had a similar concern with Trails, and made my own persistence service that uses Hibernate directly. With Hibernate 3.1 you don't really need the Spring ORM stuff. "Xiaoshu Wang" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Thanks, James. > > I am able to get the exceptio

Tapestry 3 Iterating over a map.

2006-08-16 Thread Mark Stang
Can I treat it like a list? Anyone know what the syntax is? I don't want to convert it back and forth... thanks, Mark

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
Do you want to iterate the keys or the values? -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 3:36 PM To: Tapestry users; Tapestry users Subject: Tapestry 3 Iterating over a map. Can I treat it like a list? Anyone know what the syntax is?

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread Mark Stang
Keys. And I want to print the values. -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:39 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. Do you want to iterate the keys or the values? -Original Message- From: Mark Sta

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
You can iterate over the entries and they have key/value properties. -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 3:43 PM To: Tapestry users; Tapestry users Subject: RE: Tapestry 3 Iterating over a map. Keys. And I want to print the v

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread Mark Stang
That sounds great, do you have any syntax? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:45 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. You can iterate over the entries and they have key/value properties. -Original

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
Well, you'd have to call map.entrySet() and for each entry in there, you'd call entry.getKey() or entry.getValue() (they're of type Map.Entry). -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 3:48 PM To: Tapestry users; Tapestry users Subject

Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-16 Thread Josh Long
Yay JIRA and Jesse! Um... the bug URL is https://issues.apache.org/jira/browse/TAPESTRY-1069 Thanks again, Josh On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: HmmSounds like a JIRA worthy bug. (The fix is very easy though..I think? ...will know later) On 8/16/06, Josh Long <[EMAIL

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread Mark Stang
This will work with a "Foreach"? -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8/16/2006 1:53 PM To: 'Tapestry users' Subject: RE: Tapestry 3 Iterating over a map. Well, you'd have to call map.entrySet() and for each entry in there, you'd call entry.getKey()

Re: Tapestry 4.1 tryout ... not working :(

2006-08-16 Thread Josh Long
Eeeww.. for a workaround in this case, you could always try something feindish in the meantime like setting the id manually through javascript after the page is loaded but before the event listener has a chance to do its thing then use elements instead of target... or.. if body supports inform

How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas
Hi there, Been hearing a lot about using MAVEN2 to get the 4.1-SNAPSHOT of tapestry for the alpha test phase. Can anybody help me to get this working? Never used MAVEN before. Just ANT with CVS repositories. I installed the MAVEN and Subversion Eclipse plugin and and going to try and make sense o

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread James Carman
It should because a java.util.Set (the entrySet() method returns a Set) is a java.util.Collection. -Original Message- From: Mark Stang [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 3:57 PM To: Tapestry users; Tapestry users Subject: RE: Tapestry 3 Iterating over a map. This

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Jesse Kuhnert
This page provides some help, http://tapestry.apache.org/tapestry4.1/download.html. For anything else you'll probably have to either go to maven.apache.org or look at the pom.xml files setup in tapestry already. ( http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/) On 8/16/06, Pedro Viegas <

Re: Injecting State Objects w/ Non-Serializable Beans

2006-08-16 Thread Ryan Holmes
Ideally, your state objects should be as simple and small as possible -- if for no other reason than to make sure your app can cluster if required. Also, if you're using a service then you're probably performing business logic and a state object is probably not the best place for this. I'm

Re: Label on Property Selection List

2006-08-16 Thread Ryan Holmes
As a matter of fact, yes, there is a simple way! Excuse my enthusiasm, but it's not often that I get to say that on the Tapestry mailing list ;) You want a LabeledPropertySelectionModel, which is a simple decorator around your existing IPropertySelectionModel: http://tapestry.apache.org/t

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Ryan Holmes
IIRC, the name of that service changed between Tapestry 4.0 and 4.0.1, but your stacktrace looks correct (well, as correct as a stacktrace can be). What versions of the following jars do you have: tapestry, hivemind, hivemind-lib and commons-fileupload? Also, are you specifying a maximum

adding a persist property in runtime enhancement

2006-08-16 Thread Dan Adams
I have an annotation i'm working on (this isn't my first one and i'm almost done with this one) where I need to add a persistent property and use it in my enhanced code. What's the best way of doing this? I've been digging around the T4 sources but haven't been able to find an answer to this. So fa

Shell renderBaseTag flag

2006-08-16 Thread Dom Couldwell
OK, this may just be down to the fact that it's the end of a very long day but... does the renderBaseTag parameter of the Shell component actually work? see http://tapestry.apache.org/tapestry4.1/components/Shell.html I've tried setting it to false but it still keeps on rendering the element

RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Andrés Nates
I'm have this version of jar tapestry-4.0.2 hivemind-1.1 hivemind-lib-1.1 commons-fileupload-1.0 and the file Hivemind.xml look this:

Re: Shell renderBaseTag flag

2006-08-16 Thread andyhot
I'll update the docs to more clearly state that renderBaseTag relates to the tag found inside of If you don't want written, do not use the @Shell Dom Couldwell wrote: > OK, this may just be down to the fact that it's the end of a very long day > but... > > does the renderBaseTag parameter of

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Jesse Kuhnert
You need fileupload-1.1.. http://tapestry.apache.org/tapestry4/dependencies.html On 8/16/06, Andrés Nates <[EMAIL PROTECTED]> wrote: I'm have this version of jar tapestry-4.0.2 hivemind-1.1 hivemind-lib-1.1 commons-fileupload-1.0 and the file Hivemind.xml look this:

Re: Shell renderBaseTag flag

2006-08-16 Thread Dom Couldwell
magic, thx. It's the end of a long day and I should have figured that one out...

Re: Label on Property Selection List

2006-08-16 Thread Mael Caldas
Thanks a lot Ryan! That was exactly what I wanted! :) []'s Mael On 8/16/06, Ryan Holmes <[EMAIL PROTECTED]> wrote: As a matter of fact, yes, there is a simple way! Excuse my enthusiasm, but it's not often that I get to say that on the Tapestry mailing list ;) You want a LabeledPropertySelec

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas
Sorry Jesse, i'm really a newbie in Maven. I had checked out the maven site and get Maven installed and working. I checked the getting started section and saw how to start creating a project, but do a really have to maven enable my project just to get the 4.1.1-SNAPSHOT and compile it to get the m

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Jesse Kuhnert
No, you don't ~have~ to use maven. (And certainly don't need to compile tapestry even if you do). http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/ On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: Sorry Jesse, i'm really a newbie in Maven. I had checked out the maven

RE: Submit doesnt tag or select when the form is submitted via ajax

2006-08-16 Thread Denis Souza
While, on the topic, I don't know if this might be related but I'm still having trouble with ajax forms. Take the following example: The page is still fully reloaded but the listener gets called as it should. Same thing with the listener/action parameter on the submit button. It

Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-16 Thread Jesse Kuhnert
Oh...I added the updateComponents/async/etc to the Form component the other day. Documentation has been updated as well.. (Still haven't done it to the submit type components yet) On 8/16/06, Denis Souza <[EMAIL PROTECTED]> wrote: While, on the topic, I don't know if this might be related but

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas
OK, I think I get it, I use the most recent pom I find here right. OK, tried the: tapestry-project-4.1.1-20060815.022306-17.pom and issued a "mvn package -e" The error was... "+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Andrés Nates
Hello Jesse, I'm have put this version of jars tapestry-portlet-4.0.2.jar tapestry-4.0.2.jar tapestry-annotations-4.0.2.jar tapestry-contrib-4.0.2.jar commons-codec-1.3.jar commons-logging-1.0.4.jar commons-fileupload-1.1.jar commons-io-1.2-jar ognl-2.6.7.jar oro-2.0.8.jar hivemind-1.1.1.jar hivem

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas
http://mojo.codehaus.org/ OK, I think this is it, what do I have to do? There's a bunch of plugins out there. This looks like a trail of breadcrumbs... :-S On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: OK, I think I get it, I use the most recent pom I find here right. OK, tried the: tap

Javascript enabling/disabling validated fields

2006-08-16 Thread Wes Bramhall
I've spent the better part of two days attempting to have fields with validators enabled and disabled through javascript and having it work. Here's the situation: I have a form with several fields on it. They are always visible and required. There is a checkbox that, when clicked, uses javascrip

Re: Properties file export

2006-08-16 Thread Peter Dawn
ok. all i want to do is, i want to provide the user to be able to modify the text displayed on my web page. so in order to do that they would need to modify the info within the properties file and re-start the web app. now the question is how do we do this. any ideas. and i want to do everything f

popup LinkSubmit

2006-08-16 Thread Mael Caldas
Hi! I need to submit a form clicking on a link on the selected entity, pass the selected entity to a page, and present this page in a popup. So I want to use a kind of popup LinkSubmit, but I only know how to do a popup link with DirectLink, using the PopupLinkRenderer... Any idea? Thanks! Mae

Re: Javascript enabling/disabling validated fields

2006-08-16 Thread Jesse Kuhnert
Look at the "Dojo validation profiles" section of this page: http://tapestry.apache.org/tapestry4.1/javascript/form.html I haven't added direct support for it (~yet~..it's a JIRA issue though), but having it check for something like what you described would be covered by the "dependencies" prope

Re: popup LinkSubmit

2006-08-16 Thread Jesse Kuhnert
You can change the target of the form temporarilySomething like: Something like that, you'll have to google the details...Just make sure you call IRequestCycle.activate() on the other page to be sure it gets rendered out to the popup. On 8/16/06, Mael Caldas <[EMAIL PROTECTED]> wrote: Hi

Re: need annotation enhancement help

2006-08-16 Thread Dan Adams
Okay, so the problem I've got is that my worker is run before the other workers that add the persistent property. so when the enhancement is run, i get javassist compile errors because the functions i need don't exist yet (even though they will later). anyone have any suggestions on how I can add a

Re: need annotation enhancement help

2006-08-16 Thread Jesse Kuhnert
There's also the secondary enhancement workers ...Maybe in there? Sounds like one of the existing annotations is going to get in your way either way, but maybe... On 8/16/06, Dan Adams <[EMAIL PROTECTED]> wrote: Okay, so the problem I've got is that my worker is run before the other workers th

Re: Properties file export

2006-08-16 Thread Mael Caldas
Hi Peter, I think this kind of solution, the user restarting the app, is, at least, a little weird, but if you really want to do this, I thought this: Using tomcat as a container example: - Make the server manager app to be accessed by the users. - Give the permission to the user access the man

Re: Properties file export

2006-08-16 Thread andyhot
Peter Dawn wrote: There are other ways. For instance, see http://wiki.apache.org/tapestry/UsingCustomResourceSource > ok. all i want to do is, i want to provide the user to be able to > modify the text displayed on my web page. so in order to do that they > would need to modify the info within the

RE: Tapestry 3 Iterating over a map.

2006-08-16 Thread Mark Stang
OK, I am spinning my wheels, what am I missing here? Nothing prints out and no errors:       Help... thanks, Mark -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wed 8

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas
Can anybody give the proper steps to get this running? Thanks, On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote: http://mojo.codehaus.org/ OK, I think this is it, what do I have to do? There's a bunch of plugins out there. This looks like a trail of breadcrumbs... :-S On 8/16/06, Pedro Vi

Re: popup LinkSubmit

2006-08-16 Thread Mael Caldas
The problem is that there are another links that submits the same form, but I don't want to pop up in these another links. Just in one. The case is, I have some Entities, listed by name, with links to edit, remove e show details (Using AjaxDirectLink, like the flags on Tacos), and a link called

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Konstantin Ignatyev
Rant: Unfortunately Maven archichitecture and practices are not allow repeatable builds because there are ranges in the version specifications. And that makes build to depend on current repository content and makes it unrepeatable. IMO it would be much nicer if Ant + Ivy was used as build system.

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread andyhot
- create a folder for your app - copy there (and make changes) the attached pom.xml - create subfolders src/main/java, src/main/webapp (and if you want src/test/java ) - mvn compile, it will download all deps - mvn eclipse:eclipse will create eclipse files 4.0.0 my.group my-project

dojoContainerId not being read by shell component

2006-08-16 Thread Pedro Viegas
Giving a test drive at the Tap 4.1 I found that the shell component always uses the default value for the dojoContainerId. Even if we supply another as in... The code that gets generated is: djConfig = { isDebug: true, debugContainerId:'debug', baseRelativePath:"RE: How to setup 4.1 MAVEN2 snapshot
There is a free maven book. It start you out with installing maven and then building a simple app. Better Builds with Maven. It is available as a free download (.pdf). However, is he trying to build tapestry with maven or his own app? Which problem are we trying to solve :-)? regards, Mark

Re: How to setup 4.1 MAVEN2 snapshot

Thanks Andy for your response. But unfortunatly I still get the same error of this MOJO dependency! :-( + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INF

Re: How to setup 4.1 MAVEN2 snapshot

Looks like it can't find the pom.xml file in the current directory... errr... i'm out of ideas... Pedro Viegas wrote: > Thanks Andy for your response. > But unfortunatly I still get the same error of this MOJO dependency! :-( > > + Error stacktraces are turned on. > [INFO] Scanning for projects...

Re: Properties file export

sorry guys i wanna correct my statement. they will be able to re-start tomcat manually from outside the web app. i provide a link which will be a link to a batch file, which will perform the operation. so thats taken care of. the bit where i am stuck is, how to allow the user to modify the propert

Re: toggle form display

Will Norris wrote: > > I remember seeing a component in some other framework > that would allow you to have a form that could be toggled to a read- > only state. This is not just making the input boxes disabled, but > rather converting them to be normal text output (so you don't have to

Re: XTile over SSL

Ralph Johnston wrote: > > However, we are having a problem with IE popping up a message about secure > and non- > secure items on the page when we load the page using https. We are > wondering how to stop this pop-up from showing but don't know where to > start. Is the webapp intra- or internet

Flash and Tacos?

Not sure if anyone else experiences this...I'm using Tapestry 4.0.2, Tacos (latest from svn), and Firefox 1.5.0.6 and Konqueror on Fedora Core 5 x86_64. It seems that by default, dojo requires Flash and on a browser that doesn't have flash (Anything on 64-bit linux, thanks a lot adobe/macromedia)

Re: popup LinkSubmit

You'll probably have to change the forms target back to what it was previously - after opening the popup..(I think it's called _self ? ) There's probably a more elegant way to do it in javascript but I'm just reciting what I saw recently on another tap3 based project that did exactly what you des

Re: Tapestry 3 Iterating over a map.

First, is there a reason you have appAuthMap twice, or just a typo? Second, Try: ognl:appAuthMap.entrySet() ognl is trying to get the object with the key "entrySet" instead of calling the method entrySet. Hope this helps. On 8/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: OK, I am spinning m

Re: Flash and Tacos?

I remember seeing a bunch of different messages on the dojo users list about this. I don't currently provide a config option for disabling flash storage but I can add one. I'll ask Brad about the flash storage stuff in general to see what's up. On 8/16/06, Andrew Ofisher <[EMAIL PROTECTED]> wrot

Re: XTile over SSL

I actually ran into the same exact problem recently with a client which is the only reason I was so quick with the iframe answer. I don't see any references to iframes in XTile though, maybe Ralph was using them but decided to not update us on his solution? On 8/16/06, Matt Brock <[EMAIL PROTECT

Re: Flash and Tacos?

It's for persisting data in browser - similar to cookies but allow much more data >From 100kb to whatever the user can allow... For the moment, no tacos and no tapestry component uses this. But i can imagine a new cool persistance strategy making use of this... Regarding disableFlashStorage: tru

Re: Flash and Tacos?

Yep...And once you figure out how to look at your local flash settings you'd be surprised at how many large corporations are already using it. BoA definitely does, and I know ebay just had Brad over for a talk of some kind. Very handy stuff. Shouldn't render apps useless when the plugin isn't in

Re: XTile over SSL

Jessek wrote: > > I actually ran into the same exact problem recently with a client which is > the only reason I was so quick with the iframe answer. I don't see any > references to iframes in XTile though, maybe Ralph was using them but > decided to not update us on his solution? The XTile li

Re: XTile over SSL

Yeah...Dojo is all over IO via iframes...(when you need it) I'm still not too keen on using them since the mozilla js garbage collector doesn't get run on iframe contents, but it's a nice way to do certain things when you know you're going to throw the iframe node away soon-ish. On 8/16/06, Matt

  1   2   >