ils ?
>
> I had this related link over at my delicious (
> http://del.icio.us/andyhot/tapestry ).
> It's entitled 'Sending Tapestry-generated email with Spring' and it's at:
> http://www.behindthesite.com/blog/C1931765677/E2094832857/index.html
>
>
>
> &g
I had this related link over at my delicious (
http://del.icio.us/andyhot/tapestry ).
It's entitled 'Sending Tapestry-generated email with Spring' and it's at:
http://www.behindthesite.com/blog/C1931765677/E2094832857/index.html
>From Stephane Decleire <[EMAIL PROTEC
See
http://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/engine/encoders/PageServiceEncoder.java
for an example.
Implementing both decode and encode of ServiceEncoder is all it takes.
Perhaps you might also like to declare your encoder to be befor
You're welcome to attach any code in the related issue
http://tacoscomponents.jot.com/BugReporter/Bug110
We have 2 ways to implement this:
- Add a new component, let's say RichTextArea which will be
like yours + translators and validators :)
- Add this behaviour to Editor and add conditional logi
I remember last year, someone wanted to do the same thing...
and he succeeded by patching ognl.
Looking at the link you provided, it seems that one can simply do
a OgnlRuntime.setNullHandler. Have you tried that?
However, an additional configuration point for this ognl
setting would be nice...
A
Yep, it's used by LinkFactory...
Better then add a redirect filter or create your own Restart service.
FYI, i just looked at tapestry's configurations in META-INF
>From D&J Gredler <[EMAIL PROTECTED]>:
> Thanks for the info.
>
> I'm a little worried that changing org.apache.tapestry.servlet-pat
I remember i had lots of issues when i originally created Editor.
Firefox would usually crash if the Editor was replacing a TextArea.
So i decided to just make it work as it now is.
Of course that's 6 months ago and of course dojo has changed,
so i'll give it a look again - just add a bug report
RestartService redirects to the path specified by
org.apache.tapestry.servlet-path
Either change that,
or use a redirect filter, i.e. from /app to /Home.html
>From D&J Gredler <[EMAIL PROTECTED]>:
> Hi,
>
> I'm using friendly URLs and have removed the mapping in web.xml to /app (so
> ugly URL
Can't help much for now but you can dig in
https://svn.sourceforge.net/svnroot/tacos/trunk/src/java/net/sf/tacos/ajax/components/Form.js
and maybe find a solution.
Tacos replaces Tapestrys default form handlers, etc...
>From Cluster <[EMAIL PROTECTED]>:
> Hi,
>
> I'm working with an AjaxFor
A remove method would be nice...
But i dont see where the NPE would be thrown...
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> Indeed, just found out about that. But it's not fool-proof, because if
> your ASO implements SessionStoreOptimized then you get an NPE.
> I think a RFE is in or
I believe you can inject the
SessionScopeManager and tell it to store null
for the given aso... something like
getSessionScopeManager().store("myAso", null)
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> I think the subject is fairly thorough:
>
> How do I dispose a session-scoped ASO wi
Use Tapestry's Creator class (in org.apache.tapestry.test)
to instanciate pages and components to be tested.
Creator allows passing mock instances of a component's
properties.
>From Rob Dennett <[EMAIL PROTECTED]>:
> I have a listener like this:
>
> @InjectService(�FooService�)
> public abstra
You've probably stepped into
"Bug70 - Autocompleter doesn't work in AjaxForm unless direct=true"
http://tacoscomponents.jot.com/BugReporter/Bug70
which is fixed in trunk...
>From Pedro Viegas <[EMAIL PROTECTED]>:
> Has anybody got this issue?
> I've got a tacos:autocompleter working perfectly ins
You are using the old tacos:DatePicker.
It has been replaced in SVN by a newer version -
try a nightly build or wait for beta-2
>From Jorge Quiroga <[EMAIL PROTECTED]>:
> Hello:
>
> I modify a component that select a block that has some components. One
> of the blocks render a checkbox a taco
Is it possible to better define "sometimes"?
Or perhaps show some example code?
Could this be related to
http://tacoscomponents.jot.com/BugReporter/Bug95 ?
>From linuja <[EMAIL PROTECTED]>:
> tacos4-beta-2 (also tacos4-beta-1) :
>
> when using the tacos:AjaxLinkSubmit, sometimes it doesn't work
You posted the bug report at dojo not tacos.
Tacos bugtracker is at:
http://tacoscomponents.jot.com/BugReporter/
In general you should use the dojo files contained in tacos
demo/docroot/js/dojo . They're synced with dojo's svn every now
and then.
So, see if you still have problems with those file
Yea, the autocompleter is not really a replacement for
but for
But i think there are ways to make it work like a select...
In your autocompleter, you'll need to use :
- a custom listItemRenderer that also outputs ids for
every entry (they could be hidden from the user, so instead
of data1data
Yes, Leonardo is so correct here...
One cannot throw exceptions (even redirectexception)
in the exception page.
So, perhaps use directly :
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
> > 1) Why not have a custom StaleSession.html page?
> > Its pageBeginRende
>From Matt Raible <[EMAIL PROTECTED]>:
> On 3/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > 1) Why not have a custom StaleSession.html page?
> > Its pageBeginRender could redirect to the login form, couldn't it?
>
> Yes it could. I'm assuming the code needed to override this page is
>
1) Why not have a custom StaleSession.html page?
Its pageBeginRender could redirect to the login form, couldn't it?
2) Remove the servlet mapping
3) For cookies, see org.apache.tapestry.services.CookieSource and inject it
using service:tapestry.request.CookieSource
For redirects, see 5)
4) ...
Also look at:
http://svn.apache.org/repos/asf/jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/validator/ValidatorFactoryImpl.java
>From Mike Snare <[EMAIL PROTECTED]>:
> If the validation is specified in your xml, parse the data into data
> structures that make sense to
.html is
.page has
>From Aj Gregory <[EMAIL PROTECTED]>:
> Sorry if my question was confusing... To clarify I'd like to do
> something like this in my component .html:
>
>
>
>
>
>
> Basically the same thing that would happen if I was rendering in java with:
>
> writer.begin(
You forgot to cast to Object[]
return getMessages().format(key, (Object[])arg);
Also,
return getMessages().format(key, new Object[] { arg });
can become
return getMessages().format(key, arg );
>From Matt Raible <[EMAIL PROTECTED]>:
> I have the following in a base class for my Tapestry pages
You're right - popup was implemented in those components
in beta-2 which hasn't been released yet.
You can try a jar from tacos.sf.net/nightly
or wait for the release.
>From "Harvey, David " <[EMAIL PROTECTED]>:
> Hello all,
>
> I have code that pops up a FloatingPane when the user clicks an
I'm not sure you're on the right track there.
Instead, check out DirectLink and ExternalLink components:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DirectLink.html
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ExternalLink.html
also
http://jakarta.apache.org
>From Andreas Bulling <[EMAIL PROTECTED]>:
> Hi all,
> and here is another short question:
> As I didn't get to know how to "mix" a BaseComponent derived
> component with a AbstractComponent derived one (using a
> component html template _and_ output some html code with
> IMarkupWriter) I decided
Nice!
And i see you really like EnhancmentWorkers :)
Regarding the initial question, i think there's a very nice solution
for (2).
Define an interface, ValidationDelegateAware or something like this:
{
@Bean
ValidationDelegate getValidationDelegate();
void setValidationDelegate(ValidationD
Well, using the code from the wiki, you can get to this
structure
WEB-INF
\pages (*.page + *.html + *.properties)
\components (*.jwc + *.html + *.properties)
AFAIK the template should be near its spec (if there is one)
but the spec can contain a special asset (named '$template')
that overrides th
Yep, that was a very ugly
IE+dojo+multipart-http-request king of bug.
The actual problem is that the response xml
decides to play hide & seek with IE,
transforms all its content into a 'simple' text node,
and gets stored somewhere inside the first iframe it finds :)
Anyway, get the latest from
h
th table
{
width:100%;
}
>From Derick Fernando <[EMAIL PROTECTED]>:
> To isolate this effect to just the headers in question do something like
> this:
>
> .myTableClass table td {
>align: left;
> }
>
> matt wear wrote:
> > That was the first thing I tried, along with a few other
You only need to implement one translator (which, if input is invalid can act
like a validator).
The translator will have 2 properties, yesString + noString
you'll define it in you .page like this:
and use it like this:
For each language you want to support, you just supp
Indeed odd.
Can you post some code + the exception you're getting?
>From Matt Raible <[EMAIL PROTECTED]>:
> On 3/5/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > That sounds odd. What happens if you try making it "ognl:getUserRoles()"
> > instead?
>
> I tried this based on your recommendatio
However, an "accept" validator, to be used like this:
was described in this list:
http://article.gmane.org/gmane.comp.java.tapestry.user/26835
http://article.gmane.org/gmane.comp.java.tapestry.user/26841
>From Nick Westgate <[EMAIL PROTECTED]>:
> Hi Vincent.
>
> This has
Aren't you using the 4.0 dtd?
It should be
>From Matt Raible <[EMAIL PROTECTED]>:
> In Tapestry 3, I had methods in my pages like the following:
>
> public List getUserRoles() {
> List selectedRoles = new ArrayList(getUser().getRoles().size());
>
> for (Iterator it = getU
I remember Howard explaining why the tag library was removed in 4.0
about 6 months ago in this list.
However, I can't remember the explanation - probably had to do with the
many different mappings that are now available for tapestry services.
Anyway, you could take a look at how tapestry links a
No. Only disabled fields are omitted when a form is submitted.
Fields with style="display:none"are submitted normally.
You can write a quick html to confirm this, if you want.
>From Martijn Hinten <[EMAIL PROTECTED]>:
> I could be wrong here, but is it not so that "display:none" fields and
> bu
Well, the idea is that you can provide your own mock objects instead of the real
services that the registry provides. This way you can have pure unit tests for
the page.
>From Rolf Strijdhorst <[EMAIL PROTECTED]>:
> Hi,
>
> is there a way to test the injection of a hivmind service into a page?
>
It seems your result list contains the same actRow over and over.
So, even if you could see data in the table, you would see the same
row over and over. Could it be that your very last row contains empty
values??
Anyway, try moving the Object[] actRow = ... line inside the
for (t =
And also, if in a service-point you omit the
interface attribute, its value is by default equal to the id of
the service-point.
Assuming that your module has a package="authsum.stitches",
this explains why hivemind looks for (the non existant)
authsum.stitches.StitchFolderHolder interface (which i
Hi, I had done some similar tests a month ago.
>From Aj Gregory <[EMAIL PROTECTED]>:
> Is it true that you can't use Tacos AjaxDirectLink with portlets since
> getAbsoluteURL isn't supported?
Yes, that was the case. Three days ago I refactored AjaxDirectLink,
and it no longer uses getAbsolute
I generally create a mock for the IRequestCycle (using EasyMock), so havent run
into
this kind of problem.
>From what I can guess from the code, you try to initialize the Tapestry system
and have it along during the unit tests.
Are there any real benefits to this, instead of using mocks?
But an
Cant find a release of SWF having a functional Tapestry integration.
Are you using their CVS version?
>From Archie Cowan <[EMAIL PROTECTED]>:
> I've begun evaluating Tapestry for use in some applications that will make
> heavy use of multipage forms. I've gotten familar with the component
> conc
A working, though a bit ugly solution is this:
instead of use
";}
public String getEndTag() {return "";}
>From Jorge Quiroga <[EMAIL PROTECTED]>:
> Hello:
>
> I'm trying to organize some objects via For into a , but the
> number of columns is user defined, then I thought to use the index
>
>From Vincent <[EMAIL PROTECTED]>:
> Hi AndyHot,
>
> I am use button(submit) to jump to another page , can target="_top"
> also be used in that way?
>
No, only links have target.
You can use a link to submit the form (and invoke the listener) - check the
Link
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> I just need to guarantee (mostly for Tacos) that this:
>
> updateComponents="ognl:{components.someComponent.id}"
>
> Renders the same id as this:
>
> id="ognl:components.someComponent.id"
> jwcid="[EMAIL PROTECTED]">
>
> *And*
org.apache.tapestry.util.IdAllocator
I think it's also used in tacos somewhere.
It can generate unique ids for a given namespace.
I think that every page has an instance of this class,
but I don't remember if a component embedded in a page gets the
same idallocator.
>From Leonardo Quijano Vin
>From Spencer Crissman <[EMAIL PROTECTED]>:
> I have an T4 (b11) app where I am implementing some redirection for the
> authentication portion of my pages. When the user attempts to access the
> first page, it redirects them to login if they aren't logged in, and then
> after they've logged in, i
target="_top"
>From Vincent <[EMAIL PROTECTED]>:
> Hi all ,
>
> I met a problem of the PageLink jumping, one page have frames, which
> implements navigation bar function. (looks like below , sorry for the
> worse drawing)
>
> Usually when you click the navigaion frame, then the result frame wi
Both alpha6 and alpha4 support Tapestry 4 betas up to beta-12.
For Tapestry-beta-13 or rc1, you'll have to wait a new tacos release
>From Joseph Faisal Nusairat <[EMAIL PROTECTED]>:
> I was curious if anyone else got this error.
>
> I upgraded to apha6 then tried to go back to alpha4 but not qui
>From Glen <[EMAIL PROTECTED]>:
>
> This worked wonderfully thanks...
>
> One curiousity... The "public static final char PREFIX = '*';" Does
> this have to be globally unique among all the SqueezeAdaptor's? I am
> assuming this must be unique to the squeeze adapter and that tapestry
> will
You remember correctly :)
But i think it was in one of the mailing lists.
Someone had asked if in 4.0 the meta property that copies
assets to a folder in the current context still works, and he got
the response that you're describing.
>From Patrick Casey <[EMAIL PROTECTED]>:
>
>
>
>From Drew McAuliffe <[EMAIL PROTECTED]>:
> I've been running into a number of problems with building tapestry (RC1).
> The biggest problem I have is that the build structure is completely
> interdependent on HiveMind. While I can understand a need to have access to
> HiveMind, I don't see why I
> Hi,
>
> I am trying to get the remote host ip by using:
>
>
> @InjectObject("service-property:tapestry.globals.HttpServletRequest:remoteHost")
> public abstract String getRemoteHost();
>
> If I connect to the server from two different pc's, the second pc will show
> the first o
Oh no!
And I thought that tapestryfckeditor was yours
and that it contained the same component that you have in Trails...
Either way, since I now have a working version of HtmlArea for Tapestry 4,
I'll try to send it to its original author and ask him to add it in Tassel.
> I ended up having an e
This was asked 3 days ago.
And it's also answered in the "Upgrading from Tapestry 3" page
of Tapestry's site.
> Hello ,
>
> Ever since i've moved to tapestry 4 i noticed that I can't work well with an
>
> application who'se path is not set in web.xml to "/app" . For example if I
> setup the ta
Αρχικό μήνυμα από Ted Steen <[EMAIL PROTECTED]>:
> There should not be any problems with the Cache component if one uses
> cookies, right?
True, but can you really make sure that your clients never disable them?
Fact is that up to now, I try not to mix the cache with components that generate
li
And finally,
you could inject tapestry.globals.WebRequest in your page using
and do a getWebRequest().getServerName()
OR
you could just inject the servername like this:
I prefer this last option. It's so much easier to unit-test. Otherwise, you'ld
have to mock
everything (cycle - infrastruct
> Wow!
>
> This is a really powerful component!
> Simple and powerful.
Well, thanks but you have to take care when using it.
For instance, you'll run into problems if you want to support sessions
with url-rewriting (instead of cookies)
and you also want to cache html content that contains direct
I also needed to cache parts of some pages, and so I created the cache
component of
TapFX ( tapfx.sf.net) which uses EhCache. I use this component a lot in my own
apps.
However, the latest version for Tapestry 3 contains a bug (so instead get v0.30)
and the update for Tapestry beta-13 has broke
Αρχικό μήνυμα από Kent Tong <[EMAIL PROTECTED]>:
> Peter Truong visionmax.com> writes:
>
> > I was wondering if anyone can tell me exactly how to implement the low
> level
> > table components. Basically i
> > want to put a second page navigation tool at the bottom of my table.
>
> Use a T
> How do you do the equivalent of "message:foo.bar" in code?
see IComponent.getMessage("foo.bar") or
IComponent.getMessages().getMessage("foo.bar")
The first is deprecated in 4.0, but the only option in 3.0.
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
>
> > When making it abstract getter/setter, will it do to
> > set "initial-value" of > value that was set as class variables. I read
> > somewhere that initial-value of property specification
> > is set just before page is put back to pool. So feel
> > that when class is instantiated, it will not h
Also,
http://tapfx.sourceforge.net/
has an OutlookBar component
> You could try the krysalis (sp?) menu? There's a sourceforge project for
> it, and it's also available on tassel.
>
>
> Matias Blasi wrote:
> > Hello!
> > It's an great help!! I needed it! And now I think about a menu bar
> > lik
gee!
3 replies within the same minute - and a late one :)
So, anyone keeping a score?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ognl:page.visit.userName
> Hello
>
> i creating a simple form component that extends BaseComponent
>
>
> i trying to get put the userName in the component using an insert like this
>
>
>
> but this always return and exception
>
> org.apache.tapestry.BindingException
> Unable to resolve expr
There are just too many ways to do that...
1) Write a servlet filter that applies the xslt
2) Write a tapestry component that surrounds everything in your pages,
override its renderComponent() and
a) make it render its body in a "buffer" (there's a renderBody() method)
b) apply xslt to t
Check
http://jakarta.apache.org/tapestry/doc/clover/org/apache/tapestry/asset/ResourceChecksumSourceImpl.html
, line 97 , the resourceURL seems to be null...
So, most probably, you've misspelled the file path in your asset
declaration and since XP is working, it must be an upper or lower case typo
67 matches
Mail list logo