Also another consideration is that this project will need to be a Java 1.4
solution (using xml configuration), so no annotation support. I believe
that this means that com.javaforge.tapestry:tapestry-spring isn't going to
be the right module to use for the job as this requires Java 1.5. Is there
Btw, I came across this issue when following the documentation for the
standard Tapestry 4.1 archetype
http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html. It
looks to be exactly what I need if I can get those dependencies to resolve.
If there is a better alternative for creating
Hi everyone,
I am trying to locate the artifact
com.javaforge.tapestry:tapestry-javaforge for
a legacy Tapestry 4 project that will be using
com.javaforge.tapestry:tapestry-spring. I am able to locate tapestry-spring
from http://static.appfuse.org/repository, but its parent project
tapestry-javaf
On Fri, Apr 8, 2011 at 1:43 PM, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 08 Apr 2011 16:59:26 -0300, David Rees wrote:
>> Yep, did that and it works great now. Should I update the wiki or
>> something?
>
> Please do it. Thanks in advance. :)
Done.
http://wiki.apache.org/tapestry/Tapestry
As we move away from the error bubbles, I think you'll see that errors
will naturally attach to the fields, and will just display
errors not associated with a specific field.
On Fri, Apr 8, 2011 at 5:01 PM, Adam Zimowski wrote:
> By default BeanEditForm includes .
>
> BeanEditor seems to expect
By default BeanEditForm includes .
BeanEditor seems to expect that t:errors is placed outside if
programmer wants it.
Intuitively, I would expect a feature for both to support inline errors:
with rendered next to a field and some CSS class to override.
That would be nice.
-
You should really take Howard's advice and look at how the upload
component works. You can't just change the content type of the form
because this changes how servlets behave. Try googling for "servlet
multipart/form-data" and find that since the beginning of time people
have been writing libraries
Hi again,
I am still working on the same form!
I have managed to get my javascript initialized and uploaded to the client!
Everything works great until I get in the onActivate method.
Then I get an exception, which I can't figure out the problem, I have also
explicit changed the Form.method to Po
On Fri, Apr 8, 2011 at 12:06 PM, Igor Drobiazko
wrote:
> You can use the PerthreadManager service.
>
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html
This is preferred.
It ensures that everything is cleaned up at the end of the request
with non
Hi,
I need to implement component based on javascript library. To make this
component reusable I have to inject some string values inside the
Hi,
I'd like to make parts of our application available as portlets with a liferay
server. So far I have found the tapestry5portlet project on google code with
some hints on how to move forward.
But I have not yet been able to integrate the demo into my liferray 6.0.5 demo
installation.
Is tape
On Fri, 08 Apr 2011 16:59:26 -0300, David Rees wrote:
Yep, did that and it works great now. Should I update the wiki or
something?
Please do it. Thanks in advance. :)
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
On Fri, Apr 8, 2011 at 12:01 PM, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 08 Apr 2011 15:44:43 -0300, Joe Klecko wrote:
>> DOH! Nice find David. I've been using this binding in several T5.1
>> projects and now starting to use it in T5.2 projects. Thiago is there an
>> easy T5 way to mak
You can use the PerthreadManager service.
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PerthreadManager.html
On Fri, Apr 8, 2011 at 8:44 PM, Joe Klecko wrote:
> DOH! Nice find David. I've been using this binding in several T5.1
> projects and now starting to u
On Fri, 08 Apr 2011 15:44:43 -0300, Joe Klecko wrote:
DOH! Nice find David. I've been using this binding in several T5.1
projects and now starting to use it in T5.2 projects. Thiago is there an
easy T5 way to make it thread safe or should the index value be stored
using something like Thr
DOH! Nice find David. I've been using this binding in several T5.1
projects and now starting to use it in T5.2 projects. Thiago is there an
easy T5 way to make it thread safe or should the index value be stored using
something like ThreadLocal?
Also even though the page
(http://wiki.apache.org
Well...,
Tapestry and favicon work great together..., just follow the steps described
before and
try not to get messed with pages that have different layouts as I did :S.
sorry for the noise in the list..,
and thanks for your responses.
Nicolás.-
I have found: it was the same for object
and not
But now is tapestry able to handle one beaneditform in another one?
When I look in the html code with firebug, there is only one form : the form
for the resource bean but not the one for the restype edition.
Anyways, thanks to all of you for y
Sorry about this one.., it was my bad..
ALSO I 'd like to say that even though I keep seeing the tomcat or jetty
> favicon... the favicon.ico file that is inside the generated war is the
> tapestry favicon, not mine...
>
I 'm still trying..., now with the way bryan shows
Nicolás.-
On Fri, Apr
I haven't had any trouble defining a favicon, and I run in Jetty both on my
dev machine ond on our production server. I put the icon file in
src/main/webapp/i. My layout component does:
${title}
(I forget why I needed both links and maybe I don't any more... some browser
inc
Sorry to bother again,
it didn't work
tested on tomcat after generating the .war and also using mvn jetty:run
here I paste the generated head tag:
>
> title
> href="/appName/assets/tapestry/5.1.0.5/default.css">
> href="/appName/assets/blackbird/5.1.0.5/blackbird.
Hi!, thanks for both responses...
Are you using a layout component?
>
>
yes I 'm...
Are you running in Jetty?
>
>
yes also...
guys... 're you some kind of mentalist? ;)
I 'll try it on tomcat... but I asked it right away because looking into
generated html I couldn't see the link to the .ico I
Are you running in Jetty? I notice it replace my favicon on localhost
(mvn jetty:run); under tomcat my favicon is shown:
on my layout component as usual:
nicola.
On 04/08/2011 03:11 PM, Thiago H. de Paula Figueiredo wrote:
> On Fri, 08 Apr 2011 10:08:54 -0300, Nicolas Barrera
> wrote:
>
>
On Fri, 08 Apr 2011 10:08:54 -0300, Nicolas Barrera
wrote:
Hi,
Hi!
What I 've faced trying to setup this using Tapestry 5.1.0.5... is that
that code I added inside my head tag (that link to favicon) is erased and
replaced by javascripts includes (other links) generated by tapestry.
AF
Hi,
I 've read on the internet about setting up favicon on a web site.
As I see it, it takes some easy steps to do it the cross-browser way:
- Add a 16x16 .ico file at the website root folder (I 've put it in
src/main/webapp/favicon.ico)
- Add the following html code inside the header tag:
>
>
Richard Hill-7 wrote:
>
> Well you can't call a method on null! null is not a String with value
> "null". It's a special value in java - basically a reference to a value
> called null (i.e distinct from an undefined variable that has no
> reference assigned). You need to check for a null value be
sorry: s/undefined/uninitialised
On Fri, 2011-04-08 at 13:47 +0100, Richard Hill wrote:
> Well you can't call a method on null! null is not a String with value
> "null". It's a special value in java - basically a reference to a value
> called null (i.e distinct from an undefined variable that ha
Well you can't call a method on null! null is not a String with value
"null". It's a special value in java - basically a reference to a value
called null (i.e distinct from an undefined variable that has no
reference assigned). You need to check for a null value before calling
any methods:
if(use
Richard Hill-7 wrote:
>
> You don't say what line your getting your npe but I'm guessing it's
> this:
>
> if(user.getUserType().equalsIgnoreCase("Admin")
>
> if .getUserType() is null as you imply it can be then
> calling .equalsIgnorecase() is going to result in an npe.
>
Ye thats the line i
You don't say what line your getting your npe but I'm guessing it's
this:
if(user.getUserType().equalsIgnoreCase("Admin")
if .getUserType() is null as you imply it can be then
calling .equalsIgnorecase() is going to result in an npe.
On Fri, 2011-04-08 at 04:59 -0700, robnangle wrote:
> I am
On Fri, 08 Apr 2011 01:36:03 -0300, David Rees wrote:
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle
Remember that this isn't part of the official documentation, so the
quality of the pages vary a lot.
It appears that the same CycleBinding ends up being used across
r
Just to clarify: as Andreas says you have to use javascript as you need
to make two requests in response to one click. So your onclick or bound
handler does something like:
1) Submit form data and loads response (the pdf) in new window. If it is
not possible to specify a target attribute for a fo
Ah yes sorry I hadn't considered your requirement to submit form data.
Submitting as a POST complicates things I think. Our web access is down
so I can't check Google but does an html form element take a target
attribute or equivalent? Then I guess the response can be loaded in a
new window. Ther
This is not possible without javascript because one request can only
trigger one response.
I believe the most elegant and generic solution can be achieved
through the concept
of notifications (stackoverflow does this when it displays messages in
the top ...
and perhaps your app has something simil
Hi,
I have a form with a required textfield companyName, and a form
fragment which is displayed if one of the radio buttons on the form is
clicked. When form fragment is hidden, companyName is validated by
Tapestry if not provided (required validation), but when form fragment
is visible, Tapestry
I am working on my index page and I am setting the side bars based on three
types of people that will be on it:
1) A normal user who userType is null, as they will never have the option to
view or change it
2)An admin user who userType is set to a string "Admin"
3) Any viewer who will be able to se
Thanks for the suggestion Richard. One thing I am having difficulty with (I
couldn’t see this in your reply) is how to submit the form data required to
generate the PDF to the server before launching the PDF using target="blank".
Perhaps I am going about this in a wrong-headed way and need to
The simplest way I'm guessing is to have your link that
generates/returns the pdf to be a target="_blank" as you say.
Then in javascript change the window url from the detail url to the
summary url.
If adding your own js to an actionlink is tricky you could not use an
action (or page) link, but
I have a requirement to generate a PDF based on some submitted form data in
a 'detail' page, and then pop up the PDF in a new tab/window while at the
same time returning from the 'detail' page to a 'summary' page. I don't
want to pollute the summary page with any code related to opening the PDF in
Hi,
I recall in the past some templates were posted on the Tapestry wiki that
allowed you to import a DTD into eclipse, which is meant to provide some basic
content assistance and validation for tml templates. I found the article again
here:
http://wiki.apache.org/tapestry/Tapestry5JSPEditorEcl
Hi,
I stripped ${} from the model parameter and it works, up to the next error.
Now the beaneditform try to read the resType properties (code, label) but
could not convert String to ResType as shown in the following trace :
java.lang.String cannot be cast to
com.selenarstudio.agenda.domain.mod
hum ok, thank you, i'll look at your link.
Someone knows if Testify will evolve, in short or long term, to manage the
zone update?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-Testify-SetupRender-launched-instead-of-update-a-zone-tp4288081p4290262.html
Sent
42 matches
Mail list logo