use messages in a service

2008-01-23 Thread Paul Stanton
Hi All, I have a service which does not have access to the request cycle etc however I need to use the same messages used for the tapestry components, preferrably from the same Object/Service as the one available to pages. I've tried creating a setter method for the service but it isn't

Re: use messages in a service

2008-01-28 Thread Paul Stanton
anyone? Paul Stanton wrote: Hi All, I have a service which does not have access to the request cycle etc however I need to use the same messages used for the tapestry components, preferrably from the same Object/Service as the one available to pages. I've tried creating a setter method

Re: use messages in a service

2008-01-28 Thread Paul Stanton
and the service is called directly by a component pass the Message object as a parameter. On Jan 29, 2008 12:31 AM, Paul Stanton [EMAIL PROTECTED] wrote: anyone? Paul Stanton wrote: Hi All, I have a service which does not have access to the request cycle etc however I need to use the same

execute javascript from ajax eventlistener

2008-02-13 Thread Paul Stanton
Hi All. I have an Autocompleter, which has an 'onValueChanged' event listener. The event is being triggered and everything up to this point works as expected. What I'd like to do in this event listener is cause a javascript snippet to be executed on the client for example:

ClassCastException in ExpressionBinding.setObject

2008-02-13 Thread Paul Stanton
Hi All, I've just logged a Jira issue: https://issues.apache.org/jira/browse/TAPESTRY-2157 It's trying to cast a class of type Page2 to type Page1 and getting an exception. Had anyone encountered this before? Thanks, Paul.

Re: execute javascript from ajax eventlistener

2008-02-14 Thread Paul Stanton
Found a solution although it seems like a hack: java: getRequestCycle().getResponseBuilder().addStatusMessage(null, evalz, alert('executed');); js: dojo.event.topic.subscribe(evalz, function(msg){eval(msg.message);}); anyone got a better solution? p Paul Stanton wrote: Hi All. I have

where is 4.1.4?

2008-02-14 Thread Paul Stanton
Hi, Can't find a download for 4.1.4: http://archive.apache.org/dist/tapestry/ does anyone have a copy? i need to roll back from 4.1.5. Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: where is 4.1.4?

2008-02-14 Thread Paul Stanton
ah! ok, thanks. Andreas Andreou wrote: no 4.1.4 ever released :) 4.1.3 is the previous to 4.1.5 version On 2/15/08, Paul Stanton [EMAIL PROTECTED] wrote: Hi, Can't find a download for 4.1.4: http://archive.apache.org/dist/tapestry/ does anyone have a copy? i need to roll back from

updateComponent from JavaScript

2008-02-19 Thread Paul Stanton
Hi all, Is there something in the dojo library that i can call (in javascript) to request a component to update? I need to trigger this on a tapestry component, but the code must be called from the client side, ie not in java. Suggestions? Thanks, P.

Re: updateComponent from JavaScript

2008-02-21 Thread Paul Stanton
/tacos-core/tapdocs/net.sf.tacos.Tacos/ClientLink/index.html ) which adds a js function (named anyway you declare) that does the ajax call - you then just call it whenever you like... On 2/20/08, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, Is there something in the dojo library that i can call

T4 AutoCompleter onkeypress event never triggered

2008-02-21 Thread Paul Stanton
Hi all, I'm using the AutoCompleter component and noticed that hitting the enter key submits the form in IE. I've tried disabling keyCode 13 but since the component actually creates a select field, onkeypress, onkeydown and onkeyup are never triggered! Does anyone know of a way to disable

Re: updateComponent from JavaScript

2008-02-27 Thread Paul Stanton
gah .. have to go back to plain old JS. Paul Stanton wrote: Thanks Andreas, that works great on Firefox, not sure why but not working with ie. The listener method is being called, but the component (contrib:TableView) is not its self does not change as it should. Your ClientLink is working

Re: updateComponent from JavaScript

