Hello
You may have a look on the implementation of the GridDataSource for Hibernate
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate/src/main/java/org/apache/tapestry5/hibernate/HibernateGridDataSource.java?view=markup
BR
Renat
2008/10/14 shymon <[EMAIL PROTECTED]>:
>
>
maybe you can try to be more specific in this way:
${index}
@OnEvent(value = "action", component = "select")
void valueChosen(int value)
{
this.value = value;
}
Here you can find more explanation:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
moritzgilsdorf-
I wanted to use a grid component to display search results. So I tried to
define a class which implements GridDataSource interface. Unfortunatelly
getAvailableRecords() method is called by T5 before prepare(...) method.
This doesn't suit me as I receive total record number with search results
onl
Where is your event handler method? If the is inside
component Foo's template (Foo.tml), then the method goes inside
Foo.java.
On Mon, Oct 13, 2008 at 9:22 AM, moritzgilsdorf
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm feeling like posting a very trivial problem but unfortunately I can't
> find m
sorry for being not so clear in my previous explanation,here the complete
code concerning my problem:
I need to show a list of products, and because each product can contain one
or more contents, I want to add a list of actionlink in the last column
representing the content list related.
@Entity
This is just a simple opening/closing. I am looking for an Accordion with a
transition.
Original-Nachricht
> Datum: Mon, 13 Oct 2008 13:27:00 +0200
> Von: Joachim Van der Auwera <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff: Re: How to return .tml content as a String from
Yes, they are both persisted. tableParsed is set to true after a file was
uploaded and parsed success
fully. This variable is then used to show the next step of this process
which requires the table to be parsed.
The whole thing works well except that after the process is finished I have
to resta
Hi,
What is the best way to localize the options of a dynamically generated
Select component ?
Thanks in advance.
Stephane
Hi,
There's a README in the root directory. Is it missing the information
you are looking for?
Failing that, do these pages answer all those questions?
http://files.doublenegative.com.au/jumpstart/installation.html
http://files.doublenegative.com.au/jumpstart/orientation.html
I'm using 5.0.15.
Thiago H. de Paula Figueiredo wrote:
>
> What Tapestry version are you using? The @Property annotation was added in
> some release I cannot remeber exactly. Make sure you are using the latest
> one. ;)
>
> Em Mon, 13 Oct 2008 15:45:04 -0200, D Dart <[EMAIL PROTECTED]> esc
what about a small readme file that describes, how to start it, e.g. context
directory, whether any additional libs are necessary (cglib.jar?), etcand
whether you are supposed to run the war file or directly the directory of the
files etc...? And should you start exploder.xml or build.xml fi
What Tapestry version are you using? The @Property annotation was added in
some release I cannot remeber exactly. Make sure you are using the latest
one. ;)
Em Mon, 13 Oct 2008 15:45:04 -0200, D Dart <[EMAIL PROTECTED]> escreveu:
I'm doing this tutorial,
http://tapestry.apache.org/tapestry
Where is this?
This is from the Tapestry5 accordion - and it only takes Strings - no other
components can be put inside the Accordion.
Original-Nachricht
> Datum: Mon, 13 Oct 2008 13:27:00 +0200
> Von: Joachim Van der Auwera <[EMAIL PROTECTED]>
> An: Tapestry users
> Betreff:
I'm doing this tutorial,
http://tapestry.apache.org/tapestry5/tutorial1/forms.html, but using Tomcat
instead of Jetty and "t5demo" instead of "org.apache.tapestry5.tutorial".
I'm getting this exception when trying to run it in Tomcat:
caught an exception while obtaining a class file for
t5demo.p
Why don't you make those "normal java classes" services ?
shinkei wrote:
Is there another way?
I have quite a few DAO's that need to talk with alot normal java classes
behind the page. So it seems a bit messy injecting all the DAOs through the
page class and then back into the java classes beh
Is there another way?
I have quite a few DAO's that need to talk with alot normal java classes
behind the page. So it seems a bit messy injecting all the DAOs through the
page class and then back into the java classes behind it.
HugoPalma wrote:
>
> Just inject it into the page/component/s
Just inject it into the page/component/service where the normal java
class is being called from and pass the userDAO instance to it.
shinkei wrote:
How would I use the userDAO in a normal java class (ie. not a page)?
Inject won't seem to work unless its a page.
Can anyone help?
Raul Rosenz
Em Mon, 13 Oct 2008 14:22:36 -0200, moritzgilsdorf
<[EMAIL PROTECTED]> escreveu:
@OnEvent(component = "reset")
public Object reset(){
tableParsed = false;
saveSucceed = false;
return null;
}
Are tableParsed and saveSucceed @Persist'ed?
--
Thiago H. de Pau
Hi,
I'm feeling like posting a very trivial problem but unfortunately I can't
find my mistake.
I have a actionlink in a component to reset some persisted booleans. The
actionlink looks like this:
Reset
And the triggered method like this:
@OnEvent(component = "reset")
public Object res
Hi All,
I've just switched over to tapestry 5.0.15 and I'm now seeing sporadic
NullPointerExceptions originating from the ContextAssetFactory.
Caused by: java.lang.NullPointerException
at $Request_11cf6ca8ebe.getContextPath($Request_11cf6ca8ebe.java)
at $Request_11cf6ca8e55.getContextPath
How would I use the userDAO in a normal java class (ie. not a page)?
Inject won't seem to work unless its a page.
Can anyone help?
Raul Rosenzvaig wrote:
>
> Finally I got the most simple solution from Onno
>
> Just to pass the hibernate session in the constructor and that will do the
> tr
Jesse,
You seem to be the expert. Im snagged yet again by IE. The character this
time is & raquo; . In the ajax response its a valid html entity. I added
the space here to make it clearer. Again all browsers are fine with it
except for IE. All characters encoded in the 100's range fails to
Sorry, it was my mistake, due to a mess in a pom.xml, that was
referencing both 5.0.15 and 5.0.14, following a merge. The problem is
now solved.
J.
José Paumard a écrit :
Joachim,
I met the same problem (5.0.15), and I'm having troubles with it.
Could you solve it ? Any hint anyone ?
Th
Do you mean tapestry-spring-security at
http://www.localhost.nu/java/tapestry-spring-security ?
Joachim Van der Auwera wrote:
Anybody know what the cause/solution for this error is (see exception
below).
I am trying to integrate tapestry-sping-acegi and this exception occurs.
I have already
Joachim,
I met the same problem (5.0.15), and I'm having troubles with it. Could
you solve it ? Any hint anyone ?
Thank you,
José
Joachim Van der Auwera a écrit :
Anybody know what the cause/solution for this error is (see exception
below).
I am trying to integrate tapestry-sping-acegi
Hi,
can anybody help with https://issues.apache.org/jira/browse/TAP5-135
(Grid.getSortContraints NPE when sortColumnId != null)?
Is there any workaround for this or any other solution?
1) We really want to upgrade T5 because of
https://issues.apache.org/jira/browse/TAPESTRY-2561
2) We really nee
This sounds worth creating an issue in JIRA.
https://issues.apache.org/jira/browse/TAPESTRY
On 11/10/2008, at 3:54 AM, shymon wrote:
I have a bean with property of type java.util.Date. There is also a
constructor getting Date value as parameter. When I try to use
BeanEditForm
with this be
I think it should be possible to just put it anywhere in your classpath
but the package hierarchy has to be respected. That is you could put it
into /templates/org/yourgroup/components/Template.tml and contribute
/templates to your classpath if the component is in
org/yourgroup/components/Template.
Em Mon, 13 Oct 2008 04:54:23 -0200, BhushanMahajan <[EMAIL PROTECTED]>
escreveu:
I have created a custom layout component and also a .tml page for it.
Tapestry 5 allows me to keep the tml in the component folder only, but i
want to use it out side of the components folder.
it shows a binding e
Em Mon, 13 Oct 2008 04:50:00 -0200, BhushanMahajan <[EMAIL PROTECTED]>
escreveu:
Hi,
Hi!
I m using zone with block but i have some problem with it as it gives me
js
error as "reply is null".
if any body had solution please tell me its urgent.
You should always return a Zone or Block in
Have you taken a look at the "Adding Columns Example" here
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
?
Does that solve your problem ?
mdes wrote:
Dear all,
I need your support in order to determine the better way to solve this
si
Dear all,
I need your support in order to determine the better way to solve this
situation.
I have, say, 2 entities (ejb3)
@Entity
public class Child {
private String idChild;
private String firstName;
private String secondName;
...
}
@Entity
public class Father{
private String idFather;
Thanks, guys. You're making me blush!
On 13/10/2008, at 11:24 PM, Inge Solvoll wrote:
Agreed, I love Jumpstart! Extremely useful!
On Mon, Oct 13, 2008 at 2:19 PM, Francois Armand
<[EMAIL PROTECTED]>wrote:
Francois Armand wrote:
Geoff, I didn't look at your work yet,
I mean, "I didtn't
Agreed, I love Jumpstart! Extremely useful!
On Mon, Oct 13, 2008 at 2:19 PM, Francois Armand <[EMAIL PROTECTED]>wrote:
> Francois Armand wrote:
>
>> Geoff, I didn't look at your work yet,
>>
> I mean, "I didtn't look at that new version of...", of course :)
>
>
> --
> Francois Armand
> Etudes & D
Francois Armand wrote:
Geoff, I didn't look at your work yet,
I mean, "I didtn't look at that new version of...", of course :)
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterLDAP - http://interldap.org
Feder
Geoff Callender wrote:
Hi all,
JumpStart 3.16 is now available. It has heaps of new examples!
Geoff, I didn't look at your work yet, but I already want to thank you
for this really good piece of work, you quite follow the T5 development,
and it's really great to have this bunch of examples.
Great sum up.
There has been talk in the past about the missing $remove$, $body$ etc.
which we had in Tapestry 4 if I'm not mistaken.
There are work-arounds in T5, but I would expect those to be available in a
release candidate of T5.
regards,
Onno Scheffers
On Mon, Oct 13, 2008 at 11:36 AM,
You may want to look at the "Accordion" component in equanda-tapestry5
Kind regards,
Joachim
[EMAIL PROTECTED] wrote:
The SlidingPanel (as it currently is), expects an Array of Strings that contain
the contents of the SlidingPanel:
E.g.:
public String[] getDetails(){
There is already a JIRA issue and a patch:
https://issues.apache.org/jira/browse/TAP5-265
Joel Halbert schrieb:
Just out of interest, does any one know what the rational was for not
making hidden fields part of the core codebase?
Is it simply because Activation Contexts should be used in pref
Hi all,
JumpStart 3.16 is now available. It has heaps of new examples!
* Grid Model
* Editable Grid
* onActivate and OnPassivate
* Passing Data Between Pages
* Return Types
* Multiple Method Matches
* Event Bubbling
* Triggering a
OK, so a little sum up with the matching bug reference, so that at least
everybody can vote for this easaly. It would be quite simple afterward
to bring the T5 dev attention to bugs with tens of vote for them.
Note: some bugs are in the Tapestry project, not the TAP5 one. I thing
there owners
I agree with all the points.
And, for point #4, there is also a JIRA issue you can vote on:
https://issues.apache.org/jira/browse/TAP5-223
As it is a simple addition and commonly used, I do not see why it should
not be included in 5.0. Then the wiki page can just describe how to
enable it (act
Just out of interest, does any one know what the rational was for not
making hidden fields part of the core codebase?
Is it simply because Activation Contexts should be used in preference to
hidden fields for keeping state between requests?
Bill Holloway wrote:
The tapestry5-components project
43 matches
Mail list logo