Re: [ANNOUNCE] Announcing Tapestry 5.3.1

2011-12-21 Thread jose luis sanchez
No binary package available yet …  8-(

Anyway, congratulations for the release :)



El 21/12/2011, a las 23:29, Massimo Lusetti escribió:

 
 The Tapestry Team is very proud to announce the availability of Apache
 Tapestry 5.3.1.
 
 http://tapestry.apache.org/2011/12/21/announcing-tapestry-531.html
 
 Tapestry is primarily available for download via Maven, from the Maven
 central repository:
 
 Maven Dependency
 dependency
  groupIdorg.apache.tapestry/groupId
  artifactIdtapestry-core/artifactId
  version5.3.1/version
 /dependency
 
 You can also download the source or JavaDocs archives.
 
 Tapestry 5.3.1 is mainly a bug fix release and represents a drop in
 replacement for the previous stable 5.3.
 Full details are in the release notes, but here's a few highlights
 plus the ones from 5.3:
 
 @PerThread scope honored when service is created using autobuild
 @ActivationRequestParameter encoded to be URL friendly
 Exceptions while compressing JavaScript are fully reported
 All forms/submission working normally after FileUploadException is raised
 Asset path prefix configurable
 
 As usual for each Tapestry5 releases we've made great efforts to
 ensure and easy upgrade path, anyway, be sure to read the upgrade
 notes carefully as some interfaces and methods that were deprecated in
 Tapestry 5.0 or 5.1 have been removed: you should recompile and retest
 your application after upgrading your dependency. If you still have
 problems, use the Tapestry user mailing list to get support.
 
 Have fun!
 -- 
 Massimo
 http://meridio.blogspot.com
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: prototypejs is dead - time to bring t5-jquery in?

2011-12-16 Thread Jose Luis Sanchez

Just to add some more fire :) ,and think it's a nice idea.

Found this , in here( grails 2.0.0 release ) 
http://grails.org/doc/latest/guide/gettingStarted.html#requirements



   jQuery Replaces Prototype

The Protoype Javascript library has been removed from Grails core and 
now new Grails applications have the jQuery plugin configured by 
default. This will only impact you if you are using Prototype with the 
adaptive AJAX tags in your application, e.g. g:remoteLink/ etc, 
because those tags will break as soon as you upgrade.


To resolve this issue, simply install thePrototype plugin 
http://grails.org/plugin/prototypein your application. You can also 
remove the prototype files from your|web-app/js/prototype|directory if 
you want.






On Thu, 15 Dec 2011 15:17:35 -0200, trsvax trs...@gmail.com wrote:


I agree about having a prototype.jar and I don't view this as a backward
compatibility problem. Dependencies change from version to version 
anyway.


It would also make it easier to create something other than jQuery if
needed.


The original idea is to create a framework-agnostic JavaScript layer 
to be used by Tapestry-provided JS code. It would be implemented in 
Prototype and jQuery out-of-the-box and anyone could provide your own 
implementation too. This way, there's no useless code in either option.





--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry 5.3.x binary release

2011-12-14 Thread Jose Luis Sanchez

Hi everyone,

This is a public petition for , mainly, Tapestry maintainers.

As my company does not use nor maven nor gradle ( sigh :-( ), and we are 
still sticking with old ant scripts in an internal repo, i find it 
difficult to get T5 binaries to be deployed.


Previous versions had ( 5.0.x , 5.1.x and 5.2.x) had the binaries 
downloadable via web, so i'm asking if you can release some 'official' 
binaries in the web, so it might be easier for non maven/gradle projects 
to get the binaries.


Thanks a lot.

P.S. Yes, i'm trying to move to gradle, but will take a long time :-(
--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3.x binary release

2011-12-14 Thread Jose Luis Sanchez
Yes, i know i can download it, but i'd like to have the whole bundle 
available in one zip, as in


http://tapestry.apache.org/download.html

for previous versions.

One file to download easier than X packages .. for any version.

Thanks



Hi Jose,

Can you download the binaries from the Maven repository?

http://search.maven.org/#search%7Cga%7C1%7Ctapestry

mrg


On Wed, Dec 14, 2011 at 9:31 AM, Jose Luis Sanchez
joseluis.sanc...@m-centric.com  wrote:

Hi everyone,

This is a public petition for , mainly, Tapestry maintainers.

As my company does not use nor maven nor gradle ( sigh :-( ), and we are
still sticking with old ant scripts in an internal repo, i find it difficult
to get T5 binaries to be deployed.

Previous versions had ( 5.0.x , 5.1.x and 5.2.x) had the binaries
downloadable via web, so i'm asking if you can release some 'official'
binaries in the web, so it might be easier for non maven/gradle projects to
get the binaries.

Thanks a lot.

P.S. Yes, i'm trying to move to gradle, but will take a long time :-(
--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged material,
and is intended only for the individual(s) named. If you are not in the
named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system E-mail
transmission cannot be guaranteed to be secured or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Fwd: Default values for a grid : concept erroneus ?

2011-11-24 Thread Jose Luis Sanchez

thanks .. that worked :)


Hi!

Never persist search results: persist the parameters. ;)
Besides that, I'd remove the transactions field and make the 
getTransactions() method look like this:


