I'm also have a problem trying to run "mvn jetty:run". I get:
: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-plugins:pom:8
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
codehaus.snapshots (http://snapshots.repository.c
What is the recommended way to handle a Cancel button on a form? The
expected behaviour would be to clear the internal state, bypass
validation and move to a different page. I tried:
@OnEvent(component="Cancel")
String onCancel()
{
surveySession.setSurvey(null);
return "Start";
}
wher
There was a discussion last week on the same topic. Howard said that the
best way was to keep a flag like "cancelSelected" and turn it on on the
"selected" event. Then in the form "submit" event look to it and do what it
needs to do.
I think that it is very incovenient, it's a common use case havi
Perhaps I am wrong in my thinking, the jar itself is not in the
directory on the repo. Anybody know of a repo that WOULD have it?
Thanks,
Steve Maring
Steve Maring wrote:
I'm also have a problem trying to run "mvn jetty:run". I get:
: Unable to download the artifact from any repository
o
Pablo Ruggia wrote:
>
> There was a discussion last week on the same topic. Howard said that the
> best way was to keep a flag like "cancelSelected" and turn it on on the
> "selected" event. Then in the form "submit" event look to it and do what
> it
> needs to do.
> I think that it is very inc
I am using the latest Tap 4.1.2 snapshot.
The following ognl expression used to worked with ognl
2.6.
But I have the following exception when I used ognl
2.7.
Unable to parse OGNL expression 'new
int[nToDefaultBean.basketSize]': Error compiling
expression on object
[EMAIL PROTECTED]/creditDe
I am writing a acegi filter that needs to send a redirect to a specific
tapestry page. For now, I will just do a static absolute url (i.e.
"/authsumserver/app?page=GroupRegistration&service=page") but knowing that this
is a fragile solution, I was wondering if there is a way to call a tapestry
I have a TextField on a Form which is bound to a Double property. This
field is not required so it is OK for the user to leave it empty. But
when Tapestry updates the property, a NullPointerException is thrown:
Caused by: java.lang.RuntimeException: Coercion of null to type
java.lang.Double (via
I've never thought of this combination; I'm honestly not sure what the
web browser does in this situation. Clarification there would be a
good idea before guessing what Tapestry should do.
On 3/22/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:
Hi,
If i add an action link to a plain html button,
This issue has been driving me crazy, right when I've started with a
new client and don't have spare cycles to look into it.
I suspect there's an alpha version of some critical Maven plugin that
Tapestry is picking up by mistake. The right solution is probably to
go find the offending plugin and
How about cancel ?
Why should it be necessary to do a form submission, just to discard
all the data in the form?
If you want, you can use CSS to dress up the link to look like a form
submit button.
I think having this cancel feature in T4 was a mistake that caused
more problems than it solved.
Have you thought about using a specialized class value for links &
etc. that are going to be involved in the test suite, and then
selecting by class instead of id?
Just an idea ...
On 3/23/07, Doug Hauge <[EMAIL PROTECTED]> wrote:
Thanks for the response. We are in the process of migrating our
Howard Lewis Ship wrote:
>
> How about cancel ?
>
> Why should it be necessary to do a form submission, just to discard
> all the data in the form?
>
> If you want, you can use CSS to dress up the link to look like a form
> submit button.
Right. Actually that's pretty smart and more in compl
Thanks Howard,
The CSS hack would problably work but I'd rather consider other
options. I could for instance use some image buttons which have the
same look and feel for both "Submit" and "Cancel". Does tapestry
provide the equivalent of for form submission?
Bogdan.
On 3/24/07, Stephan Schwab
No, is not yet supported, but I'm thinking of
adding an image parameter to the Submit component (rather than create
an ImageSubmit component).
On 3/24/07, Bogdan Calmac <[EMAIL PROTECTED]> wrote:
Thanks Howard,
The CSS hack would problably work but I'd rather consider other
options. I could fo
This is correct behavior for rendering HTML (as opposed to XHTML).
Unlike T4, T5 knows the difference. HTML is a SGML language where
open tags are not necessarly balanced with close tags.
What's coming is the ability for Tapestry to render XML/XHTML
correctly and choose the correct strategy (HTM
That's useful enough that someone should add a JIRA issue suggesting
we supply that as a standard component.
On 3/22/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
i think a better strategy is to reduce the sesion-timeout in the
web.xml to lets say 2mins and to implement a javascript functio
Don't we already? ;)
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/timeout.html
On 3/24/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
That's useful enough that someone should add a JIRA issue suggesting
we supply that as a standard component.
On 3/22/07, Kristia
You have to reference it in your .script file somewhere in the content
area right?
like:
${insertRow} = function() {
//even though you can't actually insert a row ie won't let you
document.getElementById("someid").appendNode(document.createTextNode("blah"));
}
On 3/22/07, Tomić Mirko <[EM
Trying giving it the binding :
instead. (the literal should be the service name of your service as it
is defined in your hivemind configuration contribution )
On 3/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I' trying to convert an old, pre 3.0 tapestry application to T4.1. Although i
Yep.
On 3/23/07, Martino Piccinato <[EMAIL PROTECTED]> wrote:
Ok,
I reply to myself hoping this would be of any help for somebody else.
Is as simple as to make your own IValidationDelegate and override (exemple)
this method:
public void writeAttributes(IMarkupWriter writer, IRequestCycle cycle
It probably works now.
On 3/24/07, Shing Hing Man <[EMAIL PROTECTED]> wrote:
I am using the latest Tap 4.1.2 snapshot.
The following ognl expression used to worked with ognl
2.6.
But I have the following exception when I used ognl
2.7.
Unable to parse OGNL expression 'new
int[nToDefaultBe
Sounds un-fun.
If you capture a sample request via fiddler / wireshark (plugins / dev
utilities for ie) I can at least tell you what is going wrong. I'm
less sure I can tell you how to fix it. I'm semi familiar with squid -
but this doesn't sound like the same kind of situation.
On 3/23/07, Maxi
Hi All,
I'm having some problems with JPA and translators.
I have been able to set up a number of pages for CRUD, but in one class
I am using Joda's Time and Date library (specifically the DateTime
class). Now it came as no surprise that this class can't be used
directly from the HTML form a
24 matches
Mail list logo