Quick Overview:
I want to create a set of pages that implement a common reporting feature
set that I'm going to use in 2, possibly more, different applications. It
would seem like creating a tapestry library, much like the Contrib library,
to use in our applications would be a good thing.
I've t
Hello All,
I have a page with 2 forms on it. The first form only has a select in it and
the contents of the second form depend on the selection of select in the first
form. No I tried to put an @EventListener to listen when the select changed
its contents. When I did this the index that was
I keep on with my conversation alone ...
... and i have just tried to test the code from Tapestry documentation
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Radio.html
and get the same result : the label of the radiogroup is not displayed
()
Ha
I haven't tried it, though I've experimented (recently!) with Groovy.
JRuby lacks the ability to annotate fields and declare types that are
used in Java and Groovy component classes. I can't see it working
very well.
On Wed, Mar 12, 2008 at 9:08 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi
Hello,
I would like to have a table with form fields where each row stands for the
values of one data set. Furthermore, I would like to allow the user to add
new rows on the fly, preferably using client-side actions without reloading
the entire page. Is there any best practice to accomplish that?
> The question I ask myself is how and where would we use
> scripting, and why would it be useful.
I might be mis-interpretting your statement, but it sounds like you're
thinking about scripting as a runtime extension model. I think that's
one usecase for groovy, or jruby. The other usecase is ac
But we want the component to have html and body elements (unless I
misunderstood your sentence), so that the component maintains
previewability and can be authored on it's own. When one places a
t:container inside the body element of a component, only elements
inside of the t:container shou
I have added a 4.1 Howto page, and put an updated version of the EclipseWTP
howto on it. I'm not sure having the information in two places is a good
idea. I ran through the last Howto with unusual versions of software (java
1.7 on Ubuntu 8.04), so I'll run through it on a more common setup (java
1
Hi Angelo,
We are using T5 with Tomcat 6, no problems.
Marcus
Changing from @ScriptIncludes to @Shell solved this problem. Thanks!
Matt
Andreas Andreou wrote:
>
> Unfortunately discovered after the release, this was
> https://issues.apache.org/jira/browse/TAPESTRY-2171
>
> is 4.1.6-SNAPSHOT out of the question?
>
> On Wed, Mar 12, 2008 at 7:04 PM, mrai
I agree it should go in 5.0.12; I may find time over the weekend.
On Wed, Mar 12, 2008 at 2:13 AM, Adriaan Joubert <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> echoing Peter, it would be great to see support for a trailing suffix.
> I put in a JIRA
>
> https://issues.apache.org/jira/browse/TAPESTRY-2
Unfortunately discovered after the release, this was
https://issues.apache.org/jira/browse/TAPESTRY-2171
is 4.1.6-SNAPSHOT out of the question?
On Wed, Mar 12, 2008 at 7:04 PM, mraible <[EMAIL PROTECTED]> wrote:
>
> I tried to upgrade Tapestry 4.1.3 to 4.1.5 (and Tacos 4.1.1) today.
> Unfortuna
I tried to upgrade Tapestry 4.1.3 to 4.1.5 (and Tacos 4.1.1) today.
Unfortunately, I get the following error. Any ideas?
An Error Occurred
Missing classpath resource '/dojo-0.4.3/dojo2.js'.
An Error has occurred in this application. You may attempt to restart the
application.
[ +/- ] Exception:
Quote:
This How-To was written and tested with the following configuration:
* Tapestry 4.0
So if you change this HOWTO to use T4.1's DTD please also make sure that everything else works with
T4.1 and update the "Tested Configuration" section. You should also emphasize somewhere in the
beg
Andreas Andreou a écrit :
not sure - on the other hand, i've seen groovy in T4 and T5
T5 also used to work with Scala, but I didn't test since a while. So it
seems quite friendly with other JVM language, even if it uses a lot of
bytescript manipulation.
Saying that, I'm thinking that JRuby c
I've not looked at groovy integration, but I've often thought of how one
might integrate scripting. T5Components provides a scripting service
built on BSF, which gives you access to a large number of scripting
languages. The question I ask myself is how and where would we use
scripting, and why wou
I've forgot to give you the result HTML code for the label :
Stephane
Stephane Decleire a écrit :
I can't figure out how to show the label of a RadioGroup ...
I have tried what i used to do with other form components without
success ...
t:label="literal:optin-label" t:validate="required">
not sure - on the other hand, i've seen groovy in T4 and T5
On Wed, Mar 12, 2008 at 6:08 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it possible to use Jruby with T5? any advantages ? just curious.
>
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-Jrub
Hi Angelo,
Sorry I am out of luck here. Are you meaning the client side
validation
(you may switch it off for the sake of first testing) or server side
validation.
Since Server side validation should work, I guess you mean the client
side one.
As far as I remember the client side validation
I can't figure out how to show the label of a RadioGroup ...
I have tried what i used to do with other form components without
success ...
t:label="literal:optin-label" t:validate="required">
Any idea ?
Stephane
Hi,
Is it possible to use Jruby with T5? any advantages ? just curious.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Jruby-tp16005842p16005842.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
sure, go ahead - the 4.1 dtd is correct
On Wed, Mar 12, 2008 at 5:50 PM, Laurence Dawson <[EMAIL PROTECTED]> wrote:
> In the article HowToSetupEclipseWtp on the tapestry wiki at
> http://wiki.apache.org/tapestry/HowToSetupEclipseWtp there is a
> section that uses the dtd in the tapestry 4.1.2 ja
In the article HowToSetupEclipseWtp on the tapestry wiki at
http://wiki.apache.org/tapestry/HowToSetupEclipseWtp there is a
section that uses the dtd in the tapestry 4.1.2 jar file. The quote is
:
"Directly after Tapestry_4.1.2.jar, type
!/org/apache/tapestry/parse/Tapestry_4_0.dtd"
At least in
Hi Chris,
I do like to see your updated wiki, there are quite a number of wiki
articles that need to be either updated or remove considering t5 already
reach 5.0.11, however the dispatcher article still works as of now, in fact,
the ideas might be merged into a sub module, say, Tapestry-access or
Yes, assets are the way to go - they solve the path issues
On Tue, Mar 11, 2008 at 6:47 PM, Stroeber, Andreas
<[EMAIL PROTECTED]> wrote:
> OK... I found a way to do this. I would call it a "workaround" as it is not
> very pretty to configure things at multiple different code locations. :-( If
>
hi,
the HibernateEntityValueEncoder creates ValueEncoder for every
contributed Entity class that's nice... but if i submit a page with a
select component that used a list of entities to generate the selection
model i will receive an exception if no option was selected! this is
because the Va
A couple of quick points:
I specifically avoid using annotations to mark pages as protected
because I want the option of modifying permissions at runtime. Therefore
the access controller would use a delegate to provide the matrix of
pages names to role/user permissions. If you've read the dispatch
I've already found my answer in the magical
@Inject
private FieldValidatorSource _fieldValidatorSource;
with the
_fieldValidatorSource.createValidator(this, "myRegistredValidator", null);
everything works fine !
Bye
-Rick
Riccardo Ruffilli wrote:
>
> Hi All,
>
> I'm working on
Hi All,
We use the occasional beanform on our site which generates some select
boxes, recent snapshots introduced the blankOption property, a handy
feature, but it appears to have a default value of "literal:auto" , the
trouble with this is that it introduces a null/empty field in every
beanf
It doesn't work on Firefox for me ...
And i don't think the error returned deals with the client.
Ted Steen a écrit :
This example only works with 5.0.11.
I tried it with Internet Explorer just now and I see that the ajax form is
submitted and the form is updated (correct), but the click event a
Hi Kris and Martin,
Javascript works, however, here is a little problem, i display the message
when user submits, but if onValidationFromForm sends back an error message,
user has to correct some mistake, so the message is always display
regardless if the onSuccess is called or not, might be nice
Hi All,
I'm working on validator class in my t5 application, and I've defined my own
validator
that implements Validator I've registred them like t5
contribution in
my AppModule.java and then I can use them easily in my tag with the
parameter validator="validate:myownvalidator".
With the valid
I've got the same error in Firefox (v2.0.0.12) when triggering the
button ... :-(
Stephane
Sabine K. a écrit :
Hi,
this works perfect with the Firefox. With the Internet Explorer it gives by
triggering the submit button, the link works:
org.apache.tapestry.runtime.ComponentEventException
A
Hi,
I have two buttons in a form, 'prev' and 'next', when user click the 'prev',
it should go back to a previous page without any validation, however,
onValidate fires earlier than onSelectedFromPrev, so the validation is
performed, is there a way to by pass this behavour? thanks.
private bool
This is an interesting approach, I found the access controller Chris
wrote a great starting point... but I use the inverse approach to
Stephanie by protecting everything by default, but we are developing an
extranet though which is a slightly different implementation. The
annotations are a nice
Hi Angelo,
> Often I have to process something for a while before returning a new
page,
> I'd like to inform users to wait for a while, any easy way to do this?
> thanks.
Idea 1: Use a page redirect
Page.onSubmit -> RedirectToLoadingPage -> LoadingPage displays ->
RedirectToAnswerPage
(The Answ
hi,
use some Javascript that will display a nice "Please wait..." dialog
when a user performs a submit/click. you can achieve this by creating
a mixin that will render that portion of the javascript that registers an
javascript event handler for the desired event and component id
g,
kris
An
Hi,
Often I have to process something for a while before returning a new page,
I'd like to inform users to wait for a while, any easy way to do this?
thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-Please-wait-before-I-show-you-next-page-tp16000636p16000636.html
Sent
This example only works with 5.0.11.
I tried it with Internet Explorer just now and I see that the ajax form is
submitted and the form is updated (correct), but the click event appears to
go all the way to IE and the form is also submitted by IE. This is wrong,
and it is the cause for the Component
Hi,
echoing Peter, it would be great to see support for a trailing suffix.
I put in a JIRA
https://issues.apache.org/jira/browse/TAPESTRY-2236
for this, with the few lines of code that should fix this issue. Any
chance of putting these into the 5.0.12 snapshot?
Cheers,
Adriaan
--
it seems, that zones are updated by action links or even links. is it possible to update a zone if
the value of a select changes?
ty
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi,
this works perfect with the Firefox. With the Internet Explorer it gives by
triggering the submit button, the link works:
org.apache.tapestry.runtime.ComponentEventException
A component event handler method returned the value
[EMAIL PROTECTED] Return type
org.apache.tapestry.internal.struct
Of course, as i say on the wiki, to keep the sample simple, i have
defined the status of the user to be "logged in" or "logged out" but one
or several parameters can easily added to the annotation to define
several level of authentification !
Stephane
Angelo Chen a écrit :
Hi Stephane,
I ha
43 matches
Mail list logo