public ListTransaction getTransactions() {
return (ListTransaction) 
theSession.createCriteria(Transaction.class)

.add(Restrictions.eq(msisdn, userInfo.getMsisdn()))
.add(Restrictions.not(Restrictions.in(transactionType, 
INVALID_TRANSACTION_TYPES)))

.add(Restrictions.ge(transactionDate, startDate(fromDate)))
.add(Restrictions.le(transactionDate,  endDate(toDate)))
.add(Restrictions.ge(partitionDate,  
Integer.parseInt(tformatter.format(fromDate
.add(Restrictions.le(partitionDate,  
Integer.parseInt(tformatter.format(toDate

.addOrder(Order.asc(id)).list();
}




--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Fwd: Default values for a grid : concept erroneus ?

2011-11-24 Thread Jose Luis Sanchez

Well, struts 1.x, but since 2009 i'm using tap5.x

So, what are your recomendations ? Which is the default/recommended 
Tapestry5 behaviour ?


I always get the data before rendering .. which WIKI/DOC do you 
recommend me to take a look at ?




On Thu, 24 Nov 2011 07:27:42 -0200, Jose Luis Sanchez 
joseluis.sanc...@m-centric.com wrote:



thanks .. that worked :)


Are you a previous user of Struts, WebWork or some other 
request-oriented Web framework? Your previous code made me think that, 
as you got all data before rendering starts. Component-oriented 
frameworks like Tapestry, JSF and Wicket don't need that. :)





--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez

Hi everyone !

I've been using T5 since 5.0, and now, being eager to get my hands on 
the final 5.3 release, am facing some concepts doubts , that i'd like 
you to sort me out.


Currently, i have a T5.2.6 App, working perfectly, but as i have been 
asked to perform a change, and it's not working , i'd like to review my 
concepts about @Persist and @Property.


Let me explain myself.

I have a grid tied to a list of objects.

t:grid source=transactions/

In my java, i have a

@Property
@Persist
List Transactions transactions.


The .tml has , as you can imagine, a fromDate and  toDate inputfields, 
along with a submit button.


So, i have a

@Property
Date fromDate;
@Property
Date toDate;

Whenever someone hits the submit button, theonSuccess() method retrieves 
the whole list of transactions from the database, according to the input 
dates;


Up to here, everything is ok.


But now, i have been asked to show, on page load, the last week of data.
And here is where my problem starts.

I've tried  using @Persist on both the list and the dates, defining the 
getTransactions() method and returning the data, and using a @PageLoad, 
@SetupRender and @BeginRender tags, but it's not working.



What am i missing here ?

BTW. I am migrating to a GridDataSource, but i'd like this concept to be 
clarified to me, as it can change my mind :)


Thanks a lot.



--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Default values for a grid : concept erroneus ?

2011-11-23 Thread Jose Luis Sanchez

El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió:


Hi!

Template and code please. :) Either way, instead of persisting search 
results, I just fetch them in getTransactions().




Well, this is the page .. no special about it

t:form t:id=searchTransactions
t:errors/
table
tr
tdt:label for=fromDate//td
tdt:datefield t:id=fromDate   format=dd.MM.//td
tdt:label for=toDate//td
tdt:datefield t:id=toDate   format=dd.MM.//td
tdinput type=submit t:type=submit t:id=searchButton 
value=${message:search}//td

/tr
/table
/t:form
legendTransactions/legend
fieldset
table t:type=grid t:source=transactions t:row=currentTransaction 
t:exclude=id,msisdn,plan,errorCode, country

t:reorder=transactionDate,transactionType,planName,description,volumeUsed

t:rowClass=literal:transactionClass
t:rowsPerPage=10
/table
/fieldset

And this is the relevant java code ...

@Property
@Persist
private List Transaction transactions;

private static Integer [] INVALID_TRANSACTION_TYPES = 
{0,2,5,9,17,18,24};


@Property
private TransactioncurrentTransaction;


@Property
@Validate(required)
private Date fromDate;
@Property
private Date toDate;


void onSuccess() {
if (toDate==null) toDate = Calendar.getInstance().getTime();
theTransactions = (ListTransaction) 
theSession.createCriteria(Transaction.class)

.add(Restrictions.eq(msisdn, userInfo.getMsisdn()))

.add(Restrictions.not(Restrictions.in(transactionType, 
INVALID_TRANSACTION_TYPES)))
.add(Restrictions.ge(transactionDate, 
startDate(fromDate)))

.add(Restrictions.le(transactionDate, endDate(toDate)))
.add(Restrictions.ge(partitionDate, 
Integer.parseInt(tformatter.format(fromDate
.add(Restrictions.le(partitionDate, 
Integer.parseInt(tformatter.format(toDate

.addOrder(Order.asc(id)).list();

}

As i told before, i've  managed it using a GridDataSource .. but i'd 
like this to be clarified.


Thanks thiago.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Fwd: Default values for a grid : concept erroneus ?

2011-11-23 Thread jose luis sanchez

 
 El 23/11/11 20:06, Thiago H. de Paula Figueiredo escribió:
 
 Hi!
 
 Template and code please. :) Either way, instead of persisting search 
 results, I just fetch them in getTransactions().
 
 
 Well, this is the page .. no special about it
 
 t:form t:id=searchTransactions
 t:errors/
 table
 tr
 tdt:label for=fromDate//td
 tdt:datefield t:id=fromDate   format=dd.MM.//td
 tdt:label for=toDate//td
 tdt:datefield t:id=toDate   format=dd.MM.//td
 tdinput type=submit t:type=submit t:id=searchButton 
 value=${message:search}//td
 /tr
 /table
 /t:form
 legendTransactions/legend
 fieldset
 table t:type=grid t:source=transactions t:row=currentTransaction 
 t:exclude=id,msisdn,plan,errorCode, country
 
 t:reorder=transactionDate,transactionType,planName,description,volumeUsed
 t:rowClass=literal:transactionClass
 t:rowsPerPage=10
 /table
 /fieldset
 
 And this is the relevant java code ...
 
 @Property
 @Persist
 private List Transaction transactions;
 
 private static Integer [] INVALID_TRANSACTION_TYPES = {0,2,5,9,17,18,24};
 
 @Property
 private TransactioncurrentTransaction;
 
 
 @Property
 @Validate(required)
 private Date fromDate;
 @Property
 private Date toDate;
 
 
 void onSuccess() {
 if (toDate==null) toDate = Calendar.getInstance().getTime();
 theTransactions = (ListTransaction) 
 theSession.createCriteria(Transaction.class)
 .add(Restrictions.eq(msisdn, userInfo.getMsisdn()))
 .add(Restrictions.not(Restrictions.in(transactionType, 
 INVALID_TRANSACTION_TYPES)))
 .add(Restrictions.ge(transactionDate, startDate(fromDate)))
 .add(Restrictions.le(transactionDate, endDate(toDate)))
 .add(Restrictions.ge(partitionDate, 
 Integer.parseInt(tformatter.format(fromDate
 .add(Restrictions.le(partitionDate, 
 Integer.parseInt(tformatter.format(toDate
 .addOrder(Order.asc(id)).list();
 
 }
 
 As i told before, i've  managed it using a GridDataSource .. but i'd like 
 this to be clarified.
 
 Thanks thiago.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 
 -- 
 Thiago H. de Paula Figueiredo
 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
 instructor
 Owner, Ars Machina Tecnologia da Informação Ltda.
 Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
 http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapesty CDI at compile time ( or sort of )

2011-10-06 Thread Jose Luis Sanchez



Hi guys !

I do need some behaviour in Tapestry already available to me via CDI in 
a non-web Application.


Let me explain myself :

I have a product, made for different customers.

The product is the same, but for some different implementations of 
common services each one has.


For example :


com.mycompany.product.service.customer1.SubscribeService
com.mycompany.product.service.customer2.SubscribeService
com.mycompany.product.service.customer3.SubscribeService


In CDI ( Using weld ), y do use the beans.xml file facility to populate 
the service for the desired customer.
Then, in the code all i need is invoking the @Inject into a service, and 
i will get the customer X service  at my disposal.


But in Tapestry, i do not know how to implement this.

I believe that dinamically adding a service to  the /public static void 
bind(ServiceBinder binder)/ in the AppModule is not the wright way to 
achieve it.



May any of you help me with this ? I do not need any runtime behaviour, 
just compile time.


Thanks everyone, and long life to Tapestry ! ( So to Howard and all the 
maintainers, of course  :) )




--
*Jose Luis Sanchez*
Senior Developer

*E-mail*: joseluis.sanc...@m-centric.com
*Phone* : +34 91 277 03 16
mCentric mobilising imagination


c/ Jose Echegaray, 8 Building 3
28230 Las Rozas (Madrid). SPAIN.

This message may contain confidential information or privileged 
material, and is intended only for the individual(s) named. If you are 
not in the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system E-mail transmission cannot be guaranteed to be secured or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission. 
If verification is required please request a hard-copy version.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Validating forms inside a loop

2010-02-17 Thread Jose Luis Sanchez

Hi all.

I have a multiple form problem .. and after having search and thought 
many on this, can't find a solution.



table t:type=loop t:source=receivedMessages t:value=message 
tbody
tr style=horizontal-align: middle
td style=vertical-align: top; horizontal-align: middle width: 323px;
form t:type=form t:id=edit context=${message.id} 
clientValidation=false

/t:errors
input t:type=textfieldt:id=phone /
inputvalue=Save   t:id=save   t:type=submit /
inputvalue=Reject t:id=reject t:type=submit /
/form
/td
/tr
/tbody
/table


Well, that's a sample of what i have.

I'll tell my usage :
  When the user clicks Reject, no clientValidation is done. That's why 
i disabled clientvalidation.
  When the user clicks Accept, serverside validation is done against 
real required fields, but as the form id
  is inside a loop, i can't get the validation to show the errors in 
it's own form.



private Form edit;

@OnEvent(value=EventConstants.VALIDATE_FORM)
void validateForm() {
edit.clearErrors();
if (phone==null) edit.recordError(Sorry, phone is mandatory);
}

While this works, it shows errors on every form ( currently 3 form 
), so i see the famous red-banner thrice.





I can't add edit_0 nor edit_1, because while they are real names in 
rendered tml, they are not before, so tapestry gives me an error.


Is there any way i can fix this ?

Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Editable grid with save actionlink in every row

2010-02-12 Thread Jose Luis Sanchez

Hi all.

I've using an editable grid based on
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/editablegridusingencoder1

but instead of having a submit button for the whole form, i've added a 
Save button as a new property for every row, so every row can be saved 
on its own.

! tml 
form t:type=form t:id=configurationEdit
t:errors/
table t:type=grid t:source=configurations t:row=configuration
t:model=configurationModel t:rowsPerPage=5 
t:exclude=category

 t:encoder=configurationEncoder /
p:ValueCell
input t:type=textfield t:value=configuration.value 
t:id=newConfigValue t:validate=required, maxlength=128 size=128/

input t:type=hidden t:value=newValue  t:id=newValue /
/p:ValueCell
p:ActionsCell
t:actionlink t:id=saveRow context=configContextSave/t:actionlink
/p:ActionsCell
/table
/form



script
Event.observe('saveRow', 'click', function(event) {
alert(document.configurationEdit.newConfigValue.value);
document.configurationEdit.newValue.value = 
document.configurationEdit.newConfigValue.value;

alert(document.configurationEdit.newValue.value);
});

/script

!- java -
public Object [] getConfigContext() {
// newValue is always null !
 return new Object[] { configuration.getId(),newValue };
}


Object onActionFromSaveRow(Long id,String newValue) {
  LOGGER.info(Object ID +id+. NewValue to save = 
+newValue);

}


My main problem is how to get the new textfield value.

The click event on the saveRow is not called ( at least, the alert does 
not shows up :-( )


Is there any solution anyone can tell me ?


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Updating Hibernate Entites

2010-02-08 Thread Jose Luis Sanchez
You are trying to save  a new object while using the old object id , 
what would end in two entities with same id - something not possible.

You should  call your DAO update method , instead of save.



Hello List,



i'm trying to update an Hibernate-Object but alway get an a different object with 
the same identifier value was already associated with the session: Exception.



My Form-Code looks like:

@Inject

   private ConfigurationDAO configDAO;

@Persist

   @Property

   private Configuration config;



   void onSuccessFromConfigForm(){

 config.setEditDate(new Date());

 configDAO.doSave(config);

   }



   void onActivate(Long configId){

 config=configDAO.doRetrieve(configId,false);

   }

   void onActivate(){

 configs = configDAO.findAll();

 if(config==null)

   config=new de.leomedia.leotipp.model.Configuration();

   }



can anyone give me a lead into the right direction?



thanks, Dominik


   



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Change default URI (T5.1)

2010-01-26 Thread Jose Luis Sanchez

Hi all.
I have an application under com.mycompany.customer.product packages, 
that tapestry makes accesible to the container a /product


But i do want to change that to /othername.

How can this be accomplished without renaming the packages ?
I'm pretty sure it's quite easy, but haven't found how.

Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [Tapestry Central] Next Steps for Tapestry

2009-11-07 Thread jose luis sanchez

Book ! Book ! Book !

El 07/11/2009, a las 19:11, Howard escribió:


I've been consciously letting Tapestry 5.1 sit and stabilize for a
while ... a time that's stretched a few months longer than I initially
intended.
This is due to a number of factors: my return to independent
consulting, my desire to write a definitive Tapestry 5 book, and
preparations for many trips and speaking engagements.
All of these factors have worked on each other: I've been improving  
and

extending my Tapestry Workshop training materials which can be quite
time consuming. I've also (over the last several months) been on the
road several times, talking about Tapestry or doing Tapestry training.
I do want to write a book on Tapestry but if I start writing 5.2 code,
I know I'll be sucked right in ... lots of code (that darn Spring Web
Flow integration for sure this time) and bug fixes.
In addition, I've had an embarassment of riches: two main clients, one
regular part time, and the other requesting (but not always getting)
all my remaining time. I also have additional clients and training
engagements waiting in the wings. I simply have a lot of draws on my
time.
As usual, working on real-world projects lets me experience the rough
edges of Tapestry and fills me with ideas on how to address those in
the next release ... often by splitting up Tapestry services into
smaller, more easily overridden chunks and carefully moving internal
services out into the public APIs.
Finally, I've been very pleased by the fact that as I've stepped back
temporarily from my normal stream of commits, the other Tapestry
developers have stepped in and filled the gap. There's been quite a  
bit

of activity especially from Igor that I've barely had a chance to keep
up on.
So the question is: do I wait and see if time opens up in Q1 to
actually start on a T5 book ... or do I jump into 5.2 coding and leave
books to others? It's much, much easier to write code than to write a
book ... a book is a large amount of concentrated effort. It's very
hard to accomplish anything on a book using an hour here or an evening
there ... whereas Tapestry's code base lends itself to that kind of
effort quite nicely.

--
Posted By Howard to Tapestry Central at 11/07/2009 10:11:00 AM



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: StreamResponse on Success

2009-09-18 Thread jose luis sanchez

Thanks .. that's what i'll do ... some page refresh from javascript ..

Em Thu, 17 Sep 2009 11:55:03 -0300, jose luis sanchez 
joseluis.sanc...@m-centric.com escreveu:



Anyone on this, please ?


Tapestry doesn't do a redirect-after-post when you return a 
StreamResponse. HTTP doesn't allow to return two different responses 
at the same time (CSV and HTML, in your case). One possible solution 
is to force a page refresh using Javascript.





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



StreamResponse on Success

2009-09-17 Thread jose luis sanchez

Hi all.
I've found myself a problem in an application i've developed using T5.1

There's a page, with 2 datefields, ( From / To ), and a Submit.

The Submit button calls the  StreamResponse onSuccess() method  , 
returning a CVS file with a list of records.


But i'd like to show a label with the total records output, but it looks 
likes there's no page refresh , so the total value is not updated.


Any help on this ?

Thanks.

/*** tml ***/

t:form t:id=exportCDRForm
t:errors/
   table
   tr
   tdt:label for=fromDate//td
   tdt:datefield t:id=fromDate 
format=dd/MM///td

   /tr
   tr
   tdt:label for=toDate//td
   tdt:datefield t:id=toDate 
format=dd/MM///td

   /tr
   tr
   td colspan=2 align=rightt:submit 
t:id=createbutton value=export//td

   /tr
   /table
   t:if test=total
   hr/
   div align=centerh2You have exported ${total} 
transactions/h2/div

   br/
   /t:if
/t:form


/ java /
@Property
private int total;

StreamResponse onSuccess() {

   List HSITransaction transactionList = 
theSession.createCriteria(HSITransaction.class)

   .add(Restrictions.ge(transactionDate, fromDate))
   .add(Restrictions.le(transactionDate, toDate))
   .list();
   total = transactionList.size();
   if (total  0) {
   try {
   return exportCSV(transactionList);
   } catch (Exception e) {
   theForm.recordError(Sorry, there was an error exporting 
CDR's :+e.getMessage());

   }
   } else theForm.recordError(Sorry, there was no data to export);
   return null;

   }



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



StreamResponse on Success

2009-09-17 Thread jose luis sanchez

( Sorry, got wrong thread ) :-(

Hi all.

I've found myself a problem in an application i've developed using T5.1

There's a page, with 2 datefields, ( From / To ), and a Submit.

The Submit button calls the  StreamResponse onSuccess() method  , 
returning a CVS file with a list of records.


But i'd like to show a label with the total records output, but it looks 
likes there's no page refresh , so the total value is not updated.


Any help on this ?

Thanks.

/*** tml ***/

t:form t:id=exportCDRForm
   t:errors/
  table
  tr
  tdt:label for=fromDate//td
  tdt:datefield t:id=fromDate 
format=dd/MM///td

  /tr
  tr
  tdt:label for=toDate//td
  tdt:datefield t:id=toDate 
format=dd/MM///td

  /tr
  tr
  td colspan=2 align=rightt:submit 
t:id=createbutton value=export//td

  /tr
  /table
  t:if test=total
  hr/
  div align=centerh2You have exported ${total} 
transactions/h2/div

  br/
  /t:if
   /t:form


/ java /
@Property
private int total;

StreamResponse onSuccess() {

  List HSITransaction transactionList = 
theSession.createCriteria(HSITransaction.class)

  .add(Restrictions.ge(transactionDate, fromDate))
  .add(Restrictions.le(transactionDate, toDate))
  .list();
  total = transactionList.size();
  if (total  0) {
  try {
  return exportCSV(transactionList);
  } catch (Exception e) {
  theForm.recordError(Sorry, there was an error exporting 
CDR's :+e.getMessage());

  }
  } else theForm.recordError(Sorry, there was no data to export);
  return null;

  }


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: StreamResponse on Success

2009-09-17 Thread jose luis sanchez

Anyone on this, please ?



Hi all.

I've found myself a problem in an application i've developed using T5.1

There's a page, with 2 datefields, ( From / To ), and a Submit.

The Submit button calls the  StreamResponse onSuccess() method  , 
returning a CVS file with a list of records.


But i'd like to show a label with the total records output, but it 
looks likes there's no page refresh , so the total value is not updated.


Any help on this ?

Thanks.

/*** tml ***/

t:form t:id=exportCDRForm
   t:errors/
  table
  tr
  tdt:label for=fromDate//td
  tdt:datefield t:id=fromDate 
format=dd/MM///td

  /tr
  tr
  tdt:label for=toDate//td
  tdt:datefield t:id=toDate 
format=dd/MM///td

  /tr
  tr
  td colspan=2 align=rightt:submit 
t:id=createbutton value=export//td

  /tr
  /table
  t:if test=total
  hr/
  div align=centerh2You have exported ${total} 
transactions/h2/div

  br/
  /t:if
   /t:form


/ java /
@Property
private int total;

StreamResponse onSuccess() {

  List HSITransaction transactionList = 
theSession.createCriteria(HSITransaction.class)

  .add(Restrictions.ge(transactionDate, fromDate))
  .add(Restrictions.le(transactionDate, toDate))
  .list();
  total = transactionList.size();
  if (total  0) {
  try {
  return exportCSV(transactionList);
  } catch (Exception e) {
  theForm.recordError(Sorry, there was an error exporting 
CDR's :+e.getMessage());

  }
  } else theForm.recordError(Sorry, there was no data to export);
  return null;

  }


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: First try with chenilleKit.

2009-09-14 Thread jose luis sanchez

There's a lib dependency problem between chenillekit and tapestry.
You should add and exclussion in the chenillekit tapestry dependency.
Add this to your pom.xml file

  dependency
groupIdorg.chenillekit/groupId
artifactIdchenillekit-tapestry/artifactId
version1.1.0/version
   * exclusions
exclusion
artifactIdjavassist/artifactId
groupIdjboss/groupId
/exclusion
/exclusions*
   /dependency

I have mended the issue and it works! I made a change in the Eclipse
build path and added the jar file.

About the WEB-INF/lib it seems empty. I don't have much experience
with webapps, as it's obvious. But I'm running it with Maven and it
must be locating the libs in another place. I don't understand very
well why changing the Eclipse config did arrange it, but it's welcome.


Thanks for the hint, Sven. :-D

2009/9/14 Sven Homburg hombu...@googlemail.com:
  

Are you sure, that the chenillekit libs are resists in you WEB-INF/lib ?

with regards
Sven Homburg
Founder of the Chenille Kit Project
http://www.chenillekit.org




2009/9/14 Madtyn mad...@gmail.com



I tried for the first time to use a chenilleKit component, so I was
reading about, and I only included a DateTimeField component.


1.- I added the repository and the dependencies to the pom xml of the
parent multiproject.
2.- I added the next code on the Java class:

  import org.chenillekit.tapestry.core.components.DateTimeField;

  /* some code */

  private Date date=null;

  @Component(parameters = {value=date1, datePattern=dd/MM/ })
  private DateTimeField _dateTimeField1;

3.- Then, I wrote this in the .tml:

  input t:id=dateTimeField1/


mvn compile appears to work. It downloads many things from the
repository. But when I entered the page, I got his error:

# java.lang.RuntimeException
java.lang.ClassNotFoundException: caught an exception while obtaining
a class file for es.udc.madtyn.gimnasio.web.pages.find.FindIncidencias
# java.lang.ClassNotFoundException
caught an exception while obtaining a class file for
es.udc.madtyn.gimnasio.web.pages.find.FindIncidencias

exception
   org.apache.tapestry5.internal.services.TransformationException:
javassist.NotFoundException: DateTimeField

# org.apache.tapestry5.internal.services.TransformationException
javassist.NotFoundException: DateTimeField


   What I'm doing wrong? The only thing I didn't find on the inet was
the import, but I think it's all right.

Thank you very much.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


  


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


  
  


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



2 Tapestry apps in same tomcat

2009-08-19 Thread jose luis sanchez

Hi all.
I've developed two diffent T5 apps ( T5.1.0.5), and have them deployed 
in the same tomcat server.


My question is :

Will there be any improvements ( speed, memory consuming ) if i share T5 
libs between them both ? ( in tomcat/lib folder )


Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5.1 and JNI

2009-08-17 Thread jose luis sanchez

Hi guys.
I'm using a JNI library directly inside a service i have binded into 
T5.1, but i can't get it to run because of a UnsatiesfiedLinkError.


I'll show you how my setup is :

( System is ubuntu 9.04 )

Library in  /etc/lib/mylib.so

AppModule.java
 public static void bind(ServiceBinder binder)
   {
   binder.bind(LicenseCheck.class,LicenseCheckImpl.class);
   }


LicenseCheckImpl.java {

   /** JNI Interface */
   public static native String licenseVerify(String file, String feature);
  
  
   static {

   System.load(/etc/lib/liblicense_verify.so);
   }
  
   public LicenseCheckImpl() {
  
   }
  
   public String check() {

  return licenseVerify(,);
   }
}

License.tml
@Inject
private LicenseCheck theLicenseCheck;

public void checkLicense() {
   String license =   theLicenseCheck.check();  
}



[DEBUG] AppModule.LicenseCheck Invoking constructor 
hsiAdministrationConsole.services.LicenseCheckImpl() (at 
LicenseCheckImpl.java:25) via 
hsiAdministrationConsole.services.AppModule.bind(ServiceBinder) (at 
AppModule.java:28).
[ERROR] TapestryModule.RequestExceptionHandler Processing of request 
failed with uncaught exception: 
com.mcentric.glo.hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
java.lang.UnsatisfiedLinkError: 
hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
   at 
hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Native 
Method)
   at 
hsiAdministrationConsole.services.LicenseCheckImpl.checkLicense(LicenseCheckImpl.java:34)
   at 
$LicenseCheck_12327d32a7a.checkLicense($LicenseCheck_12327d32a7a.java)




If i call the library from inside a sample java file, the program works.
public class LicenseVerify {

  public static native String licenseVerify(String file, String feature);

  static {
System.load(/etc/lib/liblicense_verify.so);
  }

  public static void main (String args[]) {
String s=licenseVerify(args[0],args[1]);
System.out.print(s);
  }

}


Is a T5 related problem ?

Btw, running inside a Tomcat 6.0.20 container.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.1 and JNI

2009-08-17 Thread jose luis sanchez

Problem solved .. a javah incorrect creation :(

Hi guys.
I'm using a JNI library directly inside a service i have binded into 
T5.1, but i can't get it to run because of a UnsatiesfiedLinkError.


I'll show you how my setup is :

( System is ubuntu 9.04 )

Library in  /etc/lib/mylib.so

AppModule.java
 public static void bind(ServiceBinder binder)
   {
   binder.bind(LicenseCheck.class,LicenseCheckImpl.class);
   }


LicenseCheckImpl.java {

   /** JNI Interface */
   public static native String licenseVerify(String file, String 
feature);

   static {
   System.load(/etc/lib/liblicense_verify.so);
   }
 public LicenseCheckImpl() {
 }
 public String check() {
  return licenseVerify(,);
   }
}

License.tml
@Inject
private LicenseCheck theLicenseCheck;

public void checkLicense() {
   String license =   theLicenseCheck.check();  }


[DEBUG] AppModule.LicenseCheck Invoking constructor 
hsiAdministrationConsole.services.LicenseCheckImpl() (at 
LicenseCheckImpl.java:25) via 
hsiAdministrationConsole.services.AppModule.bind(ServiceBinder) (at 
AppModule.java:28).
[ERROR] TapestryModule.RequestExceptionHandler Processing of request 
failed with uncaught exception: 
com.mcentric.glo.hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 

java.lang.UnsatisfiedLinkError: 
hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 

   at 
hsiAdministrationConsole.services.LicenseCheckImpl.licenseVerify(Native 
Method)
   at 
hsiAdministrationConsole.services.LicenseCheckImpl.checkLicense(LicenseCheckImpl.java:34) 

   at 
$LicenseCheck_12327d32a7a.checkLicense($LicenseCheck_12327d32a7a.java)




If i call the library from inside a sample java file, the program works.
public class LicenseVerify {

  public static native String licenseVerify(String file, String feature);

  static {
System.load(/etc/lib/liblicense_verify.so);
  }

  public static void main (String args[]) {
String s=licenseVerify(args[0],args[1]);
System.out.print(s);
  }

}


Is a T5 related problem ?

Btw, running inside a Tomcat 6.0.20 container.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [T5] Create audit annotation

2009-07-31 Thread jose luis sanchez
It should be like that .. but i believe the @Persist tag stores the 
value of the field at runtime, so it should get the field value .. but 
looking at the tapestry source code i can't get HOW to do it .. do you 
think i'm right ?
Em Thu, 30 Jul 2009 15:34:33 -0300, jose luis sanchez 
joseluis.sanc...@m-centric.com escreveu:



Is there any way i can send dynamic parameters to an annotation ?


You just can't. They're computed at compiling time.




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



[T5] Create audit annotation

2009-07-30 Thread jose luis sanchez

Hi all.

I'm trying to create an annotation for auditing methods in my 
application, in order to log to a file who is doing what.


The use of the annotation should be like this ...


@Audit(user=user, what=method)
private void storingAccount(.)

where user and method should be parameters ...

But i can't find any info on how to make an annotation .. any idea ?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Yeah,sure .. i was looking for Tapestry annotations howto .. and 
realized that are java5 related, not 5.


Lately, T5 is solving so many problems i'm start to think everything is 
related to it :-)


Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez 
joseluis.sanc...@m-centric.com escreveu:



Hi all.


Hi!


But i can't find any info on how to make an annotation .. any idea ?


The first Google result for 'java annotation tutorial' is 
http://java.sun.com/docs/books/tutorial/java/javaOO/annotations.html, 
not very userful, but the second is quite good: 
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html. I 
guess you need to improve your Google skills. :)


To process the annotations in your services, take a look at service 
advising: 
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html.





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [T5] Problems with commitAfter

2009-07-24 Thread jose luis sanchez

Looking inside the database :-)
Even after changing to another page, quitting the application , etc ..


How do you check that data is not persisted, Jose?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [T5] Problems with commitAfter

2009-07-24 Thread jose luis sanchez
Apparently, there's been a rollback .. but ... why ? there's no error .. 
how can i get more info ?


   @Log
   @CommitAfter
   public void onAction() {
   Customer customer = new Customer();
   customer.setPhone(99L);
   customer.setType(CustomerType.STANDARD);
   theSession.save(customer);
   }




2009-07-24 12:11:07,346  DEBUG [testCommit.pages.Index] 
org.apache.tapestry5.ioc.internal.services.MethodLogger.entry(MethodLogger.java:73) 
[ENTER] onAction()
2009-07-24 12:11:07,348  DEBUG 
[org.apache.tapestry5.hibernate.HibernateCoreModule.HibernateSessionManager] 
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:62) 
Invoking method 
org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionManager(HibernateSessionSource, 
PerthreadManager) (at HibernateCoreModule.java:95).
2009-07-24 12:11:07,350  DEBUG 
[org.hibernate.transaction.JDBCTransaction] 
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:82) 
begin
2009-07-24 12:11:07,382  DEBUG 
[org.hibernate.transaction.JDBCTransaction] 
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:87) 
current autocommit status: false
2009-07-24 12:11:07,383  DEBUG [testCommit.pages.Index] 
org.apache.tapestry5.ioc.internal.services.MethodLogger.exit(MethodLogger.java:153) 
[ EXIT] onAction
*2009-07-24 12:11:07,385  DEBUG 
[org.hibernate.transaction.JDBCTransaction] 
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:186) 
rollback*
2009-07-24 12:11:07,392  DEBUG 
[org.hibernate.transaction.JDBCTransaction] 
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:197) 
rolled back JDBC Connection



Looking inside the database :-)
Even after changing to another page, quitting the application , etc ..


How do you check that data is not persisted, Jose?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: [T5] Problems with commitAfter

2009-07-22 Thread jose luis sanchez

Hi all.
Maybe i missed some info ..
This code was inside a standard T5 page, with a hibernate session injected.

It's curious , because i find no reason for the code not to be commited, 
it's even not giving errors ... not even a rollback.



Ups...Sorry Jose i didn't notice u were using the @CommitAfter inside
ur components.


On Tue, Jul 21, 2009 at 10:55 PM, Howard Lewis Shiphls...@gmail.com wrote:
  

On Tue, Jul 21, 2009 at 12:19 PM, Juan E. Mayamaya.j...@gmail.com wrote:


Hi Jose,

did u remember configure the HibernateTransactionAdviser as described
at the bottom of:
http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html
  

The advisor is only necessary when using @CommitAfter with your own
*services*.  The @CommitAfter annotation works with *components*
automatically.



?


On Tue, Jul 21, 2009 at 9:13 PM, jose luis
sanchezjoseluis.sanc...@m-centric.com wrote:
  

Hello all.

I'm experiencing weird problems with the @CommitAfter tag ...

Have a hibernate schema, a configuration, and everything ok ( it runs ,
checked ), now, the only WAY of getting a data to be persisted into database
is using a transaction, like this

  @OnEvent(component=addCustomer,value=success)
  Object onSuccess() {
  Customer customer = (Customer) theSession.get(Customer.class,
theSubscription.getId());
  if (customer != null) {
  Transaction tx = theSession.beginTransaction();
  theSession.update(customer);
  tx.commit();
  }
  return null;
  }


Previously, the following did work, but it's not working now .. it just says
ok, it returns a generated Id , ( as seen in logs ) , but does not persist
the info in the table.
  @OnEvent(component=addCustomer,value=success)
  @CommitAfter
  Object onSuccess() {
  Customer customer = (Customer) theSession.get(Customer.class,
theSubscription.getId());
  if (customer != null) {
  theSession.update(customer);
  }
  return null;
  }


The bean is a java bean ( no Tapestry annotation at all, just the hbm.xml
file , unchanged )
Any help ?


My relevant information from hibernate.cfg
May the transaction factory have anything to do with the problem ?

  !--  Session configurations --
  property
name=hibernate.current_session_context_classthread/property
  property
name=hibernate.transaction.factory_classorg.hibernate.transaction.JDBCTransactionFactory/property

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


  


--
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



[T5] Problems with commitAfter

2009-07-21 Thread jose luis sanchez

Hello all.

I'm experiencing weird problems with the @CommitAfter tag ...

Have a hibernate schema, a configuration, and everything ok ( it runs , 
checked ), now, the only WAY of getting a data to be persisted into 
database is using a transaction, like this


   @OnEvent(component=addCustomer,value=success)
   Object onSuccess() {
   Customer customer = (Customer) theSession.get(Customer.class, 
theSubscription.getId());

   if (customer != null) {
   Transaction tx = theSession.beginTransaction();
   theSession.update(customer);
   tx.commit();
   }
   return null;
   }


Previously, the following did work, but it's not working now .. it just 
says ok, it returns a generated Id , ( as seen in logs ) , but does not 
persist the info in the table.

   @OnEvent(component=addCustomer,value=success)
   @CommitAfter
   Object onSuccess() {
   Customer customer = (Customer) theSession.get(Customer.class, 
theSubscription.getId());

   if (customer != null) {
   theSession.update(customer);
   }
   return null;
   }


The bean is a java bean ( no Tapestry annotation at all, just the 
hbm.xml file , unchanged )

Any help ?


My relevant information from hibernate.cfg
May the transaction factory have anything to do with the problem ?

   !--  Session configurations --
   property 
name=hibernate.current_session_context_classthread/property
   property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JDBCTransactionFactory/property


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-14 Thread jose luis sanchez

Yes, that was the problem !!
Thanks ..  now, i have excluded the javassist that chenillekit depends 
on .. and old one, and everything looks and works ok :-)

Maybe you have dublicate javassist jar in your classpath.

  



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Multiple submit button and client validations

2009-07-14 Thread jose luis sanchez

Hi all.
I have a form with two grid components inside.

i fill every grid with data input from several textfields, using its own 
submit button.



Name Surname AddUserButton
[ GRID ]

CarPlate CarName AddCarButton
[ GRID ]


Every field has required validation constraints, and this is the problem.

When i hit whichever 'addXX' button, i insert those fields inside the 
grid, BUT the client validation for the other textfields do not allow me 
to insert it.


Is there another solution than to split this page into 2 pages ?


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Removing SSO after successfull submit

2009-07-14 Thread jose luis sanchez

Hello.

I'm using a Session Object to store the data in a multipage creation wizard.

After the last screen, th3e object is persisted in database, so i no 
longer need it.


The problem arises when i hit again the add new object button, and the 
fields keep the previous data ... because the SSO is still inmemory.


Is there anyway to get rid of this behaviour ?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Removing SSO after successfull submit

2009-07-14 Thread jose luis sanchez

Ups .-.. thanks .. i might need to re-read the documentation again :)


From the docs:

Assigning a value to an SSO field will store that value. Assigning 
null to an SSO field will remove the SSO (reading the field 
subsequently will force a new SSO instance to be created).


Uli

On 14.07.2009 13:21 schrieb jose luis sanchez:

Hello.

I'm using a Session Object to store the data in a multipage creation 
wizard.


After the last screen, th3e object is persisted in database, so i no 
longer need it.


The problem arises when i hit again the add new object button, and 
the fields keep the previous data ... because the SSO is still inmemory.


Is there anyway to get rid of this behaviour ?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



FormFragment hide/show effect

2009-07-09 Thread jose luis sanchez

Hi all.

I have a somewhat complex form ( a big form with 2 form fragments inside 
), like


form
  checkbox1
  checkbox2
fragment1 visible=checkbox1
   /fragment1
   fragment2 visible=checkbox2
   /fragment2
/form


The page is loaded via an onActivation call ( it's an Edit object page 
), and the checkboxes gets filled the information provided from the object.


If the boolean properties of the object are true, the checkboxes gets 
checked and the fragments are visible.

Then, if i uncheck them, the fragments are hidden. This is ok.


If the boolean properties of the objects are false, ( onActivation ),the 
checkboxes don't get checked, and the fragments are not visible.
But, if i check the checkboxes, the effect is not working and the 
fragment aren't shown at all.


Anyone has a solution ?

Btw, using tapestry 5.1.0.5


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: FormFragment hide/show effect

2009-07-09 Thread jose luis sanchez

Hi again.
It looks like this problem is firefox related ( 3.0.x / 3.5 ) , both 
windows and ubuntu .. in internet explorer works !



Hi all.

I have a somewhat complex form ( a big form with 2 form fragments 
inside ), like


form
  checkbox1
  checkbox2
fragment1 visible=checkbox1
   /fragment1
   fragment2 visible=checkbox2
   /fragment2
/form


The page is loaded via an onActivation call ( it's an Edit object page 
), and the checkboxes gets filled the information provided from the 
object.


If the boolean properties of the object are true, the checkboxes gets 
checked and the fragments are visible.

Then, if i uncheck them, the fragments are hidden. This is ok.


If the boolean properties of the objects are false, ( onActivation 
),the checkboxes don't get checked, and the fragments are not visible.
But, if i check the checkboxes, the effect is not working and the 
fragment aren't shown at all.


Anyone has a solution ?

Btw, using tapestry 5.1.0.5


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez

Hello all.

I have an application created in tapestry 5.1.0.5, and when i run it with a
mvn jetty:run

It runs perfect.

Also with mvn tomcat:run

But, when i run it  with mvn tomcat:run-war
or copy the resulting war inside a working tomcat installation ( both 
5.0.28 and 6.0.20 ), the app just doest not start.


It says it can't find the layout.tml/layout.class in the classpath !!

I have no configuration at all , server specific i mean, but a 
hibernate.cfg.xml and a log4j.xml file



[ERROR] pages.IndexAdmin Render queue error in 
BeginRender[IndexAdmin:layout.pagelink_0]: 
java.lang.ClassNotFoundException: caught an exception while obtaining a 
class file for 
com.mycompany.customer.administrationConsole.pages.migration.ViewMigration
org.apache.tapestry5.ioc.internal.util.TapestryException: 
java.lang.ClassNotFoundException: caught an exception while obtaining a 
class file for 
com.mycompany.customer.administrationConsole.pages.migration.ViewMigration 
[at 
classpath:com/mcentric/glo/administrationConsole/components/Layout.tml, 
line 39]
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.render(ComponentPageElementImpl.java:211)
   at 
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74)
   at 
org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)


.
.
.
.stacktrace
.
   at javassist.bytecode.ByteArray.write16bit(ByteArray.java:40)
   at 
javassist.bytecode.StackMapTable$Shifter.update(StackMapTable.java:744)
   at 
javassist.bytecode.StackMapTable$Shifter.sameFrame(StackMapTable.java:720)
   at 
javassist.bytecode.StackMapTable$Walker.stackMapFrames(StackMapTable.java:194)

   at javassist.bytecode.StackMapTable$Walker.parse(StackMapTable.java:179)
   at javassist.bytecode.StackMapTable$Shifter.doit(StackMapTable.java:714)
   at javassist.bytecode.StackMapTable.shiftPc(StackMapTable.java:693)
   at javassist.bytecode.CodeIterator.insertGap0(CodeIterator.java:676)
   at javassist.bytecode.CodeIterator.insertGap(CodeIterator.java:636)
   at javassist.bytecode.CodeIterator.insertGapCore(CodeIterator.java:467)
   at javassist.bytecode.CodeIterator.insertGap(CodeIterator.java:413)
   at javassist.expr.Expr.replace0(Expr.java:298)
   at javassist.expr.FieldAccess.replace(FieldAccess.java:213)
   at 
org.apache.tapestry5.internal.services.InternalClassTransformationImpl$3.edit(InternalClassTransformationImpl.java:1757)

   at javassist.expr.ExprEditor.loopBody(ExprEditor.java:197)
   at javassist.expr.ExprEditor.doit(ExprEditor.java:90)
   at javassist.CtClassType.instrument(CtClassType.java:1289)
   at 
org.apache.tapestry5.internal.services.InternalClassTransformationImpl.replaceFieldAccess(InternalClassTransformationImpl.java:1763)
   at 
org.apache.tapestry5.internal.services.InternalClassTransformationImpl.performFieldTransformations(InternalClassTransformationImpl.java:1691)
   at 
org.apache.tapestry5.internal.services.InternalClassTransformationImpl.finish(InternalClassTransformationImpl.java:1336)
   at 
org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:172)

   ... 102 more


   *

 location
 
classpath:com/mycompany/customer/administrationConsole/components/Layout.tml,
 line 39

   * java.lang.ClassNotFoundException
 caught an exception while obtaining a class file for
 com.mycompany.customer.administrationConsole.pages.migration.ViewMigration

 exception
 org.apache.tapestry5.internal.services.TransformationException: 3

   * org.apache.tapestry5.internal.services.TransformationException
 3





It looks like the problem comes from the ViewMigration.tml/java page, 
but there's no apparent difference between this and other, as all of 
them run inside tomcat:run or jetty:run


Other pages run ok with maven tomcat:run-war, it's just this one
Please, can you help me.

Otherwise , what is your preferred way of deploying apps ?
I thought it would be the resulting war after maven tomcat:war ( for 
tomcat, obviously)


thanks in advance.



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Problems deploying tapestry App in Tomcat 5.x/6.x

2009-07-07 Thread jose luis sanchez

The .tml
html t:type=layout
 title=Migration Rules Administration
 pageTitle=Manage Migration Rules
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;
 xmlns:p=tapestry:parameter
   p:content
  
  t:form t:id=createMigrationForm
  t:errors/  
   table   
   
trtdt:label for=sourcePlan//td   
tdt:select t:id=sourcePlan t:model=dataPlanModel

t:value=sourcePlan

t:encoder=dataPlanEncoder//td
   
tdt:label for=targetPlan//td

tdt:select t:id=targetPlan
t:model=dataPlanModel
t:value=targetPlan

t:encoder=dataPlanEncoder//td   
   tdt:label for=fee//td   tdt:textfield 
t:id=fee //td/tr
trtdinput type=submit t:type=submit 
t:id=addMigrationButton value=Add//td

  t:if test=fee
tdinput type=submit t:type=submit 
t:id=updateMigrationButton  value=Update//td

 /t:if
/tr
/table
   /t:form
  
   t:grid source=migrations row=theMigration 
reorder=sourceName,targetName,fee 
exclude=id,sourcePlanId,targetPlanId rowsPerPage=5 inPlace=true 
add=edit,delete

   p:deletecell
   t:actionlink t:id=delete context=theMigration.id 
onClick=return confirm('Are you sure you want to delete 
it?')Delete/t:actionlink

   /p:deletecell
   p:editcell
   t:pagelink page=migration/view 
context=theMigration.idEdit/t:pagelink

   /p:editcell
   /t:grid
   /p:content
/html


the .java


public class ViewMigration {

  
   @Property

   @Validate(required)
   private DataPlan sourcePlan;
   @Property
   @Validate(required)
   private DataPlan targetPlan;
   @Property
   @Validate(min=0,required)
   private Double fee;


   @Property
   private MigrationRuleDTO theMigration;
  
   @Component(id=createMigrationForm)

   private Form createMigrationForm;
  
   @Property

   @Persist
   private MigrationRule aMigration;
  
   private List MigrationRuleDTO migrations;
  
   @Inject

   private Session theSession;
  
  
 
   public SelectModel getDataPlanModel()

   {
 return new 
DataPlanSelectModel(theSession.createCriteria(DataPlan.class).list());

   }
  
   public ValueEncoder getDataPlanEncoder()

   {
 return new DataPlanEncoder();
   }
  
}



Here it goes ...
--
[ERROR] pages.IndexAdmin Render queue error in 
BeginRender[IndexAdmin:layout.pagelink_0]: 
java.lang.ClassNotFoundException: caught an exception while obtaining a 
class file for 
com.mcentric.glo.hsiAdministrationConsole.pages.migration.ViewMigration
org.apache.tapestry5.ioc.internal.util.TapestryException: 
java.lang.ClassNotFoundException: caught an exception while obtaining a 
class file for 
com.mcentric.glo.hsiAdministrationConsole.pages.migration.ViewMigration 
[at 
classpath:com/mcentric/glo/hsiAdministrationConsole/components/Layout.tml, 
line 39]
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:948)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$400(ComponentPageElementImpl.java:49)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.callback(ComponentPageElementImpl.java:159)
   at 
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$BeginRenderPhase.render(ComponentPageElementImpl.java:211)
   at 
org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74)
   at 
org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121)
   at 
$PageRenderQueue_1225530ff91.render($PageRenderQueue_1225530ff91.java)
   at 
$PageRenderQueue_1225530ff88.render($PageRenderQueue_1225530ff88.java)
   at 
org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37)
   at 
org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1748)
   at 
$MarkupRenderer_1225530ff93.renderMarkup($MarkupRenderer_1225530ff93.java)
   at 
org.apache.tapestry5.services.TapestryModule$26.renderMarkup(TapestryModule.java:1732)
   at 
$MarkupRenderer_1225530ff93.renderMarkup($MarkupRenderer_1225530ff93.java)
   at 
org.apache.tapestry5.services.TapestryModule$25.renderMarkup(TapestryModule.java:1714)
   at 
$MarkupRenderer_1225530ff93.renderMarkup($MarkupRenderer_1225530ff93.java)
   at 
org.apache.tapestry5.services.TapestryModule$24.renderMarkup(TapestryModule.java:1700)
   at 
$MarkupRenderer_1225530ff93.renderMarkup($MarkupRenderer_1225530ff93.java)
   at 
org.apache.tapestry5.services.TapestryModule$23.renderMarkup(TapestryModule.java:1681)
   at 

Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez

Hello All.

I am currently developing an application using tapestry 5.1.0.5, and 
well, quite amazed by the advantages and ease of development it gives to 
me ( being used to struts 1.x :-) ).


But  now, i'm facing a problem, that i used to solve with Displaytag, 
and have not found any similar in tapestry.


Maybe someone could point me in the right direction ?


I want to display a treegrid-menu , like this ..


Column 1 Column 2  Column 3
  0   
  1   
 10

 11
   110
  2  
 20

   201
   
I hope you get the point ...


Obviously, the column may be dinamically generated, depending on the 
menu depth ( already stored in a tree like structure )


Here is the code i used previously ...
I have no way to make tapestry integrate with the 'c' jsp tags ..

display:table id=row name=sessionScope.plantable 
 
  display:column property=MainOption title=Main Menu group=1 
sortable=true/

   c:forEach begin=2 end=${MenuDepth} var=column
   c:set var=title scope=pageSub-Menu c:out 
value=${column-1}//c:set
   c:set var=SubOption scope=pageSubOptionc:out 
value=${column-1}//c:set
   display:column property=${SubOption} title=${title} 
group=${column}/

   /c:forEach
/display:table


Thanks


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez

Sorry, the format screwed up.
What i basically want is 'group by' property in a grid table.
How can this be achieved, anyone ?

Thanks.


Hello All.

I am currently developing an application using tapestry 5.1.0.5, and 
well, quite amazed by the advantages and ease of development it gives 
to me ( being used to struts 1.x :-) ).


But  now, i'm facing a problem, that i used to solve with Displaytag, 
and have not found any similar in tapestry.


Maybe someone could point me in the right direction ?


I want to display a treegrid-menu , like this ..


Column 1 Column 2  Column 3
  0 110
 11
   110
  2   20
   201
   I hope you get the point ...

Obviously, the column may be dinamically generated, depending on the 
menu depth ( already stored in a tree like structure )


Here is the code i used previously ...
I have no way to make tapestry integrate with the 'c' jsp tags ..

display:table id=row name=sessionScope.plantable 
   display:column property=MainOption title=Main Menu 
group=1 sortable=true/

   c:forEach begin=2 end=${MenuDepth} var=column
   c:set var=title scope=pageSub-Menu c:out 
value=${column-1}//c:set
   c:set var=SubOption scope=pageSubOptionc:out 
value=${column-1}//c:set
   display:column property=${SubOption} title=${title} 
group=${column}/

   /c:forEach
/display:table


Thanks


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Integrating DisplayTag in Tapestry

2009-07-02 Thread jose luis sanchez
Yes, i'm actually using grid with great success in other pages of my 
app, but it's missing the 'group by' facility displaytag gives to me.




On Thu, Jul 2, 2009 at 8:58 AM, jose luis
sanchezjoseluis.sanc...@m-centric.com wrote:
  

Sorry, the format screwed up.
What i basically want is 'group by' property in a grid table.
How can this be achieved, anyone ?



It will not solve your whole problem, but Tapestry's component that is
more similar to DisplayTag is Grid:
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html

  



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry and org.restlet ?

2009-06-19 Thread jose luis sanchez

Hello all.
I'm developing a restlet based application, based on org.restlet
framework 1.1.5 ( latest stable ), BUT would like to add a web-interface
for similar stuff in the same deployment.
Being tapestry 5.1.0.5 a restful?less? framework, how could this be
achieved ?

Can i mix both ? does tapestry allow the handling of 'restlets' resource
using get/post/delete/put commands ?

Thanks in advance.



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry and org.restlet ?

2009-06-18 Thread jose luis sanchez

Hello all.
I'm developing a restlet based application, based on org.restlet 
framework 1.1.5 ( latest stable ), BUT would like to add a web-interface 
for similar stuff in the same deployment.
Being tapestry 5.1.0.5 a restful?less? framework, how could this be 
achieved ?


Can i mix both ? does tapestry allow the handling of 'restlets' resource 
using get/post/delete/put commands ?


Thanks in advance.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org