,
MARK
P.S.: I am using T4.0 - after 1 or 2 months of learning the basics, I
took a break from Tapestry for over half a year, so now I am trying to
dig out what little knowledge I had gathered earlier this year... By
the way - is T4.1 production status yet? I tried to find something
regarding its
I think (parts of?) the NHL website is done with Tapestry: www.nhl.com
No idea about stats though...
MARK
Howard Lewis Ship wrote:
The start of conference season is just around the corner, and I'm
updating my presentations.
Probably THE most common question I get is "How well doe
implementation that you want to load with
the binder.bind command, I think you'd usually put them in the services
package, but don't think it matters because you are going to explicitly tell
Tapestry where to find them when you call bind in your AppModule file.
Mark
ing in the email
fields is passing the email validation, but getting rejected by the
database?
I don't remember what Tapestry uses to determine whether or not something is
a valid email address, but I do know that the actual spec for email
addresses is a lot more permissive than you'd think
the page:
http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1
<http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1>
Mark
On Mon, Oct 25, 2010 at 9:56 AM, hese <1024h...@gmail.com> wrote:
>
> Hi,
>
> I have a select box in my tml -
>
>
So if there is another problem the email validation will show you an error,
but not if the email validation is the only issue? That seems very odd.
You might try switching the order from validation="required,email" to
validation="email,required" just to see what happens.
y of those will help, but they are worth a try.
mark
On Mon, Oct 25, 2010 at 6:32 PM, Norman Franke wrote:
> I had a working Tapestry 5.1 project. I restarted Eclipse, and now Maven
> won't include the tapestry JARs when running my app using the jetty plugin.
> Everything compiles fi
it to the
default when the page reloads.
Mark
On Tue, Oct 26, 2010 at 11:29 AM, hese <1024h...@gmail.com> wrote:
>
> yes it does get called, the logs that i have in that functions appear.
>
> anyways...will try out your links.
>
> --
> View this message in context:
> ht
want.
However, since CSS isn't XHTML I can't serve it up with a .tml template.
Does anyone have any suggestions on how to approach this? Is there a
different solution that I may be overlooking?
Mark
:
<t:outputraw value="cssFromDatabase"/>
${pageTitle}
It seems to work, but it is rendering after the other stylesheets, so they
are overriding it. Is there a way to tell it to render after the other
stylesheets instead of before?
Mark
n asset) using the @Import annotation? Or is there another way to get my
or <link> tags to render AFTER Tapestry adds it's style sheets?
Mark
On Wed, Oct 27, 2010 at 3:40 PM, Michael Gentry <mgen...@masslight.net>wrote:
> Hi Mark,
>
> Try moving:
>
> <style ty
appening:
Layout.tml:
${title}
<t:outputraw value="cssFromDatabase"/>
Is rendered as:
My App
/*My CSS*/
This is on 5.2.2-SNAPSHOT and on 5.2.1. Has it behaved differently in the
past?
Mark
ote server, it would
probably work, but I can't seem to find a way to do that. Is it possible?
Mark
On Wed, Oct 27, 2010 at 7:28 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 27 Oct 2010 19:32:29 -0200, Mark wrote:
>
> This is on 5.2.2-SNAPSHOT
vaScriptSupport only has methods for
stylesheets that take Assets--and I can't create an asset that points to a
page. There isn't a method equivalent to renderSupport.addStylesheetLink
that takes a String.
Is there a replacement from RenderSupport.addStylesheetLink(String, String)
that
ckout @PageActivationContext and the
onActivate/onPassivate methods as ael suggested.
Mark
On Thu, Oct 28, 2010 at 7:42 PM, sigenz wrote:
>
> Hi All,
>
> I have an T5 application like this:
> http://www.crazymcphee.net/x/2009/08/26/tapestry-5-web-framework/
>
> public class Persons {
>
I think you want to look at the PageLink and the context parameter:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/PageLink.html
You would pass mypage in as the context or the link.
Does that do what you want?
Mark
On Tue, Dec 7, 2010 at 8:20 AM
You are on the right track. Look at this example:
http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxonevent
You'll have to make some changes to get it to work inside a form with a
variable number of items, but it should work with a multizone update.
Mark
On Fri, D
Link(Thing myThing) {
Do something with myThing and then return a zone update
}
There may be some errors in this code. I typed it from memory, but it
should give you an idea of the approach used to keep track of which link
updates which zone.
Hope that helps.
Mark
On Wed, Dec 15,
How are you setting up the Select to trigger an event?
On Mon, Dec 20, 2010 at 12:01 PM, Sergio Esteves <
sergio.este...@xpand-it.com> wrote:
> Hi all,
>
> I have a select which updates a zone; that zone has a delegate that calls a
> function to return an active block. The problem is, when I chan
d need to submit or follow a link and
then receive information back that tells it to open a new window--at which
point it would be too late.
Mark
Is there an easy way to tell tapestry-test to use Google Chrome instead of
Firefox?
Mark
I think t5components was renamed Chenillekit. Perhaps if you find a
sufficiently old version of Chenillekit you'll have what you are
looking for?
On Mon, Jan 3, 2011 at 12:49 PM, Stephan Schwab wrote:
>
> I should add that I'm aware of Chenillekit and the ck/Editor there.
>
> If possible, I wo
contributeRegistryStartup(OrderedConfiguration
configuration)
{
configuration.add("dbMigration", new Runnable() {
public void run() {
//code that needs to run before Hibernate
}
});
}
But that also seems to run after Hibernate has star
ltiZoneUpdate after it is constructed?
Any other suggestions on how to create a multizone update when the
number of zones to add vary at runtime?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
d("itemZone-" +item.getId(), itemZone);
> }
> return update;
>
> There are some recent defects filed to get this interface fixed,
> hopefully someone will get some time to look at it for the 5.3
> release.
>
> Josh
>
> On Mon, Jan 10, 2011 at 9:32 PM, Mark wro
ke this? Is there a different way to
do it that I've just overlooked and I'm making things harder than they
need to be?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
ve tried adding:
this.element.focus();
To the last line of updateZone : function() but it doesn't seem to do
anything. I AM able to set the focus to a field that is outside of
the updated zone, so my guess is that the zone update is somehow
making it lose focus.
Any ideas?
Mark
On Tue
You might try running mvn jetty:run from the command line and see if
the problem only happens in Eclipse? I've been doing something
similar all day and haven't had any problem, but I don't run Jetty
from within Eclipse.
Mark
On Tue, Jan 11, 2011 at 2:49 PM, Paul Stanton wrote:
designed for superman and the users probably aren't going to
understand why it didn't update at first and then miraculously updated
when they did something else.
It seems like this wouldn't be to extreme of a use case, so there must
f
things and second, call $.updateWithJSON method after the handler
method has returned.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
ow can I get a JSONObject to update parts of the page?
>
> Just return the JSONObject or JSONObject array directly.
OK, I think that kind of makes sense. Do you know of any examples of
this in the Jumpstart, Hotel booking or other example
}
return update;
Where getTotalPriceForItem returns a string that is the total price
for the row containing aItem.
Thanks for everyone's help.
Mark
On Tue, Jan 11, 2011 at 11:35 AM, Mark wrote:
> I have a form with a loop that looks something like this:
>
> |__QTY__|_
it a string
>> with the contents you want rendered.
>
> I guess this is the built-in coercion from String to Block.
I believe that is what is happening, but does anyone know if this
"should" work? I want to make sure I'm not taking advantage of
something that is just a
On Fri, Jan 14, 2011 at 10:52 AM, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 14 Jan 2011 14:40:52 -0200, Mark wrote:
>
>>>> It turns out there is a simple way to do this. So simple I was
>>>> overlooking it. When you create a multizone update you give it the
&
I found this in the integration tests:
What does the ^ mean in this context?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
d sometime as I think it
would help with Tapestry branding:
https://issues.apache.org/jira/browse/TAP5-1323
Mark
On Fri, Jan 14, 2011 at 12:06 PM, Josh Canfield wrote:
>> I believe that is what is happening, but does anyone know if this
>> "should" work? I want to
If there is interest in doing this, you might find this patch useful.
It switches the quickstart example over to match the style and feel of
the Hotel booking site and the new Tapestry site:
https://issues.apache.org/jira/browse/TAP5-1323
Mark
2011/1/16 françois facon :
> What do you think ab
manually I
could probably get it to work, but I'd like to continue to use the
BeanEditor if possible. Is there another, better way to handle this
that I'm not thinking of?
Thanks!
Mark
-
To unsubscribe, e-
On Fri, Jan 21, 2011 at 2:27 PM, Thiago H. de Paula Figueiredo
wrote:
> On Fri, 21 Jan 2011 17:50:30 -0200, Mark wrote:
>
>> However, I'm running into a problem with Selenium testing because the
>> fields get ids like: firstName_12da594667a
>> and of course it is
nt with 0-based java,
> you could do that easily, as well...
>
> Robert
>
> On Jan 21, 2011, at 1/213:01 PM , Mark wrote:
>
>> On Fri, Jan 21, 2011 at 2:27 PM, Thiago H. de Paula Figueiredo
>> wrote:
>>> On Fri, 21 Jan 2011 17:50:30 -0200, Mark
7;d try to make sure your
environment is as close to the environment as what you are running the
unit tests in. For example, if you are running the unit test from
maven, then launch jetty from maven as well, etc.
Mark
On Fri, Jan 21, 2011 at 4:14 AM, AlbertoAlmagro
wrote:
>
> I can't belie
nents seems to work.)
I haven't been able to find any real documentation other than a page
showing what it is supposed to do. Just wondering if anyone else has
gotten it to work and if it was worth the effort before I sink more
time into
Shouldn't the IF be within the title tags?
Error in Page title
Otherwise the browser isn't going to know where to put it and may just
discard anything that does render there.
Mark
On Sun, Jan 23, 2011 at 10:18 AM, Gnu Ubuntu wrote:
> Hi,
> I need to apply an
will set the value of the item property
to the first item it gets from itemList and then render the loop
contents. Then it will set the value of the item property to the next
value it gets from itemList, render the loop body, etc. until it runs
out of items in itemList.
Mark
On Sun, Jan 23, 2011
On Mon, Jan 24, 2011 at 2:23 PM, Christophe Furmaniak
wrote:
> This only work with the Ultimate Edition, no?
The website shows that it is available in the ultimate AND the
community edition:
http://www.jetbrains.com/idea/features/tapestry_5.html
But it doesn't seem to be available in community e
d item that is found with an id starting
with modifyUserLink.
Mark
On Tue, Jan 25, 2011 at 2:10 PM, Igor Drobiazko
wrote:
> If you don't like to provide client-ids besides t:id, you might create a
> mixin which will force t:id to be id as well.
>
> On Tue, Jan 25, 2011 at 9:03
something like:
click(“link=Text Of Link”);
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
don't know any of these things about what you are trying to
click, I'm not sure you can run selenium in any type of deterministic
manner because your selection must be based on something outside the
system.
Mark
---
add a parameter and get it to
work, but it seems like this should work. Is there a reason it
doesn't?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Even if you map /Admin to /admin, wouldn't you also need to map
/aDmin, /adMin, /admIn, /admiN, /ADmin, /aDMin, etc. ?
Personally I just use the annotations, but I can see how that might be
a bit difficult to retrofit into an application.
Mark
On Fri, Feb 4, 2011 at 6:32 AM, Barry Books
lly try to checkout the Tapestry project and look at
how the Selenium tests are run internally. Often you can find
something similar to what you are trying to do and use it as a model.
Mark
On Mon, Feb 7, 2011 at 3:37 AM, Gillespie59
wrote:
>
> Does anyone have a solution to my problem ?
&g
isn't
some way to do this using Tapestry's capabilities that I'm
overlooking.
Specifically, is there a way to get some type of executable script
into a Page or Service in a running app? Is this something Groovy can
do, or does Groovy only work with Tapestry when it is compiled
as it was when that row was rendered it should work.
Does that help?
Mark
On Mon, Feb 7, 2011 at 4:34 AM, Yohan Yudanara wrote:
> Hi,
>
> I've tried MultiZoneUpdate and it's working.
>
> So, I want to change my question:
> We can add/delete rows in AjaxFormLoop, so
something like:
public Object onSetQty(Item item) {
}
Mark
On Mon, Feb 7, 2011 at 4:51 AM, Yohan Yudanara wrote:
> Hi,
>
> I want to ask a question:
> Is it possible to pass additional info on Ajax Select (method
> "onValueChanged"), other than selected value ?
So when you use:
myIdName is being overwritten by something else?
Mark
On Mon, Feb 7, 2011 at 5:23 AM, Richard Hill wrote:
>
> Hi Igor,
>
> Thanks for the response. I forget to mention in my original email that I
> tried setting the id attribute as well, but to no avail -
you want
to use a shiro.ini configuration file,
Is that to say that in 0.3.1 case insensitivity is the default
behavior as long as you use lowercase in the shiro.ini file?
Mark
-
To unsubscribe, e-mail: us
sually work around this by just sticking another div with the desired
class inside of the AJaxFormLoop component.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
oing this?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
gestions
and looking for the simplest solution.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
If I understand your setup, you have three blocks that contain the
same id. You use zones to show them one at a time. However, I don't
think there is a way for Tapestry to know that you won't show two or
more at a time and because of this it gen
documentation, but it seems
designed for modifying services rather than components.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
into the page like so:
@Inject
private PageRenderLinkSource linkSource ;
Some other things to consider. You need the reset code to expire in
the not to distant future and you also need to delete it or mark it as
used once they actually use it to reset the password.
Thats a very general o
he bean editor?
Any suggestions would be helpful--particularly if there are any
examples even remotely similar that I may have overlooked.
Mark
On Tue, Feb 8, 2011 at 3:10 PM, Thiago H. de Paula Figueiredo
wrote:
> Please file a JIRA asking for an additional parameter (,
> for example) in BeanEdito
thinking
about using Tapestry and doesn't hurt to have some other points of
view contributing.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Here is the example from the component reference:
http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/ref/org/apache/tapestry5/corelib/components/Radio.html
Mark
On Wed, Feb 9, 2011 at 10:19 AM, hese <1024h...@gmail.com> wrote:
>
>
> Hi,
>
> The task is simple. I have
zone inside a form. I'm not sure why it would be giving
you an error unless you have something nested funny.
Mark
On Thu, Feb 10, 2011 at 5:25 AM, atcach wrote:
>
> Hi,
>
> I have a form and inside it I have a country/city/etc selection.
> The form is inside a zone.
> When cal
On Thu, Feb 10, 2011 at 10:32 AM, atcach wrote:
>
> Yes, indeed. I need only to update the zone named ubigeosZone (which is
> inside another zone)
> Regards
But is the entire form updating instead and wiping out anything that
has already been en
ry and
then you populate the list of Cities based on the Country they select,
there is no reason to submit the form until you are ready to do
something with it.
Also, if the form has an object behind it, you should get all the
values back if it is being persisted correctly.
Mark
On Thu, Feb 10, 2011 at
> Atcach, can you give a complete example (with .tml and controler code), with
> multiple select to refresh.
Take a look at this as well:
http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1
-
To unsub
On Fri, Feb 11, 2011 at 3:35 AM, Ivano Luberti wrote:
> But what is the reason why invisible instrumentation is not the only option.
> I have always thought that for a presentation framework having clean
> html files as tamplates is a major advantage.
>
Because if you aren't working with a designe
ssion language used by Drools and it is working very nicely.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Thanks for letting me know I forgot to try it from Linux. I'll see
if I can do something about that.
Mark
On Tue, Feb 15, 2011 at 7:06 AM, Alex Kotchnev wrote:
> Mark,
> this probably has to do with how the flash movie is encoded but it isn't
> viewable on Linux (Fedora 1
what most people are
developing with. So if there is a problem, it is likely to show up
quickly.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
ill seemed to drag.
http://blog.markwshead.com/900/tapestry-5-10-minute-demo/
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
;
>>> On Wed, Feb 16, 2011 at 1:48 PM, Lenny Primak
>>> wrote:
>>>> That's what the your mobile device is for :)
>>>>
>>>> On Feb 16, 2011, at 1:47 PM, Michael Gentry wrote:
>>>>
>>>>> Hi Mark,
>&
THanks for the suggestion. I was thinking about doing the same demo
program again, but this time spending more time explaining what is
going on. It would be much longer though, so I wasn't sure if people
would actually watch it. :)
Mark
On Thu, Feb 17, 2011 at 8:39 AM, Inge Solvoll
> What i am really looking for is to display/edit a JDBC ResultSet on a web page
> What do you think is the best way to do this?
So basically you want to create something like PHPMyAdmin in Tapestry?
Mark
-
To unsubscr
use the Apache Common's Configuration for this, but I
wanted to make sure I didn't overlook some built in capability and
re-invent the wheel.
Does anyone have any suggestions?
Mark
-
To unsubscribe, e-mail: users-unsubs
Ok thats what I've started using, but I wanted to make sure there wasn't
some built in Tapestry capability to write back to properties files. I'd
rather not re-invent the wheel when I don't have to.
Thanks!
Mark
On Sat, Feb 19, 2011 at 2:11 PM, Werner Keil wrote:
>
his a bug in 5.2.4 or is there something about using a page as the
bean that is causing the order to be wrong?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: us
Is there anyway to (easily) use DynaBeans (or something similar) in a
BeanEditForm? I'm looking for an easy way to edit a properties file
from within the application where the properties won't be known ahead
of time.
Mark
--
ething that
would handle automatically writing the values back to the the config
file for configuration data that the end user needs to change.
Is there a way to save changes back to a file using SymbolProvider?
Mark
-
To unsubscr
le, XML or a
database. Changes from the web interface get written to the file and
changes to the file get immediately read back into the web
application.
Thanks for your suggestions!
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
rder.
I know I can use the reorder properties, but the Tapestry
documentation says that the order should follow the order of the
getter methods in the bean. This works with a bean that is not a page
class. Is there a reason this isn't true if the bean is also a page
class or
the page. Should I file this as a
bug or is it intentional.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
). Obviously there is
a need for both.
Mark
On Sat, Feb 19, 2011 at 11:53 AM, Kalle Korhonen
wrote:
> Mark, I linked to your screencast from "Getting Started" and
> "Presentations" pages of Tapestry's official documentation. I linked
> to your blog rather than t
This wasn't using the @Property annotations. I was using getters and setters.
The ordering isn't working when using a bean that is injected either.
I'm not sure if this is a bug or if it is just something where it is
impossible to get the information for ordering.
Mark
On Mon,
erties is not alphabetical, it is
>the order of the getter methods.
I understand that this doesn't necessarily mean it is going to work in
transformed or injected classes, but the idea of ordering things by
the getter method is covered in the documentation.
Mark
On Mon, Feb 21, 2011 at
how it is used in a loop:
http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/ref/org/apache/tapestry5/corelib/components/EventLink.html
It might be a bit confusing because the context is specified in the
java class in an annotation instead of in the component, but it does
demonstrate how it wor
fferent settings from a page
class. I'm assuming I can inject something into the page class to
update these symbols, but I'm not sure what to use.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
inks created in this manner?
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Ah ok. That explains why I see it sometimes and not others. This is
what I ended up doing:
Link link = pageRenderLinkSource.createPageRenderLinkWithContext("page",
context);
link.removeParameter("jsessionid");
return link;
Any problems with that?
Mark
On Fri, Feb 25, 2
On Sat, Feb 26, 2011 at 6:07 AM, Dang Ngoc Son
wrote:
> 1. Tapestry 5 component show rss feed. Show info of user twitter in RSS
> format: ex: http://twitter.com/statuses/user_timeline/14717608.rss
If you want to read RSS feeds, you might want to look at Rome or
something similar. If there is a
Sounds great, but did you forget the github url? :)
Mark
On Thu, Mar 3, 2011 at 6:34 AM, Barry Books wrote:
> Now that I figured out GitHub I'm posting another library I use all
> the time. This is really just a AppModule that makes the AWS java
> library work as a set of Tap
constructor on AbstractTranslator in a way
that tells it to use a parameterized class type? If not, what other
ways are there to achieve this? Is an unparamterized list my only
option?
Mark
-
To unsubscribe,
> Why don't you implement Translator directly, without subclassing
> AbstractTranslator? It's a very, very short class with no logic at all.
Ah ok. That makes sense. I was following the example and didn't
think about just skiping the AbstractTrans
he id of the quote they made.
I have spent several hours going through the Hibernate forums trying
the solutions for everything similar, but nothing seems like an exact
match and none of the suggestions seemed to work. Is there something
I'm
s better. Thank you Thiago! It is much easier when it
gives you an actual error message.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
on another part of the page.
If that is what you are trying to do, are you sure you even need to
use an eventlink context? Can you just have the other Ajax event
update a persistent variable on the page and read it (instead of the
context) when the eventlink is triggered?
Mark
On Mon, Mar 28
1 - 100 of 494 matches
Mail list logo