Hi Jacques
* Is there a searchable archive of mailing list?
> See here: http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the
> page) - using Google.
Cheers, Erik
Did you already find the Wiki:
http://wiki.apache.org/tapestry/Tapestry5HowTos
You should also see some information there about Layout (aka Border)
components that can be used as a Tiles like generic template.
Cheers
Erik
On 9/24/07, Marc A. Donis <[EMAIL PROTECTED]> wrote:
>
> I also am using Hi
e 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 a lot of questions today,
> and
&g
e as document that available in tapestry
> 5
> documents
>
> On 9/23/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
> >
> > Hi Mohammad,
> >
> > It would help if you would show the actual (relevant) content of your
> > class
> > and html file, si
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
Besides the home side (http://tapestry.apache.org/tapestry5/), the link to
Howard's tutorials (http://tapestry.apache.org/tapestry5/tutorial1/) and
screencasts (http://tapestry.apache.org/tapestry5/screencast.html), the
maven archetype that creates an example project (
http://tapestry.apache.org/ta
Hi Angelo,
And how did you define currentuser? Any annotations?
Cheers, Erik
On 9/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I use following code to output a html text, but it works first time, when
> I
> switch to other users, the page will never be updated, remain the contents
>
Hi Angelo,
I haven't found a way to upload an article, but if you just mean entering
the text, that should be OK since you have an account: login and edit
http://wiki.apache.org/tapestry/Tapestry5HowTos (click the 'edit' link, top
left). Next, add the article name where it belongs. For example, wh
Hi,
I've read the manual about services, but don't get it: It's like seeing the
puzzle pieces, but not the whole. Can someone explain it to me please,
especially:
1. How can I use a service to connect to my database? Or should I use
Hibernate?
2. How can I use a service to access the fil
Hi Michele,
1. Why would you do this? For example, you would normally do something like
this in your mypage.html:
Link text
and something like this in your mypage.java:
@Persist
String myName;
public void onActionFromName(String name) {
myName = name;
}
2. You can create a page in your java
A quick-and-dirty way is to just replace the two beans with one bean with
all required fields, just for editing :-)
Erik
On 9/4/07, Peter Beshai <[EMAIL PROTECTED]> wrote:
>
> I have a bean, Course, with a field of type CourseId, which has a
> String department abbreviation and an Integer number.
Hi Angelo,
I'm not a T5 expert, but I also have a need for AJAX functionality -
however, instead of using my own approach, I prefer to wait a bit longer
till Howard Lewis Ship (principal developer) will cook something up. I
assume it will be with Dojo (since T4 uses it, and Jess is also part of th
Hi,
I would like to extend the Palette component, such that when a value (either
left or right) is selected, it shows some additional information about the
selected entity (e.g. I have a list of items, and when I click on an item to
select it, I see the details). It's like adding an onSelect event
Hi Angelo,
Can't you just use (in the HTML part of your page):
and put the ok0.gif image in the src/main/webapp/img folder.
Cheers
Erik
On 8/30/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Everytime I need to display an image, I have to do something like this:
>
> @Inject
>
tion, but somehow, I can guess it's link. How does the
framework protect me from invoking that link anyways? Do you have equivalent
functions as ifLoggedIn and ifRole in the java class files?
Cheers
Erik
On 8/27/07, Robin Helgelin <[EMAIL PROTECTED]> wrote:
>
> On 8/27/07,
Hi,
Just wondering - when dealing with page authorizations, does this model
expand to component authorizations, i.e. you may visit the page, but not
certain components (redirect to another component), or you can see a
component, but with less privileges (e.g. view but not edit). In other
words, ho
Does this link help:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
Cheers
Erik
On 8/17/07, ipoese <[EMAIL PROTECTED]> wrote:
>
>
> Hi Folks,
>
> for all those who cannot make much sense of my subject - sorry. I didn't
> know any better way of putting it, reall
I've just created a simple T5 tree component:
http://wiki.apache.org/tapestry/Tapestry5TreeComponent based on
http://www.dhtmlgoodies.com/index.html?whichScript=drag-drop-folder-tree.
Comments are welcome.
Cheers
Erik
Hi,
>From a security point of view, you shouldn't tell the user what was wrong,
as this is a security risk (e.g. a potential attacker now knows that a
certain username exists, and only needs to discover the password). You
could, however, before you redirect him, call a function in the normal login
Hi Donyee,
Please have a look here:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
Cheers
Erik
On 7/6/07, Malin Ljungh <[EMAIL PROTECTED]> wrote:
No, sorry, I use T4.
Don't know how it works in T5, unfortunately.
Malin
On 7/6/07, Donyee <[EMAIL PROTECTE
Hi Janko,
In your html template, you could use:
Include css file
do something else
Cheers
Erik
On 7/2/07, Janko Muzykant <[EMAIL PROTECTED]> wrote:
hi all,
i would like to have an optional css for each of my components. optional,
because depending on component's
Hi Eko,
Whatever
Please select an object first!
Cheers
Erik
On 7/2/07, Eko S.W. <[EMAIL PROTECTED]> wrote:
Dear community,
Is there else clause in construct ???
I've try (but maybe not hard), but can not find it.
That is, is there an else if you use ???
* I imagine it to
Hi all,
I want to use the Grid component to display a list of questions and answers:
since there are many questions, I don't want the user to see them all at
once, but instead show them conditionally as needed. For example, when
clicking yes (answer), it will show some subsequent questions (opens
Hi Leo,
You may also have a look at the Tapestry5 Wiki, e.g. here:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourQuickstartWithMaven206
Cheers
Erik
On 6/16/07, Leo Stefanesco <[EMAIL PROTECTED]> wrote:
2007/6/16, SergeEby <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> The URL you mentioned is r
ate some things into my getLabel() method,
like concatenating first and last names, etc.
i.e.
String getLabel(){
return lastname + ", " + firstname;
}
On 6/15/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm studying the component, which I want to
Hi all,
I'm studying the component, which I want to use for
populating a select list with products, e.g. the HTML should look like
Product 1
etc...
I've used it succesfully with a string of names (look at the BlockDemo
example in the source code), as well as with an ENUM (look at the
Palette
I'm not sure what you mean with 'sending parameters', but I've used it as
follows:
In my border/layout class (with a component), I've included
prototype.js and my own utils.js.
In utils.js, I have declared a function doSomethingUseful(productId), which
wraps prototype's Ajax.Updater function.
Hi All,
I use a layout/border component to define the general look and feel of my
page. This layout consists of other embedded components. Depending on
certain events in the main body (i.e.the bit), some of the
embedded components in the layout component need to be refreshed/rerendered.
What wo
number and a
date that it works for (T5.0.5 SNAPSHOT on 6/5/2007, etc).
On 6/12/07, Marcell Manfrin Barbacena <[EMAIL PROTECTED]> wrote:
> Nice. However some links looks wrong and there are lots of java class
> without htmls. How could we keep this bleeding edge?
>
> []s
>
Duh, I feel like an idiot, but this is really a great tip. As promised, I
have created a Wiki HowTo
page for it, so hopefully, it will prevent some other sod like me to make
the same mistake :-)
http://wiki.apache.org/tapestry/Tapestry5CheckOutTheSourceCode
Thanks Marcus!
On 6/12/07, Marcus <[EM
Hi all,
Does someone have a palette example - it requires some parameters, and it
would be nice to see what they look like.
I'll promis to add it to the Wiki (and attribute it, of course :-)
Thanks
Erik
tRootElement().getEmbeddedElement("anyelement");
>
> RenderQueueImpl queue =
> new RenderQueueImpl(page.getLog());
>
> element.queueRender(queue);
>
> queue.run(markupWriter);
> markupWriter.end();
> initializer.cleanup(markupWriter);
>
Hi all,
Is it possible to use prototype's AJAX updater function to replace a div
with the output of a tapastry page or component?
I''ve tried the following:
I created a js function which should update the mainContent div
*function* showAJAX(index) {
*new* Ajax.Updater("mainContent", "GetContent
)
return tab2;
return tab1;
}
g,
kris
"Erik Vullings" <[EMAIL PROTECTED]>
10.06.2007 11:54
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
T5 tab-like component
Hi all,
Since there does not seem to be a T5 tab compon
Hi Thomas,
Have a look at Howard's screencasts, esp. #5, for an introduction (
http://tapestry.apache.org/tapestry5/screencast.html)
- In case you need to hide properties, the @NonVisual annotation should do
the trick (before the property declaration).
- Different labels: I haven't tried it with
is is how BeanEditForm and Grid components operate (as of 5.0.5).
On 6/10/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
> So how would you generate a mashup, consisting of multiple
services/pages,
> similar to a portal, using T5?
>
> Cheers
> Erik
>
>
> On 6/9/07, Howard L
So how would you generate a mashup, consisting of multiple services/pages,
similar to a portal, using T5?
Cheers
Erik
On 6/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Here we go again ...
Tapestry pages a very structured, in effect, static. This is core to
Tapestry's approach towards
Hi all,
Since there does not seem to be a T5 tab component, should I use the Dojo
one? Furthermore, what's the best way to use it for offering multiple views
on the same object. For example, when choosing a user in a list, I would
like to use a tab-like view to show business details, personal det
Hi Marcus,
It's just a JavaBean, representing a building or room, and some getters and
setters.
Cheers
Erik
On 6/9/07, Marcus <[EMAIL PROTECTED]> wrote:
Hi Erik,
what about (nl.tno.secureit2.data.PhysicalObject)?
Thanks
Marcus
Hi all,
When using AJAX before, I've often used the Ajax.Updater("DIVNAME",
"ActionURL", { method : "get", etc. function.
In T5, we are using events, which I think is much neater (it also combines
well with my C# experience). However, I'm not sure how I can implement this
same functionality in T
ages
BTW- the favicon.ico goes directly in webapp
Daniel
On 6/7/07, Erik Vullings <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Could somebody tell me what's the best place in T5.0.5 to store general
(i.e.,
> they are not needed by Tapestry, but only to by the page) css files,
Hi All,
Could somebody tell me what's the best place in T5.0.5 to store general (i.e.,
they are not needed by Tapestry, but only to by the page) css files, js
files and images, and where to store CSS/JS etc files specifically needed
for building components?
Thanks
Erik
Hi,
I've recently started working with T5 because I liked a lot what I've
seen! I therefore have some basic questions, and I hope you can help
me with them:
1. I've started changing the quickstart project to move a current
struts2-spring-jdbc application to T5. Where can I put my dao
initializat
43 matches
Mail list logo