Sorry, let me try rephrasing my question:
When I click on the checkbox, how do I modify the corresponding object
in the loop? The only way I can see of doing this is to iterate
manually, in which case a Tapestry checkbox component is not usable in a
loop.
Peter
Peter Stavrinides wrote:
Hi
Tomcat in eclipse has an Automatic publishing feature, which is not to
be confused with live class reloading. Publishing requires a partial
restart and republishes the war, you will notice the difference when
your web application grows, running the same app under jetty reloading
reloading is in
Hi.
I wrote simple HTML like below
start.html:
and very very simple tapestry codes.
Upload.java:
public class Upload {}
When I press submit button in the HTML file,
following error is occurred.
What I should to do?
Thanks for advice.
[ERROR] RequestExceptionHandler Processing of reques
in my component a html tag is rendered,and I want to add a onchange
envent to it.
below is some code ...
select.attribute("onchange","alert(this.options[this.selectedIndex].value);"
);
select is a element created by /*writer.element("select")*/
trigering a javascript event is ok here ..
but
Thanks, Peter and Chris, for your help. I finally figured out what it
was...I had two conflicting copies of javax.mail installed. I had it
included in my pom.xml, and I had a Debian package installed
libgnumail-java. (I'm on a Debian server). For some reason, the two
didn't play nice together.
On 4/23/08, Thiago HP <[EMAIL PROTECTED]> wrote:
> You can use the @OnEvent(component = "componentName",
> value="eventName") annotation
>
> (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/OnEvent.html)
> instead of method name conventions and then you can name yo
On 4/22/08, Kevin C. Dorff <[EMAIL PROTECTED]> wrote:
> NOW, to help with some future questions: With T3/T4 it was pretty easy to
> determine what methods to use for what, just look at the objects I was
> extending or implementing and I could see what method to implement or
> override to get w
> I'm not sure if I understand...
> Do you mean to say that manipulating the breadcrumb path (adding or
> removing crumbs) should/could all go into one event handler?
Sure, couldn't they? I'm not sure why they are split up into the two
different event handlers. Except in the case of action links a
Hi,
I'm not sure if I understand...
Do you mean to say that manipulating the breadcrumb path (adding or
removing crumbs) should/could all go into one event handler?
-J.
> Ah, by workflow I meant to ask when you expected the events to get
> fired, which you answered for the onactivate handler.
>
I've already sent a direct e-mail out to Stephane Decleire with the info
of this small error. I'll keep an eye out for the change on the wiki and
if it doesn't get thru, do the extra effort of signing-up and trying to
make the change myself ;-)
Anyways - another great example of the building T5 co
Hi Geoff,
it seems your JIRA describes just what I would like to have. I
especially like the idea with the conversation id, because my next
thought would have been: what happens if the user edits two different
persons in two different windows of his web browser at the same time
(over a sl
too much work. the alternative is just read env var
On 4/23/08, Igor Drobiazko <[EMAIL PROTECTED]> wrote:
> What about a new binding? You could inject a service into the binding which
> is responsible for resolving HiveMind symbols.
>
> On Wed, Apr 23, 2008 at 1:12 AM, Patrick Moore <[EMAIL PROTEC
Hello,
The Tooltip component of tapestry5-components
(http://code.google.com/p/tapestry5-components/) may help you:
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Tooltip.html
ice96 wrote:
> Hello,
> is it way to extend all form input components wi
Hi Jim,
I like to use the primary key, because it is short and by definition
unique, and usually the quickest way to retrieve an object from the
database.
For the problem you describe, users are only allowed to view people in
their own department, three different solutions come to my mind
Hello,
is it way to extend all form input components with function witch onFocus
shows hint (tooltip) onBlur hides?
Any suggestions?
--
View this message in context:
http://www.nabble.com/tooltips-%28hints%29-for-form-components-tp16834806p16834806.html
Sent from the Tapestry - User mailing list
Peter,
Thanks fo jumping in :-) - I was away and I wouldn't have readily known
the answer anyway, so I along with Jan appreciate your sharing.
Jan,
So is there something incorrect in the wiki, or perhaps something that
would be worth adding as a warning?
chris
Jan Vissers wrote:
> Great Peter,
Ah, by workflow I meant to ask when you expected the events to get
fired, which you answered for the onactivate handler.
So, why not do this all in one event handler, perhaps setupRender?
On Wed, Apr 23, 2008 at 11:44 AM, Jan Vissers <[EMAIL PROTECTED]> wrote:
> > I used T4 for a short period a
Great Peter,
This was indeed the problem. As I pointed out earlier - I use(d) Chris
great writeup on dispatchers on the wiki and also another follow up
article by
Stephane Decleire -
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess
Which contains the same anomaly.
Thx again,
-J.
>
> S
> I used T4 for a short period a long time ago, so I'm not understanding
> the parallels that you are making. Can you describe the workflow that
> you are shooting for? I'm not clear why you'd remove the breadcrumb in
> the activate event and the add it again the beginrender event.
beginRender wil
I used T4 for a short period a long time ago, so I'm not understanding
the parallels that you are making. Can you describe the workflow that
you are shooting for? I'm not clear why you'd remove the breadcrumb in
the activate event and the add it again the beginrender event.
Josh
On Wed, Apr 23,
Sorry to jump in here Chris... Jan not exactly sure what you are doing
since you haven't shown your code, but the exception is telling you "the
response has been committed" , which means you are trying to modify a
Response that is being processed, i.e.: it is read only. If you
interrupt the
Maybe because IE
you need edit tapestry.js about linkZone:function...
element.onsubmit = handler; replace to: Event.observe(element, 'submit',
handler);
and element.onclick = handler; replace to:Event.observe(element, 'click',
handler);
and need add line :Event.stop(event);
after new Ajax.Request
Thank you very much, that was exactly what I was looking for. I am new
to tapestry and it was not clear for me how loops are working, but now I
understand it. :-)
Also many thanks to the other guys that replied.
@Marcus: Grid didn’t work for me, because I didn't have any Bean that I
could pass.
Hi,
Need some advice. In T4 I had a breadcrumb component that got its
information from a breadcrumb model structure. Each page that needed to go
onto the crumb path would implement some base page class. This page class
implemented PageRenderListener and IExternalPage. The former to add info
to the
Tomcat 5.5 live reloading works for me with Eclipse. I followed the setup
process from the Tapestry 5 - Building Web Applications book and it works fine.
I've not really got into figuring out how a real dev environment should be set
up yet - I'm just evaluating/prototyping so far. I've not tried
Hi Josh,
I am pleasantly surprised to hear it works in IntelliJ, has anyone got
it working in eclipse?
Josh Canfield wrote:
Hmm... after reading the title again I guess the fact that it works in
Tomcat 5.5 is irrelevant... sorry for the sidetrack.
On Thu, Apr 17, 2008 at 10:01 AM, Josh Canfi
try adding an index to the loop, and then using this index to do the
translation b/n the getters/setters.
(but I don't know anything about encoders)
--nK
On Wed, Apr 23, 2008 at 3:24 PM, Peter Stavrinides <
[EMAIL PROTECTED]> wrote:
> Hi All
>
> I this scenario:
>
>
>
>
> How do I
Hi All
I this scenario:
How do I use the checkbox correctly when the user clicks it? 'I want to
associate it with an object' via a primary key perhaps...but the
checkbox only seems to have a value property of the type boolean:
http://tapestry.apache.org/tapestry5/tapestry-core/
You need to do something like:
document.thArray = new Array();
On Wed, Apr 23, 2008 at 3:43 PM, Rohan Kalyan <[EMAIL PROTECTED]> wrote:
> Hi all,
> We moved from tapestry 4.0.2 to 4.1.5
> we were using a script file and in had used the
> tag to initialize the values used in
> script function
Hi all,
We moved from tapestry 4.0.2 to 4.1.5
we were using a script file and in had used the
tag to initialize the values used in
script functions.
The variables defined in this tag were working as global variable and we
used to get the value of these variables in any script function.
After shift
Jim,
I have a T4 application that uses domain-object level security implemented
using the Acegi framework. I have used custom authorization code more
appropriate for my task, rather than the built-in Acegi method.
It works beautifully, and I've certainly seen people attempting to access
things t
Hi,
First I know it is a feature that parent method is prior to child's.
I need to extend GridPager component because the action link in GridPager
doesn't have a context parameter,
so the context info of the link is very limited(only the page No.). And I don't
like to persist context in sessi
Sounds like an issue with the server configuration, I suggest you get
the logs to work first, then you might get a better idea of why the mail
isn't working... if it works in development then chances are you are
missing a host entry or something small like that, which will pop up in
the logs.
I thought about that, but wouldn't tcpdump show the packets, even if
they were being blocked? I was looking for all packets with port 25.
Also, my code that's using javax.mail to send a message is looking for
exceptions, and writing to the log file if that happens. I haven't seen
anything in the
Hi Chris,
Thank you. As a matter of fact I used your wiki entries as my main
inspiration. So what I do now is:
use: "before:RootPath" for the contributation and
return 'false' on the dispath for '/login and '/assets/'
This works but in the background the following stuff is logged
(To be more pre
Hi Andy,
If exceptions aren't being thrown from the services/pages that use the
mail classes, then the javax.mail is present. Is it possible that your
server (or it's network) is blocking outbound smtp connections?
chris
Andy Huhn wrote:
> Hello,
>
> In my dev environment (running jetty6 from in
Hi Jan,
The first 2 paragraphs of this article cover what you want to do:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
Included also are relevant links to javadocs, as well as references to
the TapestryModule, where you can see how it influences dispatcher ordering.
chris
Ja
Hello,
In my dev environment (running jetty6 from inside Eclipse), I'm able to
use javax.mail classes and successfully connect to my mail server to
send a message. But when I migrate the code to my production server
(jetty6 also), everything seems to work correctly except that the app
doesn't con
Hi,
Just posted a question on dispatcher chain - but I think the subject
line was way to unclear - so sorry for asking the question again.
I want all of my pages (also the one that is shown when I access root
context without anything - so no '/start') to be passed thru my
dispatcher. How can I do
Hi,
First I know it is a feature that parent method is prior to child's.
I need to extend GridPager component because the action link in GridPager
doesn't have a context parameter,
so the context info of the link is very limited(only the page No.). And I
don't like to persist context in session.
Hi,
First I know it is a feature that parent method is prior to child's.
I need to extend GridPager component because the action link in GridPager
doesn't have a context parameter,
so the context info of the link is very limited(only the page No.). And I don't
like to persist context in sessi
Hi,
I've written an adapter - inspired by work by Chris. However when I
access my application the 'rootContext' web access, doesn't pass thru
this dispatcher.
Basically what I want is for every request to be introspected by my
dispatcher. Is that possible?
-J.
Hi,
First I know it is a feature that parent method is prior to child's.
I need to extend GridPager component because the action link in GridPager
doesn't have a context parameter,
so the context info of the link is very limited(only the page No.). And I don't
like to persist context in sessi
What about a new binding? You could inject a service into the binding which
is responsible for resolving HiveMind symbols.
On Wed, Apr 23, 2008 at 1:12 AM, Patrick Moore <[EMAIL PROTECTED]> wrote:
> Hi there --
>
> O.k. I feel silly -- but how do I use hivemind variables directly in a
> component
Hi Howard!
Don't forget to release Tapestry 5.0.12 together
with a useful demo application once the time is ripe.
The more demos, the bettermaybe even a "Petshop 2.0" with Ajax widgets?
So long
Tobias
Original-Nachricht
> Datum: Tue, 22 Apr 2008 20:20:49 -0700
> Von:
45 matches
Mail list logo