Issue Details (XML | Word | Printable)

Key: SHALE-316
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gary VanMatre
Reporter: Tom Pasierb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

tomahawk's panelNavigation2 doesn't keep state when navigating between views

Created: 18/Oct/06 07:58 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Clay
Affects Version/s: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4-SNAPSHOT
Fix Version/s: 1.0.4

File Attachments:
  Size
Zip Archive Licensed for inclusion in ASF works clayTests-2.zip 2006-10-21 06:07 PM Tom Pasierb 23 kB
Zip Archive Licensed for inclusion in ASF works clayTests.zip 2006-10-18 07:59 PM Tom Pasierb 23 kB
Environment: tomcat 5.5.17, myfaces 1.1.4, tomahawk 1.1.3, shale 1.0.4-SNAPSHOT


 Description  « Hide
I prepared an example which is attached to the issue entry. Use maven to build the war or exploded app directory and run it. It should start fine. I described briefly what goes wrong and what causes it in my opinion.

Basically clay behaves differently if the order in which the panelNavigation2 and symbols are placed in the template file changes. This probably doesn't explain much - just look at the example.

I hope that the example I provided will be enough to correct the problem ;-)

Regards,



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #467369 Tue Oct 24 16:04:31 UTC 2006 gvanmatre The Clay component was previously defined as an naming container. The html templates also assumed a naming container. Assuming the naming container plays havoc with some components. As part of issue SHALE-316, I've removed the requirement that Clay realizes the NamingContainer interface. This means the developer will have to be more aware of the included template widgets making sure there are not duplicate id's. The result will be that the html templates will be more inline with JSP Tag created views.
Files Changed
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/parser/builder/OutputLinkBuilder.java
MODIFY /shale/framework/trunk/shale-apps/shale-clay-usecases/src/main/webapp/rolodex/jsprolodex.jsp
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/config/beans/ComponentConfigBean.java
MODIFY /shale/framework/trunk/shale-apps/shale-clay-usecases/src/main/webapp/symbols/nameReuse.html
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/config/ClayTemplateParser.java
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/component/Clay.java
MODIFY /shale/framework/trunk/shale-clay/src/test/resources/org/apache/shale/clay/config/duplicate2.html