History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4676
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: P1 P1
Assignee: Unassigned
Reporter: Sarah Allen
Votes: 0
Watchers: 0
Operations

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

replicator xpath attribute -- double quotes is strange

Created: 06/Sep/07 08:25 PM   Updated: 29/Oct/07 11:25 AM
Component/s: Laszlo Foundation Classes (LFC)
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 6,413
Runtime: N/A
Release Note Text: out for review to pkang, sallen
Fix in hand: True, False


 Description  « Hide
I thought you could declare an attribute as a string and still use a constraint to define it, allowing you to say
    xpath="/product/"
or xpath="${parent.path"}

I'm pretty sure we do this with other attributes, such as window's title attribute

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Amy Muntz - 07/Sep/07 05:36 AM
See also pablo's existing bug: LPP-4548

Henry Minsky - 08/Sep/07 05:41 PM
r6413 | hqm | 2007-09-08 20:22:45 -0400 (Sat, 08 Sep 2007) | 30 lines
Changed paths:
   M /openlaszlo/branches/wafflecone/lps/components/utils/replicator/lazyreplicator.lzx
   M /openlaszlo/branches/wafflecone/lps/components/utils/replicator/replicator.lzx
   M /openlaszlo/branches/wafflecone/test/explicit-replicators/floating-list.lzx
   M /openlaszlo/branches/wafflecone/test/explicit-replicators/lazy-replicator.lzx
   M /openlaszlo/branches/wafflecone/test/explicit-replicators/replicator.lzx
   M /openlaszlo/branches/wafflecone/test/explicit-replicators/selection.lzx
   M /openlaszlo/branches/wafflecone/test/explicit-replicators/test-replicator.lzx

Change 20070908-hqm-0 by hqm@IBM-2E06404CB67 on 2007-09-08 09:30:54 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone3
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: fix for lazyreplicator when used with list component

New Features:

Bugs Fixed: LPP-4666

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

Take steps to disable any layouts in the container before instantiating
the clones

Note, also in this patch is changing of xpath attribute to string type (
under review in another patch)


Tests:


------------------------------------------------------------------------

Steve O'Sullivan - 29/Oct/07 11:25 AM
Henry Minsky believes that this is a duplicate of LPP-4548:
"
This bug is actually more of a language design issue, and the real
heart of the matter is
in http://www.openlaszlo.org/jira/browse/LPP-4548

The issue is that there is a way to specify an XPATH attribute, and it
is confusing
because on a view it is called "datapath",

<view datapath="/blah...">

but if you use a <datapath> child element, you specify it as

  <view>
     <datapath xpath="/blah.."/>

So I think that LPP-4676 is really a dupe of LPP-4548."

Closed as duplicate.