t sure
> if that actually works...).
>
> P
>
> On May 4, 2006, at 4:10 PM, Dan Adams wrote:
>
> > Okay, I'm getting some weirdness with ognl. I have a component with 2
> > parameters:
> >
> > @Parameter(defaultValue="true")
> &g
nl:preContent" I get a "no property"
exception and if I do "ognl:getPreContent()" I get a "no method"
exception. But if I do "ognl:showMessages" or "ognl:isShowMessages()"
those both work. Any ideas? Is tapestry not enhancing the class
correctl
that runs a web app and uses html unit to test them.
Anyone know of a way that I can have cobertura include the results from
the integration tests when calculating coverage for the modules?
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
Does anyone know of some useful plugins for generating tapestry/hivemind
related documentation when generating a site in maven 2, specifically
for generating component docs?
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
${submitted} = true;
return ret;
}
]]></body>
<initialization><![CDATA[
Tapestry.onsubmit('${form.name}', ${checkSubmit});
]]></initialization>
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: [OT] test case for pages that email
>
> So, make your page call a service which does all the work. Then, you can
> easily test a service object outside the container using mock objects.
>
> -Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Monda
; I would use MockObjects for this and the second line would be something
> like:
>
> emailService.sendEmail( params );
>
> Then, you give it a mock emailService and make sure it calls it.
>
> -----Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Monday
27; on line N displayed it, it's probably a safe bet
> that the code on line N+1 executed...
>
> -Mike
>
> On 4/10/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> > No no. Okay lets say I have some code in the page that does this:
> >
> > displayMessage();
>
your emails, you can be pretty sure that the emails will go
> out if your mail server is available and configured properly.
>
> -----Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 10, 2006 10:50 AM
> To: Tapestry users
> Subject: Re: [OT]
> let the user know it worked?
>
> -Mike
>
> On 4/10/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> > Okay, I have a page that, when submitted, sends an email. Now the page
> > uses a service via interface that actually does the emailing and that
> > service is te
doesn't effect the page in any way that i can test for using
htmlunit? Does anyone know of a lightweight mail server analogous to
jetty/hsqldb that i could use for testing?
--
Dan Adams
Software Engineer
Interactive Factory
---
has been done? There are a couple pages where if
you are not logged in and click a link (or if your session expires) then
it causes an NPE while what should happen is that the page validation
redirects back to the login page.
--
Dan Adams
Software Engineer
Interactive Factory
d for reliable init before a page render? pageBeginRender? Thanks.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There are a couple annotations that would be very useful for our system,
but would not really fit into the tapestry framework as a whole. Is
there a wiki page on how to do this or something?
--
Dan Adams
Software Engineer
Interactive Factory
class with the
> attributes? and how you declare the ones that are persisted.
>
> On 4/3/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > I have a view page that has a bug in it because one of the properties
> > should be persisted (or ignored) and is not. Now I'm trying
test case.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
>
> -Mike
>
> On 3/30/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> > What component should I use to insert a raw block of text that is UTF8
> > and has some unicode characters in it? I see that markupwriter says it
> > translates unicode into html entities but @
What component should I use to insert a raw block of text that is UTF8
and has some unicode characters in it? I see that markupwriter says it
translates unicode into html entities but @Insert converts the value to
a char[] before writing it.
--
Dan Adams
Software Engineer
Interactive Factory
sloader or something? I also checked that at the same place
where it loads the data that I can do other database operations so it's
not like I lost my session or something. Can anyone help?
--
Dan Adams
Software Engineer
Interactive Factory
-
it's not the right thing to
> learn because there's no jobs for it .
>
> On 3/22/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> > I think it's interesting that struts got more votes than JSF. Knowing
> > the amount of code it takes to do anything in JSF I mig
body to speak about Tapestry more frequently on occasions and
> this way we all will benefit from wider Tapestry adoption.
>
>
> Konstantin Ignatyev
--
Dan Adams
Software Engineer
Interactive Factory
-
sruptive change and I also see the
> benefit.
>
>
> On 3/21/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > In my application I have to upload large files (> 10m). I found posts on
> > gmane about having to re-implement MultipartDecoderImpl just so you can
&
ike I'll have to copy & paste (yuck!) the decode method to change
it.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
We are having a problem with using a # anchor link in a page because it
resolves the # relative to the base tag that the @Shell component puts
in the head. Is there a way around this?
--
Dan Adams
Software Engineer
Interactive Factory
Anyone have an easier way to renderblock informal parameters than:
ognl:components.blockname.getParameter('paramname') ?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROT
In the Validator.validate() method you get passed a ValidationMessages
instance. How do I have my validation messsages included in
ValidationMessages so I can use them in my validator?
--
Dan Adams
Software Engineer
Interactive Factory
Does anyone have an answer to this? I still don't know how to resolve
it.
On Wed, 2006-02-22 at 17:00 -0500, Dan Adams wrote:
> Is it possible to have it so that if a message that is referred to in a
> library and is not in the library messages catalog that it be looked up
>
would be greatly appreciated.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
d not finding it, it just gives up. any ideas?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
time the component is used. Any ideas?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
something? I would like it so that
the sub-project has it's own set of dependencies that are not bundled.
Thanks.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I know someone mentioned something about this being worked on a while
ago, but is there a good way to generate html docs for T4 components?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL
Is it possible to package a page inside a component library?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message
>
> -Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 17, 2006
work.
the only thing i've got to work is exporting the other project into a
jar and putting it in /WEB-INF/classes. any ideas?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTE
Okay, I'm using session-per-request with hibernate and in my aso I have
an object that associates the user with a school. Does anyone know of a
good way of re-associating the school with the current session on each
request or making sure it's in the session?
--
Dan Adams
Softwar
Well, I've been living in boston since June and have been using tapestry
since about July (and am loving it btw).
On Sat, 2006-01-21 at 14:16 -0800, Howard Lewis Ship wrote:
> Geez; why didn't I hear from you before I left?
>
> On 1/21/06, Dan Adams <[EMAIL PROTECTED]&g
Even though Howard has left Bostonia, anyone else still here that uses
tapestry? I'm over near the childrens museum.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
erties and putting
them in the same place as the page template and it still uses the
global .properties.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If the table name is City what would it be? Because if I try setting the
value to City.state.name then I would get back "could not resolve
property: City of com.domain.City". The way it is selecting it is
basically by using
session.createCriteria(City.class).addOrder(Order.asc("City.state.name"))
te saying "could not resolve property:
state.name". Is there a way to do this? Right now I have to make columns
like this unsortable but it would be nice if they were sortable.
--
Dan Adams
Software Engineer
Interactive Factory
-
Is there a way of specifying a message key for a column and have it be
different than the column id? For instance, the format given in Kent's
book is id:title:ognl but when you do that does it check for title as a
message key?
--
Dan Adams
Software Engineer
Interactive Fa
j that I don't know about. (which is a lot
> ;) )
>
> On 1/3/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > hmmm. maybe my question was confusing.
> >
> > my problem is that when the aso is created i inject my dao service. but
> > if the aso i
null)
> > s = MySessionFactory.openSession();
> > Object MyReloadedObject = s.load(MyClass.class, MyId);
> >
> > --- Pat
> >
> > > -Original Message-
> > > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > > Sent:
, Patrick Casey wrote:
> Can't you just get a new session e.g.
>
> Session s = getSession();
> If (s == null)
> s = MySessionFactory.openSession();
> Object MyReloadedObject = s.load(MyClass.class, MyId);
>
> --- Pat
>
>
ave the service. Anyone have a good solution to this?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yeah I'm the only developer on this and I've found that using htmlunit
with tdd has helped a lot to keep development speed high. without tdd it
would take much longer.
On Wed, 2005-12-21 at 18:46 +0100, Pedro Abelleira Seco wrote:
> We also have high-level methods for the particular components of
I looked at httpunit before it seemed to be that htmlunit is simply one
abstraction layer above that so that you can test using the DOM and not
have to deal with the low-level http stuff. i've found that with
htmlunit you can write tests very very easily be writing utility
functions on top of htmlu
Cheers,
> Ron
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubsc
training, mentoring, support
> and project work. http://howardlewisship.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Dan Adams
Software Engineer
Interactive Factory
on trace and
> tapestry error info on it, so developers can see it and final users only
> a "Internal error" message. I don't know if that is what you are looking
> for.
>
> We used a JVM system property to do that.
>
> Pedro
>
> El Mar, 20-12-2005 a las
I found lots of great info on how to create a custom exception page, but
I'm wondering if anyone has a good way to make the custom error page
only appear in a production deploy and not in a testing deploy.
--
Dan Adams
Software Engineer
Interactive Fa
? Not extend BasePage anymore.
> Couldn't it use dynamic bytecode enhancing to create a proxy that implements
> page? Those are only ideas ;)
>
> Regards
--
Dan Adams
Software Engineer
Interactive Factory
find myself in the position where I need to create essentially
a dialog box in a popup window that has a selected list of images and an
ok/cancel button. Anyone know of pre-existing stuff that could help with
this or should I roll my own?
--
Dan Adams
Software Engineer
Interactive Factory
Is there a component out there somewhere (i looked around in tassel but
didnt anything) to have a list of items (in my case they will be image
thumbnails) that are scrollable and when an item is selected it gets
highlighted? Is there a proper name for this kind of component?
--
Dan Adams
/tapestry/tapestry/apidocs/org/apache/tapestry/callback/DirectCallback.html
> http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/callback/ExternalCallback.html
>
> Dan Adams wrote:
>
> >Okay, it's fairly simple to put code in validate() to check if a user is
>
back.html
> http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/callback/ExternalCallback.html
>
> Dan Adams wrote:
>
> >Okay, it's fairly simple to put code in validate() to check if a user is
> >logged in and then redirect them back with a callb
u, 2005-12-08 at 09:06 -0600, Leonardo Quijano Vincenzi wrote:
> Dan Adams wrote:
> > Not sure if you guys saw this in TSS but it looks interesting. It's
> > another web framework based on swing. It's got some neat features to it
> > like drag and drop (non-ajax)
Okay, it's fairly simple to put code in validate() to check if a user is
logged in and then redirect them back with a callback after logging in.
But this only works for the page service. Is there a way of doing this
for other services, particularly the direct and external services?
--
Dan
-wings.org/snipsnap/space/Welcome
demo:
http://demo.j-wings.org/wingset/WingSet/
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
boolean property and page B also contains an
instance of @Comp. Is it possible to set the property to true in A but
to false in B?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Is there a way to bind a column to one thing and then specify the key
for looking up the label as something else?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
code but haven't
> bit off that particular bullet yet. It's not complicated, it's just ...
> tedious and there's always something more important to work on in my
> experience.
>
> So if you find a good solution, I'd love to hear it, but in the
> int
) without blowing away the data? I currently use
mysql on both servers but am planning on moving the test server to
hsqldb at some point it can't be a server specific tool. Any ideas?
--
Dan Adams
Software Engineer
Interactive Fa
is there any way to use a template when creating a form component? I
have a textarea and then want to put a link after it.
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
).getService(
> Tapestry.DIRECT_SERVICE).getLink(cycle, this,
>
> parameters).getURL();
>
> --- Pat
>
>
> > -----Original Message-
> > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 05, 2005 8:46 AM
> > To: Tapestry users
> > Su
> parameters).getURL();
>
> --- Pat
>
>
> > -----Original Message-
> > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 05, 2005 8:46 AM
> > To: Tapestry users
> > Subject: rendering links in a form component
> >
> > if i have
if i have a form component that it's rendering using the writer, how
would I go about rendering a directlink within it?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED
very rough estimate, how far do you think tacos and tapestry are from
this kind of thing? what are the major limitations blocking it?
On Thu, 2005-12-01 at 15:31 -0500, Jesse Kuhnert wrote:
> I think the tacos4 approach has changed from 3.0.3 in kind of an apples and
> oranges sort of way. The thi
well, i'm not expecting ajax to take over the world or replace the
normal webapp any time soon. however, i think that there are many
situations where ajax could be a great fit and i'm excited by the fact
that tapestry is posed to be one of the first frameworks to enable
easy(er) ajax app developmen
apps that are almost like normal
gui apps for the web? Is this something that could be accomplished with
an additional library or is it so much of a change that it warrants a
new framework?
--
Dan Adams
Software Engineer
Interactive Factory
nyone seen any real improvement using other tools?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anyone have any data or statistics about how much code you don't
have to write using things like annotations as opposed to normal java
code where you don't have runtime enhancement? I can go get some stats
from my code but thought I would check just in case. Any other
statistics would also
Anyone know how to do this?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How can i get the hostname of the current page (ie www.mycompany.com)?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Any way to inject the Messages (ie from getMessages()) into a spring
bean?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to use interceptors for page validation rather than
writing the validation stuff into the page itself and if so could
someone give a point in the right direction?
--
Dan Adams
Software Engineer
Interactive Factory
Like I said, that works fine when I write the code but if you try to set
a breakpoint in one of the **TAPESTRY** components it doesn't work even
if you have the src jar attached.
On Thu, 2005-11-10 at 09:53 -0800, Patrick Casey wrote:
> What version of eclipse and Tapestry are you on? I have
getters
> and setters, of couse, but if you use concrete properties, you're golden.
>
> --- Pat
>
> > -Original Message-
> > From: Dan Adams [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 09, 2005 1:23 PM
> > To: Tapestry users
>
Anyone know how to debug the components in eclipse? When you a
breakpoint in a component gets hit eclipse tries to load up the source
for the enhanced component and won't use the tapestry source i have
attached.
--
Dan Adams
Software Engineer
Interactive Fa
What is the source for the ValidatorMessages and how do you add messages
to it when creating a validator?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I upgraded to b12 from b11. I have a page that uses a popuplinkrenderer
but constructURL() is never called and the link that is rendered is a
normal one. What's the deal?
--
Dan Adams
Software Engineer
Interactive Factory
---
Man, this is taking way too long. I have the following. The line marked
with contains an @If. I set a breakpoint in showChildren() and
after it evaluates to true it doesn't get called by @If again (!?). This
basically means that if a menu item is selected then all of it's
children act as if th
ap.get(new Integer(0)); // 0 is the root
> else
> items = (List) personMap.get(new Integer(item.getId()));
> return items;
> }
>
> Also, please make sure you use a recent beta -- I am not sure your code
> would work in an old one.
>
>
Hey, can you explain a little more how the below works? Right now I'm
trying to get something similar working but for some reason it's going
into an infinite loop in that it keeps asking for the children of the
root node rather than actually drilling down.
On Fri, 2005-11-04 at 22:09 +0200, Mind B
have to use Block/RenderBlock see :
>
>
> http://www.behindthesite.com/blog/C1931765677/E923478269/index.html
>
>
> Mike
>
> On Friday, November 04, 2005, at 10:18AM, Dan Adams <[EMAIL PROTECTED]> wrote:
>
Can tapestry not handle the case where @A uses @B and @B uses @A? or
Even if @A uses @A? I'm getting stackoverflow because it keeps
reprocessing the template for @A.
--
Dan Adams
Software Engineer
Interactive Factory
---
advice on how to design it? I'm having some real
trouble with this in that a @NavItem can't know about it's child
@NavItems because the children are rendered after the parent. Any ideas
would be greatly appreciated.
--
Dan Adams
Software Engineer
Inte
How do people normally localize an enum? Store the key as the string and
then look up the message when needed?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
on why this would
> have changed from tap3?
>
> --
> ~chris
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Dan Adams
at delegates to the
> Tapestry-generated property.
>
> Be aware that Tapestry will invoke the setter method when restoring
> page state (when a page is first loaded during a request).
>
> On 10/28/05, Dan Adams <[EMAIL PROTECTED]> wrote:
> > Okay I have a property that I want
; public void setSelectedEntry(Entry selectedEntry) {
> this.selectedEntry = selectedEntry;
> }
>
> If that doesn't work for you let me know.
>
> --Mark
>
> -Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sen
do something other than just return the property
> variable?
>
> You can probably create the actual property along with getters and
> setters and specify that it is persistence in the .page file.
>
> I'm not sure if there is a way to do it in the .java file.
>
> --Ma
Okay I have a property that I want as @Persist but I also want to run
some code when that method is called. Any way of doing this?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED
refactor is just the content
within the border. I've thought about pulling BaseSearch out into a
component but then I lose all of the functionality provided by the page
superclasses that BaseSearch currently subclasses. Any suggestions here?
--
Dan Adams
Software Engineer
Interactive Fa
I just realized this. How do you do for loops? Doesn't look like @For
would do it. hmm
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
ache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered
>(ListenerMap.java:102)
>- org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:119)
>
> ...
>
> Thanks again for your advise,
> --
> Omar V.M.
--
Dan Adams
Software Engineer
Interactive Factory
What is your favorite bug tracking system for small and medium sized
projects and why?
--
Dan Adams
Software Engineer
Interactive Factory
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Well, I was using it in a component that did not render in rewind so it
didn't end up being a problem. So, no, I did not get a solution for it.
On Tue, 2005-10-25 at 16:00 -0200, Vinicius Carvalho wrote:
> hum, did you get a solution for it?
>
> On 10/25/05, Dan Adams <[EMAIL
t;
> could someone help me here?
>
>
> --
> Vinicius Caldeira Carvalho
> Arquiteto de Sistemas
> [EMAIL PROTECTED]
> www.synos.com.br <http://www.synos.com.br>
>
> "Everything should be made as simple as possible, but not simpler."
> Albert Einstein
-
1 - 100 of 177 matches
Mail list logo