I must be daft. I can't make sense of this example. I'm using 5.0.3.
We have a layout like so: (filename: Layout.html)
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Hello
This layout goes in the "pages" directory.
Then we have a page like so: (filen
HAHA Like I said. I am daft :-p
--
View this message in context:
http://www.nabble.com/Layout-Component-tf3494445.html#a9878953
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
Hi,
This is a best practices question. What is the impact of component level
inheritance as far as performance is concerned? Is the the best solution to
keep components as flat as possible?
Thanks
bjorn
--
View this message in context:
http://www.nabble.com/Tapestry-5-Component-Inheritance-and
Ok, I've been barking up a tree the whole day... and I'm not even sure it's
the wrong one.
I want to be able to do real component templating like struts has it's
tiles. So my page (CoolPage) would look something like this:
.. a one liner
My CoolPage.java would have some string properties refer
that is
> wrapper to the page content.
>
> Feels weird initially but works well.
>
> --- bjornharvold <[EMAIL PROTECTED]> wrote:
>
>>
>> Ok, I've been barking up a tree the whole day... and
>> I'm not even sure it's
>> the wrong one.
t goes
> here.
>
> And individual pages look like this;
>
><-- this is the first page
> line
> ..
> Meaningful page content
> ..
>
>
> --- bjornharvold <[EMAIL PROTECTED]> wrote:
>
>>
>> Konstantin,
>>
>> Can you give m
Nice - thanks :-)
--
View this message in context:
http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10226122
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL P
I can't seem to get template reloading to work. Classes reload just fine. I
installed the latest Eclipse with JettyRunner and jetty 5.1. Anyone have the
same problem or better yet, the solution?
thx
bjorn
--
View this message in context:
http://www.nabble.com/Tapestry-5-and-Template-Reloadi
start, and changes STILL
don't come up. I have to CLEAN in order for it to update which leaves me to
believe this is some caching issue on jetty or eclipse.
Problem still not solved :-(
thx
bjorn
bjornharvold wrote:
>
> I can't seem to get template reloading to work. Classes reloa
no I am using /src/main/webapp.
kristian.marinkovic wrote:
>
> did you use the target/ directories to configure jetty? the target
> directory is refreshed only after a new build. make sure jetty points to
> src/main/webapp/ and not tp target/webapp... -bjornharvold
> &l
I have a front-end that wants JSON data from the back-end. Using a regular
webapp I would integrate JSON-RPC. I started out doing this with my t5 app
and quickly realized I had to write something to put the jsonrpc bridge in
the session (like a listener) and then some component that would have acc
ns are useful when you want to add new ajax behavior to already
> existent
> "non ajax" aware components(if i'm not wrong.. ).
>
> hope it helps,
> Alex
>
>
> On 5/1/07, bjornharvold <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have a front-en
StreamResponse
> return streamResponse;
> }
>
> hope i haven't forgot anything.
>
> Alex
>
>
> On 5/2/07, bjornharvold <[EMAIL PROTECTED]> wrote:
>>
>>
>> Sounds interesting. I looked at component events. Are you saying that you
>> ca
The problem was resolved.
1. I couldn't even get Jetty to run with 5.0.4-SNAPSHOT in Eclipse (this
worked fine in Intellij / Tomcat). I reverted to 5.0.3.
2. The files had gotten jumbled around with html files in src/main/java and
java files in src/main/resources. Real mess.
3. Maven adds the sr
Version 5.0.3 works fine. This is what I get when starting up Jetty with
JettyLauncher inside eclipse 3.2.2. I have cleaned eclipse and built from
scratch.
main] INFO 2007-05-07 09:43:05,703 http.SocketListener - Started
SocketListener on 0.0.0.0:8080
org.mortbay.util.MultiException[java.l
Alexandru,
How could you add runtime parameters to this Ajax call? e.g. you want to
call isUsernameAvailable with parameter "jsmith"?
Thanks
bjorn
--
View this message in context:
http://www.nabble.com/Tapestry-5-Mixins-Remoting-JSON-tf3676880.html#a10378474
Sent from the Tapestry - User maili
Thank you for the lightning response!
the parameter "jsmith" is of course the runtime text the user enters as his
username so there is no way for me to hard code that into the
getUrlFromClass method. Javascript is the only thing that knows what the
username is at the time of checking. Can I use t
FYI: it works great when just downloading the t 5 archetype and running it
with jetty launcher etc.
HOWEVER, My app has several modules with dependencies on spring, hibernate,
xfire etc etc. This is where the problem must be. I think recalling seeing
another post with this issue and the solution
WORKS GREAT!
:-D
--
View this message in context:
http://www.nabble.com/Tapestry-5-Mixins-Remoting-JSON-tf3676880.html#a10384351
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EM
Another FYI,
I can start my application using mvn jetty:run without problems using 5.0.4.
It's the jettylauncher and eclipse that is the problem.
--
View this message in context:
http://www.nabble.com/Tapestry-5-and-Template-Reloading-tf3671362.html#a10394244
Sent from the Tapestry - User maili
This is still an issue. I have installed t5 5.0.4 with my app on two PCs and
1 mac. Jetty launcher does not like jdk 1.6. All my laptops give me the same
stacktace as noted.
--
View this message in context:
http://www.nabble.com/Tapestry-5-and-Template-Reloading-tf3671362.html#a10420939
Sent fr
Hi Andreas,
Thanks for this. It's still not working.
Still getting:
[ main] INFO 2007-05-11 09:40:12,460 http.SocketListener - Started
SocketListener on 0.0.0.0:8080
org.mortbay.util.MultiException[java.lang.RuntimeException: Error building
service proxy for service 'Alias' (at
org.apache.t
I gave up on the JettyLauncher for now. I cannot figure it out. However, on a
good note. I did move my pages to WEB-INF and launching the app from the
command line using mvn jetty:run now works fine. I guess that will take care
of reloading the pages when I save in Eclipse. I haven't figured out h
23 matches
Mail list logo