That's attitude man!
I'm allways amazed by your readines and the quality of your guidance, you
are a headlight for the poor average "let's try tapestry once more again"
programmer.
Best wishes and thanks!
Well, you, and many others
Geoff Callender-2 wrote:
>
>
> As always, comments and s
It was not so hard
I change the poum Tapestry version
II change imports by adding a 5 before tapestry
III change the log4j references of tapestry packages acordingly.
IV--->latest but not list change the web.xml to contain
tapestry5.TapestryFilter
and thats it
--
View this message in context:
I expected the upgrade to be done merely by changing my version of tapestry
in the pom.xml file.
I'm I right or wrong?
The pom generated when runing tutorial1 with maven
I've noticed in the past that the source files get not downloaded
So wich is the standard way to proceed?
Thanks
--
View this
As my T5 application was evolving, I've noticed an important slow down in
performance, but as you don't have time for everything I tributed to de
debug mode or whatever...but few pages latter I begin to be very worried,
looking at the console output the Request time kept ridiculously short, but
fr
Sorry again
I finally make it work, the problem was in the name parameter ,it's a little
bit strange but in some cases you have to write:
and in others
Anyway now working!
--
View this message in context:
http://www.nabble.com/T5-UTF8-encoding-tp17806489p17808284.html
Sent from the Tape
Thanks, one more time.
What I did is to add the following parameter to my grid component
Unfortunatelly with no succes.
Things I've observed:
1) If I change the "namewDescriptionCell" to whatever I
get the same result
2) If I change tha value=
After some work I've achieved to be able to store and retrieve my foreign
caracters, but know poor of me I've tried to add a link to a textbox, like:
input text box content:
Hello Box speciall caracters test ñáòú
link test www.google.com click to search in google
When this input box is sumb
--
View this message in context:
http://www.nabble.com/T5-UTF8-encoding-tp17804815p17804815.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Solved!
Devil lives on details, In fact it was just an eclipse mess.
1)
In my output source folder src/main/resources the excluded flag was set to
** thus the tml files where not placed to the target directories.
2)
Sudendly my eclipse working directory started to complain about a: "The
proj
After playing for hours I achieve to make my classes automatically reloaded
with it a true joy.
But now my templates are not up to date.
I need to understand the following, both jetty plugin and jettyrun show in
the console:
launching Jetty webapp: /compramaestra on address: 0.0.0.0:80 usin
I have two targets /target and /target-eclipse
I've run maven clear (within eclipse) and the /target folder disapeared
My eclipse is setup to default output folder :
compramaestra/target-eclipse/classes
but the checkbox "allow output folders for source folders" is checked
(which I notice
I use tapestry 5.0.11
When I modify a template file *.tml it shows up instantly.
But changes on page or component classes don't work, and I have to re-start
server.
My web.xml
tapestry.app-package
org.compramaestra
app
org.apache.tapestry.
point 1 and 2 did not work
but point 3
I don't know if everybody can update the howtos on the tapestry wiki
but someone has to add a short comment like "when using foreing languages
ensure eclipse saves your documents using UTF-8 encoding."
Bless you!
Thanks
--
View this message in co
Thanks for the answer, finally I noticed that I was using a FileUpload
component, after changing the utf8encoding filter everything turned right.
But still if in my template a label or any text contains an extra character
tapestry will not render the page I will get "Invalid byte 2 of 4-byte
UTF
Dealing with special characters like ñ ó ç and so one i found out that I must
install the following patch
http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding
wich I did with hope & pleasure
For a while problems seamed solved but few days later working on another
page I get the same troubles a
Thanks Fernando, I came up with the same conclusion regarding onActivate just
for parameters and also just an array of objects in case i need more than
one.
As for loggin the request-filter option is very attractive, all that crap in
just one place.
And finally the beginrender and onprepareform I
Glad to know there is consensus about it ,I'll check the RequestFilter and
let the onActivate for the page tasks (reloading objects.)
Thanks
--
View this message in context:
http://www.nabble.com/T5-onActivate-tp17673637p17710792.html
Sent from the Tapestry - User mailing list archive at Nab
That's a good point Filters...I'll think about it, unfortunatelly for me I've
been influenced by many samples where onactivate is used for the purpose I
do, in fact I begin the issue saying that I can't full understand the page
cicle model. From the semantical point of view onActivate seems to imp
Well, in my case when I have two or more onActivate handlers I've seen all
them called one after the other wich of course is not what I expect ,besides
the fact of having just one onActivate frees you of having to check common
isues like for example loggin , or administrative rights in many places
Renat Zubairov wrote:
>
> Why would you need to have multiple parameters in onActivate? Are you
> considering using Encoder?
> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/PrimaryKeyEncoder.html
>
Well, it is simply an Update/Create page of a detail element belonging to a
At the moment my conclusion is that to deal with multiple onActivate
parameters you should encompass them in an Object[], and then make your
control in just one onActivate(Object[] o) method, the drawback is that it
forces you to write metods for setting the parameters properties.
Strangelly if y
1)
Is it possible to make your grid as if every row was a single link to a
page, and when de mouse "hovers" the row it changes color?
After all ,if you are gonna edit a let's say user, your gonna edit it full,
not only it's lastname or whatever
2)
Is it possible to manage FileUpload fields w
I have a page with many components all them throwing events and actions.
I started implementing the onActivate if not loged then go login pattern
As events and actions where added I've noticed that I have to check if the
user is loged in every event handler.
I expected the onActivate method to
Thanks Filip for your answer I did as you said and worked OK.
Though, relaying on the state of the property makes me feel less
confident...(tipical I don't see where the value comes from paranoia)
--
View this message in context:
http://www.nabble.com/T5-if-component-tp17667375p17673104.html
Is it possible to send parameters to the if component?
I'm in a loop component and I would like to do something like this:
${node.name}
${node.name}
And then in the java code:
boolean Testj(int nod
Solved
The isue was that images where build up on the client side and where asigned
the baseURI+imagedirectory, as the baseURI now contains many more items the
result points far away where the images are .
to solve it I just write
String
s=img.baseURI.substring(0,img.baseURI.indexOf("app")+4)+"
Yes there was an image
I use the tree component found in
http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponents
In it, there is a javascript in which two icons are used the tipical + and -
icons to represent opened and closed folders, those icons are aded on the
window.onlo
I have a page with (for the moment) three components a layout, a tree
component and a tree navigator.The tree navigator displays the path to your
current displayed categories ex categories/cars/pickups, the tree component
shows as a list, the elements of the current category ex(nisan,ford,toyota)
It happened to me that I forgot to add the tml extension to a page , from
that moment I could not launch the application and jetty ended by crashing
due to a stack overflow
Just adding the extension and everithing went Ok again.
By the way , is it possible to have pages but not to use them? I
HugoPalma wrote:
>
> You should be using org.apache.tapestry.annotations.Service annotation.
>
> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/Service.html
>
> maxthesecond wrote:
>> Almost, but now compiler doesen't know what @Se
Almost, but now compiler doesen't know what @Service is.
I've read the documents but they lack a sample of usage from the client side
of the servicedon't know witch files I have to include (import) import
org.apache.tapestry.ioc.annotations.??
thanks a lot just one step and I'm done!
)
private CMSession _CMSession;
@InjectService("MyService1") private IMyInterface _CMF;
}
Before I have @Inject private IMyInterface _CMF;
Kheldar666 wrote:
>
> @InjectService("MyService1")
>
>
> maxthesecond wrote:
>&g
I have an Interface with 2 different implementations
lets say IMyInterface MyImplementation1 Myimplementation2
until now I only needed to use one of the implementations at once, so in my
client code I just wrote @Inject private IMyInterface
and everithing was ok, now I'm on the need to
while...
Filip S. Adamsen-2 wrote:
>
> Hi,
>
> It's what others are seeing. But you can do something about it:
>
> http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
>
> -Filip
>
> On 2008-05-18 10:42, maxthesecond wrote:
>> I forget t
I forget to mention this third case
component result
The specifications about br in xhtm states that correct
correct and correct and recomended for compatibility isues.
Now :however I write the tags in a tapestry component in the output I
get tag wich is as you know incorrect.
I might be wrong, and for sure it's not critical but I found out the
following behavihour when including tags in my component:
component output result
parsers warn that is not properly closed
none Tapestry wisdomely throws an exception "Tag neds end
tag"
p S. Adamsen-2 wrote:
>
> What? It's not uncommon to have methods on an ASO. You can also inject
> services into it when creating it if you use an ApplicationStateCreator.
> The relevant docs on Application State has an example at the bottom.
>
> -Filip
>
> maxtheseco
oopss!
I think I missed the point
the ASO aplication state object is merely a container for sharing
information across pages and time it shall not have metods, so I'll do as
you say.
thanks again
--
View this message in context:
http://www.nabble.com/T5-ASO---Services-tp17134860p17141903.html
Se
7;ll have the went-to-null trouble even passing the bits
> of data into your service as method args :)
>
> On Thu, May 8, 2008 at 2:38 PM, maxthesecond <[EMAIL PROTECTED]> wrote:
>>
>> How I'm suposed to get services inside an ASO?
>>
>> I placed my DAO objec
How I'm suposed to get services inside an ASO?
I placed my DAO objects in services I didn't need any sesion so far, but at
a certain point I need an ASO the wich needs to make use of my DAO services.
btw I've notice an old post in wich the willing was the oposit; how to acces
the ASO from a Serv
{
> _resource.triggerEvent("addToChart", new Object[]{values}, null);
> }
>
> Then in Page A
>
> void onAddToChart() {
> // Do your logic.
> }
>
>
> Hope that helps.
>
> Thanks!
>
> DH
>
>
> - Original Message -
pache/tapestry/commons/components/Editor.html
>
> maxthesecond wrote:
>> Thanks nicholas I'll give it a try...any way I'm not very disconforted
>> with
>> the script being in the parent after all parent and childs they form the
>> whole component, but I'm glad
a page: A
a wraper component: B
a component: C inside wraper having an action link with
id=addToChart
At the page level by now I can only trap the events from C like
@OnEvent(component="B")
void whatevernamewilldothejob(String ID){
}
Thanks nicholas I'll give it a try...any way I'm not very disconforted with
the script being in the parent after all parent and childs they form the
whole component, but I'm glad to see there's a general solution. Thanks
nicholas Krul wrote:
>
> Hi... Sorry it took so long, tonight is the firs
I reply to myself for if someone needs to do the same
>
> 1) Is this pattern feasible?
> 2) Shall I use the mixins aproach for doing this?
> 3) where can I found information to build up my javascript functions to
> embed the pagelink path?
> 4) how can I avoid the replication of javascrip
at of course will show up in my website; then the number of files
> I have to modify should be the minimal.
>
> Thanks you again and 1) I read the docs 2) I not allways understand them
> at first
> Have a nice day
>
>
>
>
>
> maxthesecond wrote:
>> Comp
epresent a
> myriad of things - literal text (literal:), a localized message
> (message:), a page property (prop:), etc.
>
> hope that helps
>
> chris
>
> maxthesecond wrote:
>> allegedly longs from
>> http://tapestry.formos.com/nightly/tapestry5/tapestry-co
strings as strings...
Regards and thank's again (don't be fooled by the message just some humor)
Sven Homburg wrote:
>
> tapestry can interprete numerics as integer (or long, im not sure)
>
> 2008/4/26 maxthesecond <[EMAIL PROTECTED]>:
>
>>
>>
>
> you should use "literal:mytext" for parameter stext
> without "literal" tapestry tries to interpret "mytext"
>
> 2008/4/26 maxthesecond <[EMAIL PROTECTED]>:
>
>>
>> In the count sample component
>>
>>
>> htt
In the count sample component
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/parameters.html
public class Count
{
@Parameter
private int _start = 1;
@Parameter(required = true)
private int _end;
//added by me
@Parameter(required = true)
private
50 matches
Mail list logo