2008-02-27 Thread Paul Stanton
but it must be the first time i see someone needing this in Tapestry... perhaps most people either update the whole table, or just a div within a cell... On Thu, Feb 28, 2008 at 1:02 AM, Paul Stanton [EMAIL PROTECTED] wrote: gah .. have to go back to plain old JS. Paul Stanton wrote: Thanks

Re: T4 AutoCompleter onkeypress event never triggered

2008-02-27 Thread Paul Stanton
); That doesn't work by the way, the event is never called, but is there a way Thanks, Paul. Paul Stanton wrote: Hi all, I'm using the AutoCompleter component and noticed that hitting the enter key submits the form in IE. I've tried disabling keyCode 13 but since the component actually

Re: T4 AutoCompleter onkeypress event never triggered

2008-02-28 Thread Paul Stanton
Well that works for FireFox, but not IE. in IE the event listener is never triggered so I'm assuming it has trouble propagating the event handler from the container to the child. I worked out another solution yesterday though, it's pretty exhaustive but it works: 1. this function finds the

Re: updateComponent from JavaScript

2008-02-28 Thread Paul Stanton
Andreas, thanks, calling updateComponent on a wrapping div works. by the way, i was updating the whole table before, that wasn't working. table jwcid=[EMAIL PROTECTED]:TableView... p. Paul Stanton wrote: Oh, ok, i'll try and update a div surrounding the table, otherwise back to JS i guess

T4 - Forwarding to wrong page

2008-03-03 Thread Paul Stanton
I've got a strange problem: One of my pages (FinaliseReport) has a button which has it's own listener: input type=button jwcid=@Submit listener=listener:generateReport value=Generate Report/ When clicked, the listener does some processing then returns its self either via this or via

Re: T4 - Forwarding to wrong page

2008-03-03 Thread Paul Stanton
Never mind, I figured it out. When using an explicit listener with @Submit, the forms listener is still called, after the submit's listener. The form's listener was overriding the desired result, so now my processing is done in the form's listener instead.

T4-AJAX executing client side script from an async listener

2008-03-27 Thread Paul Stanton
Hi all, I have a form which is handled via an async listener, which currently just does some component updates: ResponseBuilder builder = getRequestCycle().getResponseBuilder(); builder.updateComponent(dataPanes); builder.updateComponent(filterSubmit); But now I need to be able to execute

Re: T4-AJAX executing client side script from an async listener

2008-03-30 Thread Paul Stanton
yes it's 4.1.5, how would i do that andreas? I find the documentation on this stuff very limited. p Andreas Andreou wrote: Can't you conditionally include a @Script in the response? Also, that's on 4.1.5, right? On Fri, Mar 28, 2008 at 1:32 AM, Paul Stanton [EMAIL PROTECTED] wrote: Hi

T4 - Autocompleter without doing a full page re-render

2008-03-31 Thread Paul Stanton
Hi all, I'm using the @Autocompleter component and have noticed that at each interaction (lookup and selection) it essentially re-processes the whole wrapping page at the back end. In this case, I have a couple of sometimes large database lookups that are being re-queried and as a result the

Re: T4 - Autocompleter without doing a full page re-render

2008-04-01 Thread Paul Stanton
thanks marcus, i'll see if i can use that without 'dirtying' my code too much. p. Marcus Schulte wrote: You can distinguish between a normal render and an ajax-render via getRequestCycle().getResponseBuilder().isDynamic(), hth, Marcus On 01/04/2008, Paul Stanton [EMAIL PROTECTED] wrote

T4 - async - pre-submit client side handler

2008-04-02 Thread Paul Stanton
Hi guys, I've got a @Form which submits async, and a @Submit. I've also got an onclick js event handler which is causing me some grief, but only for IE: When the submit button is clicked, in Firefox the js is called, and then the form submits as per expected. however in IE the js is called

Re: problem with @EventListener

