Re: Exception report Tapestry + Hibernate HTTP 500
Hi Thiago. Suprisingly I have been left with some old Hibernate libs in my stack, so I had to delete them manually as they haven't been seen by my IDE. I have done it, but the issue persists, but I have got a couple of issues here that I wanted to share with you, and I think are the main reason why my app fails to process it in the right way. This is the the new log http://shrib.com/GebWbwlN -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677252.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
This is what I wanted at first to post : http://shrib.com/902LeAu6 This is my issue. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677101.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
Lol :) I couldn't see I didn't close the listener tag. :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677078.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
But why is that? Do I have to make my own service in order that to work? So far my xml was parsing just fine, but when I implemented the entities like I did, it throws me that exception. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677063.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677005.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676579.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
It all goes fine untill I implemented that Fruits extends Article. That's where it stopped and shows me that kind of exception. I am using Tap 5.2.( all taps liba ) and Hibernate 3.6.0 (Hibernate core 3.6.0, Hibernate JPA 2.0 Final, Hibernate c3p0 3.6.0, Hibernate annotations 3.2.0 ). @Thiago I have 4 logs here from my Apache Tomcat server. Is that what you need? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676497.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Exception report Tapestry + Hibernate HTTP 500
The thing is I don't think JARs are mixed. Main reason for this behavior could be possibly find in the following scenario: When I implemented this like inheritance: @Entity @Table(name = "Article") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public class Articleimplements Serializable { @Id @GeneratedValue(strategy=GenerationType.AUTO) @Basic(optional = false) @Column(name = "ART_ID") private Long id; @Basic(optional = false) @Column(name = "ART_NAME") private String name; @Basic(optional = true) @Column(name = "ART_COST") private double cost; @Basic(optional = true) @Column(name = "ART_DESC") private String description; @Basic(optional = true) @Column(name = "ART_IMG") private String image; ... @Entity @Table(name="Fruits") @AttributeOverrides({ @AttributeOverride(name="name", column=@Column(name="ART_NAME")), @AttributeOverride(name="cost", column=@Column(name="ART_COST")), @AttributeOverride(name="description", column=@Column(name="ART_DESC")), @AttributeOverride(name="image", column=@Column(name="ART_IMG")) }) @IdClass(Article.class) public class Fruits extends Article { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Basic(optional = false) @Column(name = "FRU_ID") private long fruitID; @Basic(optional = false) @Column(name = "FRU_FROZEN") private String fruitFrozen; and I wanted to list all the fruits, like this public class ShowFruits { @Persist(value="flash") @Property private String tag; @Property private Fruits fruit; @Property private Article article; @Inject private Session _hibernate; @SessionState @Property private Korisnik _User; @Property private boolean _ifUSerExists; @InjectPage private ShowFruits _showFruits; /** * Returns the list of the fruits articles * @return list */ public List getFruits() { List l; if(tag == null || tag.isEmpty()) l = _hibernate.createCriteria(Fruit.class).list(); else l = _hibernate.createCriteria(Fruit.class) .add(Restrictions.like("tags", tag, MatchMode.ANYWHERE)).list(); System.out.println(l.size()); return l; } /** * Sets tag * @param tag tag */ public void setData(String tag) { this.tag = tag; } /** * Returns the image * @return image path */ public String getImagePath() { if(fruit.getImage() == null || fruit.getImage().isEmpty()) return "gfx/no_image.jpg"; return "gfx/"+fruit.getImage(); } and the showFruits.tml http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ${fruit.name}
Re: File System Asset Factory help needed and petition wanted
Horvat, odlicna ideja. Ne bi bilo lose da ovo uvrstis u slijedecu razradu Tap-a. Sto mislis o tome? -- View this message in context: http://tapestry.1045711.n5.nabble.com/File-System-Asset-Factory-help-needed-and-petition-wanted-tp5641308p5674392.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Apache Tapestry, Welcome to CodeMaps!
Great news, however I can't see it's fully accomplished, since tap hibernate is missing from the review. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Apache-Tapestry-Welcome-to-CodeMaps-tp5674063p5674179.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
What's new in Tap5.2.x
Hi there, my company is testing the possibility of moving from Tap4 to Tap5.2.x, however before doing it, we have to do some research on that matter. First thing we should like to know is a listing of all the news coming from Tap5.2.x and it's previous versions Tap5.1.x and Tap5.0 . I plead all of you to join the discussion in order to form some valid data out of it. Thanks in advance. -- View this message in context: http://tapestry.1045711.n5.nabble.com/What-s-new-in-Tap5-2-x-tp5620464p5620464.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Difference between tml and java importing js
Thank you for the explanation. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Difference-between-tml-and-java-importing-js-tp5565945p5568052.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Difference between tml and java importing js
Hi, as title denotes, I would like to know what is the difference between tml and java importing javascript. Examples shown below. JAVA page @Import(library="../dimitriy/bogdanov/bootstrap-dropdown.js") and TML page Discussion about this topic is appreciated. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Difference-between-tml-and-java-importing-js-tp5565945p5565945.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
This solution is not bad at all, however is there any other possibility avoiding Blocks? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5563051.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
Well I have Fruit.tml and Fruit.java page and MenuFruit.java and MenuFruit.tml component. Now I want to based on what page is clicked, using Menu.java strictly denote particular menu for the specific page, ie MenuFruit.java is called via Menu.java for MenuFruit.tml. That MenuFruit.tml is a component and goes into Fruit.tml page. Hope now everything is more clear to you. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5563044.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
That's not exactly what I was looking for, but thanks for the effort. Here is the image of what I am at least trying to achieve. Hope you will understand it now. http://imageshack.us/photo/my-images/839/tapestry.png/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5562782.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
The thing is that I want to make components( each component has it's own menu ) and each component( menu ) corresponds to some particular page, so for instance if I had a meat menu component and fruit menu component, once clicked on fruit page it gives me just fruit menu. So I will somehow need to do 3 things, to create one class which will achieve that behavior, to create specific component classes, and to create tml class for shift behavior. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5562600.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
That would require in Menu.tml, or does category handles all it? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559260.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
Just got on my mind, lets say I make submenu components, and in the menu component I make rendering for the specific submenu based on what page is turned on. :) Even better idea. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559239.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: How to represent this?
Thanks! That's exactly what I was looking for. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559228.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
How to represent this?
Lets assume I have a categorized pages, ie one page is for fruits, the other one is for vegetables and so forth , so on... And that I have menu, and based on which page is turned, it gives the user different menu. So I have a component Menu, and have fruits, vegetables, meat pages. Now I want to put all menu stuff in that component Menu, and based on which page is turned, it gives proper submenus, like for fruits, nuts, berries and for meat it gives me beef, pork and so on... Any ideas how would you implement this, and if you think I shouldn't do this way, propose the other. Thanks in advance. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5558903.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry 5.3 binaries
@Howard, please do it so already, please. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5544602.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Forums
I have a friend who attends that faculty. As for the question where do I study, it's http://www.tu-sofia.bg/index.html . Cheers. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Forums-tp5541874p5544008.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Forums
@Alex, well currently my university which attends more than 1000 students has focus on Tapestry5.3., and strictly speaking we study only that framework in the web programming. Aside from it, I know one state university in Skopje which has similar program and is home to near 1500 students. If you do the math on only these two, you will see how much popularity is conserved for the upcoming years for Tapestry. ;) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Forums-tp5541874p5543967.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Forums
Well Tapestry community is growing very rapidly, and this mailing list won't suit all our needs forever, therefore I think it would be best to make some Tapestry related forum, however based on market exploring to see whether or not it is reliable to conduct in financial terms. ~T -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Forums-tp5541874p5541948.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry 5.3 binaries
Thanks Howard. When could we expect it coming? :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5541878.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry Forums
Is there any tapestry related forum on the web, similar to tapestryforums.com that once was very active? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Forums-tp5541874p5541874.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tapestry 5.3 binaries
Hello, everyone. Does anyone of you have Tapestry 5.3. binary library? If so, please feel free to share with us a link to that. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5537651.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry 5.3 binaries
I could assemble binaries looking from here http://mvnrepository.com/ but it would be a lot convenient if someone of you had it made already? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5537806.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org