I also am using Hibernate at work, trying to integrate it to a WebObjects
presentation framework. It has not been easy. It just makes me nostalgic
for EOF. I choose Cayenne for this project specifically because I am
looking to re-create the ease and simplicity of WO.
Cheers,
Marc
- Ori
Do you want it to be processed on the server side, or on the client side?
For javascript, you should be able to just add an onchange attribute. If you
want to add AJAX support, I'm not sure how to do that yet.
Josh
On 9/23/07, Josh Penza <[EMAIL PROTECTED]> wrote:
>
> How can I catch the onchang
Angelo,
Thanks Angelo. What my service needs is an access control list stored in
a database, but it doesn't actually need to query the database as long
as it can be passed the list (as some kind of object). So I think what I
need is to use @Session in my AppModule, query in my builder method,
For the record, I use a global .properties file to contain all common
application strings. I avoid page/component properties files because I
feel they cause too much scatter. The exception being if a component (or
collection of them) merits its own library, then I'll make an exception.
Correct m
Because the model classes (non T5 components/pages/mixins) are not
auto-reloaded when changed, validation put into business objects with
attributes will require a restart of the server when altered. Many
people put them into .properties files so that they can benefit from
the rapid reloadi
Obviously it depends on whether you will ever need to do l10n.
The validation examples don't do it to keep the code shorter.
Otherwise of course it makes sense every string is localizable.
Whether you do it globally or per page/component is up to you.
Cheers,
Nick.
Robert A. Decker wrote:
I'm
I'm just starting out in Tapestry (WO developer since 3.51) Does
everyone automatically create a .properties file for their pages/
components and put their validation, messages, etc in there? Or is it
more selective?
The tutorial gave some great examples of using the properties file
for va
So. I love the Environment, and you can use it to easily manager
request-singleton objects for the pages (through simple contributions).
But it looks like the Environment object is only used for the Render
cycle, and it's totally empty for the onActivate and onAction (event
phases). I think that'
WOComponentContent is wonderful, and is actually quite easy to do in
Tapestry. It's in one of the examples.
You use a body component.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
go down to the Tapestry Elements section, and read the examples
there. It should be
Hi Chris,
If what you want is, accessing the hibernate session from your service,
Davor has answer to my similar question before:
declare Session as parameter in you service constructor
you dont even need to call any inject annotation ...
MyServiceImpl(Session session){
this.session=sessi
Hi Mad,
Initially I like WebObjects, particularly the bundled tools, As a
Cocoa/Objective - C developer using XCode, I like to use WO with the same
set of tools, but finally settled with Tapestry 5 as what rumor says that
Tapestry has some inheritage from WO:) Cayenne, is it the ORM tool? I'm
usi
Hi Dalahoo,
I use the Intellij too, here is what I did:
create a project with maven, you can find the steps from the tutorial, then:
mvn idea:idea
now open the project with Intellij.
For the layout issue, I have followed the sample code posted by Josh
Canfield, it works very well:
http://www.
Hello Marc,
me, I'm another one seeking for good old WebObjects features in the
post Apple world ... unfortunately, my company is completely on JSF
trip, which I absolutely dislike.
But on to your question:
is WOComponentContent.
That was simple wasn't it? :-)
Marcus.
2007/9/23, Marc A. Doni
Hi everyone,
First off, I am new to Tapestry, although I've been doing WebObjects for about
8 years, so the I'm hoping the transition won't be too painful. I've chosen to
work with Tapestry 5 since it seems like quite a signifiicant evolution from
the previous version, but I'm having some diff
Ich werde ab 23.09.2007 nicht im Büro sein. Ich kehre zurück am
26.09.2007.
Bitte kontaktieren Sie in dringenden Fällen das Porsche Informatik Customer
Care Center:
http://www.porsche-informatik.at/sup_kontakt.htm
oder per Web:
http://support.porscheinformatik.at/
Grüße,
Christian Köberl
ASOs are natively supported in T5, and if I'm not mistaken, store
user-specific state. That is, state objects are tied to a specific
client, typically in the session. If you need generally accessible data,
I think what you want is a general service that all clients can access,
as ASOs are per-c
sorry for bothering you erik
but i build project with maven, and problem not solved yet :(
there is no difference between project that i setup in Intellij IDEA and
other that maven build :(
On 9/23/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
>
> Hi Mohammad,
>
> There is nothing to it. Just go
I have a List with objects that I reuse on several pages.
At this moment I read the List from the database on each page, resulting in
several unnecessary select queries.
Is it possible to put the List with objects in some kind of application
state object, so I can reuse it over and over again on
Hi Mohammad,
There is nothing to it. Just google for maven download, unpack it to a
directory, and put the maven binary somewhere in your environment path.
Afterwards, you can just call maven to create the archetype, and it will
download all dependencies automatically.
The layout component is like
Hi Erik,
i don't have maven and can't use it,
my other test components work fine,
i have only problem with Layout. :(
On 9/23/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
>
> I would REALLY recommend that you first create a maven archetype and start
> learning from there: you have already asked
I would REALLY recommend that you first create a maven archetype and start
learning from there: you have already asked a lot of questions today, and
most of your problems seem to be related to the way you have setup your
project. However, Tapestry expects certain things to be in certain places,
and
Hi Erik,
i use Intellij IDEA for development,
my project structure is :
---/resources/WEB-INF/Start.html
---/resources/WEB-INF/test/components/Layout.html
---/src/test/pages/Start.java
---/src/test/components/Layout.java
in web.xml :
tapestry.app-package
test
Layout.h
Hi Mohammad,
It would help if you would show the actual (relevant) content of your class
and html file, since if you would have followed the guide, it should have
worked :-)
Related to your other question: The xsd template hasn't got a final (full)
version yet, AFAIK.
Did you also have a look at
Please search the archives of this mailing list - there have been
several threads about layout.
http://wiki.apache.org/tapestry/Tapestry5HowToSearchTheMailingLists
Cheers.
On 9/23/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote:
> Dear friends,
>
> I looked all pages and tutorials related to T5, but
I've a couple reasons for wanting to be able to essentially have a package
appear as a page.
One is that I would love to have my static website be a Tapestry
application. Partly because development using components just seems quicker
and easier than development using Dreamweaver templates. I wou
Hi Chris,
i write this sample layout, but i got exception,
here is my project structure :
resources/WEB-INF/
-- Start.html
--/test/components/Layout.html
src/test/pages
--Start.java
src/test/compoents
--Layout.java
when i run application i got this error on page :
An unexpected application
But visiting
'www.mydomain.com/myapp/package1'
actually does work in that scenario, as long as there is a '/' at the end.
And visiting
'www.mydomain.com/myapp/package1/package1/'
doesn't work at all. This is actually what I was trying to accomplish,
except for the fact that the ab
Mohammad,
Don't worry about your English. I just moved to a foreign country to
learn the language, and its hard. I understand what you need so let's
start with your layout component.
First you'll need to read about component templates
(http://tapestry.apache.org/tapestry5/tapestry-core/guide
How can I catch the onchange event from a select in T5?
are there examples?
Hi All,
i have created a simple page layout, as i read in this guide :
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
but when i run my application, i got this exception :
Sep 23, 2007 2:54:24 PM
org.apache.tapestry.internal.services.PagePoolImplrelease
SEVERE: Page P
Hi Chris,
sorry for my pour English, i try to explain it completely.
we have two pages, each pages has its entity and probably its search
parameteres
in first entity i want to search X and Y properties.
and in second entity i want to search Z, V and W properties
each entity has its Service that
Hi Mohammad,
I'm not sure I completely understand. I think you have created a
component for rendering your search results, and I assume you have
created it to accept a parameter containing the results to display. So
you should be able to use it like this in your templates:
...
...
Thi
Dear friends,
I looked all pages and tutorials related to T5, but i can't find any thing
about Layout,
something like sitemesh or tiles,
where can i find a simple example or guide about T5 Layout ?
--
sincerely yours
M. H. Shamsi
-- Forwarded message --
From: Mohammad Shamsi <[EMAIL PROTECTED]>
Date: Sep 23, 2007 1:18 PM
Subject: [T5] - Parameter passing between Components.
To: Tapestry users <[EMAIL PROTECTED]>
Dear friends,
i have a search box in my page layout, and a component for show list of
items (l
Dear friends,
i have downloaded tapestry 5.0.5, but tapestry_5_0_0.xsd that bundled in jar
file seem incomplete, then my pages is not valid as a XHTML document in
IDE,
can i find a complete version of this file ?
--
sincerely yours
M. H. Shamsi
Dear friends,
i have a search box in my page layout, and a component for show list of
items (like table and grid)
i want to send search result to my grid component to show them, but i
don't know how to do it
i need it in all of my pages, and i don't want to repeat code in all pages.
any idea
Hy Bryant,
Just a reminder that templates can access messages which are cataloged
in either YourApp.properties or SomeComponent.properties. So if you have
a layout component then you could simply have it access a message string
like so:
${message:myapp.title}
No if that doesn't suit, and of
37 matches
Mail list logo