2008-04-02 Thread Paul Stanton
don't double post please kk4Nabble wrote: Hi.. I am using tapestry 4.1 My html code is.. input id=supplimentalId class=button jwcid=@Submit value=Add/ and java code is @EventListener(elements = supplimentalId, events = onclick) public void watchText(IRequestCycle cycle) { //

Re: @EventListener

2008-04-02 Thread Paul Stanton
Kavya, The id should be part of the jwcid expression: input class=button jwcid=[EMAIL PROTECTED] value=Add/ the component will create the id attribute for you. Kavya K wrote: Hi.. My html code is.. input id=supplimentalId class=button jwcid=@Submit value=Add/ and java code is

Re: T4 - async - pre-submit client side handler

2008-04-02 Thread Paul Stanton
any ideas guys .. it seems dojo can't attach the ajax submit handler if i have an onclick on my button - therefore is there a way to pre-pend a handler after dojo has attached to the form aka registerForm? p. Paul Stanton wrote: Hi guys, I've got a @Form which submits async, and a @Submit

Dojo 1.0 with tapestry ajax components

2008-04-15 Thread Paul Stanton
Has anyone got tapestry ajax components working with Dojo 1.0? I've followed the tacos instructions to get dojo 1.0.2 loaded by tapestry (http://tacos.sourceforge.net/tacos4.1/tacos-dojo/index.html) but the tapestry components don't work with the new version of Dojo. Does anyone know what is

T4 tapestry.form.submitAsync delayed?

2008-05-13 Thread Paul Stanton
I've noticed from watching client side and server side logs that when tapestry.form.submitAsync is called, it seems to go into a form of stack, and is the request is only eventually made once a previous async submit has responded. I'm fairly sure of this because I had a js function setting a

4.1.2 without maven

2007-06-05 Thread Paul Stanton
just downloaded the latest framework, contrib and annotation jars hoping they would work with the libs I already have for 4.1.1 they don't where can I get the project .zip or something to list the required libs and their versions? Thanks.

@Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
4.1.1 with the following example (pseudo code) body a onclick=async:display dialog/ @Dialog hidden on load=true @Form async=false @DropdownDatePicker translator=translator:date,format=dd/MM// /@Form /@Dialog /body When I submit the dialog's form with an invalid date

Re: @Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
further to that: In my system out I get: WARNING: Parameters: Invalid chunk ignored. At the bottom of my page I get: DEBUG: invalid date string: 206-01-01 In the Dialog form (which shouldn't be visible) the DropdownDatePicker component does not render, while the rest of the form does.

Re: @Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
OK, I've changed my form declaration from form jwcid=@Form listener=listener:save to form jwcid=@Form success=listener:save This stops the rendering issues and log messages, however how can I notify the user of their invalid entry?

Re: T4.1.1 - ComponentClass and Component annotation question

2007-06-07 Thread Paul Stanton
hows the release coming? Jesse Kuhnert wrote: I think I'm going to start a vote to release it this week, so if that goes well possibly this week. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

4.1 programmatically define message key

2007-06-07 Thread Paul Stanton
Hi all, span jwcid=@If condition=ognl:value==1 span jwcid=@Insert value=message:message.1/ /span span jwcid=@If condition=ognl:value==2 span jwcid=@Insert value=message:message.2/ /span How would I write this without the If, with just one Insert programmatically selecting the appropriate

Re: 4.1 programmatically define message key

2007-06-07 Thread Paul Stanton
this will work: span jwcid=@Insert value=ognl:value == 1 ? messages.message('message1') : messages.message('message2')/ ? -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: 07 June 2007 09:19 To: Tapestry users Subject: 4.1 programmatically define message key Hi all

Re: 4.1 programmatically define message key

2007-06-07 Thread Paul Stanton
jwcid=@Insert value=ognl:value == 1 ? messages.message('message1') : messages.message('message2')/ ? -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: 07 June 2007 09:19 To: Tapestry users Subject: 4.1 programmatically define message key Hi all, span jwcid

dojo dialog render issue

2007-06-08 Thread Paul Stanton
Hi All, I have 2 dojo dialogs, hidden by default which have been working fine. div jwcid=[EMAIL PROTECTED] hidden=ognl:truedialog/div I've now added a component to the page which delays the load time for the page somewhat and in firefox causes a funny render issue for the dialogs. The

Re: dojo dialog render issue

2007-06-08 Thread Paul Stanton
How? Jesse Kuhnert wrote: Possibly - but I might need more information (ie expected vs. actual ) to get it set up correctly. p.s. Can you file a jira issue for it so I remember? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: dojo dialog render issue

2007-06-11 Thread Paul Stanton
https://issues.apache.org/jira/browse/TAPESTRY-1560 how's 4.1.2 coming? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dojo dialog render issue

2007-06-14 Thread Paul Stanton
?? Paul Stanton wrote: https://issues.apache.org/jira/browse/TAPESTRY-1560 how's 4.1.2 coming? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

4.1.2 dojo gregorian.js

2007-06-24 Thread Paul Stanton
Hi, I've just installed 4.1.2 for the first time and run up my application (previously tested under 4.1.1). I did this simply by replacing my existing jars with the new versions (I don't use maven) so I've probably brought this on myself ;) I get the following warnings, the files can be

