Hello Juan,
thank you very much. This is exactly what i was looking for. Seeing things
in context makes all the difference.
Regards,
Otho
2007/5/11, Juan Maya <[EMAIL PROTECTED]>:
Otto, i just send u an application that contains mostly all of what i have
experienced with tapestry 5.
It's not co
hi paul,
is there no way of delegating to your asset-class? or using a wrapper or adpter?
something about writing an abstract asset class that works with injection and
then passing stuff to your asset?
you may also use the hivemind registry to directly call services at runntime.
Registry.const
maybe my problem is more to do with hivemind:
basically i have an asset class (developed by someone else) which is non
abstract, but still needs to reference a hivemind service.
How can I have the service injected?
I've tried using setter method injection, but since the asset class is
not re
tapestry version 5.0.4
I have the following code in the html template of my LayoutCmpnt
Greek
English
and the following code in the LayoutCmpnt.java
@Inject
@Service("ThreadLocale")
private ThreadLocale threadLocaleService;
@Inject
private Locale
I put my outside jars in /src/main/resources. I believe WEB-INF/lib
should work as well. Then in Eclipse I also configure them info the
build-time path.
Bill
On 5/7/07, Marcus <[EMAIL PROTECTED]> wrote:
Hi,
Using T5 and Jetty, where should I put my JDBC jar?
With T4 and Tomcat I just put on
Otto, i just send u an application that contains mostly all of what i have
experienced with tapestry 5.
It's not complex but u could see a Template strategy, Custom components and
a basic integration with Acegi.
Don;t doubt to contact me if u have any questions.
On 5/10/07, Otho <[EMAIL PROTECTE
Hello Juan,
thank you very much for the links. I didn't know the second one yet. But
they don't really help. Maybe they are crystal clear if you have previous
knowledge of Tapestry but unfortunately I don't, so this somewhat
disconnected and abbreviated snippets don't tell me much. Is there really
Client side.. the nifty new dojo popup.
If I disable client side validation it works fine, and I will do that
for now.. but I'd really rather not.
Thanks again
Tony
Andreas Andreou wrote:
well... the code is correct... i even tried it myself!
So, what kind of validation error you get?
Clien
Ok I've got this working now, by doing the validation again, though
that doesn't seem like the optimal way to do it.
dojo.event.connectOnce(tapestry.form, "submitAsync", function
(e) {
if (e.id != "addBillableItemEventForm") return;
if (tapestry.form.validation
well... the code is correct... i even tried it myself!
So, what kind of validation error you get?
Client side? or server side? What happens if you disable javascript?
On 5/11/07, Tony Nelson <[EMAIL PROTECTED]> wrote:
Sorry, I should have supplied that in my original e-mail.
public abstr
http://jax.be/jettylauncher.jar
just copy + paste it in place of the old jar in the correct eclipse/plugin
folder ;)
On 5/10/07, bjornharvold <[EMAIL PROTECTED]> wrote:
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. Al
Sorry, I should have supplied that in my original e-mail.
public abstract Integer getTradeId();
Thanks again
Tony
Andreas Andreou wrote:
What's the type of tradeId ?
On 5/10/07, Tony Nelson <[EMAIL PROTECTED]> wrote:
I have a simple form that includes this:
And no matter what legal
When you have an engine service that serves up binary files, for
instance, and calls WebResponse.getOutputStream() should it or should it
not close the output stream when it's done with it?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
--
I know, i'm using that to provide a custom look for the dialog. But i
can't use the css to correct the placement of the dialog.
I've tried using the position css attribute with no luck.
Julian Wood wrote:
You can style that dialog to your preference. I use:
/* style the dojo dialog used for va
What's the type of tradeId ?
On 5/10/07, Tony Nelson <[EMAIL PROTECTED]> wrote:
I have a simple form that includes this:
And no matter what legal numeric value I enter, I always get a
validation error.
Where is my typo? Because I certainly can't find it.
I'm using yesterdays 4.1.2 snapsh
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
To define ur template strategy i recommend u to read this threads:
http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10223765
http://www.nabble.com/T5%3A-Best-page-templating-strategy-tf3551324.html#a9914552
After that is pretty straight forward.
On 5/10/07, Otho <[EMAIL PROTECTE
Alas, I decided to use 4.0.x due to the instability of 4.1 for this
project. I guess for now, I'll just print the label in red and
nothing else. I can't do the "**" after the field since that
completely messes up the formatting (everything being placed rather
precisely.)
I could probably
You can style that dialog to your preference. I use:
/* style the dojo dialog used for validation errors */
.alertDialog {
border: 1px dashed #191919;
padding: 5px;
background: #ffcc66;
}
.alertContent {
background: #ffcc66;
text-align: right;
}
.missingList {
text-align
Ok that is quite nice. Still a few things. I'm at this point:
dojo.event.connectOnce(tapestry.form, "submitAsync", function
(e) {
if (e.id != "addBillableItemEventForm") return;
dojo.widget.byId("addBillableItemEventDialog").hide();
});
Hi all!
I am new to Tapestry as a whole and tried to find my way through Tapestry 5
docs with... mixed results.
What I really miss is a non trivial example application which shows
specifically how to do templating and component reuse in Tap5.
From what I understood about the component orientati
It seems that the dojo dialog that shows up when i use clientValidation is
aligned to the left instead of being in the middle.
I can see that the generated div with id "validationbDialog" has the correct
placement(it's right in the middle of the page) but the inner div that has
the contents of the
I have a simple form that includes this:
And no matter what legal numeric value I enter, I always get a
validation error.
Where is my typo? Because I certainly can't find it.
I'm using yesterdays 4.1.2 snapshot.
tapestry
tapestry-annotations
4.1.2-2007050
Hi All,
So, I suceed in creating instance of Tapestry Page using PageTester.
But if the page contain Injected SpringBean, it'll cause error.
The error message says, "getAttribute() does not supported"
( more or less like that )
What is the Problem?
Is unit testing a Page containing Injected Sprin
I have the following link in my html tapestry page
English
and the following method in the corresponding Java Class but it doesn't get
called when the above link is clicked
@OnEvent(value = "action", component = "englishLocaleLink")
Object onActionFromEnglishLocaleLink(@InjectServ
Ok, now I got it right, almost ;).
Somehow tapestry tapestry.form.onFormSubmit is not called, when you use
tapestry.form.submit to submit the form, as @LinkSubmit does.
So I ended up with two connections for the defuser:
dojo.event.connect("before", tapestry.form ,"onFormSubmit",
I got it, My eclipse was set to use java 1.4 instead of 5.
too stupid.
Thanks
Regards
John
- Original Message -
From: "Eugene Lozovan" <[EMAIL PROTECTED]>
To: "Tapestry users" ; "John Lee"
<[EMAIL PROTECTED]>
Sent: Thursday, May 10, 2007 12:57 PM
Subject: Re: Does anyone have the same
Thx Peter,
i found a way with this:
public class PdfWriterTestPage
{
public StreamResponse onSubmit()
{
// Create PDF
InputStream is=generatePDF("Hello very nice world");
// Return response
return ne
Hi,
I need to delete a temp file in the end of a request to a Service.
I'm using IEngineService and i try to implement PageEndRenderListener
and PageDetachListener but this doesn't work.
There is another way to do that?
Thanks,
Paulo Ramos
hi sabine,
i overlooked your topic!
there are other possibilities in T5, you can use the SreamResponse to return a
PDF via a listener!
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
-Ursprüngliche Nachricht-
Von: Ulrich Stärk [mailto:[EMAIL PROTECTED]
Gesendet: D
Especially have a look at how to create your own service to output raw bytes instead of rendering a
HTML page.
Uli
Peter Schröder schrieb:
hi sabine,
take a look at http://www.agileskills2.org/EWDT/
-Ursprüngliche Nachricht-
Von: Sabine K. [mailto:[EMAIL PROTECTED]
Gesendet: Donn
hi sabine,
take a look at http://www.agileskills2.org/EWDT/
-Ursprüngliche Nachricht-
Von: Sabine K. [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Mai 2007 11:11
An: users@tapestry.apache.org
Betreff: T5: Generate pdfs.
Hello,
i want to generate a pdf file from some textareas.
Thanks, that worked
I'm still getting JDK1.4 trouble though:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.NoSuchMethodError: java.lang.Integer.valueOf(I)Ljava/lang/Integer;
ognl.ASTProperty.toSetSourceString(ASTProperty.java:548)
org.apache.tapestry.services.impl.HiveMind
On 5/10/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
Oh, wait a minute...here's a possible purpose: You HAVE to use
NetBeans to develop it! (At least for now).
No, there is an Eclipse plugin available.
--
regards,
Robin
-
Hello,
i want to generate a pdf file from some textareas. To generate the pdfs i
want to use itext. Can u give me some hinds were i can get some information
for generating pdfs?
Best regards
--
View this message in context:
http://www.nabble.com/T5%3A-Generate-pdfs.-tf3720491.html#a10409778
Se
Oh, wait a minute...here's a possible purpose: You HAVE to use
NetBeans to develop it! (At least for now).
On 5/9/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
Yeah, JavaFX looks really weird and purposeless.
--- Bill Holloway <[EMAIL PROTECTED]> wrote:
> I've looked at sample code fo
Please have look:
http://www.devshed.com/c/a/Apache/Making-a-CelebrityCollector-with-Apach
e-Tapestry-the-For-Component/
Apparently, DevShed decided to publish Tapestry tutorials daily.
Cheers,
Alexander
--
CONFIDENT
Hi,
Here's how I would like to organise my templates:
* security of storing my html files under web-inf
* organisation of subdirectories
* no page specifications
So my desired structure is:
name: "Page1" and "module/Page2"
template: "WEB-INF/Page1.html" and "WEB-INF/module/Page2.html"
java: "co
> And hey, if that works, perhaps contribute back into tacos?
>
> i'm sure we'll have to implement that eventually, so it'll be
> a huge shortcut if we could use that!
sure, if I ever make it work ... :(
-
To unsubscribe, e-ma
did you try using Tapestry-Creator? thats a helper-object for testing. i dont
know, if its just for components...
-Ursprüngliche Nachricht-
Von: Paul Stanton [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Mai 2007 02:39
An: Tapestry users
Betreff: Re: instantiate abstract asset cla
40 matches
Mail list logo