On Thu, 06 Nov 2014 09:03:38 -0200, Ivano Luberti
wrote:
Thanks Thiago, you answer quickly as usually and always providing the
fishing rod not the fish :-)
:)
Yes I saw that page, of course but to me, for a newbie it lacks
indications on how to get together the select model with the bean
Thanks Thiago, you answer quickly as usually and always providing the
fishing rod not the fish :-)
Il 05/11/2014 18:21, Thiago H de Paula Figueiredo ha scritto:
> On Wed, 05 Nov 2014 07:23:03 -0200, Ivano Luberti
> wrote:
>
>> Hi, I'm trying to figure out how to add a PropertyEditBlock to have dr
On Wed, 05 Nov 2014 07:23:03 -0200, Ivano Luberti
wrote:
Hi, I'm trying to figure out how to add a PropertyEditBlock to have drop
down lists fed by a List type.
What do you mean by "a List type"? java.util.List?
I have found this example:
http://wiki.apache.org/tapestry/Tapestry5HowToCre
Thanks Taha and Thiago, sounds like I should embrace tapestry-hibernate for
handy projects.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/newbie-question-on-tapestry-hiberate-tp5718412p5718436.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Fri, 30 Nov 2012 09:59:47 -0200, Taha Siddiqi
wrote:
In my view
PROS :
1. Simple:- add dependencies, write a hibernate.cfg.xml and put it in
your resources directory and you are done.
2. Done tapestry style, you can inject Session into pages, components(I
know bad practise) or service
In my view
PROS :
1. Simple:- add dependencies, write a hibernate.cfg.xml and put it in your
resources directory and you are done.
2. Done tapestry style, you can inject Session into pages, components(I know
bad practise) or services.
3. Minimum configuration
CONS:
1. Tapestry can handle only
Hi,
Thank Nikola, it works .. I use "mvn package" command on my suse terminal
> n it makes war file on target project :D
That's great!
because on my eclipse it just looks ->Run As->Run On Server | Java Applet |
> bla bla ..
> there's no Maven package menu.. indeed I ever install maven plugin fo
Thank Nikola, it works .. I use "mvn package" command on my suse terminal n
it makes war file on target project :D
but I dont can do this
Nikola Milikic wrote:
>
> Just right click on the project -> Run As -> Maven package.
>
because on my eclipse it just looks ->Run As->Run On Server | Java A
Hi,
As Vangel already mentioned, you can initiate maven packaging from within
Eclipse. Just right click on the project -> Run As -> Maven package. After
that, your war file will be located in the 'target' folder, just under the
app root.
If you have Maven set up to be used from within the termina
thank very muach for u all, Taha & Vangel..
@Taha : I can do it to my eclipse.. I dont know its cause. :D
@Vangel : yes I am using maven n pom.xml for dependencies my project.. Sorry
I very newbie using eclipse n maven can u explaine step by step how to get
war using maven.. I found tutorial to ex
On 03/19/2011 07:06 AM, ronizedsynch wrote:
How to export tapestry application to war using eclipse ?
If you have setup Maven inside Eclipse you can do "package" (the same
way you do "jetty:run") and you will get a WAR inside the "target" folder.
Maven has lot of options how to do this and that,
Hi
File -> Export -> Web -> war
regards
Taha
On Sat, Mar 19, 2011 at 11:36 AM, ronizedsynch wrote:
> good afternoon all :D
>
> How to export tapestry application to war using eclipse ?
>
> I tried to learn com.example.tutorial1 n make some page to it but I
> understand how to export this proje
Use Event.observe for the form and use the validation with custom JS of
urs...
HTH
- Ashwanth Kumar
On Wed, Dec 23, 2009 at 3:48 PM, Kenneth CH, LEE wrote:
> There is a submit button within the form. I could not attach the code
> in onclick handler because I want it to run only if the form is
There is a submit button within the form. I could not attach the code
in onclick handler because I want it to run only if the form is valid.
2009/12/22 Ashwanth Kumar :
> On Tue, Dec 22, 2009 at 6:14 PM, Kenneth CH, LEE wrote:
>
>> Hi there,
>>
>
> Hello,
>
>
>>
>> Is there any existing facilitie
On Tue, Dec 22, 2009 at 6:14 PM, Kenneth CH, LEE wrote:
> Hi there,
>
Hello,
>
> Is there any existing facilities to trigger some custom Javascript
> code _after_ validating the form?
>
> I'm now doing it with some Javascript tricks:
> ===
>
> ...
>
> Event.observe(window, "load"
Em Mon, 14 Dec 2009 23:02:41 -0200, Ashwanth Kumar
escreveu:
Well, if you want Mouse and Text field (key press events), use Java
Script on the client side, its very useful and efficient. If you're very
particular, use DWR to map JS events to a Java Class @ server side, but
with in-built aj
Well, if you want Mouse and Text field (key press events), use Java Script
on the client side, its very useful and efficient. If you're very
particular, use DWR to map JS events to a Java Class @ server side, but with
in-built ajax support, Tapestry doesn't require it though.
Protoype can help u w
Olle Hallin-2 wrote:
>
> I forgot to paste in the JavaDocs link:
> http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/annotations/OnEvent.html
>
Yes, I know this annotation but...
i think it doesn't work for events like: mouseover, mouseout, change
(textfield)...
http://tapes
I forgot to paste in the JavaDocs link:
http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/annotations/OnEvent.html
Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se
http://www.linkedin.com/in/ollehallin
2009/12/14 Olle Hallin
> It is.
>
> Add
It is.
Add this to your page/component class:
@OnEvent @Log public void onEvent() {}
and watch the log file for the stream of events that are fired against this
(catch-all) event handler.
Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se
http://www.linkedin.com
Inge Solvoll wrote:
>
> Check out this one!
>
> http://chenillekit.codehaus.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/mixins/OnEvent.html
>
Thanks:)
But... I see, that is a addition to tapestry. Why is not in native Tapestry
5 ? :(
--
View this message in context:
http://
Check out this one!
http://chenillekit.codehaus.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/mixins/OnEvent.html
On Mon, Dec 14, 2009 at 11:34 AM, marioosh.net wrote:
> Is something like that:
> http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html
> in Tapestry 5 ?
>
> I
Thiago, thanks, so I make no change to the code, but internally I'm happy ;)
And about moving logic... maybe I can...
${ getViewPosition(position) }
and in .java I do:
getViewPosition(int aNumber) {
return aNumber + 1;
}
I mean... maybe it's better because I don't override getter of a
propert
Em Fri, 04 Sep 2009 14:33:16 -0300, Alfonso Quiroga
escreveu:
public int getPosition() {
return position + 1;
}
This is not a hack: it's moving logic from the template to a class, and
that's a Good Thing. :)
--
Thiago H. de Paula Figueiredo
Independent Java consul
; Date: Thu, 3 Sep 2009 17:45:31 -0400
> Subject: Re: Newbie questiones
> To: users@tapestry.apache.org
>
> Maybe this is a dumb question, but why can't you just pass the Enum instead
> of converting to a String, then passing, the reconverting back to Enum?
>
>
> On Th
Maybe this is a dumb question, but why can't you just pass the Enum instead
of converting to a String, then passing, the reconverting back to Enum?
On Thu, Sep 3, 2009 at 5:17 PM, Joshua Martin wrote:
> Are you trying to pass the value of a Select to another page?
>
>
>
> On Thu, Sep 3, 2009 at
More than one select. The problem is that the model of the select
is an Enum made by myself. As I explained, when I did the conversion
to String and used the parameter by parameter onPassivate()-onActivate
way of doing it, it worked. But using the EventContext is going to get
me more than nervou
Are you trying to pass the value of a Select to another page?
On Thu, Sep 3, 2009 at 5:14 PM, Madtyn wrote:
> I'm experimenting and trying all kinds of things and I think the
> problem I have is when passing Enums to the EventContext. Although I
> do before the Enum -> String conversion and t
I'm experimenting and trying all kinds of things and I think the
problem I have is when passing Enums to the EventContext. Although I
do before the Enum -> String conversion and then set the String value
in the destination page and return as a String in the onPassivate,
when I get the String va
Hi. I made the mvn clean and tried again to run the app but the same
error keeps on.
/* on the FindSocios page */-
showSocios.setSocioSearchType(socioSearchType.toString()); //LINE 122
the stacktrace leads to here, the only hint I have
showSocios.setDateSearch
Em Thu, 03 Sep 2009 08:40:53 -0300, Martin Torre Castro
escreveu:
Thank you very much Thiago.
You're welcome!
EventContext is working ok when I'm sending data from the page to the
same page. But if I send data from another page and I'm setting the
EventContext parameters as before is s
Thank you very much Thiago.
EventContext is working ok when I'm sending data from the page to the same
page. But if I send data from another page and I'm setting the EventContext
parameters as before is show an error:
method onActivate signature: (Lorg/apache/tapestry/EventContext;)V) Illegal
Em Wed, 02 Sep 2009 16:30:44 -0300, Martin Torre Castro
escreveu:
Hello, I have some doubts I can't solve about passing values
between pages and don't understand as I wish.Maybe you could help me.
Hi!
1.-When I've got more than one onActivate() for a page with different
kinds of ar
It looks like you have some corrupted JAR or messed up dependencies.
By the way, instead of using JBoss from the beginning, try using
Jetty. It won't make any difference while developing your web
interface in Tapestry, but it will make solve some common environment
problems easier.
--
Thiago
---
I'm thinking that the current fix is broken, and the right solution
may be that for HTML markup, always use EndTagStyle.REQUIRE. That
means a in a template will render a , but other than
than those minor quibbles, it will work more in line with how
SGML/HTML treats empty elements.
On Tue, Nov 25,
mber 25, 2008 4:12:41 PM JST
To: Tapestry users
Subject: Re: (newbie) Tapestry generated
Tapestry is meant to generate valid XHTML, which means the tag
should be closed, but due to a bug introduced recently it appears
not to with certain tags see:
https://issues.apache.org/jira/browse/TAP5-3
You could override the MarkupWriterFactory to prevent the abreviation of
the tag
It should look like this
public class XhtmlMarkupWriterFactoryImpl implements MarkupWriterFactory {
private final String applicationCharset;
private final MarkupModel xmlModel = new DefaultMarkupModel()
Tapestry is meant to generate valid XHTML, which means the tag should be
closed, but due to a bug introduced recently it appears not to with certain
tags see:
https://issues.apache.org/jira/browse/TAP5-333 and vote for it to be fixed, in
the meantime use a instead, it will work... I use the sam
Great, that puts my mind at ease!
Thanks Filip
On Wed, Sep 3, 2008 at 9:22 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Nope, that's not possible anymore.
>
> The reason it worked in T4 is that friendly URLs were just "aliases" for
> the real Tapestry URLs. That's not how it is in T5.
>
> -
Nope, that's not possible anymore.
The reason it worked in T4 is that friendly URLs were just "aliases" for
the real Tapestry URLs. That's not how it is in T5.
-Filip
On 2008-09-03 14:33, nick shaw wrote:
Hi
I am new to Tapestry5 and I have a question about page urls:
I have a page called
Adam,
Who Emanuel is? You tell me my english is poor? I know so do not tell me. Many
tapestry people is friendly so please be friendly too.
Menno
- Original Message
From: Adam Zimowski <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Wednesday, June 4, 2008 3:01:45 AM
Subje
Emanuel heheh This is a poor impersination of a non-native English
speaker. It's still very easy to pick out your style, and figure out
it's you. Only you provoke people with classic trollish attacks such
as:
, can you [...]?
, why [...]?
so seeing this:
"Sven, can you answer my question?"
Hello Menno,
I have been using Tapestry for over three years, starting with
Tapestry 3. I am still maintaining one application on Tapestry 3 and
a few applications on Tapestry 4; I am also starting development with
Tapestry 5. Most of what I learned with one version applies to the
next.
I u
r my question? I am now afraid with tapestry. Help me to
> be afraid not. I like tapestry a bit and I want to use tapestry.
>
> Thank you.
>
> Menno
>
>
> - Original Message
> From: Sven Homburg <[EMAIL PROTECTED]>
> To: Tapestry users
> Sent: Tuesday,
it suits your needs better than anything
else, and not if some other framework is more suited to you and your needs.
Cheers,
Andy.
(new to Tapestry myself - 2 months now)
> -Original Message-
> From: Menno Kok [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2008 15:11
> To: Tapest
Mr. Daniel,
You laugh my name and you laugh mine english.
Fuck you bastard.
- Original Message
From: Daniel Jue <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Tuesday, June 3, 2008 4:11:17 PM
Subject: Re: Newbie
Dear Kok Menno,
Tapestry 6 is perfectly compatible with Tapestr
Dear Kok Menno,
Tapestry 6 is perfectly compatible with Tapestry 5, I am using it now.
It's just one class file right now, but I like to imagine that it's
adding heuristic artificial intelligence to my T5 application. It
makes error 403 pages say "I'm sorry Daniel, I can't let you do that."
You
en Homburg <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Tuesday, June 3, 2008 3:50:13 PM
Subject: Re: Newbie
let me know your google query string
2008/6/3 Menno Kok <[EMAIL PROTECTED]>:
> Hello men and women,
>
> I saw many google search result about tapestry that maked me nervo
let me know your google query string
2008/6/3 Menno Kok <[EMAIL PROTECTED]>:
> Hello men and women,
>
> I saw many google search result about tapestry that maked me nervos. Is it
> true that tapetsry 6 would be not compatible with other tapestry versions?
> I want to know before I spend many time
Hello men and women,
I saw many google search result about tapestry that maked me nervos. Is it true
that tapetsry 6 would be not compatible with other tapestry versions?
I want to know before I spend many times with learning tapestry.
Forgive me my bad english, please.
Thank you,
Menno
-
Thanks a lot for your hints.
The problem was the name of the servlet filter and the build method, which
has to be static.
Regards
Michael
On Thu, Apr 17, 2008 at 10:01 PM, Igor Drobiazko <[EMAIL PROTECTED]>
wrote:
> Method bind shoould be static
>
> On Thu, Apr 17, 2008 at 9:56 PM, Michael Sz
Sorry I missed the filter-mapping part, which I believe needs to match
the filter name. So you should have:
...
Quiz
org.apache.tapestry.TapestryFilter
Quiz
/*
...
Chris Lewis wrote:
> Hi Michael,
>
> I believe the problem is your filter name
Hi Michael,
I believe the problem is your filter name in web.xml. See this part:
...
app
org.apache.tapestry.TapestryFilter
...
If I remember correctly T5 uses the filter name to deduce your
application module. By default (using the maven quickstart archetype)
this is
In your AppModule class you probably need to add
@SubModule({QuizModule.class}) above the class definition.
e.g.
@SubModule( { DAOModule.class })
public class AppModule
{
...
}
Also, you may want to make the bind method static, unless you're using
instance variables with it.
Peter Beshai
On Thu
Method bind shoould be static
On Thu, Apr 17, 2008 at 9:56 PM, Michael Szalay <[EMAIL PROTECTED]>
wrote:
> Hi all
>
> I tried to build my first service, but its not found within the
> registration
>
> I try to lookup it in the page:
>
> @Inject
>private QuizService quizService;
>
> There is
There's certainly an issue that if the Grid component grew to
encompass every possible user's most remote needs, the end result
would not be useable by anybody (a Grid component with 27 required
parameters of which six are detailed interfaces, etc., etc.). The
point is, the common components need
Jesper Zedlitz wrote:
Alec Leamas wrote:
- The paging policy with a fixed number of numbered pages is hardcoded
and can't be changed. Other policies e. g., overlap between pages
Isn't that something you can handle inside your own GridDataSource? With the
page number, the number of res
Alec Leamas wrote:
> - The paging policy with a fixed number of numbered pages is hardcoded
> and can't be changed. Other policies e. g., overlap between pages
>
Isn't that something you can handle inside your own GridDataSource? With the
page number, the number of results per page, the number of
Why don't we just move T5 up to T7 just so that we can say that T6 is the
"old" version :-)
-Pat
AND, not to forget references to Tapestry 'Six' :
Rob Smeets (?) quoted:
> I googled and also learnt there is Tapestry -Six- in the works which
would also be a whole new beast not compatible with all previous
Tapestry
versions.
WTheck ?
Come on, give us a break.
--
David
On 7-Mar-08, at 6:2
I really hope there are no Tapestry trolls on wicket mailing list,
like you are one here.
I'd like not to feed the troll, but I feel the need to mark you as troll,
so that new users don't get alarmed too much by your fud.
Like for chain letters and spam, it takes a moment to recognize the pattern
Rob Smeets wrote:
Hi Gabriel,
I dug into this list and found a routine that when someone dare to ask a
legitimate question that probably may sound "politically incorrect" to some
members, he gets the troll label. Why? I think that's too easy to do. Please
answer my questions, if you have one.
Hi Gabriel,
I dug into this list and found a routine that when someone dare to ask a
legitimate question that probably may sound "politically incorrect" to some
members, he gets the troll label. Why? I think that's too easy to do. Please
answer my questions, if you have one.
Rob
On Fri, Mar 7, 2
Rob Smeets a écrit :
Hi,
[...]
Rob
Don't feed the troll
Gabriel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dave,
The Tapestry 5 Wiki help me a lot. It can be found at:
http://wiki.apache.org/tapestry/#head-fa893a125e25b4c453eaab4fc08b8fb5d00ca04a
Also, There are some nice tutorials/examples available at:
http://code.google.com/p/shams/
-Mark
On 1/10/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote
5.0.8-SNAPSHOT has new var: binding prefix
but it is only for simple values, without expression evaluation.
for example to display loop index.
Davor Hrg
On Jan 10, 2008 2:52 PM, <[EMAIL PROTECTED]> wrote:
>
> Things are kind of slow here at the office, so I'm taking advantage of that
> to fina
I think the new binding var (available from Tapestry
0.8 snapshot) is what you are looking for.
Document is available at the following.
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html
There is also a post on this last week.
Shing
--- [EMAIL PROTECTED] wrote:
>
Yepz!
It definitely help!
Thanks!
I am planning too, but maybe in Indonesian...
--
Best wishes,
Eko SW
My Job : http://swdevsoftwareconsulting.blogspot.com
Hi Eko,
Glad you found that blog useful, it's just something I learned from the
mailing list and I keep it there for re-use, I think newbies experience is
just what would be T5 user needs, just put yours online to help others and
help yourself too.
A.C.
Eko S.W. wrote:
>
> oookey !!!
> That'
oookey !!!
That's just what I need!!
Maybe I am planning to jot something I know about Tap
So, all newbie out there can tak advantage of our experiences
Btw, why your blog doesn't shown up on my Google Search ???
;)
--
Best wishes,
Eko SW
My Heart : http://swdev.blogs.friendster.com/my_blog/
My
Hi Eko,
try this:
http://ac960.blogspot.com/2007/10/tapestry-5-using-select-component.html
that's where I keep my note about how to use Select in T5.
A.C.
Eko S.W. wrote:
>
> Dear Community,
>
> I am not able to use Select Component
> And I am not succeed on following Select in Tap Wiki,
>
To summarize, read the threads linked to by Angelo, and read the T5 docs.
1 - Validate in onActivate and redirect to the login page.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
(You can redirect via "return Login.class;")
There is another login example here:
http://tape
Hi Jean,
For your #1, here is a related link:
http://www.nabble.com/T5%3ALogin-and-session-tf4312177.html#a12276631
Angelo Chen wrote:
>
> Hi Jean,
>
> I'm newbie too, and have asked similar questions in the last few days,
> here are the links to those threads that might be helpful to you:
>
Hi Jean,
I'm newbie too, and have asked similar questions in the last few days, here
are the links to those threads that might be helpful to you:
for #2:
http://www.nabble.com/T5%3ATiles--tf4310807.html#a12291330
for #3:
http://www.nabble.com/T5%3ALogin-and-session-tf4312177.html#a12276631
Yeah that's mostly how it's done.
But - you may want to think about handling this differently if you
have the opportunity. At least from a ui perspective - I've not been
particularly fond of web forms that display all my errors at the top
or bottom in a list that I then need to re lookup for eac
In your form component,
> success="listener:doSubmit">
I think you meant jwcid="[EMAIL PROTECTED]".
Also, you need to specify the delegate parameter.
In case you did not know, there is an example on
displaying all errors in chapter 3 of
Enjoying Web Development with Tapestry
http://www
Jesse Kuhnert escreveu:
It means "currentArt" is null at the point when it's trying to resolve
currentArt.title.
Yes, that one i knew. And I was sure that "artList" didn't have any null
values. I found the problem, it's my stupidity... I wanted to post here
that I was not needing help anymore,
jwcdi="arts"
should be
jwcid="arts"
Hernâni Cerqueira wrote:
> Hello all, I'm new to Tapestry, this is my first project using it, and
> until now everything was doing perfectly. But now i'm having a small
> issue with the For component. I was doing something i've done
> sometimes already. I hav
It means "currentArt" is null at the point when it's trying to resolve
currentArt.title.
On 3/10/07, Hernâni Cerqueira <[EMAIL PROTECTED]> wrote:
Hello all, I'm new to Tapestry, this is my first project using it, and
until now everything was doing perfectly. But now i'm having a small
issue with
You could try torque from apache, it's easy to use and set up, and
anyone who knows how to use an import staement knows how to integrate
torque with tapestry. If you want some more info feel free to ask...
Hernâni
Damian Sobieralski escreveu:
I am wondering if anyone could assist me in resour
For Tapestry 4 there is the excellent book by Tong Ka Iok which covers
database access and hibernate in detail.
http://www.agileskills2.org/EWDT/
Damian Sobieralski wrote:
I am wondering if anyone could assist me in resources for working with
databases?
As a newbie, I've went through bo
Hi Damian.
The "set up" is only being done once: when the Person is null.
We create a new one to be edited, and we do this at the first
available opportunity, which is the render phase, since this
occurs before the first rewind.
(Keep in mind that the rewind phase is exactly the same as a render
OTECTED]
> Sent: Thursday, March 01, 2007 8:35 PM
> To: Tapestry users
> Subject: Re: Newbie and form submission (rewinding resetting values)
>
> Hi Damian.
>
> You need to add something like this here:
> + @Persist
> > public abstract Person getPerson
Hi Damian.
You need to add something like this here:
+ @Persist
public abstract Person getPerson();
Otherwise the Person is not persisted between cycles.
That's what's causing your current exception.
Also, you don't want to overwrite changes made to Person
by the user, so you sh
Hi Daniel,
thanks very much for this, it makes things much clearer (best
explanation of it I've seen by a long chalk!).
I'll take your advice and create a holder object for my string that uses
a UUID to identify the strings.
Thanks!
jim
Daniel Tabuenca wrote:
Eventually I'm going to be s
Eventually I'm going to be saving the values in RDF - the values won't
have a persistent key, they're just literal values. I'm also keen to
avoid using any session persistence but will do if it's necessary. Can
tapestry deal with simple values that don't have identity in this way?
To understand
Well it's because you are using strings directly. Here's what the
equivalent of what is going on in JAVA:
List names = NAMES;
for( String name : names ){
name = " NEW VALUE FROM INPUT FIELD";
// but strings are immutable so name has a new string reference and
does not modify
// the one that is
Hi Firas,
Firas Adiler wrote:
I'm a bit puzzled myself, but how did you manage to run the app without
providing setters for 'idx' and 'name' fields:
public abstract void setIdx(int idx)
public abstract void setName(String name)?
Seems to work fine just defining the getter in other situation
Hi Daniel,
thanks for the help!
Daniel Tabuenca wrote:
The Chart example the plotValues property is persisted:
class="org.apache.tapestry.workbench.chart.ChartPage">
...
I am assuming you are not persisting since from your logs:
9627410 [btpool0-3] INFO com.example.pages.Home -
The Chart example the plotValues property is persisted:
...
I am assuming you are not persisting since from your logs:
9627410 [btpool0-3] INFO com.example.pages.Home - Begin render.
Rewind? true
9627411 [btpool0-3] INFO com.example.pages.Home - Initializing names list
The list g
Jim,
I'm a bit puzzled myself, but how did you manage to run the app without
providing setters for 'idx' and 'name' fields:
public abstract void setIdx(int idx)
public abstract void setName(String name)?
Regards,
-Original Message-
From: Jim Downing [mailto:[EMAIL PROTECTED]
Sent: Tue
I don't get it. What are you trying to do? You aren't persisting your
list anywhere so at each render or rewind your lists starts off
null. so by the time it gets to the @For loop the @For loop has
nothing to iterate over. Am I missing something?
On 1/9/07, Jim Downing <[EMAIL PROTECTE
Hi Jesse,
Jesse Kuhnert wrote:
I think the problem with this approach is that the For component has
no way of uniquely identifying your list values.
I would try using the keyExpression or converter parameters of the For
component to do this instead.
http://tapestry.apache.org/tapestry4.1/compon
I think the problem with this approach is that the For component has
no way of uniquely identifying your list values.
I would try using the keyExpression or converter parameters of the For
component to do this instead.
http://tapestry.apache.org/tapestry4.1/components/general/for.html
On 1/9/0
We use Spring 1.2, but long ago wrote our own subclass of
ApplicationContext that will grab context override files from
elsewhere (including the local filesystem rather than the classpath).
It offers pretty much the exact functionality you are looking for.
I'm sure it can be applied to spring 2.0
That's correct. I use @Connfigurable to inject spring objects into
tapestry pages. The downside is the need to include an xml bean
configuraion in spring for each page I want to inject to, although
I've been using the spring-annotation project to define the beans
using annotations rather than xml.
Daniel Tabuenca a écrit :
I think what you read there is not necessarily true. If you are using
Spring 2.0 and bean scopes or target sources then spring will give you
a proxy and automatically manage the lifecycle for you. Also keep in
mind that you can easily use spring itself to inject the bean
I think what you read there is not necessarily true. If you are using
Spring 2.0 and bean scopes or target sources then spring will give you
a proxy and automatically manage the lifecycle for you. Also keep in
mind that you can easily use spring itself to inject the beans into a
tapestry page by u
ogether its config from different jars on the classpath like
HiveMind does?
Or do you still need to have a "master application.xml" and and do
manual includes?
> -Original Message-
> From: Daniel Tabuenca [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 22, 2006 10:18 A
el Tabuenca [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 22, 2006 10:18 AM
> To: Tapestry users
> Subject: Re: Re: [newbie] Spring vs Hivemind
>
> Spring 2.0 has singleton/prototype/request/session/global
> session/ and custom scopes. It should be noted that spring'
1 - 100 of 114 matches
Mail list logo