Re: 4.1.2 dojo gregorian.js

2007-06-27 Thread Paul Stanton
Anyone? Paul Stanton wrote: Hi, I've just installed 4.1.2 for the first time and run up my application (previously tested under 4.1.1). I did this simply by replacing my existing jars with the new versions (I don't use maven) so I've probably brought this on myself ;) I get the following

Re: 4.1.2 dojo gregorian.js

2007-06-27 Thread Paul Stanton
files of the parent folder Paul Stanton wrote: Anyone? Paul Stanton wrote: Hi, I've just installed 4.1.2 for the first time and run up my application (previously tested under 4.1.1). I did this simply by replacing my existing jars with the new versions (I don't use maven) so I've probably

Re: 4.1.2 dojo gregorian.js

2007-07-01 Thread Paul Stanton
if that does the trick or not. We can bug the ibm guys about it but I want to be very sure of the failures before doing that. On 6/27/07, Paul Stanton [EMAIL PROTECTED] wrote: Thanks, looks like it missed the 4.1.2 boat :( andyhot wrote: Additionally, take a look at http://tapestry.apache.org

4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-02 Thread Paul Stanton
Hi, I've upgraded to 4.1.2 from 4.1.1 and am getting the following when I try to load one of my Dojo Dialogs (async). It seems tapestry is trying to call getPage with a null page name, but I'm not sure why formSubmit is being called at all (unless it's part of a rewind?) The trigger is

Re: 4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-03 Thread Paul Stanton
the form submission. http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener On 7/3/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi, I've upgraded to 4.1.2 from 4.1.1 and am getting the following when I try to load one of my Dojo Dialogs (async). It seems tapestry

Re: 4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-03 Thread Paul Stanton
Should I log this in Jira Jesse? Paul Stanton wrote: Thanks Jesse, I've changed it to @EventListener(targets = {myButton}, events = onclick, async = true, autoSubmit = false) public void showMyDialog() and the same exception is thrown. Any more info? Paul. Jesse Kuhnert wrote

4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-04 Thread Paul Stanton
Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is

4.1.1 Dialog disappears without request

2007-07-04 Thread Paul Stanton
Hi all. I can't test this under 4.1.2 because of my other issues (post - 4.1.1 upgrade to 4.1.2 async listener no longer works). I'm having another issue with my dialogs. This one is totally perplexing. What happens is this: 1. I click my add button, the dialog appears. 2. I click my cancel

Re: 4.1.1 Dialog disappears without request

2007-07-04 Thread Paul Stanton
by clicking on a button, so you don't need the event listener? On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all. I can't test this under 4.1.2 because of my other issues (post - 4.1.1 upgrade to 4.1.2 async listener no longer works). I'm having another issue with my dialogs. This one is totally

Re: 4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-04 Thread Paul Stanton
a button, or emulate it's behaviour in a button. Jesse, I've logged an issue in Jira for you. https://issues.apache.org/jira/browse/TAPESTRY-1630 Thanks, Paul. Paul Stanton wrote: Should I log this in Jira Jesse? Paul Stanton wrote: Thanks Jesse, I've changed it to @EventListener(targets

a generous 4.1.3 user needed

2007-07-12 Thread Paul Stanton
Hi all, If anyone is in a position to help, it would be greatly appreciated. Many of us tapestry 4.1 users don't use maven. As a result it's pretty hard for us to get access to the snapshot builds. It would be really handy if someone who uses maven and has an ftp server handy could make an

Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-12 Thread Paul Stanton
code. It might be more ideal to try and do a direct rendering scheme at some point but I don't honestly think I'm going to try and do it for T4 - maybe T5 if Howard hasn't done it already. On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Thanks Renat, unfortunately the dialog needs

captcha

2007-10-16 Thread Paul Stanton
Hi all, I need to get a captcha feature working on one form in one of our apps. I've seen that James Carman wrote one at some point (4.0?) but I can't find a download anywhere. I don't use maven .. does anyone know of a captcha component for tapestry, and where to download it from and any

Re: T3: enable/disable one column according to the other columns result

2007-10-16 Thread Paul Stanton
T5 or T4? T4 you can do: a jwcid=@DirectLink ... disabled=ognl:[condition]Passed/a Nazmul Bhuiyan wrote: Hi, I'm displaying a list of data in a table. e.g. IdStatus DirectLink 1 Passed Passed - Failed 2 FailedPassed - Failed I want to enable/disable 3rd column

Re: captcha

2007-10-16 Thread Paul Stanton
I've downloaded the jar from: http://www.carmanconsulting.com/mvn/com/javaforge/tapestry/tapestry-captcha/0.1-SNAPSHOT/ can't find any usage or installation docs .. any help?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

hidden + translator

2007-10-28 Thread Paul Stanton
Hi all, Just like to say i think it's pretty silly that the 'hidden' component can't be assigned a translator. I've got a hidden that will be populated via javascript and the content describes an object. I've already got a translator for this object, so the obvious thing would be to use the

Re: [OpenLayers-Users] dragmakerer

2007-11-02 Thread Paul Stanton
have plenty of other things to do, and this is probably a low priority feature. Regards, Paul. Tim Schaub wrote: We need to make some improvements and write some tests for this still. If you are interested in seeing it done, you could take a look at how our test stuff works. Tim Paul Stanton

asset from byte array or stream

2007-11-07 Thread Paul Stanton
Hi all, I need a little help (4.1) I have an object with a byte array which contains data for a small image. I'm printing a summary of this object in a page and need to display the image as well. Is there a way I can create an asset and use it with the Image componet to display the image?

T4 - access hivemind registry from another servlet

2007-11-14 Thread Paul Stanton
Ok, so the tapestry servlet initializes and stores the hivemind registry for use within tapestry. My hivemind services and tapestry components and pages can find each other via injection or context method calls. That's fine, but now I've got separate servlet in which I need to have access to

Re: T4 - access hivemind registry from another servlet

2007-11-15 Thread Paul Stanton
on the hivetranse source code http://hivetranse.sourceforge.net/ 2007/11/15, Paul Stanton [EMAIL PROTECTED]: Ok, so the tapestry servlet initializes and stores the hivemind registry for use within tapestry. My hivemind services and tapestry components and pages can find each other via

T4: Async submit client side listeners

2008-06-02 Thread Paul Stanton
Hi all, I've got a form which is submitted asynchronously as follows: form jwcid=[EMAIL PROTECTED] listener=listener:process async=true input jwcid=[EMAIL PROTECTED] selected=ognl:selected tag=tag value=go/ /form I can add javascript handling before the form is submitted by adding an

Re: T4: Async submit client side listeners

2008-06-04 Thread Paul Stanton
Thanks, event.connect should work. Andreas Andreou wrote: I think tapestry.form.submit(formId, submitName, parms) is called for async submit you can dojo.event.connect on it and do stuff when it finishes On Tue, Jun 3, 2008 at 7:19 AM, Paul Stanton [EMAIL PROTECTED] wrote: Hi all

notice: users of autocompleter

2008-07-24 Thread Paul Stanton
I've recently noticed that the autocompleter runs the getValues method twice for every search string. Therefore you can improve performance by almost 50% by adding some simple caching, especially if your search is driven externally (ie DB). For example: public class MyAutocompleteModel

Tapestry 4.1 app

2008-08-06 Thread Paul Stanton
http://www.gunnsoft.com.au:8080/Budget/ I've been working on this for a while, and feel it's nearing stability. Feel free to have a play around. It's free. Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tapestry 4.1 app

2008-08-07 Thread Paul Stanton
Sortable: i'd use the contrib.table component group, but that's not a priority. Security: an in house approach handled at two levels - firstly page level, so each request is subjected to a credentials check - and secondly at controller level so each controller method double checks that the

Hivemind eager loading of a service which references tapestry services is not possible

2007-04-22 Thread Paul Stanton
(in ApplicationServlet.init) solves this, and equally possible that I've missed an obvious alternative. I've got a thread with all the relevant details: http://www.tapestryforums.com/can-hivemind-call-something-after-all-set-objects-vt9931.html -- Paul Stanton Gunn Software PH: (02) 9918 3666 (ext 503

@Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
anyone come across this problem? Has anyone successfully used booleans in meta data via the page specification as opposed to class annotations? -- Paul Stanton Gunn Software PH: (02) 9918 3666 (ext 503) - To unsubscribe, e

Re: @Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
with booleans works. Paul Stanton wrote: I saw a neat solution to meta data using annotations in the Vlib example that comes bundled with Tapestry 4.1.1. *Code:* @Meta({anonymous-access=false, admin-page=false}) public abstract class VlibPage extends BasePage implements IErrorProperty

Re: @Meta and @InjectMeta with a boolean type

2007-04-22 Thread Paul Stanton
Thanks Jesse! I'll upgrade as soon as 4.1.2 is released. http://www.tapestryforums.com/ Jesse Kuhnert wrote: Ah...I knew this sounded familiar. I think it's fixed in 4.1.2-snapshot https://issues.apache.org/jira/browse/TAPESTRY-1204 On 4/22/07, Paul Stanton [EMAIL PROTECTED] wrote: If I

Tapestry Forum

2007-04-23 Thread Paul Stanton
It would be great to get a few of you over at http://www.tapestryforums.com/ I've signed up as a moderator to help out with the spam issues, but the place could really benefit from your knowledge. Paul. - To unsubscribe,

Re: Tapestry Forum

2007-04-23 Thread Paul Stanton
. What do we need the forums for? Kalle On 4/23/07, Paul Stanton [EMAIL PROTECTED] wrote: It would be great to get a few of you over at http://www.tapestryforums.com/ I've signed up as a moderator to help out with the spam issues, but the place could really benefit from your knowledge. Paul

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-23 Thread Paul Stanton
configuration point: http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.init.ApplicationInitializers.html On 4/22/07, Paul Stanton [EMAIL PROTECTED] wrote: I'm trying to avoid Spring and use Hivemind to manage my Hibernate service. It's pretty basic stuff but one basic feature

Re: Hivemind eager loading of a service which references tapestry services is not possible

2007-04-25 Thread Paul Stanton
(ApplicationServlet.java:198) Howard Lewis Ship wrote: Check your console; there is almost certainly additional output describing why the code failed. On 4/25/07, Paul Stanton [EMAIL PROTECTED] wrote: Thanks Marcus, I think I'm closer but it still doesn't work. I've updated my hivemodule.xml, so

continue from same point after log in

2007-04-26 Thread Paul Stanton
; } throw new RedirectException(getForwardTo()); } setError(Invalid login. Please try again.); return this; } } Login.html: ... input type=hidden jwcid=[EMAIL PROTECTED] value=ognl:forwardTo/ ... -- Paul Stanton Gunn Software PH: (02) 9918 3666 (ext 503

Re: Some Basic Form Handling

2007-05-02 Thread Paul Stanton
) in Tapestry 5. Can anyone point me in the right direction? Thanks, Don -- Paul Stanton Gunn Software PH: (02) 9918 3666 (ext 503) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: simple ajax text update help please

