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.
-
4.1.1
with the following example (pseudo code)
<@Dialog hidden on load="true">
<@Form async="false">
<@DropdownDatePicker translator="translator:date,format=dd/MM/"/>
When I submit the dialog's form with an invalid date ('01/01/206')
the page re-loads with the dialog a
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.
---
Hello,
I've managed to get a very rough implementation of cometd working with
tapestry/jetty/dojo. I've implemented it as a component, you can get
the source from here:
http://www.spry.net.au/?q=node/10
To get the full effect open up 2 browsers and point them at the webapp.
I'm putting this up
I already tried it on both fields and it doesn't work either way.
-Steve
andyhot wrote:
From
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Identity.html
" Apply this validator to the second field ... "
So, you need to do it the other way around, i.e. pass
From
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Identity.html
" Apply this validator to the second field ... "
So, you need to do it the other way around, i.e. pass the name of the
first field to your validator
and apply the validator to the second field -
On 6/4/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
Thank you Howard,
that works like a charm!
FWIW,
Removing the t:id parameters and keeping
href="prop:style"
That will work if there's a t:type, but not for ordinary elements.
seemed to work for the style sheet, but not for the images.
Cha
Ok I've updated to 4.1.2, thanks for those who helped getting me on
the right OGNL repository but and still can't seem to get the
InlineEditBox to change a property. Here is what I have:
page.html:
...
page.java
I'm trying to write a variant of the match/differ validators to check if
two fields have the same null state. I pass in the name of the second
field to the validator and can access that field with
TextField referent = (TextField)
field.getContainer().getComponent(_fieldName);
However, refer
Thank you Howard,
that works like a charm!
FWIW,
Removing the t:id parameters and keeping
href="prop:style"
seemed to work for the style sheet, but not for the images.
Changed all the "prop:abc" to "${abc}" and now everything is working fine.
Daniel
On 6/4/07, Howard Lewis Ship <[EMAIL PROT
Because expansions are now supported inside attributes (of non-component
elements), the need for the Any components has gone away. Now if you
specified a t:id you must define the type (it doesn't default to Any).
You can rewrite your template as:
On 6/4/07, Daniel Jue <[EMAIL PROTECTED]> wrot
Sorry, my initial post was misleading. It's not just CSS files, it's
all the injected Assets I have (images, etc).
For code like this, T5 also gives an error saying that I need to give a type.
@Inject
@Path("context:images/OACSIMLogo_Trans_DS2.jpg")
private Asset ieislogo;
Is this related to
Hi, this was working this morning, until the latest and greatest
snapshot came out today. How should we go about injecting a css file
now?
I had this:
@Inject
@Path("context:css/IEISStyle.css")
private Asset style;
And it was working fine.
But now I get this:
o
Arrgh, my mistake.
Missed the pageName.equals(_pageName) check in the encode method.
Sorry
> Using this setup in hivemodule.xml
>
>
>
> stateful-extension="sdirect" />
>
> object="instance:com.cumquatit.refapp.view.tapestry.viewencoders.ViewCardEncoder,pageName=p
I have T5 with tomcat running via eclipse (add servers/etc, the way it
is shown in some articles about using WTP with Tapestry and Tomcat).
I recently ran into an issue with using the maven tomcat plugin (i.e.
running mvn tomcat:run from a command line or Eclipses external
tools). So I've reverte
I would tend to use a mock IComponentSpecification, or a hand initialized
one.
There are not any magic tools here, though I suspect a lot of the plumbing
could be moved into base classes or helper classes.
On 6/4/07, carlos f <[EMAIL PROTECTED]> wrote:
Howard Lewis Ship wrote:
>
> But an int
Hi Jess,
Search your gmail messages for:
t5 tomcat eclipse
you will find something like this:
" (I use Eclipse WTP 1.5.3, so I have to run
mvn -Dwtpversion=1.5 eclipse:eclipse
whenever I add a new dependency. Then I refresh my eclipse view and it
autobuilds for me, which then causes Tomcat to
Using this setup in hivemodule.xml
Why is it that all of my external pages 'go through' the 'viewcard'
service encoder? I would have expected only 'pages/ResearchCardpage' being
encoded/decoded.
Hoping anyone can clear this up,
Thanks,
-J
--
Howard Lewis Ship wrote:
>
> But an integration test (either relatively contained, such as creating the
> EnhancementOperationImpl, or wider, such as firing up the app and testing
> with selenimum) is the only worthwhile way to
> ensure that generated code is correct.
>
I would like to as tigh
"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 specifying additional
modules.
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTEC
In a TestNG test, I'm calling:
Document doc = tester.renderPage("status/Start");
//IMPORTANT NOTE: This URL renders without error in a browser
This page renders a few components, and appears to be complaining about
one of them (the StoreHierarchy component). I'm using the Spring IoC
and am not
hi, in zope (www.zope.org ) i see a way to create a navigation bar, but this
is based in the files in the actually folder. This create a list of links to
the page that are in the actuall folder. maybe is posible copy this idea.
i don't know if this is avaible o funtionaly.
On 6/4/07, Jacob B
I do my day to day development with Jetty; I'm not sure what's up with
Tomcat in this regard. Have you configured Tomcat to operate against your
workspace files?
I like Jetty because it doesn't get in the way.
On 6/4/07, Jessica Sobieski <[EMAIL PROTECTED]> wrote:
I'm sorry. I could have been
My bad, I just uploaded the latest tapestry-core snapshot, which depends on
the latest tapestry-ioc.
On 6/4/07, Steven Coco <[EMAIL PROTECTED]> wrote:
I spoke a little to soon.
I dumped all those repositories into the POM and the project builds fine.
But
then I tried to run it. Both Jetty and
To be honest, I've been moving away from testing the actual code generation
towards your later observation, the create the class with the enhanced code
and see that it works.
To me that's a general maxum: with code generation, testing the generated
source isn't useful, testing the generated compi
I spoke a little to soon.
I dumped all those repositories into the POM and the project builds fine. But
then I tried to run it. Both Jetty and Tomcat throw a NoSuchMethodError. This
is the stack trace from Tomcat.
I have to step out just now but I thought I'd post the trace quickly.
Ciao.
Ju
No problem,
if you have any other questions just feel free to ask...
Cheers,
Jacob
César Augusto Mateus wrote:
>
> thank you very much Jacob, your help has been very valuable!!!
>
> On 6/4/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi Cesar,
>>
>> the datasource is defined in the w
thank you very much Jacob, your help has been very valuable!!!
On 6/4/07, Jacob Bergoo <[EMAIL PROTECTED]> wrote:
Hi Cesar,
the datasource is defined in the web.xml:
OracleDS
javax.sql.DataSource
Container
we tie everythin
I'm sorry. I could have been more precise. I'm new to Tapestry and I'm still
trying to figure out what is probably obvious to many. Anyway, I got the
form (with table inside) working but I had to restart my application (in
Tomcat application manager) What confused me is that I was under the
impres
Fixed it.
All I had to do was run the Maven archtype and copy the repository and plugin
repository elements: my POM was missing some of those I thought would be
obscure; but apparently more than one is needed even for a simple project.
So I'm all set: and I'm happily running Maven 2.0.6 and Tap
I have written an enhancement worker that adds some conditional logic to a
component.
The unit tests I have written rely on mock objects to verify the behavior
under test is appropriate. This is similar to the design of the unit tests
in the tapestry-framework project.
look at testStandard() as
I hadn't seen that before, it is exactly what I was trying to do.
Thanks,
Asim
On 6/2/07, Shing Hing Man <[EMAIL PROTECTED]> wrote:
Have you checked out the DynamicSelectionList
component
at
http://lombok.demon.co.uk/tapestry4Demo/app
?
Shing
--- Asim Khaja <[EMAIL PROTECTED]> wrote:
> BT
Hi Cesar,
the datasource is defined in the web.xml:
OracleDS
javax.sql.DataSource
Container
we tie everything togeather in jboss_service.xml:
java:OracleDS
java:/hibernate/Investaco
I found it easier to download trunk and build it,
I also disabled tests while mvn install to make it faster.
On 6/4/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
Search the list for a thread called Shipwreck downloading 5.0.5.
Towards the end there are helpful comments. You may have to tweak the
v
You always have access to the Request or HttpServletRequest.
On 6/4/07, Jan Vissers <[EMAIL PROTECTED]> wrote:
Is there a (safe) way to obtain the URL of the page being rendered, for
instance in "pageBeginRender" ?
-
To unsub
Hi Jacob, a question perhaps some foo:
You construct a bean sessionFactory with
org.springframework.jndi.JndiObjectFactoryBean,
in addition your bean dataSource is also a
org.springframework.jndi.JndiObjectFactoryBean.
My question is: it needs from bean sessionFactory the specification of a
data
I'm pretty sure it does. Do that all the time. Something must not be as it
seems.
http://www.catb.org/~esr/faqs/smart-questions.html
On 6/4/07, Jessica Sobieski <[EMAIL PROTECTED]> wrote:
Hi,
What is the proper (and easiest) way to controlling in a way it
renders final HTML? If I place tab
Hi,
What is the proper (and easiest) way to controlling in a way it
renders final HTML? If I place table inside it doesn't get
rendered.
Jess
Hi Jan,
try this:
in your java file:
@InjectObject("engine-service:external")
public abstract IEngineService getExternalService();
String linkURL = getExternalService().getLink(false, new
ExternalServiceParameter("YourPageName", new Object[] {parameter1,
parameter2, ...})).getURL());
Search the list for a thread called Shipwreck downloading 5.0.5.
Towards the end there are helpful comments. You may have to tweak the
version you want and/or the repository locations.
Daniel
On 6/4/07, Steven Coco <[EMAIL PROTECTED]> wrote:
Hi.
I'm a noob and I like T5 a lot!
I've been do
Otho,
Any chance you could share an example of this with the community? I'm
having a hard time finding an example on the T5 website.
Thanks!
Joel
-Original Message-
From: Otho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 4:36 AM
To: Tapestry users
Subject: Re: T5: Testing -
Thanks for you advice. I think I'm a bit further forward.
viewProductDetail is actually a Tapestry component and is instantiated
using the com.javaforge.tapestry.testng.TestBase; library.
I have removed the expect call from my testGetSaving method and moved
the replay/verify to my setUp metho
Hi.
I'm a noob and I like T5 a lot!
I've been doing "desktop" Java development since V1 and I have had great
pains looking into Web frameworks; but when T5 came along by me I jumped
in right away. This is a real great way to develop Web apps.
So I'm very interested in all this doctype and entity
Is there a (safe) way to obtain the URL of the page being rendered, for
instance in "pageBeginRender" ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Been thinking about implementing BreadCrumb component.
My thoughts currently...
Application's base Page implements "PageBeginRenderListener" and
does something like this:
public void pageBeginRender(PageEvent event) {
if (!event.getRequestCycle().isRewinding()) {
String _
Glad you got it working.
I actually hit the same problem but with a different stack trace and it
was only when Jesse pointed me to the correct ognl repo that i got it
working to.
Chris Chiappone wrote:
Damn the whole time I had the wrong repository, thats the problem with
using maven sometime
Nevermind this issue has been resolved. Hugo informed me I was using
an old OGNL snapshot.
On 6/4/07, Chris Chiappone <[EMAIL PROTECTED]> wrote:
I also updated an JIRA issue for the Tapestry, although I am not sure
if its a tapestry or OGNL problem. Here is more of the stacktrace:
RequestExce
Damn the whole time I had the wrong repository, thats the problem with
using maven sometimes, you think you have the up to date software and
all along I was using a stale repository. Thanks for the help and
sorry for all the noise about this.
On 6/4/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
You
You're using an old ognl snapshot.
Add this to your pom:
ognl.snapshots
http://opencomponentry.com/repository/m2-snapshot-repo
You should get the ognl-2.7-20070603.222724-5. snapshot with that.
Chris Chiappone wrote:
tapestry-framework-4.1.2-20070604.004743-105.
Hi all,
I'm having problems with Tapestry and JPA together using Hibernate as the
provider. When i try to make a connection, tapestry gives me this exception:
org.apache.tapestry.BindingException Exception invoking listener method
gravar of component Home: Failure invoking listener method 'public
tapestry-framework-4.1.2-20070604.004743-105.jar
ognl-2.7.20070425.021856-29.jar
On 6/4/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
Are you sure you have the latest ognl snapshot ?
Can you please reply with the exact snapshots that you are using for
both tapestry and ognl ?
Chris Chiappone wrote
This clicks on a submit, checks the dialog text, then clicks the
alert button.
click
save
assertTextPresent
You must enter a value for Login Id.
click
alertButton
HTH,
Geoff
http://files.doublenegative.com.au/jum
Are you sure you have the latest ognl snapshot ?
Can you please reply with the exact snapshots that you are using for
both tapestry and ognl ?
Chris Chiappone wrote:
I updated this issue since I am still having problems:
https://issues.apache.org/jira/browse/TAPESTRY-1520
On 5/26/07, Jacob
I also updated an JIRA issue for the Tapestry, although I am not sure
if its a tapestry or OGNL problem. Here is more of the stacktrace:
RequestExceptionReporter - Unable to process client request: Error
initializing property dojoSource of bean 'coreAjaxDelegate' (of
component tsagent/GetAgent/$
I updated this issue since I am still having problems:
https://issues.apache.org/jira/browse/TAPESTRY-1520
On 5/26/07, Jacob von Eyben <[EMAIL PROTECTED]> wrote:
I have created a JIRA issue:
https://issues.apache.org/jira/browse/TAPESTRY-1520
Jesse Kuhnert wrote:
> Yes please do.
>
> On 5/25
Nick Westgate wrote:
> Hi Martin.
>
> A typical way to do this in previous Tapestry versions is to have
> some simple logic functions in your component class to provide a
> boolean result ("this link is to the current page") which is used
> for each link's disabled parameter, and to select a string
Hi Martin.
A typical way to do this in previous Tapestry versions is to have
some simple logic functions in your component class to provide a
boolean result ("this link is to the current page") which is used
for each link's disabled parameter, and to select a string supplied
to an informal CSS "st
yeah,
thats how i did it:
http://gmxmailnotifier.cvs.sourceforge.net/gmxmailnotifier/basement5/src/main/java/de/phoet/basement5/components/Chart.java?view=markup
-Ursprüngliche Nachricht-
Von: Joshua Jackson [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 4. Juni 2007 10:30
An: Tapestry us
To whom it may concern:
I'm now using this and that works.
In my page class I specify:
@Component(type = "components/LoginLogoff", bindings = {
"loginPage=literal:pages/login/Loginpage" })
public abstract LoginLogoff getLoginLogoff();
My component class has:
@Parameter(name = "logi
On Fri, 2007-06-01 at 08:48 -0700, Howard Lewis Ship wrote:
> You have to inject your ComponentResources.
>
> There are methods for generating page render links and component action
> links as part of the ComponentResources interface.
Great!
What's then the intended way of rendering the component
You have to make your own Chart component/module to support
JFreeChart. It shouldn't be too hard making components in tapestry5.
Then after that you can call it from your page as such:
Good luck
On 6/4/07, Eko S.W. <[EMAIL PROTECTED]> wrote:
owh yes!
I already made it. (just by browsing to re
I'm getting the following error logged when my app is first accessed.
I'm not sure if this is an ognl, hivemind or tapestry issue so i thought
i'd post here first before creating an issue in the wrong project.
Thanks.
org.apache.hivemind.ApplicationRuntimeException: Unable to add method
java.
owh yes!
I already made it. (just by browsing to repo1.maven.org/, find it at
jfreechart/jfreechart)
Thanks.
But then, how can I include it in my page?
there isn't any isn't ?
Or else?
(I have download source of JFreeChart too, I hope there's example that I can
follow)
Thanks
2007/6/4, Joshua J
I don't think this is related specifically to tapestry. Try adding
jfreechart to your pom.xml
On 6/4/07, Eko S.W. <[EMAIL PROTECTED]> wrote:
Dear All,
I am sorry for this newbie question.
But how can I display chart on a page in T5?
What is the dependency should I include in pom.xml?
Thanks in
Dear All,
I am sorry for this newbie question.
But how can I display chart on a page in T5?
What is the dependency should I include in pom.xml?
Thanks in advance
--
Best wishes,
Eko SW
http://swdev.blogs.friendster.com/my_blog/
65 matches
Mail list logo