PageLink with parameters?

2006-11-12 Thread Mark
, 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

Re: WANTED: Tapestry Success Stories

2007-01-23 Thread Mark
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

Re: [T5.2] Beginner questions about modules, services injection and packages

2010-10-23 Thread Mark
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

Re: Objects session persistance and validation

2010-10-25 Thread 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

Re: dynamically reload a select control

2010-10-25 Thread Mark
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 - > >

Re: Objects session persistance and validation

2010-10-25 Thread Mark
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.

Re: Maven Issues

2010-10-25 Thread Mark
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

Re: dynamically reload a select control

2010-10-26 Thread Mark
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

CSS in Database

2010-10-27 Thread Mark
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

Re: CSS in Database

2010-10-27 Thread 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

Re: CSS in Database

2010-10-27 Thread 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

Re: CSS in Database

2010-10-27 Thread Mark
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

Re: CSS in Database

2010-10-27 Thread 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

Re: CSS in Database

2010-10-27 Thread Mark
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

Re: Persistent data issue

2010-10-28 Thread Mark
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 { >

Re: Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-07 Thread Mark
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

Re: Ajax Multizone update on text field change

2010-12-17 Thread Mark
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

Re: Things in a loop go null

2010-12-18 Thread Mark
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,

Re: Select with zone

2010-12-20 Thread Mark
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

Re: [Bulk] Re: add target to Link

2010-12-21 Thread Mark
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

SeleniumTestCase and other browsers

2010-12-25 Thread Mark
Is there an easy way to tell tapestry-test to use Google Chrome instead of Firefox? Mark

Re: t5components/Editor - where did it go?

2011-01-03 Thread 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

Run Before Hibernate Loads

2011-01-03 Thread Mark
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

Building a multizone update in a loop

2011-01-10 Thread Mark
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

Re: Building a multizone update in a loop

2011-01-10 Thread Mark
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

Context of a Zone

2011-01-11 Thread Mark
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

Re: Context of a Zone

2011-01-11 Thread Mark
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

Re: attn howard: live reloading breaking using jetty

2011-01-11 Thread Mark
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:

Re: Context of a Zone

2011-01-11 Thread Mark
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

Re: Updating a page with a JSONObject

2011-01-13 Thread Mark
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

Re: Updating a page with a JSONObject

2011-01-13 Thread Mark
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

Re: Context of a Zone

2011-01-13 Thread Mark
} 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__|_

Re: Context of a Zone

2011-01-14 Thread Mark
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

Re: Context of a Zone

2011-01-14 Thread Mark
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 &

What does zone="^" mean?

2011-01-14 Thread Mark
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

Re: Context of a Zone

2011-01-14 Thread Mark
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

Re: Need help upgrading JumpStart examples to Tapestry 5.2

2011-01-16 Thread Mark
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

Ids for Testing BeanEditor in AjaxFormLoop

2011-01-21 Thread Mark
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-

Re: Ids for Testing BeanEditor in AjaxFormLoop

2011-01-21 Thread Mark
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

Re: Ids for Testing BeanEditor in AjaxFormLoop

2011-01-21 Thread Mark
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

Re: Http Basic authentication with Tapestry

2011-01-21 Thread 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

IntelliJ IDEA

2011-01-23 Thread Mark
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

Re: Dynamic Layout

2011-01-23 Thread Mark
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

Re: Regarding Loop compontent

2011-01-23 Thread Mark
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

Re: IntelliJ IDEA

2011-01-24 Thread Mark
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

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Mark
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

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Mark
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

Re: Testing Tapestry webapps with Selenium

2011-01-27 Thread Mark
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 ---

property of a property in include parameter of a grid

2011-01-31 Thread 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

Re: Tynamo Security and Tapestry case insensitive paths

2011-02-04 Thread Mark
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

Re: Test Selenium with Tapestry 5.2.4

2011-02-07 Thread Mark
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

Changes to Logic at Runtime

2011-02-07 Thread Mark
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

Re: [T5.2] Update Zone inside AjaxFormLoop

2011-02-07 Thread Mark
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

Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-07 Thread Mark
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 ?

Re: How to fix the id attribute of a select component

2011-02-07 Thread Mark
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 -

Re: Tynamo Security and Tapestry case insensitive paths

2011-02-07 Thread Mark
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

Re: AjaxFormLoop does not render informal parameters

2011-02-07 Thread Mark
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

Re: [T5.2] Pass additional info/context on Ajax Select

2011-02-08 Thread Mark
oing this? Mark - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Annotation for Field Description

2011-02-08 Thread Mark
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

Re: How to fix the id attribute of a select component

2011-02-08 Thread Mark
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

Re: Annotation for Field Description

2011-02-08 Thread Mark
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

Re: How to program "Self-service password reset" in tapestry?

2011-02-08 Thread Mark
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

Re: Annotation for Field Description

2011-02-08 Thread Mark
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

Re: Noticed another stackoverflow question on Tapestry 5, go vote

2011-02-09 Thread Mark
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

Re: Simple radiogroup question

2011-02-09 Thread Mark
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

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
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

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
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

Re: Tapestry 5 zone inside a form

2011-02-10 Thread Mark
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

Re: Dynamic combo box - Tapestry 5.2.2

2011-02-10 Thread Mark
> 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

Re: any good wyswyg web editor recommend?

2011-02-11 Thread Mark
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

Re: Changes to Logic at Runtime

2011-02-13 Thread Mark
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

10 Minute Web Application Demo

2011-02-14 Thread Mark
. Mark - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: 10 Minute Web Application Demo

2011-02-15 Thread Mark
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

Re: Tapestry 5 & JBoss 6 - Silently Fails

2011-02-15 Thread Mark
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

Re: 10 Minute Web Application Demo

2011-02-16 Thread Mark
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

Re: 10 Minute Web Application Demo

2011-02-16 Thread Mark
; >>> 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, >&

Re: 10 Minute Web Application Demo

2011-02-17 Thread 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

Re: Best way to create a simple database display application?

2011-02-18 Thread Mark
> 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

Configuration Data

2011-02-19 Thread Mark
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

Re: Configuration Data

2011-02-19 Thread Mark
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: >

Default Ordering for BeanEditForm

2011-02-19 Thread Mark
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

DynaBeans and BeanEditForm

2011-02-19 Thread Mark
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 --

Re: Configuration Data

2011-02-20 Thread 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

Re: Configuration Data

2011-02-20 Thread Mark
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

Re: Default Ordering for BeanEditForm

2011-02-20 Thread Mark
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

Re: Default Ordering for BeanEditForm

2011-02-20 Thread Mark
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

Re: 10 Minute Web Application Demo

2011-02-21 Thread Mark
). 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

Re: Default Ordering for BeanEditForm

2011-02-21 Thread Mark
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,

Re: Default Ordering for BeanEditForm

2011-02-21 Thread Mark
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

Re: EventLink URI and loop component

2011-02-24 Thread Mark
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

Update symbols outside of App Module

2011-02-24 Thread Mark
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

session id

2011-02-25 Thread Mark
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

Re: session id

2011-02-25 Thread Mark
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

Re: Tapestry 5

2011-02-26 Thread Mark
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

Re: [ANN] Tapestry AWS Services

2011-03-03 Thread Mark
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

Translator to and From a List

2011-03-07 Thread Mark
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,

Re: Translator to and From a List

2011-03-07 Thread Mark
> 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

Could not synchronize database state with session

2011-03-07 Thread Mark
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

Re: Could not synchronize database state with session

2011-03-08 Thread Mark
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

Re: dynamically changing event link context on client side using js

2011-03-28 Thread Mark
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   2   3   4   5   >