2007-05-05 Thread Paul Stanton
Not sure that helps .. you can see my html files so you should be able to tell what is rendered. my question is what other registration do I have to perform to be able to utilise the updateComponent method? How do I identify my node etc. Thanks in advance Jesse Kuhnert wrote: I probably

page under web-inf subdirectory won't load

2007-05-10 Thread Paul Stanton
Hi, Here's how I would like to organise my templates: * security of storing my html files under web-inf * organisation of subdirectories * no page specifications So my desired structure is: name: Page1 and module/Page2 template: WEB-INF/Page1.html and WEB-INF/module/Page2.html java:

Re: instantiate abstract asset class

2007-05-10 Thread Paul Stanton
maybe my problem is more to do with hivemind: basically i have an asset class (developed by someone else) which is non abstract, but still needs to reference a hivemind service. How can I have the service injected? I've tried using setter method injection, but since the asset class is not

@Style load order

2007-05-13 Thread Paul Stanton
My Border component loads a base style. I'd like to be able to override CSS declarations with subsequent style sheets defined in pages which use the border component. This would be possible if I could only force the page's style to be rendered after the Border components style. CSS Overriding

Re: @Style load order

2007-05-13 Thread Paul Stanton
never mind, i worked it out. :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: page under web-inf subdirectory won't load

