For what its worth I'm not doing any tinkering/contributing in my app
module. I had simply added tapestry-hibernate to my project and was
@Injecting the Session as needed. What is really odd is that it works
with the mvn jetty plugin but not through eclipse...
Josh Canfield wrote:
I haven't s
The only profiling tool I've liked for java - outside of hand crafted
solutions - has been yourkit.
On 10/16/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
> getList();
>
> I was wondering what performance tools/packages you would recommend
> for both model and WUI portions of a web application. (BTW
There is a Conditional component:
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Conditional.html
But much more useful are the If, Else and For components here:
http://www.t-deli.com/
If you want to disable links then Paul has already given you the solution.
DirectLink has a boolean
There is no @if in T3
I need to disable the direct link fields on the last column according to the
2nd column's value.
e.g. if table's 2nd column value is 'Failed' of any row then I want to
disable the last field of that row.
And if 2nd column value is 'Passed' then I want to leave enable the fi
It's not clear what you mean by enable/disable.
You can use @If when you want to include/exclude content.
Cheers,
Nick.
Nazmul Bhuiyan wrote:
I'm using T3.
I'm trying to enable/disable last table cell according to my 2nd column
value.
My code below:
-span jwcid="@Insert" value="ognl
CHeck out the GrinderIt should be able to serve your needs
On 10/16/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
>
> getList();
>
> I was wondering what performance tools/packages you would recommend
> for both model and WUI portions of a web application. (BTW I am not
> using EJBs)
>
> I haven'
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 ad
I'm using T3.
I'm trying to enable/disable last table cell according to my 2nd column
value.
My code below:
-span jwcid="@Insert" value="ognl:currentBatch.bchBatchId">Id
-span jwcid="@Insert"
value="ognl:currentBatch.bchPassFailInd">Pass
a
T5 or T4?
T4 you can do:
Passed
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 'DirectLink' column according to the 2nd
column 'Stat
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 'DirectLink' column according to the 2nd
column 'Status'.
Is there any one know how to do this?
Thanks
Naz
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 in
Is there a new roadmap for the release of T5? The website says Fall 2007 and
includes a note that the release has slipped ...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I haven't spent any more time with it since last night. I'm using Tomcat,
and tried both through intellij and through mvn tomcat:deploy both get the
same error. I'll be spending more time with it tonight, if I figure out the
exact problem I'll let you know.
It's possible that I'm doing something i
I need to allow for easy table editing by adding an edit and delete
button to a table (using Contrib's Table.) Adding the buttons is
fairly easy, but what's the best way to allow for inline editing? I'd
need to change the row to a row of edit fields instead of text fields.
The next question
I am still (with svn rev 585254). My error is different from Josh's, and
mine also works using the mvn jetty plugin - just not through eclipse. I
wonder if it could be an issue with jetty 5's class loaders, but I doubt
that.
Dan Adams wrote:
Are you guys still getting errors with this?
On Tu
Sorry, mistakenly hit "Reply to all" and sent you the email to your address
too...
2007/10/16, Christian Dutaret <[EMAIL PROTECTED]>:
>
> I have something similar to your case 2, except that instead of :
>
> I have :
>
> (the updateComponents attribute refers to components, not element id)
>
> A
I have something similar to your case 2, except that instead of :
I have :
(the updateComponents attribute refers to components, not element id)
And it works fine for me
HTH
Ch.
2007/10/15, Stephane Decleire <[EMAIL PROTECTED]>:
>
> Hi,
>
> Does anybody has an idea why the content of such dial
getList();
I was wondering what performance tools/packages you would recommend
for both model and WUI portions of a web application. (BTW I am not
using EJBs)
I haven't really done any performance/load testing on my application,
but I'd like to. Right now my SQL queries are the slowest part of
I'm implementing a ValidationDecorator that decorates required fields
with a "*". In T4 you could do isRequired() or something on the field
but in T5 how do you tell if a field is required? Is this something that
we need to add?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.58
Are you guys still getting errors with this?
On Tue, 2007-10-16 at 10:29 -0700, Josh Canfield wrote:
> I grabbed the nightly build and also ran into problems with my hibernate
> module. I was getting an error that
> org.apache.tapestry.ioc.Configurationhad no implementation.
>
> The hibernate con
I can't compile anything right now, but I would guess that you need a
getter/setter for schoolId (String getSchoolId(), setSchoolId(String))
If you have the getter/setter already then add t:value="schoolId".
On 10/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi Josh,
>
> i tried your code
I grabbed the nightly build and also ran into problems with my hibernate
module. I was getting an error that
org.apache.tapestry.ioc.Configurationhad no implementation.
The hibernate configuration was changed recently for this defect:
https://issues.apache.org/jira/browse/TAPESTRY-1372 it could be
Hi Josh,
i tried your code, here is my version:
private HashMap _schoolModel;
private String _schoolId;
public HashMap getschoolModel() {
return _schoolModel;
}
void setupRender() {
_schoolModel.put("1", "student 1");
_schoolModel.put("2", "student 2");
Hi Bob,
I've seen something similar happen when I build via eclipse/intellij into
the same output folder that I build with maven. You end up with your module
being defined in both the jar created by maven and WEB-INF/classes folder.
Both seem to get processed by Tapestry.
I've switched to buildin
Hi Angelo,
Profile.java:
public enum Profile {
T, S;
}
Pagina.properties:
T=Teacher
S=Studend
Pagina.java:
-
public class Pagina {
@Persist
private Profile _profile;
public Profile getProfile() { return _profile; }
p
Hello,
I'm working on a couple of components and mixins that need to get the
value of a form field - specifically a textfield or textarea component.
I'm sure this was mulled over before making the decision, but why does
it seem so difficult (if not impossible) to programmatically retrieve
the
I updated and built 5.0.6-SNAPSHOT today, and now I get a goofy error
when running my app through the eclipse jetty launcher (which has worked
fine). Firstly let me say that I've been building 5.0.6 daily for a week
or 2 now, and I've not run into this before now.
If I try to access a page tha
Using outputRaw in combination with literal: did not work. Neither did a
CDATA section.
I worked around that problem by using a properties file for the text.
Hans Joerg
SergeEby wrote:
> Hi,
>
> Did you try the "literal:" binding prefix?
>
> ---
> /Serge
>
>
> Hans Jörg Hessmann wrote:
>
>> H
Is this something in my config (do we not need upload anymore) or is
this a bug? Newbie here, thank you for your patience.
SEVERE: Exception starting filter app
java.lang.RuntimeException: Service id 'MultipartDecoder' has already
been defined by
org.apache.tapestry.upload.services.UploadModul
No I do not think you can do that. Maybe in Flash.
As a user, I wouldn't expect that to be possible.
On 10/16/07, Tapestry240 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> Is there a way to do a multiple select from a drop down. I am not asking
> about the list box but a drop down(one row) where
Hi everyone,
Is there a way to do a multiple select from a drop down. I am not asking
about the list box but a drop down(one row) where I can do multiple select.
Thanks in advance,
Prabhat
--
View this message in context:
http://www.nabble.com/multiple-select-dropdown-tf4634807.html#a13235603
S
On 10/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> lasitha wrote:
> >
> > If you really want your values to be different from the labels ('S'
> > instead of 'Student'), you can use a Map...
> >
>
> Now I really need something like that, can you show me a simple example?
Josh recently posted a
You can definitely use T5 without maven, although it can be a pain to
download all those dependencies, which is a major feature maven would
do for you.
If you can get all the JAR files that are required, just make sure
they are in your classpath, which would probably be set in your IDE.
Of course
Hi Lasitha,
Now I really need something like that, can you show me a simple example?
thanks.
lasitha wrote:
>
> If you really want your values to be different from the labels ('S'
> instead of 'Student'), you can use a Map for your
> model. The value submitted back into your 'profile' variabl
Yes, I did that too, and also copied all the Form classes
and modified the ValidationTracker persistence directly.
Between requests the form cannot be caching anything unless
the pooling is not cleaning up properly, or else the flash
persist must be broken somehow. Unfortunately, I don't have
tim
hi nick,
if you debug your (our) alternative form component you
will see that the ValidationTracker mytracker is NOT null
if you just refresh the page (breakpoint at getDefaultTracker).
and contains the old values.
i suppose "flash" does not cleanup the objects correctly
and leaves them in th
I'd love to extend it, specifically to address the issues I summarized
at the end. If you have input please share. BTW, I'm currently located
in Italy :-)
Massimo Lusetti wrote:
On 10/15/07, Chris Lewis <[EMAIL PROTECTED]> wrote:
The article doesn't answer all the questions, but what I fe
> I have a problem. In my application that I am upgrading
> from T3 to T4.1.3
> I need to build up the list of pages dynamically
> on startup time.
To clearify:
I have specified all the pages file names and specification
paths in different
xml files (spring)- that reside in several
modules. T
i experience the same form behaviour. when i do a
ctrl+r on the page wih the error message displayed
it wont disappear although the onValidate method is
not called and the ValidationTracker has "flash" scope...
i must admit i dont understand why this happens, i've to
dig deeper. maybe some mo
On 10/15/07, Chris Lewis <[EMAIL PROTECTED]> wrote:
> The article doesn't answer all the questions, but what I feel are the
> bigger ones are covered. Feedback most welcome, and even more welcome on
> the IRC CHANNEL - #tapestry - irc.freenode.net (chrislewis).
That's nice and it's a good startin
Hi
I have a problem. In my application that I am upgrading
from T3 to T4.1.3
I need to build up the list of pages dynamically
on startup time. This we managed without problems
in T3 by subclassing the engine and accessing the
IApplicationSpecification there and add pages like this:
applicationSp
yes, you can.
Just copy ~/.m2/repository
--- MavenMan <[EMAIL PROTECTED]> a écrit :
>
> you are right ,thanks a lot .
> but my notebook is never connect Internet ,so can I
> transfer(copy) my local
> repository from one not offline computer to my
> notebook ?
>
>
>
> Julien HENRY wrote:
>
i'm using 5.0.6-SNAPSHOT and exprience some strange behaviour
on properties with @Persist("flash"). if i hit ctrl+r (page reload) the
properties are not set back properly and therefore their value remains.
... but i have to check whether this is an error on my side
i'll report back when i finish
Hmm, I'm seeing the same thing, although I only have an old T5.0.5 project
to play with at the moment. This will take some looking into.
Kris are you getting this behaviour?
Cheers,
Nick.
Angelo Chen wrote:
Hi Nick,
refreshing without a submit was my original question, but after applying
cle
Hi All,
Everyday I build Tapestry5.0.6 then add to my project. But recently when
I visit the pages of my project , I always get the same error like this :
HTTP ERROR: 500
java.lang.ClassNotFoundException: caught an exception while obtaining a class
file for org.apache.tapestry.corelib.pa
If you created your project using the maven archetype, you have one:
http://tapestry.apache.org/tapestry5/tutorial1/first.html
The documentation for modules is under tapestry-ioc:
http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html
Cheers,
Nick.
Mohammad Shamsi wrote:
No, I don't ha
On 10/16/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
> No, I don't have AppModule class,
> where can i find docs or guide for Application Module Class in T5
If you generated your projected with maven quickstart you should have
an xxx.yyy.services.AppModule class.
--
regards,
No, I don't have AppModule class,
where can i find docs or guide for Application Module Class in T5
On 10/16/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
>
> Have you changed the line in your AppModule.java to the following?
> configuration.add("tapestry.supported-locales", "en,de");
>
Chris,
FYI services do not primarily exist to provide functionality to an
application, Java code has all the mechanisms to do that. Services
provide the decoupling and abstraction desirable to prevent dependency
failures. The "service" aspect is the contract to reuse code. Services
are conduci
Hi Nick,
refreshing without a submit was my original question, but after applying
clearErrors(), I meant form fields got cleared while the error was displayed
under onValidate(), anyway I have tried your approach (b), here is the
result:
When I did :
public void onValidate() throws EncoderExcep
Have you changed the line in your AppModule.java to the following?
configuration.add("tapestry.supported-locales", "en,de");
Cheers,
Nick.
Mohammad Shamsi wrote:
Hi Nick,
I have just a Start Page, and 2 Property Files (Start.properties,
Start_de.properties)
i have an actionlinke in page
Hi Nick,
I have just a Start Page, and 2 Property Files (Start.properties,
Start_de.properties)
i have an actionlinke in page to change Locale,
here is my code in Start.java class to change locale :
@Inject
private PersistentLocale persistentLocale;
public void onActionFromChangeLocale(String
Thank you!
I was originally trying to do this with:
But I was getting an org.xml.sax.SAXParseException saying: "Content is not
allowed in prolog."
Adding this stuff to the script file and calling that did the trick!
Jim
andyhot wrote:
>
> Suggest includes Suggest.script which contains
>
You mean refreshing without a submit, right? So onValidate isn't
called in that case - only when the form submits. You can clear
the form errors in an event handler, but realistically this can
become problematic ...
It's likely that the behaviour you want can be provided by:
(a) copying and chan
you are right ,thanks a lot .
but my notebook is never connect Internet ,so can I transfer(copy) my local
repository from one not offline computer to my notebook ?
Julien HENRY wrote:
>
> Hi,
>
> The first time you get tapestry, simply go in a sample
> project and hit:
> mvn dependency:go-of
Hi Howard,
What is the right spot to use clearErrors()? I have code as follow:
public void onValidate() throws EncoderException {
_form.clearErrors();
// more validates...
}
if there is a previous error, it will be cleared, but if there is a new
error, all the fields are clea
The conclusion was that it should be researched in a branch.
Howard wants the AJAX support to be of the same quality as the rest
of the framework, so realistically this may take a while.
Cheers,
Nick.
Chris Lewis wrote:
Was it said that would be implemented? I mean I think it could be a good
Go ahead and add a JIRA. A patch to make it configurable would be great. ;-)
Actually I just remembered that it is configurable in that the persistence
strategy is inherited from the Form's container, but it seems most of us
agree that we don't want a default of flash for our pages - only for For
Suggest includes Suggest.script which contains
...
So, you could create you own S
A quick follow up to this thread from June:
Joel Wiegman btservices.com> writes:
>
> > "You can specify the additional module classes when creating the page
> > tester."
>
> Howard, could you go into a little more detail here? I didn't see a
> constructor arg or a method on PageTester for spec
60 matches
Mail list logo