how to use maven to compile this component? for T5.3. thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061023.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Do these help?
http://jumpstart.doublenegative.com.au/jumpstart/examples/localization/bymessagecatalog
http://jumpstart.doublenegative.com.au/jumpstart/examples/localization/bytemplate
Geoff
On 09/12/2011, at 6:47 PM, wesleywj2 wrote:
> hi all,
>
> i facing a very difficult s
Just install gradle and do gradle install. This will install the ajax
upload artifact in your local repo.
Cheers,
Dragan Sahpaski
On Fri, Dec 9, 2011 at 9:17 AM, angelochen wrote:
> how to use maven to compile this component? for T5.3. thanks.
>
> --
> View this message in context:
> http://ta
hi angelo,
thanks for the quick reply, you pointed it, my url has "zh" when locale took
place, when i click on the navigation , the zh disappear!, wonder why is
that? something i need to tweak on the navigation link? perhaps? a symbol?
--
View this message in context:
http://tapestry.1045711.n5.
Another option (if an upgrade is not possible) is to download your pdf to a
hidden iframe. No new page opens and the zonemanager does not get unload'ed.
On Dec 8, 2011, at 4:54 PM, antalk wrote:
> I've 'fixed' a similair issue by using an eventlink where the user can
> download the document, bu
in your tml you should use to generate links.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Accessing-the-problem-on-T5-1-regarding-Locale-switching-tp5060950p5061119.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
in tml file, you should use < a t:type="pagelink" page="..." >my link< />
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Accessing-the-problem-on-T5-1-regarding-Locale-switching-tp5060950p5061123.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
ok, i did that, it pulls down a lot of things, now stop at:
Test method
test_if_setup_render_sets_active_to_first_value_if_not_specified(com.googlecode.tawus.addons.components.TabPanelTest)
PASSED
Test method
test_if_setup_render_throws_exception_if_no_tabs_are_specified(com.googlecode.tawus.addo
Hi all.
Quick newbie question: How do I return an instance of a page whose class I do
not know until at runtime? Example: I have a list page, listing objects of
various types. when I click an object, I want to return a page class based on
the class of the object I select ("UserDetailPage" for "
Hey, i got it working with some tweaks, but still experience some issues:
1. i've set @IncludeStylesheet("ajaxupload.css"), and it is not working.
The stylesheet link generated on the
page:
/myapp/assets/classpath/2dc6971e4afe5b2f/com/googlecode/tawus/ajaxupload/components/ajaxupload.css
but Re
how about: return "UserDetailPage"
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Returning-an-instance-of-a-page-tp5061220p5061225.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Yes, that would work for returning the page, but I need to initialize it (with
the object). In pseudocode, what I'm looking for wouls be something along the
lines of:
Object onActionFromSelect() {
Class detailPageClass =
determineDetailPageClass( currentObject );
Thanks a lot for your answers! I am going to discuss with my colleagues
whether upgrade is possible. There is also a patch provided on the JIRA.
Otherwise I'll try your solutions and explain what solution we chose and
how I implemented it.
Regards,
Jérémie
Unfortunately upgrade is not possible, so
I know this is not tapestry5 related, i just want to try out that ajaxupload,
i already did a gradile build, believe its fully compiled, now what's next?
wish it's maven based.
Dragan Sahpaski wrote
>
> Just install gradle and do gradle install. This will install the ajax
> upload artifact in
if you did: gradle install successfully, you can include it to your maven
project:
com.googlecode.tawus
tawus-ajaxupload
0.1-SNAPSHOT
then use with .tml:
On Fri, Dec 9, 2011 at 12:51 PM, angelochen wrote:
> I know this is not tapestry5 r
ROn Fri, 09 Dec 2011 07:48:46 -0200, Hugi Thordarson
wrote:
Yes, that would work for returning the page, but I need to initialize it
(with the object). In pseudocode, what I'm looking for wouls be
something along the lines of:
Object onActionFromSelect() {
Class detailPageClass
Thank you, exactly what I was looking for!
Cheers,
- hugi
On 9.12.2011, at 10:58, Thiago H. de Paula Figueiredo wrote:
> ROn Fri, 09 Dec 2011 07:48:46 -0200, Hugi Thordarson wrote:
>
>> Yes, that would work for returning the page, but I need to initialize it
>> (with the object). In pseudoco
i added that to pom.xml but get this:
Downloading:
https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml
Downloading:
https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-a
this means, you didn't install ajaxupload to your local maven repo.
Please do: gradle install.
On Fri, Dec 9, 2011 at 2:01 PM, angelochen wrote:
> i added that to pom.xml but get this:
>
> Downloading:
>
> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload
Hi again.
Another noob question: I've been trying to google this one for quite some time,
but I still can't figure out how I can pass a CayenneDataObject to a component
using a binding.
I have registered a Type Coercer from String to CayenneDataObject, and it's
getting invoked when I read the
Bob Harner
On Dec 8, 2011 10:11 PM, "Martin Strand"
wrote:
> You could configure your servlet container so that it doesn't return the
> proxy IP as request.remoteAddr, but instead uses the X-Forwarded-For header
> and returns the real client IP.
>
> For Jetty, this is just a matter of setting for
On Fri, 09 Dec 2011 09:08:13 -0200, Hugi Thordarson
wrote:
Hi again.
Hi!
Another noob question: I've been trying to google this one for quite
some time, but I still can't figure out how I can pass a
CayenneDataObject to a component using a binding.
Just do it. :)
I have registered a
Hi Dmitriy,
you just turned a maven user into gradle today:) ok, it works. now,
after click 'upload', where is the file uploaded? second, why only one file?
and this seems not got called:
@Persist
@Property
private List uploads;
void onSuccess(){
//Use uploads
if (u
Oh dear… After reading the sentence "Tapestry parameters can be of any type
without any conversion" I performed a little sanity check on my code—turns out
the example code I copied form somewhere had "defaultPrefix =
BindingConstants.LITERAL" specified on the binding. Silly, silly…
Thanks!
- hu
did you wrap to ?
There is maxFiles parameter which you can specify for AjaxUpload. Default
is 1 :)
On Fri, Dec 9, 2011 at 2:58 PM, angelochen wrote:
> Hi Dmitriy,
>
> you just turned a maven user into gradle today:) ok, it works. now,
> after click 'upload', where is the file uploaded?
Regarding where file is store:
public void onSuccess()
{
UploadedFile uploadedFile = uploaded.get(0);
File file = new File("/where/i-want/file-to-save");
uploadedFile.write(file);
}
On Fri, Dec 9, 2011 at 3:11 PM, Dmitriy Vsekhvalnov
wrote:
> did you wrap
here is my code/tml:
< t:form t:id="myForm" >
< input t:type="tawus/ajaxupload"
t:id="uploads" type="file" / >
< /t:form >
@Persist
@Property
private List uploads;
@OnEvent (value = EventConstants.VALIDATE, component = "myForm")
void validateU
and what is the question with your code?
On Fri, Dec 9, 2011 at 3:19 PM, angelochen wrote:
> here is my code/tml:
>
> < t:form t:id="myForm" >
>
> < input t:type="tawus/ajaxupload"
> t:id="uploads" type="file" / >
>< /t:form >
>
>
>
> @Persist
>@Property
>private Li
OK, now it _almost_ works Still, interestingly enough though, it doesn't seem
to work in a loop. Consider the following code:
${currentObject.name}
In the component "ObjectLink", I can print the value of currentObject.name.
However, if I use the "object" binding in an action method (o
Hmm, interesting. Doesn't seem to work even if I send the object as a context
parameter, the object is still null in the action method :-/
- hugi
On 9.12.2011, at 12:50, Thiago H. de Paula Figueiredo wrote:
> On Fri, 09 Dec 2011 10:38:07 -0200, Hugi Thordarson wrote:
>
>> In the component
ohh.. i think you may be need to add Submit button?
On Fri, Dec 9, 2011 at 4:14 PM, angelochen wrote:
> onvalidate and onSuccess was never called.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061699.html
Hi,
I'm working on Contract Live, a Contract Management Software based on
Tapestry.
http://www.contract-live.com/
Contract Live office is located in Paris, France.
We are currently looking for Tapestry developers.
Below, you can find a job offer in French.
If you have any questions, be pleased
>> (just ignore the commented out code, it's what I'm using to work around the
>> problem until I find a solution)
>
> What's the rendered HTML?
Well, if I disable the ValueEncoder I made for CayenneDataObjects, it will look
like this:
http://localhost:8080/tap/userlist.objectlink2.select/$007
have to roll back to t5.2.6 release, major difference between these two
versions is servlet 2.4 and 2.5, will that cause the problem? a related
question is, is tomcat 6.0.20 enough for servlet 2.5 as it's required by
T5.3? thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble
right, submit works, thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5062123.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Fri, 09 Dec 2011 13:01:10 -0200, Hugi Thordarson
wrote:
What's the rendered HTML?
Well, if I disable the ValueEncoder I made for CayenneDataObjects, it
will look like this:
http://localhost:8080/tap/userlist.objectlink2.select/$007b$003cObjectId:User$002c$0020id$003d2$003e$003b$0020c
On Thu, Dec 8, 2011 at 12:02 PM, Chris Collins wrote:
> Got no response so I filed TAP5-1782. Also there doesn't seem to be a
> version 5.3 available in jira.
That's odd; I just added a bug and typing "5.3" in the "Affects
Versions" field worked fine.
Generally, report a bug as affecting a rel
You can do this:
@Contribute(ClientWhitelist.class)
public static void
overrideWhiteList(OrderedConfiguration
configuration, @Symbol(SymbolConstants.PRODUCTION_MODE) boolean
productionMode)
{
if (productionMode) { configuration.override("LocalhostOnly", null); }
}
This is
Just added a FAQ for this; will show up live in a couple of hours.
On Fri, Dec 9, 2011 at 10:08 AM, Howard Lewis Ship wrote:
> You can do this:
>
> @Contribute(ClientWhitelist.class)
> public static void
> overrideWhiteList(OrderedConfiguration
> configuration, @Symbol(SymbolConstants.PRODU
So it looks like the value is being put into the url, as expected for the
context of an action link.
Is your onAction method receiving that context?
onActionFromSelect(CayenneDataObject object) {...}
If you have your original method:
onActionFromSele
hi angelo,
thanks much, it's really the link problem; thank you very much for pointing
out
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Accessing-the-problem-on-T5-1-regarding-Locale-switching-tp5060950p5062656.html
Sent from the Tapestry - User mailing list archive at
Just a small note:
you can reuse the provided processors (like LessCssProcessor,
CoffeeScriptProcessor, SassCssProcessor, etc)
without being forced to use a filter or a maven plugin. The processors
interface is pretty simple and can be used like this:
new CoffeeScriptProcessor().process(Reader r
I'm looking forward to integrating these! I think using the raw
processor may fit into Tapestry's overall lifecycle best.
On Fri, Dec 9, 2011 at 10:48 AM, Alex Objelean wrote:
> Just a small note:
>
> you can reuse the provided processors (like LessCssProcessor,
> CoffeeScriptProcessor, SassCssP
Well, I just got back from the post office; I'm finally all caught up
with the laptop stickers ... but I still have a few left, and another
big batch coming from StickerMule.
Do you want a Tapestry 5 Laptop Sticker? Just follow the directions
here: http://tapestryjava.blogspot.com/2011/08/tapestr
I've created and uploaded a release of Tapestry 5.3.1-rc1, ready to betested.
The source and source downloads are uploaded to:
http://people.apache.org/~mlusetti/tapestry-releases/
and the Maven artifacts staged to:
https://repository.apache.org/content/repositories/orgapachetapestry-308/
This
I don't think this is the right procedure.
We will vote on the final release (the 5.3.1 when its ready).
Unfortunately, we'll need to check the mail archives for the details
we worked out for how releases operate, but the summary (as followed
for most of the 5.3 alphas and betas) was:
Just creat
On Sat, Dec 10, 2011 at 12:02 AM, Howard Lewis Ship wrote:
> I don't think this is the right procedure.
>
> We will vote on the final release (the 5.3.1 when its ready).
>
> Unfortunately, we'll need to check the mail archives for the details
> we worked out for how releases operate, but the summ
Not sure if I confused people, the problem is with the ValueEncoder toValue()
method - it returns a new Promotion() class, whose member values should get
overridden by the values entered in the web form, but instead it's reading
0's (values used to initialize).
Any help will be really appreciated.
I've the same problem; what should we store as ID for the newly created rows
so that during form submission the fields get overwritten.
Any help would be appreciated.
Thanks,
Shaan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ajaxformloop-syncValue-is-never-called-for-
Can you provide the whole code - java and tml?
On 10/12/2011, at 10:42 AM, shaan wrote:
> Not sure if I confused people, the problem is with the ValueEncoder toValue()
> method - it returns a new Promotion() class, whose member values should get
> overridden by the values entered in the web form,
See
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/StreamPageContent.html
On Wed, Dec 7, 2011 at 2:17 AM, Guillaume Bodet
wrote:
> Hi,
>
> I'm using a nice js component called DHTMLX Grid in my T5 application.
> DhtmlxGrid fetched its data in an ajax request. Data is fo
how to allow multiple file uploads?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5063748.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
52 matches
Mail list logo