2007-05-21 Thread Paul Stanton
was thinking of trying to add in some guessing sort of strategy for things but this will require a lot of thought to get right ) On 5/14/07, Paul Stanton [EMAIL PROTECTED] wrote: I'm using tapestry 4.1 Paul Stanton wrote: Hi, Here's how I would like to organise my templates: * security

Re: page under web-inf subdirectory won't load

2007-05-21 Thread Paul Stanton
:O OK .. thanks When is 4.1.2 expected to have a production ready release? Jesse Kuhnert wrote: That ~is~ what happens in 4.1.2. ..so.Maybe you should just try that out. On 5/21/07, Paul Stanton [EMAIL PROTECTED] wrote: OK, so the strategy seems primed for a fairly limited approach

Re: page under web-inf subdirectory won't load

2007-05-21 Thread Paul Stanton
Wow, that's cool. I was expecting you to say when it's ready ... :) Jesse Kuhnert wrote: I'm not sure. My most reliable ognl tester had the nerve to go on some kind of honeymoon this week so the lack of reported issues may be a false positive. ...I think I really need to get this out the door

Re: expert needed

2007-05-22 Thread Paul Stanton
. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages

Re: expert needed

2007-05-22 Thread Paul Stanton
myself. - Original Message - From: Paul Stanton [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Monday, May 14, 2007 8:56:54 PM (GMT-0500) America/New_York Subject: expert needed Tapestry 4.1 I've got a set of anchors (a) which are common for a group of pages

Re: expert needed

2007-05-22 Thread Paul Stanton
the pages are and what the links would do on each of the pages? That may help with finding a solution to your problem! -Ben On 5/22/07, Paul Stanton [EMAIL PROTECTED] wrote: Actually, I think something is missing .. how do I tell the links that I want to submit a form if a form is present? ie, I

Re: expert needed

2007-05-23 Thread Paul Stanton
thing in the morning too. -Ben On 5/22/07, Paul Stanton [EMAIL PROTECTED] wrote: Basically I have a tab structure with 5 tabs, each is an individual page. The tabs are contained within my border component, the content with the tab is defined in the page template. Now 2 of the pages have no form

Re: expert needed

2007-05-23 Thread Paul Stanton
thanks nick. Nick Westgate wrote: Paul Stanton wrote: Hmm.. I guess what I don't get is how you can submit a form from a DirectLink component. I'm guessing you can't, unless you emulate what LinkSubmit does: http://tapestry.apache.org/tapestry4.1/components/form/linksubmit.html In my

Re: expert needed

2007-05-23 Thread Paul Stanton
of a LinkSubmit once the form is submitted? using this to decide which link was clicked sounds tidier than using the parameters attribute. Thanks again all of you. Nick Westgate wrote: Paul Stanton wrote: Hmm.. I guess what I don't get is how you can submit a form from a DirectLink component. I'm

Re: expert needed

2007-05-23 Thread Paul Stanton
Thanks, I've figured it out now, hadn't read the doc on 'selected' attribute :( Nick Westgate wrote: Isn't this just a field of your page base class? In T4 you can inherit, which should be great. In T3 I had to add the property to each .page file. Cheers, Nick. Paul Stanton wrote: thanks

updateComponent breaks rendering

2007-05-25 Thread Paul Stanton
Hi fellas, Tapestry 4.1.1 I'm trying to use ajax to update a common component without re-rendering the whole page, which works to some extent... Basically I call updateComponent on the top most div inside this component, as there are a number of sub components each of which need to update.

Re: updateComponent breaks rendering

2007-05-28 Thread Paul Stanton
saw it ) is probably fixed in 4.1.2. On 5/25/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi fellas, Tapestry 4.1.1 I'm trying to use ajax to update a common component without re-rendering the whole page, which works to some extent... Basically I call updateComponent on the top most div inside

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Paul Stanton
where do i vote, i need it released desperately. Jesse Kuhnert wrote: I think I'm going to start a vote to release it this week, so if that goes well possibly this week. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: XML translator/validator

2007-05-28 Thread Paul Stanton
digester? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

thickbox or dojo alternative

2007-05-29 Thread Paul Stanton
Hello, I need to dynamically load a form into a dialog (not a popup) such as thickbox or a dojo dialog and then submit the parent page once the dialog form is submitted. The behaviour is as follows: 1. user clicks listed item on parent page 2. modal dialog is displayed populated with listed

Re: thickbox or dojo alternative

2007-05-29 Thread Paul Stanton
Thanks Renat, Very helpful. Renat Zubairov wrote: Hello, We are using the same scenario in our project http://code.google.com/p/bookie Check CategoryAdmin.html page for example: http://bookie.googlecode.com/svn/trunk/bookie-web/src/main/webapp/admin/CategoryAdmin.html Renat

scrolling window : dojo dialog vs thickbox

2007-05-29 Thread Paul Stanton
(4.1.1) I'm using a dojo dialog to dynamically display a form. I've noticed that when I scroll the page (browser scroll) while the form is displayed, the shadow does not take up the whole page (momentarily) ie you can see white at the top or bottom of the page instead of the tint. Also the

dojo dialog to populate portion of form and submit

2007-05-29 Thread Paul Stanton
4.1.1 Firstly, I'm pretty sure what I'm trying to do is not possible, so read on with that in mind. My border component defines my form. This is necessary because I have a tabbed structure where the tabs are LinkSubmit's and need to be associated with a Form. My page has part of the form

Re: dojo dialog to populate portion of form and submit

2007-05-30 Thread Paul Stanton
this dialog issue). Any suggestions welcome. Paul. Paul Stanton wrote: 4.1.1 Firstly, I'm pretty sure what I'm trying to do is not possible, so read on with that in mind. My border component defines my form. This is necessary because I have a tabbed structure where the tabs

  1   2   3   4   5   6   >